From 422a5e7058aa84e72181759f3e105e9b8e053cef Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 23 Jun 2010 13:28:19 +0000 Subject: [PATCH] Removed osgIntrospection as it's now available as a seperate osgIntrospection project that can be checked out thus: svn co http://www.openscenegraph.org/svn/osg/osgIntrospection osgIntrospection --- CMakeLists.txt | 14 - examples/CMakeLists.txt | 4 - examples/osgintrospection/CMakeLists.txt | 7 - .../osgintrospection/osgintrospection.cpp | 296 -- include/osgIntrospection/Attributes | 326 -- include/osgIntrospection/Comparator | 67 - include/osgIntrospection/ConstructorInfo | 108 - include/osgIntrospection/Converter | 91 - include/osgIntrospection/ConverterProxy | 36 - include/osgIntrospection/CustomAttribute | 31 - .../osgIntrospection/CustomAttributeProvider | 130 - include/osgIntrospection/Exceptions | 255 -- include/osgIntrospection/Export | 71 - include/osgIntrospection/ExtendedTypeInfo | 123 - include/osgIntrospection/InstanceCreator | 454 -- include/osgIntrospection/MethodInfo | 249 -- include/osgIntrospection/ParameterInfo | 112 - include/osgIntrospection/PropertyInfo | 384 -- include/osgIntrospection/PublicMemberAccessor | 59 - include/osgIntrospection/ReaderWriter | 276 -- include/osgIntrospection/Reflection | 116 - include/osgIntrospection/ReflectionMacros | 2747 ------------ include/osgIntrospection/Reflector | 1008 ----- include/osgIntrospection/StaticMethodInfo | 1868 -------- include/osgIntrospection/Type | 570 --- include/osgIntrospection/TypeNameAliasProxy | 40 - include/osgIntrospection/TypedConstructorInfo | 467 -- include/osgIntrospection/TypedMethodInfo | 3905 ----------------- include/osgIntrospection/Utility | 70 - include/osgIntrospection/Value | 436 -- include/osgIntrospection/Version | 48 - include/osgIntrospection/type_traits | 63 - include/osgIntrospection/variant_cast | 98 - .../openscenegraph-osgIntrospection.pc.in | 14 - src/CMakeLists.txt | 6 - src/osgIntrospection/CMakeLists.txt | 69 - src/osgIntrospection/ConstructorInfo.cpp | 29 - .../CustomAttributeProvider.cpp | 57 - src/osgIntrospection/DefaultReflectors.cpp | 50 - src/osgIntrospection/MethodInfo.cpp | 74 - src/osgIntrospection/PropertyInfo.cpp | 367 -- src/osgIntrospection/Reflection.cpp | 211 - src/osgIntrospection/Reflector.cpp | 30 - src/osgIntrospection/Type.cpp | 309 -- src/osgIntrospection/Utility.cpp | 85 - src/osgIntrospection/Value.cpp | 230 - src/osgIntrospection/Version.cpp | 30 - src/osgWrappers/introspection/CMakeLists.txt | 155 - .../introspection/Doxyfile.template | 236 - .../introspection/OpenThreads/Atomic.cpp | 24 - .../introspection/OpenThreads/Barrier.cpp | 58 - .../introspection/OpenThreads/Block.cpp | 106 - .../introspection/OpenThreads/Condition.cpp | 52 - .../introspection/OpenThreads/Mutex.cpp | 62 - .../OpenThreads/ReadWriteMutex.cpp | 74 - .../OpenThreads/ReentrantMutex.cpp | 32 - .../introspection/OpenThreads/Thread.cpp | 213 - src/osgWrappers/introspection/genwrapper.conf | 586 --- .../introspection/osg/AlphaFunc.cpp | 135 - .../introspection/osg/AnimationPath.cpp | 434 -- .../introspection/osg/ApplicationUsage.cpp | 206 - .../introspection/osg/ArgumentParser.cpp | 317 -- src/osgWrappers/introspection/osg/Array.cpp | 734 ---- .../introspection/osg/ArrayDispatchers.cpp | 199 - .../introspection/osg/AudioStream.cpp | 154 - .../introspection/osg/AutoTransform.cpp | 246 -- .../introspection/osg/Billboard.cpp | 186 - .../introspection/osg/BlendColor.cpp | 120 - .../introspection/osg/BlendEquation.cpp | 156 - .../introspection/osg/BlendFunc.cpp | 211 - .../introspection/osg/BoundingBox.cpp | 32 - .../introspection/osg/BoundingSphere.cpp | 32 - .../introspection/osg/BufferObject.cpp | 1226 ------ src/osgWrappers/introspection/osg/Camera.cpp | 856 ---- .../introspection/osg/CameraNode.cpp | 26 - .../introspection/osg/CameraView.cpp | 154 - .../introspection/osg/ClampColor.cpp | 134 - .../introspection/osg/ClearNode.cpp | 109 - .../introspection/osg/ClipNode.cpp | 220 - .../introspection/osg/ClipPlane.cpp | 151 - .../osg/ClusterCullingCallback.cpp | 151 - .../osg/CollectOccludersVisitor.cpp | 183 - .../introspection/osg/ColorMask.cpp | 144 - .../introspection/osg/ColorMatrix.cpp | 102 - .../osg/ComputeBoundsVisitor.cpp | 105 - .../osg/ConvexPlanarOccluder.cpp | 109 - .../introspection/osg/ConvexPlanarPolygon.cpp | 57 - .../osg/CoordinateSystemNode.cpp | 241 - src/osgWrappers/introspection/osg/CopyOp.cpp | 67 - .../introspection/osg/CullFace.cpp | 110 - .../introspection/osg/CullSettings.cpp | 362 -- .../introspection/osg/CullStack.cpp | 324 -- .../introspection/osg/CullingSet.cpp | 280 -- .../introspection/osg/DeleteHandler.cpp | 93 - src/osgWrappers/introspection/osg/Depth.cpp | 158 - .../introspection/osg/DisplaySettings.cpp | 640 --- .../introspection/osg/DrawPixels.cpp | 136 - .../introspection/osg/Drawable.cpp | 910 ---- src/osgWrappers/introspection/osg/Endian.cpp | 30 - src/osgWrappers/introspection/osg/Fog.cpp | 193 - .../introspection/osg/FragmentProgram.cpp | 207 - .../introspection/osg/FrameBufferObject.cpp | 461 -- .../introspection/osg/FrameStamp.cpp | 89 - .../introspection/osg/FrontFace.cpp | 104 - .../introspection/osg/GL2Extensions.cpp | 24 - .../introspection/osg/GLBeginEndAdapter.cpp | 291 -- src/osgWrappers/introspection/osg/Geode.cpp | 234 - .../introspection/osg/Geometry.cpp | 1017 ----- .../introspection/osg/GraphicsContext.cpp | 629 --- .../introspection/osg/GraphicsThread.cpp | 142 - src/osgWrappers/introspection/osg/Group.cpp | 238 - src/osgWrappers/introspection/osg/Hint.cpp | 121 - src/osgWrappers/introspection/osg/Image.cpp | 523 --- .../introspection/osg/ImageSequence.cpp | 326 -- .../introspection/osg/ImageStream.cpp | 258 -- src/osgWrappers/introspection/osg/KdTree.cpp | 267 -- src/osgWrappers/introspection/osg/LOD.cpp | 205 - src/osgWrappers/introspection/osg/Light.cpp | 257 -- .../introspection/osg/LightModel.cpp | 142 - .../introspection/osg/LightSource.cpp | 136 - .../introspection/osg/LineSegment.cpp | 130 - .../introspection/osg/LineStipple.cpp | 118 - .../introspection/osg/LineWidth.cpp | 98 - src/osgWrappers/introspection/osg/LogicOp.cpp | 126 - .../introspection/osg/Material.cpp | 239 - src/osgWrappers/introspection/osg/Matrix.cpp | 28 - .../introspection/osg/MatrixTransform.cpp | 126 - src/osgWrappers/introspection/osg/Matrixd.cpp | 605 --- src/osgWrappers/introspection/osg/Matrixf.cpp | 605 --- .../introspection/osg/Multisample.cpp | 142 - src/osgWrappers/introspection/osg/Node.cpp | 543 --- .../introspection/osg/NodeCallback.cpp | 99 - .../introspection/osg/NodeTrackerCallback.cpp | 76 - .../introspection/osg/NodeVisitor.cpp | 501 --- src/osgWrappers/introspection/osg/Notify.cpp | 61 - src/osgWrappers/introspection/osg/Object.cpp | 140 - .../introspection/osg/Observer.cpp | 30 - .../introspection/osg/ObserverNodePath.cpp | 97 - .../introspection/osg/OccluderNode.cpp | 94 - .../introspection/osg/OcclusionQueryNode.cpp | 208 - .../introspection/osg/OperationThread.cpp | 273 -- .../introspection/osg/PagedLOD.cpp | 326 -- src/osgWrappers/introspection/osg/Plane.cpp | 214 - src/osgWrappers/introspection/osg/Point.cpp | 167 - .../introspection/osg/PointSprite.cpp | 121 - .../introspection/osg/PolygonMode.cpp | 123 - .../introspection/osg/PolygonOffset.cpp | 142 - .../introspection/osg/PolygonStipple.cpp | 106 - .../introspection/osg/Polytope.cpp | 284 -- .../osg/PositionAttitudeTransform.cpp | 144 - .../introspection/osg/PrimitiveSet.cpp | 543 --- src/osgWrappers/introspection/osg/Program.cpp | 354 -- .../introspection/osg/Projection.cpp | 98 - .../introspection/osg/ProxyNode.cpp | 236 - src/osgWrappers/introspection/osg/Quat.cpp | 241 - .../introspection/osg/Referenced.cpp | 140 - .../introspection/osg/RenderInfo.cpp | 124 - src/osgWrappers/introspection/osg/Scissor.cpp | 142 - .../introspection/osg/Sequence.cpp | 326 -- .../introspection/osg/ShadeModel.cpp | 104 - src/osgWrappers/introspection/osg/Shader.cpp | 344 -- .../osg/ShadowVolumeOccluder.cpp | 147 - src/osgWrappers/introspection/osg/Shape.cpp | 1333 ------ .../introspection/osg/ShapeDrawable.cpp | 312 -- src/osgWrappers/introspection/osg/State.cpp | 1164 ----- .../introspection/osg/StateAttribute.cpp | 313 -- .../osg/StateAttributeCallback.cpp | 65 - .../introspection/osg/StateSet.cpp | 819 ---- src/osgWrappers/introspection/osg/Stats.cpp | 158 - src/osgWrappers/introspection/osg/Stencil.cpp | 213 - .../introspection/osg/StencilTwoSided.cpp | 234 - src/osgWrappers/introspection/osg/Switch.cpp | 192 - src/osgWrappers/introspection/osg/TexEnv.cpp | 131 - .../introspection/osg/TexEnvCombine.cpp | 372 -- .../introspection/osg/TexEnvFilter.cpp | 103 - src/osgWrappers/introspection/osg/TexGen.cpp | 152 - .../introspection/osg/TexGenNode.cpp | 133 - src/osgWrappers/introspection/osg/TexMat.cpp | 125 - src/osgWrappers/introspection/osg/Texture.cpp | 1238 ------ .../introspection/osg/Texture1D.cpp | 246 -- .../introspection/osg/Texture2D.cpp | 250 -- .../introspection/osg/Texture2DArray.cpp | 254 -- .../introspection/osg/Texture3D.cpp | 275 -- .../introspection/osg/TextureCubeMap.cpp | 291 -- .../introspection/osg/TextureRectangle.cpp | 249 -- src/osgWrappers/introspection/osg/Timer.cpp | 157 - .../introspection/osg/TransferFunction.cpp | 197 - .../introspection/osg/Transform.cpp | 138 - src/osgWrappers/introspection/osg/Uniform.cpp | 1010 ----- src/osgWrappers/introspection/osg/Vec2.cpp | 26 - src/osgWrappers/introspection/osg/Vec2b.cpp | 99 - src/osgWrappers/introspection/osg/Vec2d.cpp | 105 - src/osgWrappers/introspection/osg/Vec2f.cpp | 99 - src/osgWrappers/introspection/osg/Vec2s.cpp | 97 - src/osgWrappers/introspection/osg/Vec3.cpp | 26 - src/osgWrappers/introspection/osg/Vec3b.cpp | 119 - src/osgWrappers/introspection/osg/Vec3d.cpp | 125 - src/osgWrappers/introspection/osg/Vec3f.cpp | 119 - src/osgWrappers/introspection/osg/Vec3s.cpp | 117 - src/osgWrappers/introspection/osg/Vec4.cpp | 26 - src/osgWrappers/introspection/osg/Vec4b.cpp | 134 - src/osgWrappers/introspection/osg/Vec4d.cpp | 180 - src/osgWrappers/introspection/osg/Vec4f.cpp | 174 - src/osgWrappers/introspection/osg/Vec4s.cpp | 132 - src/osgWrappers/introspection/osg/Vec4ub.cpp | 94 - .../introspection/osg/VertexProgram.cpp | 203 - src/osgWrappers/introspection/osg/View.cpp | 251 -- .../introspection/osg/Viewport.cpp | 150 - .../introspection/osgAnimation/Action.cpp | 264 -- .../osgAnimation/ActionAnimation.cpp | 88 - .../osgAnimation/ActionBlendIn.cpp | 95 - .../osgAnimation/ActionBlendOut.cpp | 95 - .../osgAnimation/ActionCallback.cpp | 51 - .../osgAnimation/ActionStripAnimation.cpp | 142 - .../osgAnimation/ActionVisitor.cpp | 248 -- .../introspection/osgAnimation/Animation.cpp | 216 - .../osgAnimation/AnimationManagerBase.cpp | 170 - .../osgAnimation/AnimationUpdateCallback.cpp | 44 - .../osgAnimation/BasicAnimationManager.cpp | 100 - .../introspection/osgAnimation/Bone.cpp | 178 - .../osgAnimation/BoneMapVisitor.cpp | 63 - .../introspection/osgAnimation/Channel.cpp | 212 - .../osgAnimation/CubicBezier.cpp | 34 - .../introspection/osgAnimation/EaseMotion.cpp | 938 ---- .../osgAnimation/FrameAction.cpp | 74 - .../osgAnimation/Interpolator.cpp | 64 - .../introspection/osgAnimation/Keyframe.cpp | 122 - .../osgAnimation/LinkVisitor.cpp | 88 - .../osgAnimation/MorphGeometry.cpp | 252 -- .../osgAnimation/RigGeometry.cpp | 198 - .../osgAnimation/RigTransform.cpp | 33 - .../osgAnimation/RigTransformHardware.cpp | 249 -- .../osgAnimation/RigTransformSoftware.cpp | 130 - .../introspection/osgAnimation/Sampler.cpp | 538 --- .../introspection/osgAnimation/Skeleton.cpp | 117 - .../osgAnimation/StackedMatrixElement.cpp | 128 - .../osgAnimation/StackedQuaternionElement.cpp | 129 - .../osgAnimation/StackedRotateAxisElement.cpp | 141 - .../osgAnimation/StackedScaleElement.cpp | 129 - .../osgAnimation/StackedTransform.cpp | 26 - .../osgAnimation/StackedTransformElement.cpp | 80 - .../osgAnimation/StackedTranslateElement.cpp | 129 - .../osgAnimation/StatsHandler.cpp | 147 - .../osgAnimation/StatsVisitor.cpp | 117 - .../introspection/osgAnimation/Target.cpp | 72 - .../introspection/osgAnimation/Timeline.cpp | 249 -- .../osgAnimation/TimelineAnimationManager.cpp | 88 - .../introspection/osgAnimation/UpdateBone.cpp | 67 - .../osgAnimation/UpdateMaterial.cpp | 87 - .../osgAnimation/UpdateMatrixTransform.cpp | 86 - .../introspection/osgAnimation/Vec3Packed.cpp | 72 - .../osgAnimation/VertexInfluence.cpp | 212 - .../introspection/osgDB/Archive.cpp | 118 - .../introspection/osgDB/AuthenticationMap.cpp | 64 - .../introspection/osgDB/Callbacks.cpp | 154 - .../introspection/osgDB/DatabasePager.cpp | 750 ---- .../introspection/osgDB/DatabaseRevisions.cpp | 358 -- .../introspection/osgDB/DotOsgWrapper.cpp | 196 - .../introspection/osgDB/DynamicLibrary.cpp | 78 - .../introspection/osgDB/FileCache.cpp | 194 - .../introspection/osgDB/FileUtils.cpp | 45 - .../introspection/osgDB/ImageOptions.cpp | 146 - .../introspection/osgDB/ImagePager.cpp | 139 - src/osgWrappers/introspection/osgDB/Input.cpp | 648 --- .../introspection/osgDB/ObjectWrapper.cpp | 26 - .../introspection/osgDB/Options.cpp | 303 -- .../introspection/osgDB/Output.cpp | 34 - .../introspection/osgDB/ParameterOutput.cpp | 53 - .../introspection/osgDB/PluginQuery.cpp | 89 - .../introspection/osgDB/ReaderWriter.cpp | 501 --- .../introspection/osgDB/Registry.cpp | 731 --- .../osgDB/SharedStateManager.cpp | 142 - .../introspection/osgDB/XmlParser.cpp | 224 - .../osgFX/AnisotropicLighting.cpp | 122 - .../introspection/osgFX/BumpMapping.cpp | 188 - .../introspection/osgFX/Cartoon.cpp | 130 - .../introspection/osgFX/Effect.cpp | 156 - .../osgFX/MultiTextureControl.cpp | 97 - .../introspection/osgFX/Outline.cpp | 117 - .../introspection/osgFX/Registry.cpp | 63 - .../introspection/osgFX/Scribe.cpp | 117 - .../osgFX/SpecularHighlights.cpp | 143 - .../introspection/osgFX/Technique.cpp | 111 - .../introspection/osgFX/Validator.cpp | 99 - .../osgGA/AnimationPathManipulator.cpp | 148 - .../introspection/osgGA/CameraManipulator.cpp | 233 - .../osgGA/CameraViewSwitchManipulator.cpp | 157 - .../introspection/osgGA/DriveManipulator.cpp | 186 - .../introspection/osgGA/EventQueue.cpp | 345 -- .../introspection/osgGA/EventVisitor.cpp | 195 - .../introspection/osgGA/FlightManipulator.cpp | 168 - .../introspection/osgGA/GUIActionAdapter.cpp | 52 - .../introspection/osgGA/GUIEventAdapter.cpp | 617 --- .../introspection/osgGA/GUIEventHandler.cpp | 125 - .../osgGA/KeySwitchMatrixManipulator.cpp | 276 -- .../osgGA/NodeTrackerManipulator.cpp | 277 -- .../osgGA/SphericalManipulator.cpp | 298 -- .../osgGA/StateSetManipulator.cpp | 206 - .../osgGA/TerrainManipulator.cpp | 132 - .../osgGA/TrackballManipulator.cpp | 65 - .../introspection/osgGA/UFOManipulator.cpp | 229 - .../osgManipulator/AntiSquish.cpp | 95 - .../introspection/osgManipulator/Command.cpp | 445 -- .../osgManipulator/CommandManager.cpp | 104 - .../osgManipulator/Constraint.cpp | 157 - .../introspection/osgManipulator/Dragger.cpp | 694 --- .../osgManipulator/Projector.cpp | 288 -- .../osgManipulator/RotateCylinderDragger.cpp | 93 - .../osgManipulator/RotateSphereDragger.cpp | 93 - .../osgManipulator/Scale1DDragger.cpp | 177 - .../osgManipulator/Scale2DDragger.cpp | 240 - .../osgManipulator/ScaleAxisDragger.cpp | 58 - .../osgManipulator/Selection.cpp | 26 - .../osgManipulator/TabBoxDragger.cpp | 67 - .../osgManipulator/TabBoxTrackballDragger.cpp | 58 - .../osgManipulator/TabPlaneDragger.cpp | 75 - .../TabPlaneTrackballDragger.cpp | 67 - .../osgManipulator/TrackballDragger.cpp | 60 - .../osgManipulator/Translate1DDragger.cpp | 106 - .../osgManipulator/Translate2DDragger.cpp | 99 - .../osgManipulator/TranslateAxisDragger.cpp | 58 - .../osgManipulator/TranslatePlaneDragger.cpp | 93 - .../osgParticle/AccelOperator.cpp | 97 - .../osgParticle/AngularAccelOperator.cpp | 89 - .../introspection/osgParticle/BoxPlacer.cpp | 133 - .../osgParticle/CenteredPlacer.cpp | 72 - .../osgParticle/ConnectedParticleSystem.cpp | 106 - .../osgParticle/ConstantRateCounter.cpp | 94 - .../introspection/osgParticle/Counter.cpp | 58 - .../introspection/osgParticle/Emitter.cpp | 98 - .../osgParticle/ExplosionDebrisEffect.cpp | 114 - .../osgParticle/ExplosionEffect.cpp | 114 - .../introspection/osgParticle/FireEffect.cpp | 114 - .../osgParticle/ForceOperator.cpp | 89 - .../osgParticle/Interpolator.cpp | 76 - .../osgParticle/LinearInterpolator.cpp | 68 - .../osgParticle/ModularEmitter.cpp | 145 - .../osgParticle/ModularProgram.cpp | 101 - .../osgParticle/MultiSegmentPlacer.cpp | 117 - .../introspection/osgParticle/Operator.cpp | 83 - .../introspection/osgParticle/Particle.cpp | 421 -- .../osgParticle/ParticleEffect.cpp | 273 -- .../osgParticle/ParticleProcessor.cpp | 261 -- .../osgParticle/ParticleSystem.cpp | 318 -- .../osgParticle/ParticleSystemUpdater.cpp | 138 - .../introspection/osgParticle/Placer.cpp | 68 - .../introspection/osgParticle/PointPlacer.cpp | 78 - .../osgParticle/PrecipitationEffect.cpp | 475 -- .../introspection/osgParticle/Program.cpp | 71 - .../osgParticle/RadialShooter.cpp | 143 - .../osgParticle/RandomRateCounter.cpp | 68 - .../osgParticle/SectorPlacer.cpp | 115 - .../osgParticle/SegmentPlacer.cpp | 119 - .../introspection/osgParticle/Shooter.cpp | 59 - .../introspection/osgParticle/SmokeEffect.cpp | 114 - .../osgParticle/SmokeTrailEffect.cpp | 114 - .../osgParticle/VariableRateCounter.cpp | 72 - .../introspection/osgParticle/range.cpp | 167 - .../osgPresentation/AnimationMaterial.cpp | 322 -- .../osgPresentation/CompileSlideCallback.cpp | 39 - .../osgPresentation/PickEventHandler.cpp | 152 - .../osgPresentation/SlideEventHandler.cpp | 682 --- .../osgPresentation/SlideShowConstructor.cpp | 642 --- .../osgShadow/ConvexPolyhedron.cpp | 170 - .../osgShadow/DebugShadowMap.cpp | 80 - .../LightSpacePerspectiveShadowMap.cpp | 262 -- .../osgShadow/MinimalCullBoundsShadowMap.cpp | 67 - .../osgShadow/MinimalDrawBoundsShadowMap.cpp | 67 - .../osgShadow/MinimalShadowMap.cpp | 128 - .../osgShadow/OccluderGeometry.cpp | 275 -- .../osgShadow/ParallelSplitShadowMap.cpp | 231 - .../introspection/osgShadow/ShadowMap.cpp | 281 -- .../osgShadow/ShadowTechnique.cpp | 110 - .../introspection/osgShadow/ShadowTexture.cpp | 98 - .../introspection/osgShadow/ShadowVolume.cpp | 112 - .../introspection/osgShadow/ShadowedScene.cpp | 131 - .../introspection/osgShadow/SoftShadowMap.cpp | 133 - .../osgShadow/StandardShadowMap.cpp | 217 - .../ViewDependentShadowTechnique.cpp | 95 - .../introspection/osgSim/BlinkSequence.cpp | 189 - .../introspection/osgSim/ColorRange.cpp | 58 - .../introspection/osgSim/DOFTransform.cpp | 337 -- .../introspection/osgSim/ElevationSlice.cpp | 113 - .../osgSim/GeographicLocation.cpp | 81 - .../osgSim/HeightAboveTerrain.cpp | 111 - .../introspection/osgSim/Impostor.cpp | 178 - .../introspection/osgSim/ImpostorSprite.cpp | 298 -- .../osgSim/InsertImpostorsVisitor.cpp | 96 - .../introspection/osgSim/LightPoint.cpp | 62 - .../introspection/osgSim/LightPointNode.cpp | 206 - .../introspection/osgSim/LightPointSystem.cpp | 96 - .../introspection/osgSim/LineOfSight.cpp | 146 - .../introspection/osgSim/MultiSwitch.cpp | 204 - .../introspection/osgSim/ObjectRecordData.cpp | 69 - .../introspection/osgSim/OverlayNode.cpp | 276 -- .../introspection/osgSim/ScalarBar.cpp | 246 -- .../introspection/osgSim/ScalarsToColors.cpp | 55 - .../introspection/osgSim/Sector.cpp | 430 -- .../introspection/osgSim/ShapeAttribute.cpp | 76 - .../introspection/osgSim/SphereSegment.cpp | 293 -- .../introspection/osgSim/VisibilityGroup.cpp | 119 - .../introspection/osgTerrain/Export.cpp | 24 - .../osgTerrain/GeometryTechnique.cpp | 187 - .../introspection/osgTerrain/Layer.cpp | 1025 ----- .../introspection/osgTerrain/Locator.cpp | 198 - .../introspection/osgTerrain/Terrain.cpp | 166 - .../osgTerrain/TerrainTechnique.cpp | 138 - .../introspection/osgTerrain/TerrainTile.cpp | 460 -- .../osgTerrain/ValidDataOperator.cpp | 104 - .../introspection/osgText/Export.cpp | 24 - .../introspection/osgText/FadeText.cpp | 91 - .../introspection/osgText/Font.cpp | 493 --- .../introspection/osgText/Font3D.cpp | 418 -- .../introspection/osgText/KerningType.cpp | 35 - .../introspection/osgText/String.cpp | 109 - .../introspection/osgText/Text.cpp | 618 --- .../introspection/osgText/Text3D.cpp | 252 -- .../introspection/osgText/TextBase.cpp | 437 -- .../introspection/osgUtil/ConvertVec.cpp | 24 - .../osgUtil/CubeMapGenerator.cpp | 68 - .../introspection/osgUtil/CullVisitor.cpp | 464 -- .../osgUtil/DelaunayTriangulator.cpp | 229 - .../osgUtil/DisplayRequirementsVisitor.cpp | 74 - .../osgUtil/DrawElementTypeSimplifier.cpp | 61 - .../introspection/osgUtil/EdgeCollector.cpp | 506 --- .../osgUtil/GLObjectsVisitor.cpp | 144 - .../osgUtil/HalfWayMapGenerator.cpp | 45 - .../osgUtil/HighlightMapGenerator.cpp | 46 - .../osgUtil/IncrementalCompileOperation.cpp | 397 -- .../osgUtil/IntersectVisitor.cpp | 377 -- .../osgUtil/IntersectionVisitor.cpp | 547 --- .../osgUtil/LineSegmentIntersector.cpp | 191 - .../osgUtil/OperationArrayFunctor.cpp | 24 - .../introspection/osgUtil/Optimizer.cpp | 984 ----- .../osgUtil/PlaneIntersector.cpp | 132 - .../osgUtil/PolytopeIntersector.cpp | 143 - .../osgUtil/PositionalStateContainer.cpp | 158 - .../osgUtil/ReflectionMapGenerator.cpp | 45 - .../introspection/osgUtil/RenderBin.cpp | 405 -- .../introspection/osgUtil/RenderLeaf.cpp | 66 - .../introspection/osgUtil/RenderStage.cpp | 538 --- .../osgUtil/ReversePrimitiveFunctor.cpp | 113 - .../osgUtil/SceneGraphBuilder.cpp | 336 -- .../introspection/osgUtil/SceneView.cpp | 965 ---- .../introspection/osgUtil/ShaderGen.cpp | 133 - .../introspection/osgUtil/Simplifier.cpp | 168 - .../osgUtil/SmoothingVisitor.cpp | 43 - .../introspection/osgUtil/StateGraph.cpp | 252 -- .../introspection/osgUtil/Statistics.cpp | 373 -- .../osgUtil/TangentSpaceGenerator.cpp | 112 - .../introspection/osgUtil/Tessellator.cpp | 270 -- .../osgUtil/TransformAttributeFunctor.cpp | 44 - .../osgUtil/TransformCallback.cpp | 44 - .../introspection/osgUtil/TriStripVisitor.cpp | 91 - .../introspection/osgUtil/UpdateVisitor.cpp | 125 - .../osgViewer/CompositeViewer.cpp | 286 -- .../osgViewer/GraphicsWindow.cpp | 344 -- .../introspection/osgViewer/Renderer.cpp | 248 -- .../introspection/osgViewer/Scene.cpp | 104 - .../introspection/osgViewer/View.cpp | 432 -- .../introspection/osgViewer/Viewer.cpp | 249 -- .../introspection/osgViewer/ViewerBase.cpp | 462 -- .../osgViewer/ViewerEventHandlers.cpp | 729 --- .../api/Carbon/GraphicsHandleCarbon.cpp | 44 - .../api/Cocoa/GraphicsHandleCocoa.cpp | 44 - .../api/Win32/GraphicsHandleWin32.cpp | 70 - .../osgViewer/api/Win32/PixelBufferWin32.cpp | 103 - .../osgViewer/api/X11/GraphicsHandleX11.cpp | 61 - .../osgViewer/api/X11/PixelBufferX11.cpp | 118 - .../introspection/osgVolume/Export.cpp | 24 - .../osgVolume/FixedFunctionTechnique.cpp | 104 - .../introspection/osgVolume/Layer.cpp | 538 --- .../introspection/osgVolume/Locator.cpp | 232 - .../introspection/osgVolume/Property.cpp | 917 ---- .../osgVolume/RayTracedTechnique.cpp | 91 - .../introspection/osgVolume/Volume.cpp | 122 - .../osgVolume/VolumeTechnique.cpp | 111 - .../introspection/osgVolume/VolumeTile.cpp | 207 - .../introspection/osgWidget/Box.cpp | 88 - .../introspection/osgWidget/Browser.cpp | 179 - .../introspection/osgWidget/Canvas.cpp | 78 - .../osgWidget/EventInterface.cpp | 354 -- .../introspection/osgWidget/Frame.cpp | 351 -- .../introspection/osgWidget/Input.cpp | 152 - .../introspection/osgWidget/Label.cpp | 165 - .../introspection/osgWidget/Lua.cpp | 55 - .../introspection/osgWidget/PdfReader.cpp | 163 - .../introspection/osgWidget/Python.cpp | 55 - .../introspection/osgWidget/ScriptEngine.cpp | 60 - .../osgWidget/StyleInterface.cpp | 54 - .../introspection/osgWidget/StyleManager.cpp | 267 -- .../introspection/osgWidget/Table.cpp | 166 - .../introspection/osgWidget/Types.cpp | 48 - .../osgWidget/ViewerEventHandlers.cpp | 138 - .../introspection/osgWidget/VncClient.cpp | 70 - .../introspection/osgWidget/Widget.cpp | 995 ----- .../introspection/osgWidget/Window.cpp | 997 ----- .../introspection/osgWidget/WindowManager.cpp | 428 -- .../serializers/osgTerrain/TerrainTile.cpp | 20 +- 499 files changed, 13 insertions(+), 111818 deletions(-) delete mode 100644 examples/osgintrospection/CMakeLists.txt delete mode 100644 examples/osgintrospection/osgintrospection.cpp delete mode 100644 include/osgIntrospection/Attributes delete mode 100644 include/osgIntrospection/Comparator delete mode 100644 include/osgIntrospection/ConstructorInfo delete mode 100644 include/osgIntrospection/Converter delete mode 100644 include/osgIntrospection/ConverterProxy delete mode 100644 include/osgIntrospection/CustomAttribute delete mode 100644 include/osgIntrospection/CustomAttributeProvider delete mode 100644 include/osgIntrospection/Exceptions delete mode 100644 include/osgIntrospection/Export delete mode 100644 include/osgIntrospection/ExtendedTypeInfo delete mode 100644 include/osgIntrospection/InstanceCreator delete mode 100644 include/osgIntrospection/MethodInfo delete mode 100644 include/osgIntrospection/ParameterInfo delete mode 100644 include/osgIntrospection/PropertyInfo delete mode 100644 include/osgIntrospection/PublicMemberAccessor delete mode 100644 include/osgIntrospection/ReaderWriter delete mode 100644 include/osgIntrospection/Reflection delete mode 100644 include/osgIntrospection/ReflectionMacros delete mode 100644 include/osgIntrospection/Reflector delete mode 100644 include/osgIntrospection/StaticMethodInfo delete mode 100644 include/osgIntrospection/Type delete mode 100644 include/osgIntrospection/TypeNameAliasProxy delete mode 100644 include/osgIntrospection/TypedConstructorInfo delete mode 100644 include/osgIntrospection/TypedMethodInfo delete mode 100644 include/osgIntrospection/Utility delete mode 100644 include/osgIntrospection/Value delete mode 100644 include/osgIntrospection/Version delete mode 100644 include/osgIntrospection/type_traits delete mode 100644 include/osgIntrospection/variant_cast delete mode 100644 packaging/pkgconfig/openscenegraph-osgIntrospection.pc.in delete mode 100644 src/osgIntrospection/CMakeLists.txt delete mode 100644 src/osgIntrospection/ConstructorInfo.cpp delete mode 100644 src/osgIntrospection/CustomAttributeProvider.cpp delete mode 100644 src/osgIntrospection/DefaultReflectors.cpp delete mode 100644 src/osgIntrospection/MethodInfo.cpp delete mode 100644 src/osgIntrospection/PropertyInfo.cpp delete mode 100644 src/osgIntrospection/Reflection.cpp delete mode 100644 src/osgIntrospection/Reflector.cpp delete mode 100644 src/osgIntrospection/Type.cpp delete mode 100644 src/osgIntrospection/Utility.cpp delete mode 100644 src/osgIntrospection/Value.cpp delete mode 100644 src/osgIntrospection/Version.cpp delete mode 100644 src/osgWrappers/introspection/CMakeLists.txt delete mode 100644 src/osgWrappers/introspection/Doxyfile.template delete mode 100644 src/osgWrappers/introspection/OpenThreads/Atomic.cpp delete mode 100644 src/osgWrappers/introspection/OpenThreads/Barrier.cpp delete mode 100644 src/osgWrappers/introspection/OpenThreads/Block.cpp delete mode 100644 src/osgWrappers/introspection/OpenThreads/Condition.cpp delete mode 100644 src/osgWrappers/introspection/OpenThreads/Mutex.cpp delete mode 100644 src/osgWrappers/introspection/OpenThreads/ReadWriteMutex.cpp delete mode 100644 src/osgWrappers/introspection/OpenThreads/ReentrantMutex.cpp delete mode 100644 src/osgWrappers/introspection/OpenThreads/Thread.cpp delete mode 100644 src/osgWrappers/introspection/genwrapper.conf delete mode 100644 src/osgWrappers/introspection/osg/AlphaFunc.cpp delete mode 100644 src/osgWrappers/introspection/osg/AnimationPath.cpp delete mode 100644 src/osgWrappers/introspection/osg/ApplicationUsage.cpp delete mode 100644 src/osgWrappers/introspection/osg/ArgumentParser.cpp delete mode 100644 src/osgWrappers/introspection/osg/Array.cpp delete mode 100644 src/osgWrappers/introspection/osg/ArrayDispatchers.cpp delete mode 100644 src/osgWrappers/introspection/osg/AudioStream.cpp delete mode 100644 src/osgWrappers/introspection/osg/AutoTransform.cpp delete mode 100644 src/osgWrappers/introspection/osg/Billboard.cpp delete mode 100644 src/osgWrappers/introspection/osg/BlendColor.cpp delete mode 100644 src/osgWrappers/introspection/osg/BlendEquation.cpp delete mode 100644 src/osgWrappers/introspection/osg/BlendFunc.cpp delete mode 100644 src/osgWrappers/introspection/osg/BoundingBox.cpp delete mode 100644 src/osgWrappers/introspection/osg/BoundingSphere.cpp delete mode 100644 src/osgWrappers/introspection/osg/BufferObject.cpp delete mode 100644 src/osgWrappers/introspection/osg/Camera.cpp delete mode 100644 src/osgWrappers/introspection/osg/CameraNode.cpp delete mode 100644 src/osgWrappers/introspection/osg/CameraView.cpp delete mode 100644 src/osgWrappers/introspection/osg/ClampColor.cpp delete mode 100644 src/osgWrappers/introspection/osg/ClearNode.cpp delete mode 100644 src/osgWrappers/introspection/osg/ClipNode.cpp delete mode 100644 src/osgWrappers/introspection/osg/ClipPlane.cpp delete mode 100644 src/osgWrappers/introspection/osg/ClusterCullingCallback.cpp delete mode 100644 src/osgWrappers/introspection/osg/CollectOccludersVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osg/ColorMask.cpp delete mode 100644 src/osgWrappers/introspection/osg/ColorMatrix.cpp delete mode 100644 src/osgWrappers/introspection/osg/ComputeBoundsVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osg/ConvexPlanarOccluder.cpp delete mode 100644 src/osgWrappers/introspection/osg/ConvexPlanarPolygon.cpp delete mode 100644 src/osgWrappers/introspection/osg/CoordinateSystemNode.cpp delete mode 100644 src/osgWrappers/introspection/osg/CopyOp.cpp delete mode 100644 src/osgWrappers/introspection/osg/CullFace.cpp delete mode 100644 src/osgWrappers/introspection/osg/CullSettings.cpp delete mode 100644 src/osgWrappers/introspection/osg/CullStack.cpp delete mode 100644 src/osgWrappers/introspection/osg/CullingSet.cpp delete mode 100644 src/osgWrappers/introspection/osg/DeleteHandler.cpp delete mode 100644 src/osgWrappers/introspection/osg/Depth.cpp delete mode 100644 src/osgWrappers/introspection/osg/DisplaySettings.cpp delete mode 100644 src/osgWrappers/introspection/osg/DrawPixels.cpp delete mode 100644 src/osgWrappers/introspection/osg/Drawable.cpp delete mode 100644 src/osgWrappers/introspection/osg/Endian.cpp delete mode 100644 src/osgWrappers/introspection/osg/Fog.cpp delete mode 100644 src/osgWrappers/introspection/osg/FragmentProgram.cpp delete mode 100644 src/osgWrappers/introspection/osg/FrameBufferObject.cpp delete mode 100644 src/osgWrappers/introspection/osg/FrameStamp.cpp delete mode 100644 src/osgWrappers/introspection/osg/FrontFace.cpp delete mode 100644 src/osgWrappers/introspection/osg/GL2Extensions.cpp delete mode 100644 src/osgWrappers/introspection/osg/GLBeginEndAdapter.cpp delete mode 100644 src/osgWrappers/introspection/osg/Geode.cpp delete mode 100644 src/osgWrappers/introspection/osg/Geometry.cpp delete mode 100644 src/osgWrappers/introspection/osg/GraphicsContext.cpp delete mode 100644 src/osgWrappers/introspection/osg/GraphicsThread.cpp delete mode 100644 src/osgWrappers/introspection/osg/Group.cpp delete mode 100644 src/osgWrappers/introspection/osg/Hint.cpp delete mode 100644 src/osgWrappers/introspection/osg/Image.cpp delete mode 100644 src/osgWrappers/introspection/osg/ImageSequence.cpp delete mode 100644 src/osgWrappers/introspection/osg/ImageStream.cpp delete mode 100644 src/osgWrappers/introspection/osg/KdTree.cpp delete mode 100644 src/osgWrappers/introspection/osg/LOD.cpp delete mode 100644 src/osgWrappers/introspection/osg/Light.cpp delete mode 100644 src/osgWrappers/introspection/osg/LightModel.cpp delete mode 100644 src/osgWrappers/introspection/osg/LightSource.cpp delete mode 100644 src/osgWrappers/introspection/osg/LineSegment.cpp delete mode 100644 src/osgWrappers/introspection/osg/LineStipple.cpp delete mode 100644 src/osgWrappers/introspection/osg/LineWidth.cpp delete mode 100644 src/osgWrappers/introspection/osg/LogicOp.cpp delete mode 100644 src/osgWrappers/introspection/osg/Material.cpp delete mode 100644 src/osgWrappers/introspection/osg/Matrix.cpp delete mode 100644 src/osgWrappers/introspection/osg/MatrixTransform.cpp delete mode 100644 src/osgWrappers/introspection/osg/Matrixd.cpp delete mode 100644 src/osgWrappers/introspection/osg/Matrixf.cpp delete mode 100644 src/osgWrappers/introspection/osg/Multisample.cpp delete mode 100644 src/osgWrappers/introspection/osg/Node.cpp delete mode 100644 src/osgWrappers/introspection/osg/NodeCallback.cpp delete mode 100644 src/osgWrappers/introspection/osg/NodeTrackerCallback.cpp delete mode 100644 src/osgWrappers/introspection/osg/NodeVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osg/Notify.cpp delete mode 100644 src/osgWrappers/introspection/osg/Object.cpp delete mode 100644 src/osgWrappers/introspection/osg/Observer.cpp delete mode 100644 src/osgWrappers/introspection/osg/ObserverNodePath.cpp delete mode 100644 src/osgWrappers/introspection/osg/OccluderNode.cpp delete mode 100644 src/osgWrappers/introspection/osg/OcclusionQueryNode.cpp delete mode 100644 src/osgWrappers/introspection/osg/OperationThread.cpp delete mode 100644 src/osgWrappers/introspection/osg/PagedLOD.cpp delete mode 100644 src/osgWrappers/introspection/osg/Plane.cpp delete mode 100644 src/osgWrappers/introspection/osg/Point.cpp delete mode 100644 src/osgWrappers/introspection/osg/PointSprite.cpp delete mode 100644 src/osgWrappers/introspection/osg/PolygonMode.cpp delete mode 100644 src/osgWrappers/introspection/osg/PolygonOffset.cpp delete mode 100644 src/osgWrappers/introspection/osg/PolygonStipple.cpp delete mode 100644 src/osgWrappers/introspection/osg/Polytope.cpp delete mode 100644 src/osgWrappers/introspection/osg/PositionAttitudeTransform.cpp delete mode 100644 src/osgWrappers/introspection/osg/PrimitiveSet.cpp delete mode 100644 src/osgWrappers/introspection/osg/Program.cpp delete mode 100644 src/osgWrappers/introspection/osg/Projection.cpp delete mode 100644 src/osgWrappers/introspection/osg/ProxyNode.cpp delete mode 100644 src/osgWrappers/introspection/osg/Quat.cpp delete mode 100644 src/osgWrappers/introspection/osg/Referenced.cpp delete mode 100644 src/osgWrappers/introspection/osg/RenderInfo.cpp delete mode 100644 src/osgWrappers/introspection/osg/Scissor.cpp delete mode 100644 src/osgWrappers/introspection/osg/Sequence.cpp delete mode 100644 src/osgWrappers/introspection/osg/ShadeModel.cpp delete mode 100644 src/osgWrappers/introspection/osg/Shader.cpp delete mode 100644 src/osgWrappers/introspection/osg/ShadowVolumeOccluder.cpp delete mode 100644 src/osgWrappers/introspection/osg/Shape.cpp delete mode 100644 src/osgWrappers/introspection/osg/ShapeDrawable.cpp delete mode 100644 src/osgWrappers/introspection/osg/State.cpp delete mode 100644 src/osgWrappers/introspection/osg/StateAttribute.cpp delete mode 100644 src/osgWrappers/introspection/osg/StateAttributeCallback.cpp delete mode 100644 src/osgWrappers/introspection/osg/StateSet.cpp delete mode 100644 src/osgWrappers/introspection/osg/Stats.cpp delete mode 100644 src/osgWrappers/introspection/osg/Stencil.cpp delete mode 100644 src/osgWrappers/introspection/osg/StencilTwoSided.cpp delete mode 100644 src/osgWrappers/introspection/osg/Switch.cpp delete mode 100644 src/osgWrappers/introspection/osg/TexEnv.cpp delete mode 100644 src/osgWrappers/introspection/osg/TexEnvCombine.cpp delete mode 100644 src/osgWrappers/introspection/osg/TexEnvFilter.cpp delete mode 100644 src/osgWrappers/introspection/osg/TexGen.cpp delete mode 100644 src/osgWrappers/introspection/osg/TexGenNode.cpp delete mode 100644 src/osgWrappers/introspection/osg/TexMat.cpp delete mode 100644 src/osgWrappers/introspection/osg/Texture.cpp delete mode 100644 src/osgWrappers/introspection/osg/Texture1D.cpp delete mode 100644 src/osgWrappers/introspection/osg/Texture2D.cpp delete mode 100644 src/osgWrappers/introspection/osg/Texture2DArray.cpp delete mode 100644 src/osgWrappers/introspection/osg/Texture3D.cpp delete mode 100644 src/osgWrappers/introspection/osg/TextureCubeMap.cpp delete mode 100644 src/osgWrappers/introspection/osg/TextureRectangle.cpp delete mode 100644 src/osgWrappers/introspection/osg/Timer.cpp delete mode 100644 src/osgWrappers/introspection/osg/TransferFunction.cpp delete mode 100644 src/osgWrappers/introspection/osg/Transform.cpp delete mode 100644 src/osgWrappers/introspection/osg/Uniform.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec2.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec2b.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec2d.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec2f.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec2s.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec3.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec3b.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec3d.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec3f.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec3s.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec4.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec4b.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec4d.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec4f.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec4s.cpp delete mode 100644 src/osgWrappers/introspection/osg/Vec4ub.cpp delete mode 100644 src/osgWrappers/introspection/osg/VertexProgram.cpp delete mode 100644 src/osgWrappers/introspection/osg/View.cpp delete mode 100644 src/osgWrappers/introspection/osg/Viewport.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/Action.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/ActionAnimation.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/ActionBlendIn.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/ActionBlendOut.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/ActionCallback.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/ActionStripAnimation.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/ActionVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/Animation.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/AnimationManagerBase.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/BasicAnimationManager.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/Bone.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/BoneMapVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/Channel.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/CubicBezier.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/EaseMotion.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/FrameAction.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/Interpolator.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/Keyframe.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/LinkVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/MorphGeometry.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/RigGeometry.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/RigTransform.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/RigTransformHardware.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/RigTransformSoftware.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/Sampler.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/Skeleton.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/StatsHandler.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/StatsVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/Target.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/Timeline.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/TimelineAnimationManager.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/Vec3Packed.cpp delete mode 100644 src/osgWrappers/introspection/osgAnimation/VertexInfluence.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/Archive.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/AuthenticationMap.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/Callbacks.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/DatabasePager.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/DatabaseRevisions.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/DynamicLibrary.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/FileCache.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/FileUtils.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/ImageOptions.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/ImagePager.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/Input.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/ObjectWrapper.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/Options.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/Output.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/ParameterOutput.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/PluginQuery.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/ReaderWriter.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/Registry.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/SharedStateManager.cpp delete mode 100644 src/osgWrappers/introspection/osgDB/XmlParser.cpp delete mode 100644 src/osgWrappers/introspection/osgFX/AnisotropicLighting.cpp delete mode 100644 src/osgWrappers/introspection/osgFX/BumpMapping.cpp delete mode 100644 src/osgWrappers/introspection/osgFX/Cartoon.cpp delete mode 100644 src/osgWrappers/introspection/osgFX/Effect.cpp delete mode 100644 src/osgWrappers/introspection/osgFX/MultiTextureControl.cpp delete mode 100644 src/osgWrappers/introspection/osgFX/Outline.cpp delete mode 100644 src/osgWrappers/introspection/osgFX/Registry.cpp delete mode 100644 src/osgWrappers/introspection/osgFX/Scribe.cpp delete mode 100644 src/osgWrappers/introspection/osgFX/SpecularHighlights.cpp delete mode 100644 src/osgWrappers/introspection/osgFX/Technique.cpp delete mode 100644 src/osgWrappers/introspection/osgFX/Validator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/AnimationPathManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/CameraManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/CameraViewSwitchManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/DriveManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/EventQueue.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/EventVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/FlightManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/GUIActionAdapter.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/GUIEventAdapter.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/GUIEventHandler.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/StateSetManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/TrackballManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgGA/UFOManipulator.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/AntiSquish.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/Command.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/CommandManager.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/Constraint.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/Dragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/Projector.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/RotateCylinderDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/RotateSphereDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/Scale1DDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/Scale2DDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/ScaleAxisDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/Selection.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/TabBoxDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/TabBoxTrackballDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/TabPlaneDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/TabPlaneTrackballDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/TrackballDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/Translate1DDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/Translate2DDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/TranslateAxisDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgManipulator/TranslatePlaneDragger.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/AccelOperator.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/AngularAccelOperator.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/BoxPlacer.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/CenteredPlacer.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/ConnectedParticleSystem.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/ConstantRateCounter.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/Counter.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/Emitter.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/ExplosionDebrisEffect.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/ExplosionEffect.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/FireEffect.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/ForceOperator.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/Interpolator.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/LinearInterpolator.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/ModularEmitter.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/ModularProgram.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/MultiSegmentPlacer.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/Operator.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/Particle.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/ParticleEffect.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/ParticleProcessor.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/ParticleSystem.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/ParticleSystemUpdater.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/Placer.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/PointPlacer.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/PrecipitationEffect.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/Program.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/RadialShooter.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/RandomRateCounter.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/SectorPlacer.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/SegmentPlacer.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/Shooter.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/SmokeEffect.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/SmokeTrailEffect.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/VariableRateCounter.cpp delete mode 100644 src/osgWrappers/introspection/osgParticle/range.cpp delete mode 100644 src/osgWrappers/introspection/osgPresentation/AnimationMaterial.cpp delete mode 100644 src/osgWrappers/introspection/osgPresentation/CompileSlideCallback.cpp delete mode 100644 src/osgWrappers/introspection/osgPresentation/PickEventHandler.cpp delete mode 100644 src/osgWrappers/introspection/osgPresentation/SlideEventHandler.cpp delete mode 100644 src/osgWrappers/introspection/osgPresentation/SlideShowConstructor.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/ConvexPolyhedron.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/DebugShadowMap.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/LightSpacePerspectiveShadowMap.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/MinimalCullBoundsShadowMap.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/MinimalDrawBoundsShadowMap.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/MinimalShadowMap.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/OccluderGeometry.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/ParallelSplitShadowMap.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/ShadowMap.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/ShadowTechnique.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/ShadowTexture.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/ShadowVolume.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/ShadowedScene.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/SoftShadowMap.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/StandardShadowMap.cpp delete mode 100644 src/osgWrappers/introspection/osgShadow/ViewDependentShadowTechnique.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/BlinkSequence.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/ColorRange.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/DOFTransform.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/ElevationSlice.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/GeographicLocation.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/HeightAboveTerrain.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/Impostor.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/ImpostorSprite.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/InsertImpostorsVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/LightPoint.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/LightPointNode.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/LightPointSystem.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/LineOfSight.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/MultiSwitch.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/ObjectRecordData.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/OverlayNode.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/ScalarBar.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/ScalarsToColors.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/Sector.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/ShapeAttribute.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/SphereSegment.cpp delete mode 100644 src/osgWrappers/introspection/osgSim/VisibilityGroup.cpp delete mode 100644 src/osgWrappers/introspection/osgTerrain/Export.cpp delete mode 100644 src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp delete mode 100644 src/osgWrappers/introspection/osgTerrain/Layer.cpp delete mode 100644 src/osgWrappers/introspection/osgTerrain/Locator.cpp delete mode 100644 src/osgWrappers/introspection/osgTerrain/Terrain.cpp delete mode 100644 src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp delete mode 100644 src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp delete mode 100644 src/osgWrappers/introspection/osgTerrain/ValidDataOperator.cpp delete mode 100644 src/osgWrappers/introspection/osgText/Export.cpp delete mode 100644 src/osgWrappers/introspection/osgText/FadeText.cpp delete mode 100644 src/osgWrappers/introspection/osgText/Font.cpp delete mode 100644 src/osgWrappers/introspection/osgText/Font3D.cpp delete mode 100644 src/osgWrappers/introspection/osgText/KerningType.cpp delete mode 100644 src/osgWrappers/introspection/osgText/String.cpp delete mode 100644 src/osgWrappers/introspection/osgText/Text.cpp delete mode 100644 src/osgWrappers/introspection/osgText/Text3D.cpp delete mode 100644 src/osgWrappers/introspection/osgText/TextBase.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/ConvertVec.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/CubeMapGenerator.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/CullVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/DelaunayTriangulator.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/DisplayRequirementsVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/DrawElementTypeSimplifier.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/EdgeCollector.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/GLObjectsVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/HalfWayMapGenerator.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/HighlightMapGenerator.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/IncrementalCompileOperation.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/IntersectVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/IntersectionVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/LineSegmentIntersector.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/OperationArrayFunctor.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/Optimizer.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/PlaneIntersector.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/PolytopeIntersector.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/PositionalStateContainer.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/ReflectionMapGenerator.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/RenderBin.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/RenderLeaf.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/RenderStage.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/ReversePrimitiveFunctor.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/SceneGraphBuilder.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/SceneView.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/ShaderGen.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/Simplifier.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/SmoothingVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/StateGraph.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/Statistics.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/TangentSpaceGenerator.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/Tessellator.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/TransformAttributeFunctor.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/TransformCallback.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/TriStripVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgUtil/UpdateVisitor.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/CompositeViewer.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/GraphicsWindow.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/Renderer.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/Scene.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/View.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/Viewer.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/ViewerBase.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/api/Carbon/GraphicsHandleCarbon.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/api/Cocoa/GraphicsHandleCocoa.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/api/Win32/GraphicsHandleWin32.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/api/Win32/PixelBufferWin32.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/api/X11/GraphicsHandleX11.cpp delete mode 100644 src/osgWrappers/introspection/osgViewer/api/X11/PixelBufferX11.cpp delete mode 100644 src/osgWrappers/introspection/osgVolume/Export.cpp delete mode 100644 src/osgWrappers/introspection/osgVolume/FixedFunctionTechnique.cpp delete mode 100644 src/osgWrappers/introspection/osgVolume/Layer.cpp delete mode 100644 src/osgWrappers/introspection/osgVolume/Locator.cpp delete mode 100644 src/osgWrappers/introspection/osgVolume/Property.cpp delete mode 100644 src/osgWrappers/introspection/osgVolume/RayTracedTechnique.cpp delete mode 100644 src/osgWrappers/introspection/osgVolume/Volume.cpp delete mode 100644 src/osgWrappers/introspection/osgVolume/VolumeTechnique.cpp delete mode 100644 src/osgWrappers/introspection/osgVolume/VolumeTile.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Box.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Browser.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Canvas.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/EventInterface.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Frame.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Input.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Label.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Lua.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/PdfReader.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Python.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/ScriptEngine.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/StyleInterface.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/StyleManager.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Table.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Types.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/ViewerEventHandlers.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/VncClient.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Widget.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/Window.cpp delete mode 100644 src/osgWrappers/introspection/osgWidget/WindowManager.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index b7950bb1d..96c8878b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -741,16 +741,6 @@ IF(APPLE) ENDIF(APPLE) -# -# Provide target for generating wrappers -# -SET(GENWRAPPER genwrapper) - -ADD_CUSTOM_TARGET(wrappers - COMMAND ${GENWRAPPER} -c ${OpenSceneGraph_SOURCE_DIR}/src/osgWrappers/introspection/genwrapper.conf -t ${OpenSceneGraph_SOURCE_DIR}/src/osgWrappers/introspection/Doxyfile.template -d ${OpenSceneGraph_SOURCE_DIR} | doxygen - - COMMAND ${GENWRAPPER} -c ${OpenSceneGraph_SOURCE_DIR}/src/osgWrappers/introspection/genwrapper.conf -l ${OpenSceneGraph_SOURCE_DIR} -) - # For Doxygen INCLUDE(${CMAKE_ROOT}/Modules/Documentation.cmake OPTIONAL) OPTION(BUILD_DOCUMENTATION "Build OpenSceneGraph reference documentation using doxygen (use: make DoxygenDoc)" OFF) @@ -877,10 +867,6 @@ SET(PKGCONFIG_FILES openscenegraph-osgVolume ) -IF(BUILD_OSG_WRAPPERS) - SET(PKGCONFIG_FILES ${PKGCONFIG_FILES} openscenegraph-osgIntrospection) -ENDIF(BUILD_OSG_WRAPPERS) - IF(QT4_FOUND) SET(PKGCONFIG_FILES ${PKGCONFIG_FILES} openscenegraph-osgQt) ENDIF(QT4_FOUND) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 0d9488b1d..2cee33bdc 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -159,10 +159,6 @@ IF(DYNAMIC_OPENSCENEGRAPH) ENDIF() ADD_SUBDIRECTORY(osgpdf) - - IF (BUILD_OSG_WRAPPERS) - ADD_SUBDIRECTORY(osgintrospection) - ENDIF(BUILD_OSG_WRAPPERS) IF (GLUT_FOUND) ADD_SUBDIRECTORY(osgviewerGLUT) diff --git a/examples/osgintrospection/CMakeLists.txt b/examples/osgintrospection/CMakeLists.txt deleted file mode 100644 index 1cd079104..000000000 --- a/examples/osgintrospection/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -SET(TARGET_SRC osgintrospection.cpp ) -SET(TARGET_ADDED_LIBRARIES osgIntrospection ) - -ADD_DEFINITIONS(-DOSG_PLUGIN_EXTENSION=${CMAKE_SHARED_MODULE_SUFFIX}) - -#### end var setup ### -SETUP_EXAMPLE(osgintrospection) diff --git a/examples/osgintrospection/osgintrospection.cpp b/examples/osgintrospection/osgintrospection.cpp deleted file mode 100644 index e4cd00b6d..000000000 --- a/examples/osgintrospection/osgintrospection.cpp +++ /dev/null @@ -1,296 +0,0 @@ -/* OpenSceneGraph example, osgintrospection. -* -* Permission is hereby granted, free of charge, to any person obtaining a copy -* of this software and associated documentation files (the "Software"), to deal -* in the Software without restriction, including without limitation the rights -* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -* copies of the Software, and to permit persons to whom the Software is -* furnished to do so, subject to the following conditions: -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -* THE SOFTWARE. -*/ - - -#include - -#include -#include -#include -#include - -#include -#include - -#include -#include - -using namespace osgIntrospection; - -// borrowed from osgDB... -std::string createLibraryNameForWrapper(const std::string& ext) -{ -#if defined(WIN32) - // !! recheck evolving Cygwin DLL extension naming protocols !! NHV - #ifdef __CYGWIN__ - return "cygwin_osgwrapper_"+ext+".dll"; - #elif defined(__MINGW32__) - return "mingw_osgwrapper_"+ext+".dll"; - #else - #ifdef _DEBUG - return "osgwrapper_"+ext+"d.dll"; - #else - return "osgwrapper_"+ext+".dll"; - #endif - #endif -#elif macintosh - return "osgwrapper_" + ext; -#else - return "osgwrapper_" + ext + ADDQUOTES(OSG_PLUGIN_EXTENSION); -#endif - -} - -bool type_order(const Type *v1, const Type *v2) -{ - if (!v1->isDefined()) return v2->isDefined(); - if (!v2->isDefined()) return false; - return v1->getQualifiedName().compare(v2->getQualifiedName()) < 0; -} - -void print_method(const MethodInfo &mi) -{ - std::cout << "\t "; - - // display if the method is virtual - if (mi.isVirtual()) - std::cout << "virtual "; - - // display the method's return type if defined - if (mi.getReturnType().isDefined()) - std::cout << mi.getReturnType().getQualifiedName() << " "; - else - std::cout << "[UNDEFINED TYPE] "; - - // display the method's name - std::cout << mi.getName() << "("; - - // display method's parameters - const ParameterInfoList ¶ms = mi.getParameters(); - for (ParameterInfoList::const_iterator k=params.begin(); k!=params.end(); ++k) - { - // get the ParameterInfo object that describes the - // current parameter - const ParameterInfo &pi = **k; - - // display the parameter's modifier - if (pi.isIn()) - std::cout << "IN"; - if (pi.isOut()) - std::cout << "OUT"; - if (pi.isIn() || pi.isOut()) - std::cout << " "; - - // display the parameter's type name - if (pi.getParameterType().isDefined()) - std::cout << pi.getParameterType().getQualifiedName(); - - // display the parameter's name if defined - if (!pi.getName().empty()) - std::cout << " " << pi.getName(); - - if ((k+1)!=params.end()) - std::cout << ", "; - } - std::cout << ")"; - if (mi.isConst()) - std::cout << " const"; - if (mi.isPureVirtual()) - std::cout << " = 0"; - std::cout << "\n"; -} - -void print_type(const Type &type) -{ - // ignore pointer types and undefined types - if (!type.isDefined() || type.isPointer() || type.isReference()) - return; - - // print the type name - std::cout << type.getQualifiedName() << "\n"; - - // check whether the type is abstract - if (type.isAbstract()) std::cout << "\t[abstract]\n"; - - // check whether the type is atomic - if (type.isAtomic()) std::cout << "\t[atomic]\n"; - - // check whether the type is an enumeration. If yes, display - // the list of enumeration labels - if (type.isEnum()) - { - std::cout << "\t[enum]\n"; - std::cout << "\tenumeration values:\n"; - const EnumLabelMap &emap = type.getEnumLabels(); - for (EnumLabelMap::const_iterator j=emap.begin(); j!=emap.end(); ++j) - { - std::cout << "\t\t" << j->second << " = " << j->first << "\n"; - } - } - - // if the type has one or more base types, then display their - // names - if (type.getNumBaseTypes() > 0) - { - std::cout << "\tderived from: "; - for (int j=0; jsecond; - - // sort the map - std::sort(types.begin(), types.end(), &type_order); - - // iterate through the type map and display some - // details for each type - for (TypeList::const_iterator i=types.begin(); i!=types.end(); ++i) - { - print_type(**i); - } -} - -int main() -{ - // load the library of wrappers that reflect the - // classes defined in the 'osg' namespace. In the - // future this will be done automatically under - // certain circumstances (like deserialization). - osg::ref_ptr osg_reflectors = - osgDB::DynamicLibrary::loadLibrary(createLibraryNameForWrapper("osg")); - - // display a detailed list of reflected types - try - { - print_types(); - } - catch(const osgIntrospection::Exception &e) - { - std::cerr << e.what() << std::endl; - } - - return 0; -} - diff --git a/include/osgIntrospection/Attributes b/include/osgIntrospection/Attributes deleted file mode 100644 index 38fba4f5a..000000000 --- a/include/osgIntrospection/Attributes +++ /dev/null @@ -1,326 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_ATTRIBUTES_ -#define OSGINTROSPECTION_ATTRIBUTES_ - -#include -#include -#include -#include - -namespace osgIntrospection -{ - - /// By adding this attribute to a PropertyInfo you specify that there - /// is no default value for that property. - class NoDefaultValueAttribute: public CustomAttribute {}; - - - /// By adding this attribute to a PropertyInfo you specify a custom - /// default value for that property. - class DefaultValueAttribute: public CustomAttribute - { - public: - DefaultValueAttribute(const Value& v): _v(v) {} - const Value& getDefaultValue() const { return _v; } - private: - Value _v; - }; - - /// Base struct for custom property getters. Descendants may override - /// one or more of the get() methods to provide the means for retrieving - /// the value of a property. The first version of get() is used with - /// indexed properties, the second one serves simple properties and the - /// last one is used with array properties. - struct PropertyGetter - { - virtual Value get(Value& /*instance*/, const ValueList& /*indices*/) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::IGET); } - virtual Value get(Value& /*instance*/) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::GET); } - virtual Value get(Value& /*instance*/, int /*i*/) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::AGET); } - virtual Value get(const Value& /*instance*/, const ValueList& /*indices*/) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::IGET); } - virtual Value get(const Value& /*instance*/) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::GET); } - virtual Value get(const Value& /*instance*/, int /*i*/) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::AGET); } - virtual ~PropertyGetter() {} - }; - - /// By setting an attribute of this class you can specify a custom object - /// that will be used to retrieve the value of a property instead of the - /// default getter method. - class CustomPropertyGetAttribute: public CustomAttribute - { - public: - CustomPropertyGetAttribute(const PropertyGetter* getter) - : CustomAttribute(), _getter(getter) {} - - const PropertyGetter* getGetter() const { return _getter; } - - ~CustomPropertyGetAttribute() - { - delete _getter; - } - - private: - const PropertyGetter* _getter; - }; - - /// Base struct for custom property setters. Descendants may override - /// one or more of the set() methods to provide the means for setting - /// the value of a property. The first version of set() is used with - /// indexed properties, the second one serves simple properties and the - /// last one is used with array properties. - struct PropertySetter - { - virtual void set(Value& /*instance*/, ValueList& /*indices*/, const Value& /*value*/) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::ISET); } - virtual void set(Value& /*instance*/, const Value& /*value*/) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::SET); } - virtual void set(Value& /*instance*/, int /*i*/, const Value& /*value*/) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::ASET); } - virtual ~PropertySetter() {} - }; - - /// By setting an attribute of this class you can specify a custom object - /// that will be used to set the value of a property instead of the - /// default setter method. - class CustomPropertySetAttribute: public CustomAttribute - { - public: - CustomPropertySetAttribute(const PropertySetter* setter) - : CustomAttribute(), _setter(setter) {} - - const PropertySetter* getSetter() const { return _setter; } - - ~CustomPropertySetAttribute() - { - delete _setter; - } - - private: - const PropertySetter* _setter; - }; - - /// Base struct for custom array property counters. Descendants should - /// override the count() method which must return the number of items - /// in a chosen array property for the given instance. - struct PropertyCounter - { - virtual int count(const Value& /*instance*/) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::COUNT); } - virtual ~PropertyCounter() {} - }; - - /// By setting an attribute of this class you can specify a custom object - /// that will be used to count the number of items in an array property. - class CustomPropertyCountAttribute: public CustomAttribute - { - public: - CustomPropertyCountAttribute(const PropertyCounter* counter) - : CustomAttribute(), _counter(counter) {} - - const PropertyCounter* getCounter() const { return _counter; } - - ~CustomPropertyCountAttribute() - { - delete _counter; - } - - private: - const PropertyCounter* _counter; - }; - - /// Base struct for custom array property adders. Descendants should - /// override the add() method whose purpose is to add a new item to - /// an array property. - struct PropertyAdder - { - virtual void add(Value&, const Value&) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::ADD); } - virtual ~PropertyAdder() {} - }; - - /// By setting an attribute of this class you can specify a custom object - /// that will be used to add a new item to an array property. - class CustomPropertyAddAttribute: public CustomAttribute - { - public: - CustomPropertyAddAttribute(const PropertyAdder* adder) - : CustomAttribute(), _adder(adder) {} - - const PropertyAdder* getAdder() const { return _adder; } - - ~CustomPropertyAddAttribute() - { - delete _adder; - } - - private: - const PropertyAdder* _adder; - }; - - /// Base struct for custom array property inserters. Descendants should - /// override the insert() method whose purpose is to insert a new item to - /// an array property. - struct PropertyInserter - { - virtual void insert(Value&, int, const Value&) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::INSERT); } - virtual void insert(Value&, const ValueList&, const Value&) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::INSERT); } - virtual ~PropertyInserter() {} - }; - - /// By setting an attribute of this class you can specify a custom object - /// that will be used to insert a new item to an array property. - class CustomPropertyInsertAttribute: public CustomAttribute - { - public: - CustomPropertyInsertAttribute(const PropertyInserter* inserter) - : CustomAttribute(), _inserter(inserter) {} - - const PropertyInserter* getInserter() const { return _inserter; } - - ~CustomPropertyInsertAttribute() - { - delete _inserter; - } - - private: - const PropertyInserter* _inserter; - }; - - /// Base struct for custom array property removers. Descendants should - /// override the remove() method whose purpose is to remove an item from - /// an array property. - struct PropertyRemover - { - virtual void remove(Value&, int) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::REMOVE); } - virtual void remove(Value&, ValueList&) const { throw PropertyAccessException("[n/a inside a custom accessor]", PropertyAccessException::REMOVE); } - virtual ~PropertyRemover() {} - }; - - /// By setting an attribute of this class you can specify a custom object - /// that will be used to remove an item from an array property. - class CustomPropertyRemoveAttribute: public CustomAttribute - { - public: - CustomPropertyRemoveAttribute(const PropertyRemover* remover) - : CustomAttribute(), _remover(remover) {} - - const PropertyRemover* getRemover() const { return _remover; } - - ~CustomPropertyRemoveAttribute() - { - delete _remover; - } - - private: - const PropertyRemover* _remover; - }; - - - /// This struct allows customization of an indexed property's index set. - /// You must derive from this struct and provide a concrete implementation - /// of getIndexValueSet(), which must return (in parameter values) a list - /// of valid values to be used as indices. The whichindex parameter - /// specifies which index is being queried (0 = first index, 1 = second - /// index, ...). - /// See CustomIndexAttribute for details. - struct IndexInfo - { - virtual const ParameterInfoList& getIndexParameters() const = 0; - virtual void getIndexValueSet(int whichindex, const Value& instance, ValueList& values) const = 0; - virtual ~IndexInfo() {} - }; - - - /// By default each index in an indexed property is assumed to be an - /// enumeration. When serialization is performed, indices are chosen - /// from the set of enum labels that were defined for the index type. - /// With this attribute you can provide custom code to determine the - /// set of values to be used as indices, instead of the default enum - /// values. This attribute is required, for example, when the number - /// and/or value of indices is not constant over time (such as in - /// associative containers). - class CustomIndexAttribute: public CustomAttribute - { - public: - CustomIndexAttribute(const IndexInfo* ii) - : CustomAttribute(), _ii(ii) {} - - const IndexInfo* getIndexInfo() const - { - return _ii; - } - - ~CustomIndexAttribute() - { - delete _ii; - } - - private: - const IndexInfo* _ii; - }; - - /// Attribute for overriding the type of a property with a custom - /// type. If you add this attribute to a PropertyInfo object, then - /// all subsequent calls to getValue()/getArrayItem()/getIndexedValue() - /// will perform a conversion from the actual property's type to - /// the custom type specified through this attribute. Similarly, all - /// methods in PropertyInfo that alter the property's value will accept - /// a value of the custom type instead of the actual type. In this - /// case the conversion is implicit and occurs later within the accessor - /// methods. - class PropertyTypeAttribute: public CustomAttribute - { - public: - PropertyTypeAttribute(const Type& type) - : CustomAttribute(), _type(type) {} - - const Type& getPropertyType() const - { - return _type; - } - - private: - const Type& _type; - - PropertyTypeAttribute& operator = (const PropertyTypeAttribute&) { return *this; } - }; - - /// Attribute for overriding the type of an index (of an indexed - /// property) with a custom type. Behaves like PropertyTypeAttribute, - /// but it affects the value of an index instead of the property's - /// value itself. - /// NOTE: property with custom indexing attributes are not affected - /// by this attribute! - class IndexTypeAttribute: public CustomAttribute - { - public: - IndexTypeAttribute(int whichindex, const Type& type) - : CustomAttribute(), _wi(whichindex), _type(type) {} - - int getWhichIndex() const - { - return _wi; - } - - const Type& getIndexType() const - { - return _type; - } - - private: - - IndexTypeAttribute& operator = (const IndexTypeAttribute&) { return *this; } - - int _wi; - const Type& _type; - }; -} - -#endif diff --git a/include/osgIntrospection/Comparator b/include/osgIntrospection/Comparator deleted file mode 100644 index aa336c71f..000000000 --- a/include/osgIntrospection/Comparator +++ /dev/null @@ -1,67 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_COMPARATOR_ -#define OSGINTROSPECTION_COMPARATOR_ - - -namespace osgIntrospection -{ - - class Value; - - struct Comparator - { - virtual bool isEqualTo(const Value& l, const Value& r) const = 0; - virtual bool isLessThanOrEqualTo(const Value& l, const Value& r) const = 0; - virtual ~Comparator() {} - }; - - template - struct TotalOrderComparator: Comparator - { - virtual bool isEqualTo(const Value& l, const Value& r) const - { - const T &vl = variant_cast(l); - const T &vr = variant_cast(r); - return vl <= vr && vr <= vl; - } - - virtual bool isLessThanOrEqualTo(const Value& l, const Value& r) const - { - return variant_cast(l) <= variant_cast(r); - } - - virtual ~TotalOrderComparator() {} - }; - - template - struct PartialOrderComparator: Comparator - { - virtual bool isEqualTo(const Value& l, const Value& r) const - { - return variant_cast(l) == variant_cast(r); - } - - virtual bool isLessThanOrEqualTo(const Value& , const Value& ) const - { - throw ComparisonOperatorNotSupportedException(extended_typeid(), "less than or equal to"); - } - - virtual ~PartialOrderComparator() {} - }; - -} - -#endif diff --git a/include/osgIntrospection/ConstructorInfo b/include/osgIntrospection/ConstructorInfo deleted file mode 100644 index 6534d981a..000000000 --- a/include/osgIntrospection/ConstructorInfo +++ /dev/null @@ -1,108 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_CONSTRUCTORINFO_ -#define OSGINTROSPECTION_CONSTRUCTORINFO_ - -#include -#include -#include -#include - -namespace osgIntrospection -{ - - class OSGINTROSPECTION_EXPORT ConstructorInfo: public CustomAttributeProvider - { - public: - // Standard constructor. - ConstructorInfo(const Type& declaratiionType, const ParameterInfoList& params, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : _declarationType(declaratiionType), - _params(params), - _explicit(false), - _briefHelp(briefHelp), - _detailedHelp(detailedHelp) - { - } - - // Constructor allowing explicit state specification. - ConstructorInfo(const Type& declaratiionType, const ParameterInfoList& params, bool isExplicit, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : _declarationType(declaratiionType), - _params(params), - _explicit(isExplicit), - _briefHelp(briefHelp), - _detailedHelp(detailedHelp) - { - } - - virtual ~ConstructorInfo() - { - for (ParameterInfoList::iterator i=_params.begin(); i!=_params.end(); ++i) - delete *i; - } - - /// Returns the brief help of the reflected construtor. - inline virtual const std::string& getBriefHelp() const - { - return _briefHelp; - } - - /// Returns the detailed help of the reflected contructor. - inline virtual const std::string& getDetailedHelp() const - { - return _detailedHelp; - } - - /// Returns the Type object associated to the type that - /// declares the reflected constructor. - inline const Type& getDeclaringType() const - { - return _declarationType; - } - - /// Returns a list of objects that describe the reflected - /// constructor's parameters. - inline const ParameterInfoList& getParameters() const - { - return _params; - } - - /// Returns true if this constructor is explicit. - inline bool isExplicit() const - { - return _explicit; - } - - /// Invokes the reflected constructor dynamically passing it the - /// arguments as a list of Value objects. - virtual Value createInstance(ValueList& args) const = 0; - - protected: - virtual void getInheritedProviders(CustomAttributeProviderList& providers) const; - - private: - - ConstructorInfo& operator = (const ConstructorInfo&) { return *this; } - - const Type& _declarationType; - ParameterInfoList _params; - bool _explicit; - - std::string _briefHelp; - std::string _detailedHelp; - }; - -} - -#endif diff --git a/include/osgIntrospection/Converter b/include/osgIntrospection/Converter deleted file mode 100644 index c1d9526fd..000000000 --- a/include/osgIntrospection/Converter +++ /dev/null @@ -1,91 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_CONVERTER_ -#define OSGINTROSPECTION_CONVERTER_ - -#include -#include - -namespace osgIntrospection -{ - struct Converter - { - virtual CastType getCastType() const = 0; - virtual Value convert(const Value& ) const = 0; - virtual ~Converter() {} - }; - - typedef std::list ConverterList; - - class CompositeConverter: public Converter - { - public: - CompositeConverter(const ConverterList& cvt): cvt_(cvt) {} - CompositeConverter(ConverterList& cvt) { cvt_.swap(cvt); } - virtual ~CompositeConverter() {} - - virtual Value convert(const Value& src) const - { - Value accum(src); - for (ConverterList::const_iterator i=cvt_.begin(); i!=cvt_.end(); ++i) - accum = (*i)->convert(accum); - return accum; - } - - virtual CastType getCastType() const { return COMPOSITE_CAST; } - private: - ConverterList cvt_; - }; - - template - struct StaticConverter: Converter - { - virtual ~StaticConverter() {} - virtual Value convert(const Value& src) const - { - return static_cast(variant_cast(src)); - } - - virtual CastType getCastType() const { return STATIC_CAST; } - }; - - template - struct DynamicConverter: Converter - { - virtual ~DynamicConverter() {} - virtual Value convert(const Value& src) const - { - return dynamic_cast(variant_cast(src)); - } - - virtual CastType getCastType() const { return DYNAMIC_CAST; } - }; - - template - struct ReinterpretConverter: Converter - { - virtual ~ReinterpretConverter() {} - virtual Value convert(const Value& src) const - { - return reinterpret_cast(variant_cast(src)); - } - - virtual CastType getCastType() const { return REINTERPRET_CAST; } - }; - -} - -#endif - diff --git a/include/osgIntrospection/ConverterProxy b/include/osgIntrospection/ConverterProxy deleted file mode 100644 index b4a3bbe2e..000000000 --- a/include/osgIntrospection/ConverterProxy +++ /dev/null @@ -1,36 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_CONVERTERPROXY_ -#define OSGINTROSPECTION_CONVERTERPROXY_ - -#include - -namespace osgIntrospection -{ - - struct Converter; - - struct ConverterProxy - { - ConverterProxy(const Type& source, const Type& dest, const Converter* cvt) - { - Reflection::registerConverter(source, dest, cvt); - } - }; - -} - -#endif - diff --git a/include/osgIntrospection/CustomAttribute b/include/osgIntrospection/CustomAttribute deleted file mode 100644 index dbdcd6537..000000000 --- a/include/osgIntrospection/CustomAttribute +++ /dev/null @@ -1,31 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_CUSTOMATTRIBUTE_ -#define OSGINTROSPECTION_CUSTOMATTRIBUTE_ - -namespace osgIntrospection -{ - - /// The base class for custom attributes. This is an empty class - /// for now. - class CustomAttribute - { - public: - virtual ~CustomAttribute() {} - }; - -} - -#endif diff --git a/include/osgIntrospection/CustomAttributeProvider b/include/osgIntrospection/CustomAttributeProvider deleted file mode 100644 index f3c7825b4..000000000 --- a/include/osgIntrospection/CustomAttributeProvider +++ /dev/null @@ -1,130 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_CUSTOMATTRIBUTEPROVIDER_ -#define OSGINTROSPECTION_CUSTOMATTRIBUTEPROVIDER_ - -#include -#include - -#include -#include - -namespace osgIntrospection -{ - - // forward declarations - class Type; - class CustomAttribute; - class CustomAttributeProvider; - - // vector of attributes - typedef std::vector CustomAttributeList; - - // vector of attribute providers - typedef std::vector CustomAttributeProviderList; - - - /// This is the base class for custom attribute providers, that is objects - /// that can be assigned a list of custom attributes. Methods defined in - /// this class provide the means for adding, retrieving and searching for - /// attributes. - class OSGINTROSPECTION_EXPORT CustomAttributeProvider - { - public: - /// Returns the const list of custom attributes. - inline const CustomAttributeList& getCustomAttributes() const - { - return attribs_; - } - - /// Returns the list of custom attributes. - inline CustomAttributeList& getCustomAttributes() - { - return attribs_; - } - - /// Adds a new attribute to the list. - inline CustomAttributeProvider *addAttribute(const CustomAttribute* attr) - { - attribs_.push_back(attr); - return this; - } - - /// Returns whether at least one attribute of the given type is - /// present in the attribute list. If the inherit parameter is - /// set to true, the search is forwarded to base types. - bool isDefined(const Type& type, bool inherit) const; - - /// Returns whether at least one attribute of the given type is - /// present in the attribute list. If the inherit parameter is - /// set to true, the search is forwarded to base types. - /// [template version] - template inline bool isDefined(bool inherit) const - { - for (CustomAttributeList::const_iterator i=attribs_.begin(); i!=attribs_.end(); ++i) - if (typeid(**i) == typeid(T)) return true; - if (inherit) - { - CustomAttributeProviderList providers; - getInheritedProviders(providers); - for (CustomAttributeProviderList::const_iterator i=providers.begin(); i!=providers.end(); ++i) - { - if ((*i)->isDefined(true)) return true; - } - } - return false; - } - - /// Searchs for an attribute of the given type and returns a pointer - /// to it if found, a null pointer otherwise. If the inherit parameter - /// is set to true, the search is forwarded to base types. - const CustomAttribute* getAttribute(const Type& type, bool inherit) const; - - /// Searchs for an attribute of the given type and returns a pointer - /// to it if found, a null pointer otherwise. If the inherit parameter - /// is set to true, the search is forwarded to base types. - /// [template version] - template inline const T *getAttribute(bool inherit) const - { - for (CustomAttributeList::const_iterator i=attribs_.begin(); i!=attribs_.end(); ++i) - if (typeid(**i) == typeid(T)) return static_cast(*i); - if (inherit) - { - CustomAttributeProviderList providers; - getInheritedProviders(providers); - for (CustomAttributeProviderList::const_iterator i=providers.begin(); i!=providers.end(); ++i) - { - const T *ca = (*i)->getAttribute(true); - if (ca) return ca; - } - } - return 0; - } - - protected: - virtual void getInheritedProviders(CustomAttributeProviderList& providers) const = 0; - virtual ~CustomAttributeProvider() { - for(CustomAttributeList::iterator it = attribs_.begin(); it != attribs_.end(); ++it) { - delete (*it); - } - } - - private: - CustomAttributeList attribs_; - }; - -} - -#endif diff --git a/include/osgIntrospection/Exceptions b/include/osgIntrospection/Exceptions deleted file mode 100644 index a7f695fab..000000000 --- a/include/osgIntrospection/Exceptions +++ /dev/null @@ -1,255 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_EXCEPTIONS_ -#define OSGINTROSPECTION_EXCEPTIONS_ - -#include -#include - -namespace osgIntrospection -{ - - class Exception - { - public: - Exception(const std::string& msg): msg_(msg) {} - const std::string& what() const throw() { return msg_; } - - private: - std::string msg_; - }; - - struct ReflectionException: public Exception - { - ReflectionException(const std::string& msg): Exception(msg) {} - }; - - struct TypeNotDefinedException: public ReflectionException - { - TypeNotDefinedException(const ExtendedTypeInfo &ti) - : ReflectionException("type `" + std::string(ti.name()) + "' is declared but not defined") - { - } - }; - - struct TypeIsAbstractException: public ReflectionException - { - TypeIsAbstractException(const ExtendedTypeInfo &ti) - : ReflectionException("cannot create instances of abstract type `" + std::string(ti.name()) + "'") - { - } - }; - - struct ConstructorNotFoundException: public ReflectionException - { - ConstructorNotFoundException(const ExtendedTypeInfo &ti) - : ReflectionException("could not find a suitable constructor in type `" + std::string(ti.name()) + "'") - { - } - }; - - struct ProtectedConstructorInvocationException: public ReflectionException - { - ProtectedConstructorInvocationException() - : ReflectionException("cannot invoke protected constructor") - { - } - }; - - struct InvokeNotImplementedException: public ReflectionException - { - InvokeNotImplementedException() - : ReflectionException("invoke() not implemented") - { - } - }; - - struct InvalidFunctionPointerException: public ReflectionException - { - InvalidFunctionPointerException() - : ReflectionException("invalid function pointer during invoke()") - { - } - }; - - struct ConstIsConstException: public ReflectionException - { - ConstIsConstException() - : ReflectionException("cannot modify a const value") - { - } - }; - - struct ProtectedMethodInvocationException: public ReflectionException - { - ProtectedMethodInvocationException() - : ReflectionException("cannot invoke protected method") - { - } - }; - - struct EmptyValueException: public ReflectionException - { - EmptyValueException() - : ReflectionException("cannot retrieve an empty value") - { - } - }; - - struct TypeNotFoundException: public ReflectionException - { - TypeNotFoundException(const std::string& qname) - : ReflectionException("type `" + qname + "' not found") - { - } - }; - - struct MethodNotFoundException: public ReflectionException - { - MethodNotFoundException(const std::string& name, const std::string& cname) - : ReflectionException("could not find a suitable method of name `" + name + "' in class `" + cname + "'") - { - } - }; - - struct StreamWriteErrorException: public ReflectionException - { - StreamWriteErrorException() - : ReflectionException("an error occured while trying to write to a stream") - { - } - }; - - struct StreamReadErrorException: public ReflectionException - { - StreamReadErrorException() - : ReflectionException("an error occured while trying to read from a stream") - { - } - }; - - class StreamingNotSupportedException: public ReflectionException - { - public: - enum OperationType - { - ANY, - TEXT_WRITE, - TEXT_READ, - BINARY_WRITE, - BINARY_READ - }; - - StreamingNotSupportedException(OperationType op, const ExtendedTypeInfo &type) - : ReflectionException(build_msg(op, type)) - { - } - - private: - std::string build_msg(OperationType op, const ExtendedTypeInfo &type) - { - std::string opstr; - switch (op) - { - case TEXT_WRITE: opstr = "writing to text stream"; break; - case TEXT_READ: opstr = "reading from text stream"; break; - case BINARY_WRITE: opstr = "writing to binary stream"; break; - case BINARY_READ: opstr = "reading from binary stream"; break; - case ANY: - default: opstr = "streaming"; - } - return opstr + std::string(" is not supported on type `" + std::string(type.name()) + "'"); - } - }; - - struct TypeConversionException: public ReflectionException - { - TypeConversionException(const ExtendedTypeInfo &type1, const ExtendedTypeInfo &type2) - : ReflectionException("cannot convert from type `" + std::string(type1.name()) + "' to type `" + std::string(type2.name()) + "'") - { - } - }; - - class PropertyAccessException: public ReflectionException - { - public: - enum AccessType - { - GET, - SET, - IGET, - ISET, - AGET, - ASET, - ADD, - INSERT, - REMOVE, - COUNT - }; - - PropertyAccessException(const std::string& pname, AccessType denied) - : ReflectionException(build_msg(pname, denied)) - { - } - - private: - std::string build_msg(const std::string& pname, AccessType denied) const - { - std::string msg; - switch (denied) - { - case GET: msg = "retrieved"; break; - case SET: msg = "set"; break; - case IGET: msg = "retrieved with indices"; break; - case ISET: msg = "set with indices"; break; - case AGET: msg = "retrieved with array index"; break; - case ASET: msg = "set with array index"; break; - case ADD: msg = "added"; break; - case INSERT: msg = "inserted"; break; - case REMOVE: msg = "removed"; break; - case COUNT: msg = "counted"; break; - default: msg = "?"; - } - return std::string("value for property `" + pname + "' cannot be " + msg); - } - }; - - struct IndexValuesNotDefinedException: ReflectionException - { - IndexValuesNotDefinedException(const std::string& name, const std::string& iname) - : ReflectionException("couldn't determine a finite set of values for index `" + iname + "' of property `" + name + "'. Make sure that either: 1) the index is an enumeration, or 2) a valid custom indexing attribute was assigned to the property.") - { - } - }; - - struct ComparisonNotPermittedException: ReflectionException - { - ComparisonNotPermittedException(const ExtendedTypeInfo &ti) - : ReflectionException("comparison not permitted on type `" + std::string(ti.name()) + "'") - { - } - }; - - struct ComparisonOperatorNotSupportedException: ReflectionException - { - ComparisonOperatorNotSupportedException(const ExtendedTypeInfo &ti, const std::string& op) - : ReflectionException("comparison operator `" + op + "' is not supported on type `" + std::string(ti.name()) + "'") - { - } - }; - -} - -#endif diff --git a/include/osgIntrospection/Export b/include/osgIntrospection/Export deleted file mode 100644 index 119c3f860..000000000 --- a/include/osgIntrospection/Export +++ /dev/null @@ -1,71 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_EXPORTHDR -#define OSGINTROSPECTION_EXPORTHDR 1 - -#include - -#if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS) - #pragma warning( disable : 4251 ) - #pragma warning( disable : 4121 ) - #pragma warning( disable : 4180 ) - #pragma warning( disable : 4702 ) -#endif - -#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__) - # if defined( OSG_LIBRARY_STATIC ) - # define OSGINTROSPECTION_EXPORT - # elif defined( OSGINTROSPECTION_LIBRARY ) - # define OSGINTROSPECTION_EXPORT __declspec(dllexport) - # else - # define OSGINTROSPECTION_EXPORT __declspec(dllimport) - # endif -#else - # define OSGINTROSPECTION_EXPORT -#endif - -// set up define for whether member templates are supported by VisualStudio compilers. -#ifdef _MSC_VER -# if (_MSC_VER < 1300) -# error Your compiler doesn't support member templates. The reflection framework can't be compiled. -# endif -#endif - -/** - -\namespace osgIntrospection - -The osgIntrospection library provides the an introspection/reflection framework for non intrusive -run-time querying and calling of class properties and methods. - -osgIntrospection is ideal for providing non native language binding to the OpenSceneGraph, convenient means -for editing properties in a generic way, such as required in scene graph editors, -and also facilitates the automatic serealization of objects. - -osgIntrospection can be used to provide introspection support to 3rd Party libraries without the need to -modify them to add this support, the wrappers providing the actual binding can be -automatically generated by parsing header files via gen_wrapper utility. All the -core OpenSceneGraph libraries have pre built wrappers available for you use. -*/ - -/** - -\namespace Properties - -Properties is a set of helper definations used by the osgIntrospectoin wrappers. - -*/ - -#endif diff --git a/include/osgIntrospection/ExtendedTypeInfo b/include/osgIntrospection/ExtendedTypeInfo deleted file mode 100644 index 000fd69b4..000000000 --- a/include/osgIntrospection/ExtendedTypeInfo +++ /dev/null @@ -1,123 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ - -#ifndef OSGINTROSPECTION_EXTENDEDTYPEINFO_ -#define OSGINTROSPECTION_EXTENDEDTYPEINFO_ - -#include -#include -#include - -namespace osgIntrospection -{ - /// This class is a wrapper for std::type_info that also records whether - /// a type is a reference or const reference. It permits osgIntrospection - /// to make use of reference information that is ignored by typeid(), and - /// to generate reference types based on it. The ExtendedTypeInfo for a - /// class can be produced via the extended_typeid() functions, analogous - /// to typeid(). - /// - class ExtendedTypeInfo - { - public: - ExtendedTypeInfo(const std::type_info &ti, bool isReference, bool isConstReference) : - _ti(&ti), _is_reference(isReference), _is_const_reference(isConstReference) - { - } - - /// Orders ExtendedTypeInfo based first on std::type_info, then on - /// reference, then on const reference. Note that we can't rely on - /// default pointer comparison for std::type_info because it is not - /// guaranteed that &typeid(T) always returns the same pointer for a - /// given T (thanks Andrew Koenig). - bool operator<(const ExtendedTypeInfo &other) const - { - if (_ti->before(*other._ti)) - return true; - else if (other._ti->before(*_ti)) - return false; - else if (_is_reference < other._is_reference) - return true; - else if (other._is_reference < _is_reference) - return false; - else - return _is_const_reference < other._is_const_reference; - } - - /// Returns true if *this and other are the same type. - bool operator==(const ExtendedTypeInfo &other) const - { - return (*_ti == *other._ti && - _is_reference == other._is_reference && - _is_const_reference == other._is_const_reference); - } - - /// Gets the std::type_info object for this type. - const std::type_info &getStdTypeInfo() const - { - return *_ti; - } - - /// Returns true if this type is a reference or const reference. - bool isReference() const - { - return _is_reference; - } - - /// Returns true if this type is a const reference. - bool isConstReference() const - { - return _is_const_reference; - } - - /// Returns the name of this type, based on the std::type_info name. - std::string name() const - { - if (_is_const_reference) - return std::string("const ") + _ti->name() + " &"; - else if (_is_reference) - return std::string(_ti->name()) + " &"; - else - return _ti->name(); - } - - private: - const std::type_info *_ti; - bool _is_reference; - bool _is_const_reference; - }; -} - -/// extended_typeid works like typeid, but returns an ExtendedTypeInfo. This -/// version operates on expressions. -template -osgIntrospection::ExtendedTypeInfo -extended_typeid(T) -{ - return osgIntrospection::ExtendedTypeInfo(typeid(T), - is_reference::value, - is_const_reference::value); -} - -/// extended_typeid works like typeid, but returns an ExtendedTypeInfo. This -/// version operates on types, which must be specified as a template parameter. -template -osgIntrospection::ExtendedTypeInfo -extended_typeid() -{ - return osgIntrospection::ExtendedTypeInfo(typeid(T), - is_reference::value, - is_const_reference::value); -} - -#endif diff --git a/include/osgIntrospection/InstanceCreator b/include/osgIntrospection/InstanceCreator deleted file mode 100644 index cc332f03d..000000000 --- a/include/osgIntrospection/InstanceCreator +++ /dev/null @@ -1,454 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_INSTANCECREATOR_ -#define OSGINTROSPECTION_INSTANCECREATOR_ - -#include -#include - -namespace osgIntrospection -{ - - /// The ObjectInstanceCreator struct template is a collection of - /// static methods that provide the means for creating instances - /// of object types dynamically. Such methods are usually called - /// from within TypedConstructorInfo{n}::createInstance(). - template - struct ObjectInstanceCreator - { - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10, Value& a11, Value& a12, Value& a13, Value& a14, Value& a15) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10), variant_cast(a11), variant_cast(a12), variant_cast(a13), variant_cast(a14), variant_cast(a15)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10, Value& a11, Value& a12, Value& a13, Value& a14) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10), variant_cast(a11), variant_cast(a12), variant_cast(a13), variant_cast(a14)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10, Value& a11, Value& a12, Value& a13) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10), variant_cast(a11), variant_cast(a12), variant_cast(a13)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10, Value& a11, Value& a12) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10), variant_cast(a11), variant_cast(a12)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10, Value& a11) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10), variant_cast(a11)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2) - { - return new T(variant_cast(a0), variant_cast(a1), variant_cast(a2)); - } - - template - static Value create(Value& a0, Value& a1) - { - return new T(variant_cast(a0), variant_cast(a1)); - } - - template - static Value create(Value& a0) - { - return new T(variant_cast(a0)); - } - - static Value create() - { - return new T(); - } - - }; - - template - struct ValueInstanceCreator - { - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10, Value& a11, Value& a12, Value& a13, Value& a14, Value& a15) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10), variant_cast(a11), variant_cast(a12), variant_cast(a13), variant_cast(a14), variant_cast(a15)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10, Value& a11, Value& a12, Value& a13, Value& a14) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10), variant_cast(a11), variant_cast(a12), variant_cast(a13), variant_cast(a14)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10, Value& a11, Value& a12, Value& a13) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10), variant_cast(a11), variant_cast(a12), variant_cast(a13)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10, Value& a11, Value& a12) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10), variant_cast(a11), variant_cast(a12)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10, Value& a11) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10), variant_cast(a11)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9, Value& a10) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9), variant_cast(a10)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8, Value& a9) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8), variant_cast(a9)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7, Value& a8) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7), variant_cast(a8)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6, Value& a7) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6), variant_cast(a7)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5, Value& a6) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5), variant_cast(a6)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4, Value& a5) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4), variant_cast(a5)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3, Value& a4) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3), variant_cast(a4)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2, Value& a3) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2), variant_cast(a3)); - } - - template - static Value create(Value& a0, Value& a1, Value& a2) - { - return T(variant_cast(a0), variant_cast(a1), variant_cast(a2)); - } - - template - static Value create(Value& a0, Value& a1) - { - return T(variant_cast(a0), variant_cast(a1)); - } - - template - static Value create(Value& a0) - { - return T(variant_cast(a0)); - } - - static Value create() - { - return T(); - } - - }; - - template - struct DummyInstanceCreator - { - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& , Value& ) - { - return Value(); - } - - template - static Value create(Value& ) - { - return Value(); - } - - static Value create() - { - return Value(); - } - - }; - - template - struct ProtectedConstructorInstanceCreator - { - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& , Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - template - static Value create(Value& ) - { - throw ProtectedConstructorInvocationException(); - } - - static Value create() - { - throw ProtectedConstructorInvocationException(); - } - - }; - -} - -#endif diff --git a/include/osgIntrospection/MethodInfo b/include/osgIntrospection/MethodInfo deleted file mode 100644 index 48a88e526..000000000 --- a/include/osgIntrospection/MethodInfo +++ /dev/null @@ -1,249 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_METHODINFO_ -#define OSGINTROSPECTION_METHODINFO_ - -#include -#include -#include -#include -#include - -#include -#include -#include - -namespace osgIntrospection -{ - - class Type; - - /// Class MethodInfo stores information about a class method. It is an - /// abstract class, so it must be derived to provide the actual - /// implementation of isConst() and invoke(). Instances of this class - /// can't be modified after their creation. - class OSGINTROSPECTION_EXPORT MethodInfo: public CustomAttributeProvider - { - public: - /// Possible virtual states of the function. - enum VirtualState - { - NON_VIRTUAL = 0x0, - VIRTUAL = 0x1, - PURE_VIRTUAL = 0x3 - }; - - /// Direct initialization constructor. - inline MethodInfo(const std::string& qname, const Type& declarationType, const Type& rtype, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()); - - /// Direct initialization constructor for static functions (no virtual specifier). - inline MethodInfo(const std::string& qname, const Type& declarationType, const Type& rtype, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()); - - /// Destructor - inline ~MethodInfo(); - - /// Returns the Type object associated to the type that - /// declares the reflected method. - inline virtual const Type& getDeclaringType() const; - - /// Returns the name of the reflected method. - inline virtual const std::string& getName() const; - - /// Returns the return type of the reflected method. - inline const Type& getReturnType() const; - - /// Returns a list of objects that describe the reflected - /// method's parameters. - inline const ParameterInfoList& getParameters() const; - - /// Returns the brief help of the reflected method. - inline virtual const std::string& getBriefHelp() const; - - /// Returns the detailed help of the reflected method. - inline virtual const std::string& getDetailedHelp() const; - - /// Returns whether the reflected method is const or not. - virtual bool isConst() const = 0; - - /// Returns whether the reflected method is static or not. - virtual bool isStatic() const = 0; - - /// Returns whether the reflected method is virtual or not. - virtual bool isVirtual() const; - - /// Returns whether the reflected method is pure virtual or not. - virtual bool isPureVirtual() const; - - /// Returns whether this method would override the given - /// method. - bool overrides(const MethodInfo* other) const; - - /// Invokes the reflected method dynamically on the given const - /// instance, passing it the arguments as a list of Value objects. - inline virtual Value invoke(const Value& instance, ValueList& args) const; - - /// Invokes the reflected method dynamically on the given instance, - /// passing it the arguments as a list of Value objects. - inline virtual Value invoke(Value& instance, ValueList& args) const; - - /// Invokes the reflected static method dynamically passing it the - /// arguments as a list of Value objects. - inline virtual Value invoke(ValueList& args) const; - - /// Invokes the reflected method dynamically on the given const - /// instance, without arguments. - inline Value invoke(const Value& instance) const; - - /// Invokes the reflected method dynamically on the given - /// instance, without arguments. - inline Value invoke(Value& instance) const; - - /// Invokes the reflected static method without arguments. - inline Value invoke() const; - - private: - - MethodInfo& operator = (const MethodInfo&) { return *this; } - - inline std::string strip_namespace(const std::string& s) const; - - virtual void getInheritedProviders(CustomAttributeProviderList& providers) const; - - std::string _name; - const Type& _declarationType; - const Type& _rtype; - ParameterInfoList _params; - VirtualState _virtualState; - - std::string _briefHelp; - std::string _detailedHelp; - }; - - // INLINE METHODS - - inline MethodInfo::MethodInfo(const std::string& qname, const Type& declarationType, const Type& rtype, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp, std::string detailedHelp) - : CustomAttributeProvider(), - _declarationType(declarationType), - _rtype(rtype), - _params(plist), - _virtualState(virtualState), - _briefHelp(briefHelp), - _detailedHelp(detailedHelp) - { - _name = strip_namespace(qname); - } - - inline MethodInfo::MethodInfo(const std::string& qname, const Type& declarationType, const Type& rtype, const ParameterInfoList& plist, std::string briefHelp, std::string detailedHelp) - : CustomAttributeProvider(), - _declarationType(declarationType), - _rtype(rtype), - _params(plist), - _virtualState(NON_VIRTUAL), - _briefHelp(briefHelp), - _detailedHelp(detailedHelp) - { - _name = strip_namespace(qname); - } - - inline std::string MethodInfo::strip_namespace(const std::string& s) const - { - std::string::size_type p = s.rfind("::"); - if (p != std::string::npos) - return s.substr(p+2); - return s; - } - - inline const std::string& MethodInfo::getName() const - { - return _name; - } - - inline const Type& MethodInfo::getDeclaringType() const - { - return _declarationType; - } - - inline const Type& MethodInfo::getReturnType() const - { - return _rtype; - } - - inline const ParameterInfoList& MethodInfo::getParameters() const - { - return _params; - } - - inline const std::string& MethodInfo::getBriefHelp() const - { - return _briefHelp; - } - - inline const std::string& MethodInfo::getDetailedHelp() const - { - return _detailedHelp; - } - - inline bool MethodInfo::isVirtual() const - { - return (_virtualState & VIRTUAL) == VIRTUAL; - } - - inline bool MethodInfo::isPureVirtual() const - { - return (_virtualState & PURE_VIRTUAL) == PURE_VIRTUAL; - } - - inline Value MethodInfo::invoke(const Value& , ValueList& ) const - { - throw InvokeNotImplementedException(); - } - - inline Value MethodInfo::invoke(Value& , ValueList& ) const - { - throw InvokeNotImplementedException(); - } - - inline Value MethodInfo::invoke(ValueList& ) const - { - throw InvokeNotImplementedException(); - } - - inline Value MethodInfo::invoke(const Value& instance) const - { - ValueList args; - return invoke(instance, args); - } - - inline Value MethodInfo::invoke(Value& instance) const - { - ValueList args; - return invoke(instance, args); - } - - inline Value MethodInfo::invoke() const - { - ValueList args; - return invoke(args); - } - - inline MethodInfo::~MethodInfo() - { - for (ParameterInfoList::iterator i=_params.begin(); i!=_params.end(); ++i) - delete *i; - } - -} - -#endif diff --git a/include/osgIntrospection/ParameterInfo b/include/osgIntrospection/ParameterInfo deleted file mode 100644 index 5164d2697..000000000 --- a/include/osgIntrospection/ParameterInfo +++ /dev/null @@ -1,112 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_PARAMETERINFO_ -#define OSGINTROSPECTION_PARAMETERINFO_ - -#include -#include - -#include -#include - -namespace osgIntrospection -{ - - /// This class stores information about a function parameter. A parameter - /// is defined by its name, its type, its position within the parameter - /// list, and zero or more attributes. Attributes describe how the - /// parameter behave, for example whether it is an input or an output - /// parameter. - class ParameterInfo - { - public: - enum ParameterAttributes - { - NONE = 0, - - IN = 1, // parameter is used to pass data to the function - OUT = 2, // parameter is used to return data from the function - - INOUT = IN | OUT - }; - - /// Direct initialization constructor. - inline ParameterInfo(const std::string& name, const Type& type, int attribs, const Value& defval = Value()); - - /// Returns the parameter's name. - inline const std::string& getName() const; - - /// Returns the parameter's type. - inline const Type& getParameterType() const; - - /// Returns the parameter's attributes. - inline int getAttributes() const; - - /// Returns the default value. - inline const Value& getDefaultValue() const; - - /// Returns whether the parameter has the IN attribute. - inline bool isIn() const { return (attribs_ & IN) != 0; } - - /// Returns whether the parameter has the OUT attribute. - inline bool isOut() const { return (attribs_ & OUT) != 0; } - - /// Returns whether the parameter has both the IN and the - /// OUT attribute. - inline bool isInOut() const { return isIn() && isOut(); } - - private: - - ParameterInfo& operator = (const ParameterInfo&) { return *this; } - - std::string _name; - const Type& _type; - int attribs_; - Value default_; - }; - - // INLINE METHODS - - inline ParameterInfo::ParameterInfo(const std::string& name, const Type& type, int attribs, const Value& defval) - : _name(name), - _type(type), - attribs_(attribs), - default_(defval) - { - } - - inline const std::string& ParameterInfo::getName() const - { - return _name; - } - - inline const Type& ParameterInfo::getParameterType() const - { - return _type; - } - - inline int ParameterInfo::getAttributes() const - { - return attribs_; - } - - inline const Value& ParameterInfo::getDefaultValue() const - { - return default_; - } - -} - -#endif diff --git a/include/osgIntrospection/PropertyInfo b/include/osgIntrospection/PropertyInfo deleted file mode 100644 index 232f31b73..000000000 --- a/include/osgIntrospection/PropertyInfo +++ /dev/null @@ -1,384 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_PROPERTYINFO_ -#define OSGINTROSPECTION_PROPERTYINFO_ - -#include -#include -#include -#include - -#include -#include -#include -#include - -namespace osgIntrospection -{ - - /// This class keeps information about a class' property. A property is - /// defined by a name and a set of methods that store and retrieve - /// values. When the user wants to "get" the value of a property, the - /// getter method will be invoked and its value returned. When the user - /// wants to "set" the value of a property, the setter method will be - /// called. There are three kinds of property: simple (get/set), indexed - /// (get[i1, i2, ...]/set[i1, i2, ...]), and array (count/add/get[i]/ - /// set[i]). - /// Objects of class PropertyInfo can't be modified once they have been - /// created, but they can be queried without restrictions. You can either - /// retrieve the accessor methods and invoke them manually, or you can - /// call getValue() / setValue() etc. methods to perform direct operations - /// on the property, given an instance of the declaring type to work on. - /// The latter technique is preferred because it checks for custom - /// attributes associated to the PropertyInfo object and passes control - /// to them when needed. - /// - class OSGINTROSPECTION_EXPORT PropertyInfo: public CustomAttributeProvider - { - public: - /// Direct initialization constructor for simple properties. - /// You must pass the Type object associated to the class that - /// declares the property, the Type object that describes the - /// type of the property's value, the property name and the - /// getter/setter methods. Either the setter or the getter can - /// be null, meaning a restricted access. If both are null, the - /// user is expected to add a custom accessor attribute to this - /// PropertyInfo object. - PropertyInfo(const Type& declaratiionType, const Type& ptype, const std::string& name, const MethodInfo* getm, const MethodInfo* setm, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : CustomAttributeProvider(), - _declarationType(declaratiionType), - _ptype(ptype), - _name(name), - _getm(getm), - _setm(setm), - _numm(0), - _addm(0), - _insm(0), - _remm(0), - _is_array(false), - _briefHelp(briefHelp), - _detailedHelp(detailedHelp) - { - } - - /// Direct initialization constructor for "array" properties. - /// You must pass the Type object associated to the type that - /// declares the property, the Type object that describes the - /// type of the property's value, the property name and the - /// getter/setter/counter/adder/insert/remover methods. - PropertyInfo(const Type& declaratiionType, const Type& ptype, const std::string& name, const MethodInfo* getm, const MethodInfo* setm, const MethodInfo* numm, const MethodInfo* addm, const MethodInfo* insm, const MethodInfo* remm, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : CustomAttributeProvider(), - _declarationType(declaratiionType), - _ptype(ptype), - _name(name), - _getm(getm), - _setm(setm), - _numm(numm), - _addm(addm), - _insm(insm), - _remm(remm), - _is_array(true), - _briefHelp(briefHelp), - _detailedHelp(detailedHelp) - { - } - /// Direct initialization constructor for indexed properties. - /// You must pass the Type object associated to the class that - /// declares the property, the Type object that describes the - /// type of the property's value, the property name and the - /// getter/setter methods. Either the setter or the getter can - /// be null, meaning a restricted access. If both are null, the - /// user is expected to add a custom accessor attribute to this - /// PropertyInfo object. - /// If the getter method has parameters, the property is considered - /// to be indexed. The same is true if the getter is null and the - /// setter has more than one parameter. - PropertyInfo(const Type& declaratiionType, const Type& ptype, const std::string& name, const MethodInfo* getm, const MethodInfo* setm, const MethodInfo* remm, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : CustomAttributeProvider(), - _declarationType(declaratiionType), - _ptype(ptype), - _name(name), - _getm(getm), - _setm(setm), - _numm(0), - _addm(0), - _insm(0), - _remm(remm), - _is_array(false), - _briefHelp(briefHelp), - _detailedHelp(detailedHelp) - { - if (_getm) - { - for (ParameterInfoList::size_type i=0; i<_getm->getParameters().size(); ++i) - _indices.push_back(_getm->getParameters().at(i)); - } - else - { - if (_setm) - { - for (ParameterInfoList::size_type i=0; i<(_setm->getParameters().size()-1); ++i) - _indices.push_back(_setm->getParameters().at(i)); - } - } - } - - /// Returns the number of indices - inline int getNumIndices() const - { - return static_cast(getIndexParameters().size()); - } - - /// Returns the name of the property being described. - inline virtual const std::string& getName() const - { - return _name; - } - - /// Returns the brief help of the property being described. - inline virtual const std::string& getBriefHelp() const - { - return _briefHelp; - } - /// Returns the detailed help of the property being described. - inline virtual const std::string& getDetailedHelp() const - { - return _detailedHelp; - } - - /// Returns the type that declares the property. - inline virtual const Type& getDeclaringType() const - { - return _declarationType; - } - - /// Returns the type of the reflected property. - inline const Type& getPropertyType() const - { - const PropertyTypeAttribute *pta = getAttribute(false); - if (pta) return pta->getPropertyType(); - return _ptype; - } - - /// Returns the getter method. - inline const MethodInfo* getGetMethod() const - { - return _getm; - } - - /// Returns the setter method. - inline const MethodInfo* getSetMethod() const - { - return _setm; - } - - /// Returns the counter method. - inline const MethodInfo* getCountMethod() const - { - return _numm; - } - - /// Returns the adder method. - inline const MethodInfo* getAddMethod() const - { - return _addm; - } - - /// Returns the insert method. - inline const MethodInfo* getInsertMethod() const - { - return _insm; - } - - /// Returns the remover method. - inline const MethodInfo* getRemoveMethod() const - { - return _remm; - } - - /// Returns whether the property's value can be retrieved. - inline bool canGet() const - { - return (_getm != 0) || isDefined(false); - } - - /// Returns whether the property's value can be set. - inline bool canSet() const - { - return _setm != 0 || isDefined(false); - } - - /// Returns whether the property's array of values can be counted. - inline bool canCount() const - { - return _numm != 0 || isDefined(false); - } - - /// Returns whether items can be added to the array property. - inline bool canAdd() const - { - return _addm != 0 || isDefined(false); - } - - /// Returns whether items can be insert to the array property. - inline bool canInsert() const - { - return _insm != 0 || isDefined(false); - } - - /// Returns whether items can be removed from the array property. - inline bool canRemove() const - { - return _remm != 0 || isDefined(false); - } - - - /// Returns whether the property is simple. - inline bool isSimple() const - { - return !isIndexed() && !isArray(); - } - - /// Returns whether the property is indexed. - inline bool isIndexed() const - { - return getNumIndices() > 0; - } - - /// Returns whether the property is an array. - inline bool isArray() const - { - return _is_array; - } - - /// Returns the list of index parameters. - /// If the property is not indexed, this list is empty. If neither - /// the get method nor the set method are defined, this list is - /// empty unless a custom indexing attribute is defined. - const ParameterInfoList& getIndexParameters() const; - - /// Returns a list of valid values that can be used for the specified - /// index. If a custom indexing attribute is defined for this property, - /// then it will be queried for the index set, otherwise the index - /// will be treated as an enumeration and the set of enumeration - /// values will be returned. - void getIndexValueSet(int whichindex, const Value& instance, ValueList& values) const; - - /// Invokes the getter method on the given const instance and - /// returns the property's value. If a custom getter attribute - /// is defined, it will be invoked instead. - Value getValue(const Value& instance) const; - - /// Invokes the getter method on the given instance and - /// returns the property's value. If a custom getter attribute - /// is defined, it will be invoked instead. - Value getValue(Value& instance) const; - - /// Invokes the setter method on the given instance and - /// sets the property's value. If a custom setter attribute - /// is defined, it will be invoked instead. - void setValue(Value& instance, const Value& value) const; - - /// Invokes the getter method on the given const instance passing a - /// list of indices and returns the indexed property's value. If a - /// custom getter attribute is defined, it will be invoked instead. - Value getIndexedValue(Value& instance, ValueList& indices) const; - - /// Invokes the getter method on the given instance passing a list - /// of indices and returns the indexed property's value. If a custom - /// getter attribute is defined, it will be invoked instead. - Value getIndexedValue(const Value& instance, ValueList& indices) const; - - /// Invokes the setter method on the given instance passing a list - /// of indices and sets the indexed property's value. If a custom - /// setter attribute is defined, it will be invoked instead. - void setIndexedValue(Value& instance, ValueList& indices, const Value& value) const; - - /// Invokes the remover method on the given instance and removes - /// an item from the indexed property. If a custom remover attribute - /// is defined, it will be invoked instead. - void removeIndexedItem(Value& instance, ValueList& indices) const; - - /// Invokes the counter method on the given instance and returns - /// the number of items of the array property. If a custom counter - /// attribute is defined, it will be invoked instead. - int getNumArrayItems(const Value& instance) const; - - /// Invokes the getter method on the given const instance and returns - /// the i-th item of the array property. If a custom getter attribute - /// us defined, it will be invoked instead. - Value getArrayItem(const Value& instance, int i) const; - - /// Invokes the getter method on the given instance and returns - /// the i-th item of the array property. If a custom getter attribute - /// us defined, it will be invoked instead. - Value getArrayItem(Value& instance, int i) const; - - /// Invokes the setter method on the given instance and sets - /// the i-th item of the array property. If a custom setter attribute - /// is defined, it will be invoked instead. - void setArrayItem(Value& instance, int i, const Value& value) const; - - /// Invokes the adder method on the given instance and adds - /// an item to the array property. If a custom adder attribute is - /// defined, it will be invoked instead. - void addArrayItem(Value& instance, const Value& value) const; - - /// Invokes the insert method on the given instance and inserts - /// an item to the array property after the i-th item of the array - /// property. If a custom adder attribute is defined, - /// it will be invoked instead. - void insertArrayItem(Value& instance, int i, const Value& value) const; - - /// Invokes the remover method on the given instance and removes - /// an item from the array property. If a custom remover attribute - /// is defined, it will be invoked instead. - void removeArrayItem(Value& instance, int i) const; - - /// Returns the default value associated to the reflected property. - /// If no default value has been specified, this method tries to - /// create an instance of the property type and then returns its - /// value. There are some attributes that change the behavior of - /// this method, for example NoDefaultValueAttribute. - Value getDefaultValue() const; - - virtual ~PropertyInfo() {}; - - protected: - virtual void getInheritedProviders(CustomAttributeProviderList& providers) const; - - private: - - PropertyInfo& operator = (const PropertyInfo&) { return *this; } - - const Type& _declarationType; - const Type& _ptype; - std::string _name; - const MethodInfo* _getm; - const MethodInfo* _setm; - const MethodInfo* _numm; - const MethodInfo* _addm; - const MethodInfo* _insm; - const MethodInfo* _remm; - ParameterInfoList _indices; - bool _is_array; - - std::string _briefHelp; - std::string _detailedHelp; - }; - -} - -#endif diff --git a/include/osgIntrospection/PublicMemberAccessor b/include/osgIntrospection/PublicMemberAccessor deleted file mode 100644 index cec962318..000000000 --- a/include/osgIntrospection/PublicMemberAccessor +++ /dev/null @@ -1,59 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2005 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2006 David Callu - -#ifndef OSGINTROSPECTION_PUBLICMEMBERACCESSOR_ -#define OSGINTROSPECTION_PUBLICMEMBERACCESSOR_ - -#include -#include -#include -#include -#include - -#include -#include -#include -#include - -namespace osgIntrospection -{ - template < typename C, typename P > - struct PublicMemberAccessor: public PropertyGetter, public PropertySetter - { - typedef P C::*MemberType; - - PublicMemberAccessor(MemberType m) - : _m(m) - {} - - virtual Value get(Value& instance) const - { - return getInstance(instance).*_m; - } - - virtual Value get(const Value& instance) const - { - return getInstance(instance).*_m; - } - - virtual void set(Value& instance, const Value& v) const - { - getInstance(instance).*_m = variant_cast(v); - } - - P C::*_m; - }; -} - -#endif diff --git a/include/osgIntrospection/ReaderWriter b/include/osgIntrospection/ReaderWriter deleted file mode 100644 index ed7add09e..000000000 --- a/include/osgIntrospection/ReaderWriter +++ /dev/null @@ -1,276 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_READERWRITER_ -#define OSGINTROSPECTION_READERWRITER_ - -#include -#include -#include -#include - -#include -#include -#include -#include - -#include -#include - - -namespace osgIntrospection -{ - - /// This is the base class for reader/writer objects. A ReaderWriter's - /// purpose is to provide the means for writing the content of a Value - /// object to a stream and for reading it back. Descendants can either - /// be specialized for just one data type or they can handle several - /// types, that's up to the implementor. A derived class is not required - /// to support all streaming operations (text write, text read, bin write - /// and bin read), it can implement just some of them, although full - /// support is strongly encouraged. - class ReaderWriter - { - public: - class Options - { - public: - Options(): fno_(false) {} - virtual ~Options() {} - - bool getForceNumericOutput() const { return fno_; } - void setForceNumericOutput(bool fno) { fno_ = fno; } - - private: - bool fno_; - }; - - /// Writes a textual representation of the value's content to a stream. - virtual std::ostream &writeTextValue(std::ostream &, const Value& v, const Options* = 0) const { throw StreamingNotSupportedException(StreamingNotSupportedException::TEXT_WRITE, v.getType().getExtendedTypeInfo()); } - - /// Reads a textual representation of the value's content from a stream. - virtual std::istream &readTextValue(std::istream &, Value& v, const Options* = 0) const { throw StreamingNotSupportedException(StreamingNotSupportedException::TEXT_READ, v.getType().getExtendedTypeInfo()); } - - /// Writes a textual representation of the value's content to a stream. - virtual std::wostream &writeTextValue(std::wostream & wos, const Value& v, const Options* op = 0) const { std::ostringstream os; writeTextValue(os, v, op); wos << os; return (wos);} - - /// Reads a textual representation of the value's content from a stream. - virtual std::wistream &readTextValue(std::wistream& , Value& v, const Options* = 0) const { throw StreamingNotSupportedException(StreamingNotSupportedException::TEXT_READ, v.getType().getExtendedTypeInfo()); } - - /// Writes a binary representation of the value's content to a stream. - virtual std::ostream &writeBinaryValue(std::ostream &, const Value& v, const Options* = 0) const { throw StreamingNotSupportedException(StreamingNotSupportedException::BINARY_WRITE, v.getType().getExtendedTypeInfo()); } - - /// Reads a binary representation of the value's content from a stream. - virtual std::istream &readBinaryValue(std::istream &, Value& v, const Options* = 0) const { throw StreamingNotSupportedException(StreamingNotSupportedException::BINARY_READ, v.getType().getExtendedTypeInfo()); } - - /// Virtual destructor. - virtual ~ReaderWriter() {} - }; - - /// This class template provides basic default streaming capabilities - /// for all types that define streaming operators (<< and >>). Most of - /// the standard types are able to be read and written this way, so the - /// StdReaderWriter template can be a convenient default for several - /// types. The binary representation is a raw copy of the memory content. - /// - /// TO-DO: improve binary streaming and avoid arch dependency. - /// - template - class StdReaderWriter: public ReaderWriter - { - public: - virtual std::ostream &writeTextValue(std::ostream &os, const Value& v, const Options * = 0) const - { - return (os << variant_cast(v)); - } - - virtual std::istream &readTextValue(std::istream &is, Value& v, const Options * = 0) const - { - if (v.isEmpty()) v = Value(T()); - return (is >> variant_cast(v)); - } - - virtual std::ostream &writeBinaryValue(std::ostream &os, const Value& v, const Options * = 0) const - { - return os.write(reinterpret_cast(extract_raw_data(v)), sizeof(T)); - } - - virtual std::istream &readBinaryValue(std::istream &is, Value& v, const Options * = 0) const - { - if (v.isEmpty()) v = Value(T()); - return is.read(reinterpret_cast(extract_raw_data(v)), sizeof(T)); - } - - }; - - template - class StdWReaderWriter: public ReaderWriter - { - public: - virtual std::wostream &writeTextValue(std::wostream &wos, const Value& v, const Options * = 0) const - { - return (wos << variant_cast(v)); - } - - virtual std::wistream &readTextValue(std::wistream &wis, Value& v, const Options * = 0) const - { - if (v.isEmpty()) v = Value(T()); - return (wis >> variant_cast(v)); - } - - virtual std::ostream &writeBinaryValue(std::ostream &os, const Value& v, const Options * = 0) const - { - return os.write(reinterpret_cast(extract_raw_data(v)), sizeof(T)); - } - - virtual std::istream &readBinaryValue(std::istream &is, Value& v, const Options * = 0) const - { - if (v.isEmpty()) v = Value(T()); - return is.read(reinterpret_cast(extract_raw_data(v)), sizeof(T)); - } - - }; - - /// This ReaderWriter can be used to read and write enumeration values. - /// The textual representation will be the enum label, if found, or the - /// numerical value. The binary representation doesn't take label names - /// into account. - template - class EnumReaderWriter: public ReaderWriter - { - virtual std::ostream &writeTextValue(std::ostream &os, const Value& v, const Options *options = 0) const - { - int numeric = static_cast(variant_cast(v)); - - if (!options || !options->getForceNumericOutput()) - { - const Type& type = v.getType(); - const EnumLabelMap& elm = type.getEnumLabels(); - EnumLabelMap::const_iterator i = elm.find(numeric); - if (i != elm.end()) - { - os << i->second; - return os; - } - else - { - std::vector labels; - - // it could be a bitmask - for (EnumLabelMap::const_iterator i=elm.begin(); i!=elm.end(); ++i) - { - if (i->first != 0 && ((i->first & numeric) == i->first)) - { - numeric ^= i->first; - labels.push_back(i->second); - } - } - - // check whether all bits were discovered - if (numeric == 0) - { - for (std::vector::const_iterator i=labels.begin(); i!=labels.end(); ++i) - { - os << *i; - if ((i+1) != labels.end()) os << " | "; - } - return os; - } - } - } - - return os << numeric; - } - - virtual std::istream &readTextValue(std::istream &is, Value& v, const Options * = 0) const - { - if (v.isEmpty()) v = Value(T()); - - int i; - if (is >> i) - { - variant_cast(v) = static_cast(i); - return is; - } - - is.clear(); - - std::string s; - if (is >> s) - { - const Type& type = v.getType(); - const EnumLabelMap& elm = type.getEnumLabels(); - for (EnumLabelMap::const_iterator i=elm.begin(); i!=elm.end(); ++i) - { - if (i->second.compare(s) == 0) - { - variant_cast(v) = static_cast(i->first); - return is; - } - } - } - - return is; - } - - virtual std::ostream &writeBinaryValue(std::ostream &os, const Value& v, const Options * = 0) const - { - return os.write(reinterpret_cast(extract_raw_data(v)), sizeof(T)); - } - - virtual std::istream &readBinaryValue(std::istream &is, Value& v, const Options * = 0) const - { - if (v.isEmpty()) - v = Value(T()); - return is.read(reinterpret_cast(extract_raw_data(v)), sizeof(T)); - } - - }; - - /// This is a ReaderWriter class that can be used to read and write - /// pointer values. Note: template parameter T must be a pointer! - template - class PtrReaderWriter: public ReaderWriter - { - public: - virtual std::ostream &writeTextValue(std::ostream &os, const Value& v, const Options* = 0) const - { - return (os << (void*)variant_cast(v)); - } - - virtual std::istream &readTextValue(std::istream &is, Value& v, const Options* = 0) const - { - void *ptr; - is >> ptr; - v = Value(T(ptr)); - return is; - } - - virtual std::ostream &writeBinaryValue(std::ostream &os, const Value& v, const Options* = 0) const - { - return os.write(reinterpret_cast(extract_raw_data(v)), sizeof(T)); - } - - virtual std::istream &readBinaryValue(std::istream &is, Value& v, const Options* = 0) const - { - T ptr; - is.read(reinterpret_cast(&ptr), sizeof(T)); - v = Value(ptr); - return is; - } - }; - -} - -#endif diff --git a/include/osgIntrospection/Reflection b/include/osgIntrospection/Reflection deleted file mode 100644 index 4082b2fdf..000000000 --- a/include/osgIntrospection/Reflection +++ /dev/null @@ -1,116 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_REFLECTION_ -#define OSGINTROSPECTION_REFLECTION_ - -#include -#include - -#include -#include -#include -#include - -/// This macro emulates the behavior of the standard typeid operator, -/// returning the Type object associated to the type of the given -/// expression. -#define typeof(type) osgIntrospection::Reflection::getType(extended_typeid< type >()) -#define typeofvalue(val) osgIntrospection::Reflection::getType(osgIntrospection::ExtendedTypeInfo(typeid(val), false, false)) - -namespace osgIntrospection -{ - - class Type; - struct Converter; - - typedef std::list ConverterList; - - /// A map of types, indexed by their associated ExtendedTypeInfo - /// structure. - typedef std::map TypeMap; - - enum CastType - { - STATIC_CAST, - DYNAMIC_CAST, - REINTERPRET_CAST, - COMPOSITE_CAST - }; - - /// This class provides basic reflection services such as registration - /// of new types and queries on the global type map. - class OSGINTROSPECTION_EXPORT Reflection - { - public: - /// Returns the Type object associated to the given - /// ExtendedTypeInfo structure. If the type hasn't been created - /// yet it is automatically created and added to the global type - /// map. Please note that such type will have the status of - /// "declared", you still need to give details about it through - /// a Reflector class before you can query it. - static const Type& getType(const ExtendedTypeInfo &ti); - - /// Finds a Type object given its qualified name, which must - /// be identical to the qualified name returned by that Type's - /// getQualifiedName() method. If the type hasn't been created - /// yet, an exception is thrown. - static const Type& getType(const std::string& qname); - - /// Returns the global map of types. - static const TypeMap& getTypes(); - - /// Return the Type object associated to the C++ type 'void'. - /// This is a shortcut for typeof(void), which may be slow if - /// the type map is large. - static const Type& type_void(); - - static const Converter* getConverter(const Type& source, const Type& dest); - static bool getConversionPath(const Type& source, const Type& dest, ConverterList& conv); - - // This function should be called (at least on windows platforms using Visual Studio 7.1 or 8 as compiler) to unregister - // all the known types before exiting your program: otherwise, you will get a lot of false positive memory leaks in debug builds. - // It might also be used to dynamically reload the description of the known types (?) - static void uninitialize(); - - private: - template friend class Reflector; - template friend struct TypeNameAliasProxy; - friend struct ConverterProxy; - - struct StaticData - { - TypeMap typemap; - const Type* type_void; - - typedef std::map ConverterMap; - typedef std::map ConverterMapMap; - ConverterMapMap convmap; - - ~StaticData(); - }; - - static StaticData& getOrCreateStaticData(); - static Type* registerType(const ExtendedTypeInfo &ti); - static Type* getOrRegisterType(const ExtendedTypeInfo &ti, bool replace_if_defined = false); - static void registerConverter(const Type& source, const Type& dest, const Converter* cvt); - - private: - static bool accum_conv_path(const Type& source, const Type& dest, ConverterList& conv, std::vector &chain, CastType castType); - static StaticData* _static_data; - }; - -} - -#endif diff --git a/include/osgIntrospection/ReflectionMacros b/include/osgIntrospection/ReflectionMacros deleted file mode 100644 index 864b8644f..000000000 --- a/include/osgIntrospection/ReflectionMacros +++ /dev/null @@ -1,2747 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_REFLECTIONMACROS_ -#define OSGINTROSPECTION_REFLECTIONMACROS_ - -#include -#include -#include -#include -#include -#include -#include - -namespace osgIntrospection -{ - - /** Compile-time polymorphism detector. - The enumeration constant "value" evaluates - to true only if T is a polymorphic class, - false otherwise. T must be a subclassable - type. - */ - template - struct is_polymorphic - { - struct dummy1: T { dummy1(); ~dummy1(); }; - struct dummy2: T { dummy2(); virtual ~dummy2(); }; - enum { value = sizeof(dummy1) == sizeof(dummy2) }; - }; - -} - -// -------------------------------------------------------------------------- -// "private" macros, not to be used outside this file -// -------------------------------------------------------------------------- - -#define COMMA , -#define OSG_RM_CONCATENATE_MACRO(x, y) x##y -#define OSG_RM_LINEID1(x, y) OSG_RM_CONCATENATE_MACRO(x, y) -#define OSG_RM_LINEID(x) OSG_RM_LINEID1(x, __LINE__) - - -// -------------------------------------------------------------------------- -// TYPE NAME ALIASES -// -------------------------------------------------------------------------- - -#define TYPE_NAME_ALIAS(t, n) \ - namespace { osgIntrospection::TypeNameAliasProxy OSG_RM_LINEID(tnalias) (#n); } - - -// -------------------------------------------------------------------------- -// TYPE CONVERTERS -// -------------------------------------------------------------------------- - -#define I_Converter(s, d, c) \ - namespace { osgIntrospection::ConverterProxy OSG_RM_LINEID(cvt) (s, d, new c); } - -#define I_StaticConverter(s, d) \ - I_Converter(s, d, osgIntrospection::StaticConverter); - -#define I_DynamicConverter(s, d) \ - I_Converter(s, d, osgIntrospection::DynamicConverter); - -#define I_ReinterpretConverter(s, d) \ - I_Converter(s, d, osgIntrospection::ReinterpretConverter); - - -// -------------------------------------------------------------------------- -// ONE-LINE REFLECTORS -// -------------------------------------------------------------------------- - -#define ABSTRACT_OBJECT_REFLECTOR(t) \ - namespace { osgIntrospection::AbstractObjectReflector OSG_RM_LINEID(reflector) (#t); } - -#define ATOMIC_VALUE_REFLECTOR(t) \ - namespace { osgIntrospection::AtomicValueReflector OSG_RM_LINEID(reflector) (#t); } - -#define WATOMIC_VALUE_REFLECTOR(t) \ - namespace { osgIntrospection::WAtomicValueReflector OSG_RM_LINEID(reflector) (#t); } - -#define STD_PAIR_REFLECTOR(t) \ - namespace { osgIntrospection::StdPairReflector OSG_RM_LINEID(reflector) (#t); } - -#define STD_PAIR_REFLECTOR_WITH_TYPES(t, pt1, pt2) \ - namespace { osgIntrospection::StdPairReflector OSG_RM_LINEID(reflector) (#t); } - -#define STD_VECTOR_REFLECTOR(t) \ - namespace { osgIntrospection::StdVectorReflector OSG_RM_LINEID(reflector) (#t); } - -#define STD_VECTOR_REFLECTOR_WITH_TYPES(t, vt) \ - namespace { osgIntrospection::StdVectorReflector OSG_RM_LINEID(reflector) (#t); } - -#define STD_LIST_REFLECTOR(t) \ - namespace { osgIntrospection::StdListReflector OSG_RM_LINEID(reflector) (#t); } - -#define STD_LIST_REFLECTOR_WITH_TYPES(t, vt) \ - namespace { osgIntrospection::StdListReflector OSG_RM_LINEID(reflector) (#t); } - -#define STD_SET_REFLECTOR(t) \ - namespace { osgIntrospection::StdSetReflector OSG_RM_LINEID(reflector) (#t); } - -#define STD_SET_REFLECTOR_WITH_TYPES(t, vt) \ - namespace { osgIntrospection::StdSetReflector OSG_RM_LINEID(reflector) (#t); } - -#define STD_MAP_REFLECTOR(t) \ - namespace { osgIntrospection::StdMapReflector OSG_RM_LINEID(reflector) (#t); } - -#define STD_MAP_REFLECTOR_WITH_TYPES(t, it, vt) \ - namespace { osgIntrospection::StdMapReflector OSG_RM_LINEID(reflector) (#t); } - - -// -------------------------------------------------------------------------- -// DETAILED REFLECTORS -// -------------------------------------------------------------------------- - -// this dummy function is used to prevent GCC from -// emitting an "unused variable" warning on reflector -// fields that are automatically created by following -// macros, and possibly left unused by the implementor. -// NOTE: the unnamed namespace declaration is commented -// out because it seems to confuse the MSVC++ compiler. -// Anyway, static should be ok. -//namespace -//{ - static inline void sink(const osgIntrospection::CustomAttributeProvider *) - { - } -//} - - -#define BEGIN_ENUM_REFLECTOR(c) \ - namespace { \ - struct OSG_RM_LINEID(reflector): osgIntrospection::EnumReflector { OSG_RM_LINEID(reflector)(): inherited(#c) { osgIntrospection::ParameterInfoList params; osgIntrospection::CustomAttributeProvider *cap = getType(); sink(cap); - -#define BEGIN_VALUE_REFLECTOR(c) \ - namespace { \ - struct OSG_RM_LINEID(reflector): osgIntrospection::ValueReflector { OSG_RM_LINEID(reflector)(): inherited(#c) { osgIntrospection::ParameterInfoList params; osgIntrospection::CustomAttributeProvider *cap = getType(); sink(cap); - -#define BEGIN_OBJECT_REFLECTOR(c) \ - namespace { \ - struct OSG_RM_LINEID(reflector): osgIntrospection::ObjectReflector { OSG_RM_LINEID(reflector)(): inherited(#c) { osgIntrospection::ParameterInfoList params; osgIntrospection::CustomAttributeProvider *cap = getType(); sink(cap); - -#define BEGIN_ABSTRACT_OBJECT_REFLECTOR(c) \ - namespace { \ - struct OSG_RM_LINEID(reflector): osgIntrospection::AbstractObjectReflector { OSG_RM_LINEID(reflector)(): inherited(#c) { osgIntrospection::ParameterInfoList params; osgIntrospection::CustomAttributeProvider *cap = getType(); sink(cap); - -#define END_REFLECTOR \ - } } OSG_RM_LINEID(reflector_instance); } - - -// -------------------------------------------------------------------------- -// BASIC CONFIGURATION -// -------------------------------------------------------------------------- - -#define I_DeclaringFile(f) setDeclaringFile(f); - -#define I_Attribute(c) cap->addAttribute(new c); - -#define I_ReaderWriter(x) setReaderWriter(new x); -#define I_Comparator(x) setComparator(new x); - -template -struct BaseTypeConverters -{ - BaseTypeConverters() - { - const osgIntrospection::Type& st = typeof(reflected_type*); \ - const osgIntrospection::Type& cst = typeof(const reflected_type*); \ - const osgIntrospection::Type& dt = typeof(x*); \ - const osgIntrospection::Type& cdt = typeof(const x*); \ - osgIntrospection::ConverterProxy cp1(st, dt, new osgIntrospection::StaticConverter); \ - osgIntrospection::ConverterProxy cp2(cst, cdt, new osgIntrospection::StaticConverter); \ - osgIntrospection::ConverterProxy cp1c(st, cdt, new osgIntrospection::StaticConverter); \ - } -}; - -template -struct BaseTypeConverters -{ - BaseTypeConverters() - { - const osgIntrospection::Type& st = typeof(reflected_type*); \ - const osgIntrospection::Type& cst = typeof(const reflected_type*); \ - const osgIntrospection::Type& dt = typeof(x*); \ - const osgIntrospection::Type& cdt = typeof(const x*); \ - osgIntrospection::ConverterProxy cp1(st, dt, new osgIntrospection::StaticConverter); \ - osgIntrospection::ConverterProxy cp2(cst, cdt, new osgIntrospection::StaticConverter); \ - osgIntrospection::ConverterProxy cp1c(st, cdt, new osgIntrospection::StaticConverter); \ - osgIntrospection::ConverterProxy cp3(dt, st, new osgIntrospection::DynamicConverter); \ - osgIntrospection::ConverterProxy cp4(cdt, cst, new osgIntrospection::DynamicConverter); \ - osgIntrospection::ConverterProxy cp3c(dt, cst, new osgIntrospection::DynamicConverter); \ - } -}; - -#define I_BaseType(x) \ - { \ - addBaseType(typeof( x )); \ - BaseTypeConverters< x , reflected_type, osgIntrospection::is_polymorphic ::value > btc; \ - } - -#define I_VirtualBaseType(x) \ - { \ - addBaseType(typeof( x )); \ - BaseTypeConverters< x, reflected_type, false > btc; \ - } - -#define I_EnumLabel(x) addEnumLabel(x, #x, true); - - - - - - -// -------------------------------------------------------------------------- -// PUBLIC MEMBER PROPERTIES -// -------------------------------------------------------------------------- - -#define I_PublicMemberProperty(t, n) \ - cap=addProperty(new osgIntrospection::PropertyInfo(osgIntrospection::Reflection::getType(extended_typeid< reflected_type >()), osgIntrospection::Reflection::getType(extended_typeid< t >()), #n, 0, 0)); \ - cap->addAttribute(new osgIntrospection::CustomPropertyGetAttribute(new osgIntrospection::PublicMemberAccessor< reflected_type, t >(&reflected_type::n))); \ - cap->addAttribute(new osgIntrospection::CustomPropertySetAttribute(new osgIntrospection::PublicMemberAccessor< reflected_type, t >(&reflected_type::n))); - - -// -------------------------------------------------------------------------- -// PROPERTIES -// -------------------------------------------------------------------------- - -#define I_SimpleProperty(t, n, get, set) \ - cap=addProperty(new osgIntrospection::PropertyInfo(osgIntrospection::Reflection::getType(extended_typeid< reflected_type >()), osgIntrospection::Reflection::getType(extended_typeid< t >()), #n, \ - get, \ - set)) - -#define I_ArrayProperty(t, n, get, set, count, add, insert, remove) \ - cap=addProperty(new osgIntrospection::PropertyInfo(osgIntrospection::Reflection::getType(extended_typeid< reflected_type >()), osgIntrospection::Reflection::getType(extended_typeid< t >()), #n, \ - get, \ - set, \ - count, \ - add, \ - insert, \ - remove)) - -#define I_IndexedProperty(t, n, get, set, remove) \ - cap=addProperty(new osgIntrospection::PropertyInfo(osgIntrospection::Reflection::getType(extended_typeid< reflected_type >()), osgIntrospection::Reflection::getType(extended_typeid< t >()), #n, \ - get, \ - set, \ - remove)) -// -------------------------------------------------------------------------- -// CONSTRUCTORS -// -------------------------------------------------------------------------- - -#define I_Constructor I_Constructor0 -#define I_ConstructorWithDefaults I_ConstructorWithDefaults0 - -#define D_ConstructorInfoType osgIntrospection::ConstructorInfo* -#define D_ConstructorInfoType osgIntrospection::ConstructorInfo* - -namespace Properties -{ - const bool NON_EXPLICIT = false; - const bool EXPLICIT = true; -} - -#define I_Constructor0(signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo0< reflected_type, instance_creator_type >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor1(A0, P0, N0, isExplicit, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo1< reflected_type, instance_creator_type, P0 >(params, isExplicit, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor2(A0, P0, N0, A1, P1, N1, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo2< reflected_type, instance_creator_type, P0, P1 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor3(A0, P0, N0, A1, P1, N1, A2, P2, N2, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo3< reflected_type, instance_creator_type, P0, P1, P2 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor4(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo4< reflected_type, instance_creator_type, P0, P1, P2, P3 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor5(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo5< reflected_type, instance_creator_type, P0, P1, P2, P3, P4 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor6(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo6< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor7(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo7< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor8(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo8< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor9(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo9< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor10(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo10< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor11(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo11< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor12(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo12< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor13(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo13< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor14(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo14< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor15(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo15< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_Constructor16(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, A15, P15, N15, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15)); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo16< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults0(signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo0< reflected_type, instance_creator_type>(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults1(A0, P0, N0, D0, isExplicit, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo1< reflected_type, instance_creator_type, P0 >(params, isExplicit, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults2(A0, P0, N0, D0, A1, P1, N1, D1, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo2< reflected_type, instance_creator_type, P0, P1 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults3(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo3< reflected_type, instance_creator_type, P0, P1, P2 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults4(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo4< reflected_type, instance_creator_type, P0, P1, P2, P3 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults5(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo5< reflected_type, instance_creator_type, P0, P1, P2, P3, P4 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults6(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo6< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults7(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo7< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults8(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo8< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults9(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo9< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults10(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo10< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults11(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo11< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults12(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo12< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults13(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo13< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults14(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo14< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults15(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo15< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ConstructorWithDefaults16(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, A15, P15, N15, D15, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15, osgIntrospection::Value(D15))); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo16< reflected_type, instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor0(signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_ConstructorInfoType signature = addConstructor(new osgIntrospection::TypedConstructorInfo0< reflected_type, invalid_instance_creator_type>(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor1(A0, P0, N0, isExplicit, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo1< reflected_type, invalid_instance_creator_type, P0 >(params, isExplicit, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor2(A0, P0, N0, A1, P1, N1, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo2< reflected_type, invalid_instance_creator_type, P0, P1 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor3(A0, P0, N0, A1, P1, N1, A2, P2, N2, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo3< reflected_type, invalid_instance_creator_type, P0, P1, P2 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor4(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo4< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor5(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo5< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor6(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo6< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor7(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo7< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor8(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo8< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor9(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo9< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor10(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo10< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor11(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo11< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor12(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo12< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor13(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo13< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor14(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo14< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor15(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo15< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructor16(A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, A15, P15, N15, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15)); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo16< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults0(signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo0< reflected_type, invalid_instance_creator_type>(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults1(A0, P0, N0, D0, isExplicit, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo1< reflected_type, invalid_instance_creator_type, P0 >(params, isExplicit, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults2(A0, P0, N0, D0, A1, P1, N1, D1, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo2< reflected_type, invalid_instance_creator_type, P0, P1 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults3(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo3< reflected_type, invalid_instance_creator_type, P0, P1, P2 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults4(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo4< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults5(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo5< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults6(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo6< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults7(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo7< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults8(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo8< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults9(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo9< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults10(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo10< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults11(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo11< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults12(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo12< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults13(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo13< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults14(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo14< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults15(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo15< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedConstructorWithDefaults16(A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, A15, P15, N15, D15, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15, osgIntrospection::Value(D15))); \ - D_ConstructorInfoType signature = addProtectedConstructor(new osgIntrospection::TypedConstructorInfo16< reflected_type, invalid_instance_creator_type, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(params, briefHelp, detailedHelp)); sink(signature) - - -// -------------------------------------------------------------------------- -// METHODS -// -------------------------------------------------------------------------- - -#define I_Method I_Method0 -#define I_StaticMethod I_StaticMethod0 -#define I_MethodWithDefaults I_MethodWithDefaults0 -#define I_StaticMethodWithDefaults I_StaticMethodWithDefaults0 - -#define D_MethodInfoType osgIntrospection::MethodInfo* - -namespace Properties -{ - const osgIntrospection::MethodInfo::VirtualState NON_VIRTUAL = osgIntrospection::MethodInfo::NON_VIRTUAL; - const osgIntrospection::MethodInfo::VirtualState VIRTUAL = osgIntrospection::MethodInfo::VIRTUAL; - const osgIntrospection::MethodInfo::VirtualState PURE_VIRTUAL = osgIntrospection::MethodInfo::PURE_VIRTUAL; - - const bool CONST = true; - const bool NON_CONST = false; -} - -#define I_Method0(ret, fn, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo0< reflected_type, ret >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method1(ret, fn, A0, P0, N0, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo1< reflected_type, ret, P0 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method2(ret, fn, A0, P0, N0, A1, P1, N1, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo2< reflected_type, ret, P0, P1 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method3(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo3< reflected_type, ret, P0, P1, P2 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method4(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo4< reflected_type, ret, P0, P1, P2, P3 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method5(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo5< reflected_type, ret, P0, P1, P2, P3, P4 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method6(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo6< reflected_type, ret, P0, P1, P2, P3, P4, P5 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method7(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo7< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method8(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo8< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method9(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo9< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method10(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo10< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method11(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo11< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method12(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo12< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method13(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo13< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method14(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo14< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method15(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo15< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_Method16(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, A15, P15, N15, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo16< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults0(ret, fn, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo0< reflected_type, ret >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults1(ret, fn, A0, P0, N0, D0, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo1< reflected_type, ret, P0 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults2(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo2< reflected_type, ret, P0, P1 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults3(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo3< reflected_type, ret, P0, P1, P2 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults4(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo4< reflected_type, ret, P0, P1, P2, P3 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults5(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo5< reflected_type, ret, P0, P1, P2, P3, P4 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults6(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo6< reflected_type, ret, P0, P1, P2, P3, P4, P5 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults7(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo7< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults8(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo8< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults9(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo9< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults10(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo10< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults11(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo11< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults12(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo12< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults13(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo13< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults14(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo14< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults15(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo15< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_MethodWithDefaults16(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, A15, P15, N15, D15, virtualState, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15, osgIntrospection::Value(D15))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::TypedMethodInfo16< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(qualifyName(#fn), &reflected_type::fn, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod0(ret, fn, signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo0< reflected_type, ret >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod1(ret, fn, A0, P0, N0, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo1< reflected_type, ret, P0 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod2(ret, fn, A0, P0, N0, A1, P1, N1, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo2< reflected_type, ret, P0, P1 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod3(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo3< reflected_type, ret, P0, P1, P2 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod4(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo4< reflected_type, ret, P0, P1, P2, P3 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod5(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo5< reflected_type, ret, P0, P1, P2, P3, P4 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod6(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo6< reflected_type, ret, P0, P1, P2, P3, P4, P5 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod7(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo7< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod8(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo8< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod9(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo9< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod10(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo10< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod11(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo11< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod12(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo12< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod13(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo13< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod14(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo14< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod15(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo15< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethod16(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, A15, P15, N15, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15)); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo16< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults0(ret, fn, signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo0< reflected_type, ret >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults1(ret, fn, A0, P0, N0, D0, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo1< reflected_type, ret, P0 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults2(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo2< reflected_type, ret, P0, P1 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults3(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo3< reflected_type, ret, P0, P1, P2 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults4(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo4< reflected_type, ret, P0, P1, P2, P3 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults5(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo5< reflected_type, ret, P0, P1, P2, P3, P4 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults6(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo6< reflected_type, ret, P0, P1, P2, P3, P4, P5 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults7(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo7< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults8(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo8< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults9(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo9< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults10(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo10< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults11(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo11< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults12(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo12< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults13(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo13< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults14(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo14< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults15(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo15< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_StaticMethodWithDefaults16(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, A15, P15, N15, D15, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15, osgIntrospection::Value(D15))); \ - D_MethodInfoType signature = addMethod(new osgIntrospection::StaticMethodInfo16< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod0(ret, fn, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo0< reflected_type, ret >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod1(ret, fn, A0, P0, N0, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo1< reflected_type, ret, P0 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod2(ret, fn, A0, P0, N0, A1, P1, N1, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType( extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType( extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo2< reflected_type, ret, P0, P1 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod3(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo3< reflected_type, ret, P0, P1, P2 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod4(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo4< reflected_type, ret, P0, P1, P2, P3 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod5(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo5< reflected_type, ret, P0, P1, P2, P3, P4 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod6(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo6< reflected_type, ret, P0, P1, P2, P3, P4, P5 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod7(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo7< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod8(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo8< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod9(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo9< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod10(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo10< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod11(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo11< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod12(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo12< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod13(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo13< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod14(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo14< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod15(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo15< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethod16(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, A15, P15, N15, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo16< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults0(ret, fn, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo0< reflected_type, ret >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults1(ret, fn, A0, P0, N0, D0, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo1< reflected_type, ret, P0 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults2(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo2< reflected_type, ret, P0, P1 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults3(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo3< reflected_type, ret, P0, P1, P2 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults4(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo4< reflected_type, ret, P0, P1, P2, P3 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults5(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo5< reflected_type, ret, P0, P1, P2, P3, P4 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults6(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo6< reflected_type, ret, P0, P1, P2, P3, P4, P5 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults7(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo7< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults8(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo8< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults9(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo9< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults10(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo10< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults11(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo11< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults12(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo12< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults13(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo13< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults14(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo14< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults15(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo15< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedMethodWithDefaults16(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, A15, P15, N15, D15, virtualState, isConst, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15, osgIntrospection::Value(D15))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::TypedProtectedMethodInfo16< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(qualifyName(#fn), isConst, params, virtualState, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod0(ret, fn, signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo0< reflected_type, ret>(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod1(ret, fn, A0, P0, N0, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo1< reflected_type, ret, P0 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod2(ret, fn, A0, P0, N0, A1, P1, N1, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo2< reflected_type, ret, P0, P1 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod3(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo3< reflected_type, ret, P0, P1, P2 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod4(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo4< reflected_type, ret, P0, P1, P2, P3 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod5(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo5< reflected_type, ret, P0, P1, P2, P3, P4 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod6(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo6< reflected_type, ret, P0, P1, P2, P3, P4, P5 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod7(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo7< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod8(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo8< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod9(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo9< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod10(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo10< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod11(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo11< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod12(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo12< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod13(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo13< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod14(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo14< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod15(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo15< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethod16(ret, fn, A0, P0, N0, A1, P1, N1, A2, P2, N2, A3, P3, N3, A4, P4, N4, A5, P5, N5, A6, P6, N6, A7, P7, N7, A8, P8, N8, A9, P9, N9, A10, P10, N10, A11, P11, N11, A12, P12, N12, A13, P13, N13, A14, P14, N14, A15, P15, N15, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14)); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15)); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo16< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults0(ret, fn, signature, briefHelp, detailedHelp) \ - params.clear(); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo0< reflected_type, ret>(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults1(ret, fn, A0, P0, N0, D0, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo1< reflected_type, ret, P0 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults2(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo2< reflected_type, ret, P0, P1 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults3(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo3< reflected_type, ret, P0, P1, P2 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults4(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo4< reflected_type, ret, P0, P1, P2, P3 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults5(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo5< reflected_type, ret, P0, P1, P2, P3, P4 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults6(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo6< reflected_type, ret, P0, P1, P2, P3, P4, P5 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults7(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo7< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults8(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo8< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults9(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo9< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults10(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo10< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults11(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo11< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults12(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo12< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults13(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo13< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults14(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo14< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults15(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo15< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#define I_ProtectedStaticMethodWithDefaults16(ret, fn, A0, P0, N0, D0, A1, P1, N1, D1, A2, P2, N2, D2, A3, P3, N3, D3, A4, P4, N4, D4, A5, P5, N5, D5, A6, P6, N6, D6, A7, P7, N7, D7, A8, P8, N8, D8, A9, P9, N9, D9, A10, P10, N10, D10, A11, P11, N11, D11, A12, P12, N12, D12, A13, P13, N13, D13, A14, P14, N14, D14, A15, P15, N15, D15, signature, briefHelp, detailedHelp) \ - params.clear(); \ - params.push_back(new osgIntrospection::ParameterInfo(#N0, osgIntrospection::Reflection::getType(extended_typeid< P0 >()), osgIntrospection::ParameterInfo::A0, osgIntrospection::Value(D0))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N1, osgIntrospection::Reflection::getType(extended_typeid< P1 >()), osgIntrospection::ParameterInfo::A1, osgIntrospection::Value(D1))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N2, osgIntrospection::Reflection::getType(extended_typeid< P2 >()), osgIntrospection::ParameterInfo::A2, osgIntrospection::Value(D2))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N3, osgIntrospection::Reflection::getType(extended_typeid< P3 >()), osgIntrospection::ParameterInfo::A3, osgIntrospection::Value(D3))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N4, osgIntrospection::Reflection::getType(extended_typeid< P4 >()), osgIntrospection::ParameterInfo::A4, osgIntrospection::Value(D4))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N5, osgIntrospection::Reflection::getType(extended_typeid< P5 >()), osgIntrospection::ParameterInfo::A5, osgIntrospection::Value(D5))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N6, osgIntrospection::Reflection::getType(extended_typeid< P6 >()), osgIntrospection::ParameterInfo::A6, osgIntrospection::Value(D6))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N7, osgIntrospection::Reflection::getType(extended_typeid< P7 >()), osgIntrospection::ParameterInfo::A7, osgIntrospection::Value(D7))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N8, osgIntrospection::Reflection::getType(extended_typeid< P8 >()), osgIntrospection::ParameterInfo::A8, osgIntrospection::Value(D8))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N9, osgIntrospection::Reflection::getType(extended_typeid< P9 >()), osgIntrospection::ParameterInfo::A9, osgIntrospection::Value(D9))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N10, osgIntrospection::Reflection::getType(extended_typeid< P10 >()), osgIntrospection::ParameterInfo::A10, osgIntrospection::Value(D10))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N11, osgIntrospection::Reflection::getType(extended_typeid< P11 >()), osgIntrospection::ParameterInfo::A11, osgIntrospection::Value(D11))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N12, osgIntrospection::Reflection::getType(extended_typeid< P12 >()), osgIntrospection::ParameterInfo::A12, osgIntrospection::Value(D12))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N13, osgIntrospection::Reflection::getType(extended_typeid< P13 >()), osgIntrospection::ParameterInfo::A13, osgIntrospection::Value(D13))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N14, osgIntrospection::Reflection::getType(extended_typeid< P14 >()), osgIntrospection::ParameterInfo::A14, osgIntrospection::Value(D14))); \ - params.push_back(new osgIntrospection::ParameterInfo(#N15, osgIntrospection::Reflection::getType(extended_typeid< P15 >()), osgIntrospection::ParameterInfo::A15, osgIntrospection::Value(D15))); \ - D_MethodInfoType signature = addProtectedMethod(new osgIntrospection::StaticProtectedMethodInfo16< reflected_type, ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >(qualifyName(#fn), params, briefHelp, detailedHelp)); sink(signature) - -#endif - - diff --git a/include/osgIntrospection/Reflector b/include/osgIntrospection/Reflector deleted file mode 100644 index c20d03ad8..000000000 --- a/include/osgIntrospection/Reflector +++ /dev/null @@ -1,1008 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_REFLECTOR_ -#define OSGINTROSPECTION_REFLECTOR_ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -namespace osgIntrospection -{ - - class CustomAttribute; - class ReaderWriter; - - /// A Reflector is a proxy class that is used to create a new description - /// of a given type. If the type to be described is simple and doesn't - /// require additional details such as properties and methods, it can be - /// reflected by simply creating a global instance of one of the classes - /// derived from Reflector, for example ValueReflector. Other types may - /// need further information and therefore it could be necessary to create - /// a new subclass of Reflector or extend one of the existing subclasses. - /// The reflected type can be set by calling Reflector's protected - /// methods. - /// - /// NOTE: when you create a Reflector for type T, it will automatically - /// create descriptions for types T*, const T*, T&, and const T&. You - /// should NEVER create reflectors for pointer or reference types - /// explicitly. - /// - template - class Reflector - { - public: - typedef T reflected_type; - typedef Reflector inherited; - - /// Virtual destructor. - virtual ~Reflector() {} - - protected: - /// Direct initialization constructor. Parameter 'name' is the name - /// of the type being reflected and 'ns' is its namespace. - Reflector(const std::string& name, const std::string& ns, bool abstract = false); - - /// Direct initialization constructor. Parameter 'qname' is the - /// fully-qualified name of the type being reflected, i.e. containing - /// both the namespace and the name (separated by "::"). - Reflector(const std::string& qname, bool abstract = false); - - protected: - - /// Returns the Type object being described. - Type* getType() { return _type; } - - /// Declares a new base type for the current type. - void addBaseType(const Type& type); - - /// Sets the comparator object for the current type. - void setComparator(const Comparator* cmp); - - /// Adds a property description to the current type. - PropertyInfo* addProperty(PropertyInfo* pi); - - /// Adds a method description to the current type. - MethodInfo* addMethod(MethodInfo* mi); - - /// Adds a protected method description to the current type. - MethodInfo* addProtectedMethod(MethodInfo* mi); - - /// Adds an enumeration label to the current type. - void addEnumLabel(int v, const std::string& label, bool strip_namespace = true); - - /// Adds a constructor description to the current type. - /// As soon as a constructor is added through this method, - /// the automatically-generated default constructor is - /// removed. - ConstructorInfo* addConstructor(ConstructorInfo* ci); - - /// Adds a protected constructor description to the current - /// type. - ConstructorInfo* addProtectedConstructor(ConstructorInfo* ci); - - /// Returns a string containing the qualified version of 'name'. - std::string qualifyName(const std::string& name) const; - - /// Adds a custom attribute to the type being described. - CustomAttributeProvider *addAttribute(const CustomAttribute* attrib); - - /// Sets the current type's ReaderWriter object. - void setReaderWriter(const ReaderWriter* rw); - - /// Sets the current type's declaring file. - void setDeclaringFile(const std::string& file) const; - - private: - struct PtrConstructor: ConstructorInfo - { - PtrConstructor(const Type* pt) - : ConstructorInfo(*pt, ParameterInfoList()) - { - } - - Value createInstance(ValueList& ) const { T* x = 0; return x; } - }; - - struct ConstPtrConstructor: ConstructorInfo - { - ConstPtrConstructor(const Type* pt) - : ConstructorInfo(*pt, ParameterInfoList()) - { - } - - Value createInstance(ValueList& ) const { const T *x = 0; return x; } - }; - - - - - - void init(); - void init_reference_types(); - void init_void_converter(); - static std::string purify(const std::string& s); - static void split_qualified_name(const std::string& q, std::string& n, std::string& ns); - - typedef std::vector TempMethodList; - TempMethodList _temp_methods; - TempMethodList _temp_protected_methods; - Type* _type; - }; - - /// This reflector ought to be used to describe types that can be - /// created on the stack. Such types are for example int, double, - /// std::string, or other (possibly small) user-defined structs or - /// classes. The instance creator associated to types created through - /// this reflector will create Value objects whose internal type is T. - template - struct ValueReflector: Reflector - { - typedef ValueReflector inherited; - typedef ValueInstanceCreator::reflected_type> instance_creator_type; - typedef ProtectedConstructorInstanceCreator::reflected_type> invalid_instance_creator_type; - - ValueReflector(const std::string& name, const std::string& ns) - : Reflector(name, ns, false) - { - } - - ValueReflector(const std::string& qname) - : Reflector(qname, false) - { - } - }; - - /// This reflector is to be used to describe abstract types that can't - /// be instantiated. For this reason a DummyInstanceCreator is used in - /// order to avoid compiler errors. - template - struct AbstractObjectReflector: Reflector - { - typedef AbstractObjectReflector inherited; - typedef DummyInstanceCreator::reflected_type> instance_creator_type; - typedef ProtectedConstructorInstanceCreator::reflected_type> invalid_instance_creator_type; - - AbstractObjectReflector(const std::string& name, const std::string& ns) - : Reflector(name, ns, true) - { - } - - AbstractObjectReflector(const std::string& qname) - : Reflector(qname, true) - { - } - }; - - /// This reflector is to be used to describe types that ought to be - /// created on the heap. Such types are for example all classes derived - /// from osg::Referenced. The instance creator associated to types - /// created through this reflector will create Value objects whose - /// internal type is T*. - template - struct ObjectReflector: Reflector - { - typedef ObjectReflector inherited; - typedef ObjectInstanceCreator::reflected_type> instance_creator_type; - typedef ProtectedConstructorInstanceCreator::reflected_type> invalid_instance_creator_type; - - ObjectReflector(const std::string& name, const std::string& ns) - : Reflector(name, ns, false) - { - } - - ObjectReflector(const std::string& qname) - : Reflector(qname, false) - { - } - }; - - - /// This reflector is a ValueReflector that should be used to define - /// types that can be read and written from/to streams using the << - /// and >> operators. A StdReaderWriter is assigned by default. - template - struct AtomicValueReflector: ValueReflector - { - typedef typename ValueReflector::instance_creator_type instance_creator_type; - - AtomicValueReflector(const std::string& name, const std::string& ns) - : ValueReflector(name, ns) - { - setReaderWriter(new StdReaderWriter); - setComparator(new PartialOrderComparator); - addConstructor(new TypedConstructorInfo0(ParameterInfoList())); - } - - AtomicValueReflector(const std::string& qname) - : ValueReflector(qname) - { - setReaderWriter(new StdReaderWriter); - setComparator(new PartialOrderComparator); - addConstructor(new TypedConstructorInfo0(ParameterInfoList())); - } - }; - - template - struct WAtomicValueReflector: ValueReflector - { - typedef typename ValueReflector::instance_creator_type instance_creator_type; - - WAtomicValueReflector(const std::string& name, const std::string& ns) - : ValueReflector(name, ns) - { - setReaderWriter(new StdWReaderWriter); - setComparator(new PartialOrderComparator); - addConstructor(new TypedConstructorInfo0(ParameterInfoList())); - } - - WAtomicValueReflector(const std::string& qname) - : ValueReflector(qname) - { - setReaderWriter(new StdWReaderWriter); - setComparator(new PartialOrderComparator); - addConstructor(new TypedConstructorInfo0(ParameterInfoList())); - } - }; - - - /// This reflector is a ValueReflector that should be used to define - /// enumerations. It assigns an EnumReaderWriter by default. - template - struct EnumReflector: ValueReflector - { - typedef EnumReflector inherited; - typedef typename ValueReflector::instance_creator_type instance_creator_type; - - EnumReflector(const std::string& name, const std::string& ns) - : ValueReflector(name, ns) - { - setReaderWriter(new EnumReaderWriter); - setComparator(new TotalOrderComparator); - addConstructor(new TypedConstructorInfo0(ParameterInfoList())); - } - - EnumReflector(const std::string& qname) - : ValueReflector(qname) - { - setReaderWriter(new EnumReaderWriter); - setComparator(new TotalOrderComparator); - addConstructor(new TypedConstructorInfo0(ParameterInfoList())); - } - }; - - - /// This class allows to define the means for reflecting STL containers - /// such as std::deque and std::vector. - template - struct StdVectorReflector: ValueReflector - { - typedef typename ValueReflector::instance_creator_type instance_creator_type; - - struct Getter: PropertyGetter - { - virtual Value get(Value& instance, int i) const - { - return getInstance(instance).at(i); - } - - virtual Value get(const Value& instance, int i) const - { - return getInstance(instance).at(i); - } - }; - - struct Setter: PropertySetter - { - virtual void set(Value& instance, int i, const Value& v) const - { - getInstance(instance).at(i) = variant_cast(v); - } - }; - - struct Counter: PropertyCounter - { - virtual int count(const Value& instance) const - { - return static_cast(getInstance(instance).size()); - } - }; - - struct Adder: PropertyAdder - { - virtual void add(Value& instance, const Value& v) const - { - getInstance(instance).push_back(variant_cast(v)); - } - }; - - struct Remover: PropertyRemover - { - virtual void remove(Value& instance, int i) const - { - T& ctr = getInstance(instance); - typename T::iterator j=ctr.begin(); - std::advance(j, i); - ctr.erase(j); - } - }; - - struct Inserter: PropertyInserter - { - virtual void insert(Value& instance, int i, const Value& v) const - { - T& ctr = getInstance(instance); - typename T::iterator j=ctr.begin(); - std::advance(j, i); - ctr.insert(j, variant_cast(v)); - } - }; - - StdVectorReflector(const std::string& name): ValueReflector(name) - { - addConstructor(new TypedConstructorInfo0(ParameterInfoList())); - - PropertyInfo* pi = new PropertyInfo(typeof(T), typeof(typename T::value_type), "Item", 0, 0, 0, 0, 0, 0); - pi->addAttribute(new CustomPropertyGetAttribute(new Getter)); - pi->addAttribute(new CustomPropertySetAttribute(new Setter)); - pi->addAttribute(new CustomPropertyCountAttribute(new Counter)); - pi->addAttribute(new CustomPropertyAddAttribute(new Adder)); - pi->addAttribute(new CustomPropertyRemoveAttribute(new Remover)); - pi->addAttribute(new CustomPropertyInsertAttribute(new Inserter)); - - if (typeid(VT).before(typeid(typename T::value_type)) || - typeid(typename T::value_type).before(typeid(VT))) - { - pi->addAttribute(new PropertyTypeAttribute(typeof(VT))); - } - - this->addProperty(pi); - } - }; - - /// This class allows to define the means for reflecting STL containers - /// such as std::set and std::multiset. - template - struct StdSetReflector: ValueReflector - { - typedef typename ValueReflector::instance_creator_type instance_creator_type; - - struct Getter: PropertyGetter - { - virtual Value get(Value& instance, int i) const - { - T& ctr = getInstance(instance); - typename T::iterator j=ctr.begin(); - std::advance(j, i); - return *j; - } - - virtual Value get(const Value& instance, int i) const - { - const T& ctr = getInstance(instance); - typename T::const_iterator j=ctr.begin(); - std::advance(j, i); - return *j; - } - }; - - struct Counter: PropertyCounter - { - virtual int count(const Value& instance) const - { - return static_cast(getInstance(instance).size()); - } - }; - - struct Adder: PropertyAdder - { - virtual void add(Value& instance, const Value& v) const - { - getInstance(instance).insert(variant_cast(v)); - } - }; - - struct Remover: PropertyRemover - { - virtual void remove(Value& instance, int i) const - { - T& ctr = getInstance(instance); - typename T::iterator j=ctr.begin(); - std::advance(j, i); - ctr.erase(j); - } - }; - - StdSetReflector(const std::string& name): ValueReflector(name) - { - addConstructor(new TypedConstructorInfo0(ParameterInfoList())); - - PropertyInfo* pi = new PropertyInfo(typeof(T), typeof(typename T::value_type), "Item", 0, 0, 0, 0, 0, 0); - pi->addAttribute(new CustomPropertyGetAttribute(new Getter)); - pi->addAttribute(new CustomPropertyCountAttribute(new Counter)); - pi->addAttribute(new CustomPropertyAddAttribute(new Adder)); - pi->addAttribute(new CustomPropertyRemoveAttribute(new Remover)); - - if (typeid(VT).before(typeid(typename T::value_type)) || - typeid(typename T::value_type).before(typeid(VT))) - { - pi->addAttribute(new PropertyTypeAttribute(typeof(VT))); - } - - this->addProperty(pi); - } - }; - - /// This class allows to define the means for reflecting STL containers - /// that cannot be indexed directly, such as std::list. - template - struct StdListReflector: ValueReflector - { - typedef typename ValueReflector::instance_creator_type instance_creator_type; - - struct Getter: PropertyGetter - { - virtual Value get(Value& instance, int i) const - { - T& ctr = getInstance(instance); - typename T::iterator j=ctr.begin(); - std::advance(j, i); - return *j; - } - - virtual Value get(const Value& instance, int i) const - { - const T& ctr = getInstance(instance); - typename T::const_iterator j=ctr.begin(); - std::advance(j, i); - return *j; - } - }; - - struct Setter: PropertySetter - { - virtual void set(Value& instance, int i, const Value& v) const - { - T& ctr = getInstance(instance); - typename T::iterator j=ctr.begin(); - std::advance(j, i); - *j = variant_cast(v); - } - }; - - struct Counter: PropertyCounter - { - virtual int count(const Value& instance) const - { - return static_cast(getInstance(instance).size()); - } - }; - - struct Adder: PropertyAdder - { - virtual void add(Value& instance, const Value& v) const - { - getInstance(instance).push_back(variant_cast(v)); - } - }; - - struct Remover: PropertyRemover - { - virtual void remove(Value& instance, int i) const - { - T& ctr = getInstance(instance); - typename T::iterator j=ctr.begin(); - std::advance(j, i); - ctr.erase(j); - } - }; - - struct Inserter: PropertyInserter - { - virtual void insert(Value& instance, int i, const Value& v) const - { - T& ctr = getInstance(instance); - typename T::iterator j=ctr.begin(); - std::advance(j, i); - ctr.insert(j, variant_cast(v)); - } - }; - - StdListReflector(const std::string& name): ValueReflector(name) - { - addConstructor(new TypedConstructorInfo0(ParameterInfoList())); - - PropertyInfo* pi = new PropertyInfo(typeof(T), typeof(typename T::value_type), "Item", 0, 0, 0, 0, 0, 0); - pi->addAttribute(new CustomPropertyGetAttribute(new Getter)); - pi->addAttribute(new CustomPropertySetAttribute(new Setter)); - pi->addAttribute(new CustomPropertyCountAttribute(new Counter)); - pi->addAttribute(new CustomPropertyAddAttribute(new Adder)); - pi->addAttribute(new CustomPropertyRemoveAttribute(new Remover)); - pi->addAttribute(new CustomPropertyInsertAttribute(new Inserter)); - - if (typeid(VT).before(typeid(typename T::value_type)) || - typeid(typename T::value_type).before(typeid(VT))) - { - pi->addAttribute(new PropertyTypeAttribute(typeof(VT))); - } - - this->addProperty(pi); - } - }; - - /// This class allows to define the means for reflecting STL associative - /// containers which hold pairs of key+value, such as std::map. - template - struct StdMapReflector: ValueReflector - { - typedef typename ValueReflector::instance_creator_type instance_creator_type; - - typedef typename T::iterator iterator; - typedef typename T::const_iterator const_iterator; - typedef typename T::key_type key_type; - typedef typename T::mapped_type mapped_type; - - struct Getter: PropertyGetter - { - virtual Value get(Value& instance, const ValueList& indices) const - { - T& ctr = getInstance(instance); - const key_type& key = variant_cast(indices.front()); - - iterator i = ctr.find(key); - if (i == ctr.end()) return Value(); - return i->second; - } - - virtual Value get(const Value& instance, const ValueList& indices) const - { - const T& ctr = getInstance(instance); - const key_type& key = variant_cast(indices.front()); - - const_iterator i = ctr.find(key); - if (i == ctr.end()) return Value(); - return i->second; - } - }; - - struct Setter: PropertySetter - { - virtual void set(Value& instance, const ValueList& indices, const Value& v) const - { - getInstance(instance).insert(std::make_pair(variant_cast(indices.front()), - variant_cast(v))); - } - }; - - struct Indexer: IndexInfo - { - ParameterInfoList _params; - const Type& _itype; - - Indexer() - : _itype(typeof(IT)) - { - _params.push_back(new ParameterInfo("key", typeof(key_type), 0, ParameterInfo::IN)); - } - - virtual ~Indexer() - { - delete _params.front(); - } - - virtual const ParameterInfoList& getIndexParameters() const - { - return _params; - } - - virtual void getIndexValueSet(int /*whichindex*/, const Value& instance, ValueList& values) const - { - const T& ctr = getInstance(instance); - for (const_iterator i=ctr.begin(); - i!=ctr.end(); - ++i) - { - values.push_back(Value(i->first).convertTo(_itype)); - } - } - - protected: - - Indexer& operator = (const Indexer&) { return *this; } - }; - - struct Remover: PropertyRemover - { - virtual void remove(Value& instance, ValueList& values) const - { - getInstance(instance).erase(getInstance(values.front())); - } - }; - - StdMapReflector(const std::string& name): ValueReflector(name) - { - addConstructor(new TypedConstructorInfo0(ParameterInfoList())); - - PropertyInfo* pi = new PropertyInfo(typeof(T), typeof(typename T::mapped_type), "Item", 0, 0, 0); - pi->addAttribute(new CustomPropertyGetAttribute(new Getter)); - pi->addAttribute(new CustomPropertySetAttribute(new Setter)); - pi->addAttribute(new CustomIndexAttribute(new Indexer)); - pi->addAttribute(new CustomPropertyRemoveAttribute(new Remover)); - - if (typeid(VT).before(typeid(typename T::mapped_type)) || - typeid(typename T::mapped_type).before(typeid(VT))) - { - pi->addAttribute(new PropertyTypeAttribute(typeof(VT))); - } - - this->addProperty(pi); - } - }; - - template - struct StdPairReflector: ValueReflector - { - typedef typename ValueReflector::instance_creator_type instance_creator_type; - - struct Accessor: PropertyGetter, PropertySetter - { - Accessor(int i): _i(i) {} - - virtual Value get(const Value& instance) const - { - switch (_i) - { - case 0: return getInstance(instance).first; - case 1: return getInstance(instance).second; - default: return Value(); - } - } - - virtual Value get(Value& instance) const - { - switch (_i) - { - case 0: return getInstance(instance).first; - case 1: return getInstance(instance).second; - default: return Value(); - } - } - - virtual void set(Value& instance, const Value& v) const - { - T& ctr = getInstance(instance); - - switch (_i) - { - case 0: ctr.first = variant_cast(v); break; - case 1: ctr.second = variant_cast(v); break; - } - } - - int _i; - }; - - StdPairReflector(const std::string& name): ValueReflector(name) - { - addConstructor(new TypedConstructorInfo0(ParameterInfoList())); - - PropertyInfo* pi1 = new PropertyInfo(typeof(T), typeof(typename T::first_type), "first", 0, 0); - pi1->addAttribute(new CustomPropertyGetAttribute(new Accessor(0))); - pi1->addAttribute(new CustomPropertySetAttribute(new Accessor(0))); - - if (typeid(PT1).before(typeid(typename T::first_type)) || - typeid(typename T::first_type).before(typeid(PT1))) - pi1->addAttribute(new PropertyTypeAttribute(typeof(PT1))); - - this->addProperty(pi1); - - PropertyInfo* pi2 = new PropertyInfo(typeof(T), typeof(typename T::second_type), "second", 0, 0); - pi2->addAttribute(new CustomPropertyGetAttribute(new Accessor(1))); - pi2->addAttribute(new CustomPropertySetAttribute(new Accessor(1))); - - if (typeid(PT2).before(typeid(typename T::second_type)) || - typeid(typename T::second_type).before(typeid(PT2))) - pi2->addAttribute(new PropertyTypeAttribute(typeof(PT2))); - - this->addProperty(pi2); - } - }; - - - // TEMPLATE METHODS - - template - Reflector::Reflector(const std::string& name, const std::string& ns, bool abstract) - : _type(Reflection::getOrRegisterType(extended_typeid(), true)) - { - if (!_type->_name.empty()) - _type->_aliases.push_back(ns.empty()? purify(name): purify(ns+"::"+name)); - else - { - _type->_name = purify(name); - _type->_namespace = purify(ns); - } - _type->_is_abstract = abstract; - init(); - } - - template - Reflector::Reflector(const std::string& qname, bool abstract) - : _type(Reflection::getOrRegisterType(extended_typeid(), true)) - { - if (!_type->_name.empty()) - _type->_aliases.push_back(purify(qname)); - else - { - split_qualified_name(purify(qname), _type->_name, _type->_namespace); - } - _type->_is_abstract = abstract; - init(); - } - - template - void Reflector::init() - { - // pointer type - if (!_type->_pointed_type) - { - Type* ptype = Reflection::getOrRegisterType(extended_typeid(), true); - ptype->_name = _type->_name; - ptype->_namespace = _type->_namespace; - ptype->_pointed_type = _type; - ptype->_is_defined = true; - ptype->_cons.push_back(new PtrConstructor(ptype)); - ptype->_rw = new PtrReaderWriter(); - ptype->_cmp = new TotalOrderComparator(); - } - - // const pointer type - if (!_type->_pointed_type || !_type->_is_const) - { - Type* cptype = Reflection::getOrRegisterType(extended_typeid(), true); - cptype->_name = _type->_name; - cptype->_namespace = _type->_namespace; - cptype->_is_const = true; - cptype->_pointed_type = _type; - cptype->_is_defined = true; - cptype->_cons.push_back(new ConstPtrConstructor(cptype)); - cptype->_rw = new PtrReaderWriter(); - cptype->_cmp = new TotalOrderComparator(); - } - - init_reference_types(); - init_void_converter(); - - _type->_is_defined = true; - } - - template - void Reflector::init_reference_types() - { - // reference type - if (!_type->_referenced_type) - { - Type* ptype = Reflection::getOrRegisterType(extended_typeid(), true); - ptype->_name = _type->_name; - ptype->_namespace = _type->_namespace; - ptype->_referenced_type = _type; - ptype->_is_defined = true; - } - - // const reference type - if (!_type->_referenced_type || !_type->_is_const) - { - Type* cptype = Reflection::getOrRegisterType(extended_typeid(), true); - cptype->_name = _type->_name; - cptype->_namespace = _type->_namespace; - cptype->_is_const = true; - cptype->_referenced_type = _type; - cptype->_is_defined = true; - } - } - - template<> - void Reflector::init_reference_types(); - - - template - void Reflector::init_void_converter() - { - const osgIntrospection::Type& st = typeof(T*); - const osgIntrospection::Type& cst = typeof(const T*); - const osgIntrospection::Type& dt = typeof(void*); - const osgIntrospection::Type& cdt = typeof(const void*); - osgIntrospection::ConverterProxy cp1(st, dt, new osgIntrospection::ReinterpretConverter); - osgIntrospection::ConverterProxy cp2(cst, cdt, new osgIntrospection::ReinterpretConverter); - osgIntrospection::ConverterProxy cp1c(st, cdt, new osgIntrospection::ReinterpretConverter); - osgIntrospection::ConverterProxy cp3(dt, st, new osgIntrospection::ReinterpretConverter); - osgIntrospection::ConverterProxy cp4(cdt, cst, new osgIntrospection::ReinterpretConverter); - osgIntrospection::ConverterProxy cp3c(dt, cst, new osgIntrospection::ReinterpretConverter); - } - - template<> - void Reflector::init_void_converter(); - - template - std::string Reflector::purify(const std::string& s) - { - std::string r(s); - while (true) - { - std::string::size_type p = r.find(" COMMA "); - if (p == std::string::npos) break; - r.replace(p, 7, ", "); - }; - return r; - } - - template - void Reflector::split_qualified_name(const std::string& q, std::string& n, std::string& ns) - { - int templ = 0; - std::string::size_type split_point = std::string::npos; - std::string::size_type j = 0; - for (std::string::const_iterator i=q.begin(); i!=q.end(); ++i, ++j) - { - if (*i == '<') ++templ; - if (*i == '>') --templ; - if (templ == 0) - { - if (*i == ':' && (i+1)!=q.end() && *(i+1) == ':') - split_point = j; - } - } - if (split_point == std::string::npos) - { - ns.clear(); - n = q; - } - else - { - n = q.substr(split_point+2); - ns = q.substr(0, split_point); - } - } - - template - void Reflector::addBaseType(const Type& type) - { - _type->_base.push_back(&type); - } - - template - PropertyInfo* Reflector::addProperty(PropertyInfo* pi) - { - _type->_props.push_back(pi); - return pi; - } - - template - MethodInfo* Reflector::addMethod(MethodInfo* mi) - { - for (TempMethodList::iterator i=_temp_methods.begin(); i!=_temp_methods.end(); ++i) - { - if (mi->overrides(*i)) - return *i; - } - - _temp_methods.push_back(mi); - _type->_methods.push_back(mi); - return mi; - } - - template - MethodInfo* Reflector::addProtectedMethod(MethodInfo* mi) - { - for (TempMethodList::iterator i=_temp_protected_methods.begin(); i!=_temp_protected_methods.end(); ++i) - { - if (mi->overrides(*i)) - return *i; - } - - _temp_protected_methods.push_back(mi); - _type->_protected_methods.push_back(mi); - return mi; - } - - template - void Reflector::addEnumLabel(int v, const std::string& label, bool strip_namespace) - { - if (strip_namespace) - { - std::string::size_type p = label.rfind("::"); - if (p != std::string::npos) - { - _type->_labels.insert(std::make_pair(v, label.substr(p+2))); - return; - } - } - _type->_labels.insert(std::make_pair(v, label)); - } - - template - ConstructorInfo* Reflector::addConstructor(ConstructorInfo* ci) - { - _type->_cons.push_back(ci); - return ci; - } - - template - ConstructorInfo* Reflector::addProtectedConstructor(ConstructorInfo* ci) - { - _type->_protected_cons.push_back(ci); - return ci; - } - - template - std::string Reflector::qualifyName(const std::string& name) const - { - std::string s; - if (!_type->_namespace.empty()) - { - s.append(_type->_namespace); - s.append("::"); - } - if (!_type->_name.empty()) - { - s.append(_type->_name); - s.append("::"); - } - s.append(name); - return s; - } - - template - CustomAttributeProvider *Reflector::addAttribute(const CustomAttribute* attrib) - { - return _type->addAttribute(attrib); - } - - template - void Reflector::setReaderWriter(const ReaderWriter* rw) - { - _type->_rw = rw; - } - - template - void Reflector::setComparator(const Comparator* cmp) - { - _type->_cmp = cmp; - } - - template - void Reflector::setDeclaringFile(const std::string& file) const - { - _type->_declaringFile = file; - } - -} - -#endif - diff --git a/include/osgIntrospection/StaticMethodInfo b/include/osgIntrospection/StaticMethodInfo deleted file mode 100644 index 340c0b02c..000000000 --- a/include/osgIntrospection/StaticMethodInfo +++ /dev/null @@ -1,1868 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_STATICMETHODINFO_ -#define OSGINTROSPECTION_STATICMETHODINFO_ - -#include -#include -#include - -namespace osgIntrospection -{ - - /// Class templates StaticMethodInfoN (where 0 <= N <= 16) are concrete - /// implementations of MethodInfo. They are used to keep information - /// about static class methods and to provide the means for calling them - /// dynamically. Each class template can handle methods with N arguments - /// and is parametrized by the class that declares the method and by the - /// return type. Both const and non-const methods are supported. - /// The invoke() methods allow to call the reflected method dynamically, - /// passing it the arguments as a list of Value objects. - /// - template - class StaticMethodInfo0: public MethodInfo - { - public: - typedef R (*FunctionType)(); - - StaticMethodInfo0(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& /*args*/) const - { - - if (f_) return (*f_)(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo1: public MethodInfo - { - public: - typedef R (*FunctionType)(P0); - - StaticMethodInfo1(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(1); - convertArgument(args, newargs, getParameters(), 0); - - if (f_) return (*f_)(variant_cast(newargs[0])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo2: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1); - - StaticMethodInfo2(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(2); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo3: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2); - - StaticMethodInfo3(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(3); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo4: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3); - - StaticMethodInfo4(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(4); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo5: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4); - - StaticMethodInfo5(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(5); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo6: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4, P5); - - StaticMethodInfo6(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(6); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo7: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4, P5, P6); - - StaticMethodInfo7(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(7); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo8: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7); - - StaticMethodInfo8(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(8); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo9: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8); - - StaticMethodInfo9(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(9); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo10: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9); - - StaticMethodInfo10(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(10); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo11: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10); - - StaticMethodInfo11(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(11); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo12: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11); - - StaticMethodInfo12(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(12); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo13: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12); - - StaticMethodInfo13(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(13); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo14: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13); - - StaticMethodInfo14(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(14); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo15: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14); - - StaticMethodInfo15(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(15); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo16: public MethodInfo - { - public: - typedef R (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15); - - StaticMethodInfo16(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(16); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - convertArgument(args, newargs, getParameters(), 15); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo0: public MethodInfo - { - public: - typedef void (*FunctionType)(); - - StaticMethodInfo0(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& /*args*/) const - { - - if (f_) return (*f_)(), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo1: public MethodInfo - { - public: - typedef void (*FunctionType)(P0); - - StaticMethodInfo1(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(1); - convertArgument(args, newargs, getParameters(), 0); - - if (f_) return (*f_)(variant_cast(newargs[0])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo2: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1); - - StaticMethodInfo2(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(2); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo3: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2); - - StaticMethodInfo3(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(3); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo4: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3); - - StaticMethodInfo4(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(4); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo5: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4); - - StaticMethodInfo5(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(5); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo6: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4, P5); - - StaticMethodInfo6(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(6); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo7: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4, P5, P6); - - StaticMethodInfo7(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(7); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo8: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7); - - StaticMethodInfo8(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(8); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo9: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8); - - StaticMethodInfo9(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(9); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo10: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9); - - StaticMethodInfo10(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(10); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo11: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10); - - StaticMethodInfo11(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(11); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo12: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11); - - StaticMethodInfo12(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(12); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo13: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12); - - StaticMethodInfo13(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(13); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo14: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13); - - StaticMethodInfo14(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(14); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo15: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14); - - StaticMethodInfo15(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(15); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - - template - class StaticMethodInfo16: public MethodInfo - { - public: - typedef void (*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15); - - StaticMethodInfo16(const std::string& qname, FunctionType f, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp), f_(f) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - ValueList newargs(16); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - convertArgument(args, newargs, getParameters(), 15); - - if (f_) return (*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - FunctionType f_; - }; - - template - class StaticProtectedMethodInfo0: public MethodInfo - { - public: - StaticProtectedMethodInfo0(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo1: public MethodInfo - { - public: - StaticProtectedMethodInfo1(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo2: public MethodInfo - { - public: - StaticProtectedMethodInfo2(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo3: public MethodInfo - { - public: - StaticProtectedMethodInfo3(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo4: public MethodInfo - { - public: - StaticProtectedMethodInfo4(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo5: public MethodInfo - { - public: - StaticProtectedMethodInfo5(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo6: public MethodInfo - { - public: - StaticProtectedMethodInfo6(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo7: public MethodInfo - { - public: - StaticProtectedMethodInfo7(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo8: public MethodInfo - { - public: - StaticProtectedMethodInfo8(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo9: public MethodInfo - { - public: - StaticProtectedMethodInfo9(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo10: public MethodInfo - { - public: - StaticProtectedMethodInfo10(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo11: public MethodInfo - { - public: - StaticProtectedMethodInfo11(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo12: public MethodInfo - { - public: - StaticProtectedMethodInfo12(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo13: public MethodInfo - { - public: - StaticProtectedMethodInfo13(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo14: public MethodInfo - { - public: - StaticProtectedMethodInfo14(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo15: public MethodInfo - { - public: - StaticProtectedMethodInfo15(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo16: public MethodInfo - { - public: - StaticProtectedMethodInfo16(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo0: public MethodInfo - { - public: - StaticProtectedMethodInfo0(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo1: public MethodInfo - { - public: - StaticProtectedMethodInfo1(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo2: public MethodInfo - { - public: - StaticProtectedMethodInfo2(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo3: public MethodInfo - { - public: - StaticProtectedMethodInfo3(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo4: public MethodInfo - { - public: - StaticProtectedMethodInfo4(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo5: public MethodInfo - { - public: - StaticProtectedMethodInfo5(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo6: public MethodInfo - { - public: - StaticProtectedMethodInfo6(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo7: public MethodInfo - { - public: - StaticProtectedMethodInfo7(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo8: public MethodInfo - { - public: - StaticProtectedMethodInfo8(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo9: public MethodInfo - { - public: - StaticProtectedMethodInfo9(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo10: public MethodInfo - { - public: - StaticProtectedMethodInfo10(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo11: public MethodInfo - { - public: - StaticProtectedMethodInfo11(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo12: public MethodInfo - { - public: - StaticProtectedMethodInfo12(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo13: public MethodInfo - { - public: - StaticProtectedMethodInfo13(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo14: public MethodInfo - { - public: - StaticProtectedMethodInfo14(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo15: public MethodInfo - { - public: - StaticProtectedMethodInfo15(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - - - template - class StaticProtectedMethodInfo16: public MethodInfo - { - public: - StaticProtectedMethodInfo16(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp) - { - } - - bool isConst() const { return false; } - bool isStatic() const { return true; } - - Value invoke(ValueList& args) const - { - throw ProtectedMethodInvocationException(); - } - }; - -} - -#endif diff --git a/include/osgIntrospection/Type b/include/osgIntrospection/Type deleted file mode 100644 index c9a73d893..000000000 --- a/include/osgIntrospection/Type +++ /dev/null @@ -1,570 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez -#ifndef OSGINTROSPECTION_TYPE -#define OSGINTROSPECTION_TYPE - -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -namespace osgIntrospection -{ - - // forward declarations - class MethodInfo; - class PropertyInfo; - class ParameterInfo; - class ReaderWriter; - class ConstructorInfo; - struct Comparator; - - // typedefs for member info lists - typedef std::vector MethodInfoList; - typedef std::vector PropertyInfoList; - typedef std::vector ParameterInfoList; - typedef std::vector ConstructorInfoList; - - // typedefs for member info map - typedef std::map PropertyInfoMap; - typedef std::map MethodInfoMap; - - // typedef for enum label map - typedef std::map EnumLabelMap; - - // typedef for base type - typedef std::vector TypeList; - - /// Objects of class Type are used to maintain information about - /// reflected types. They also provide a number of services, like - /// instance creation and dynamic calling of methods. - /// All details about the data type being described are available - /// at runtime, provided that the type was defined (and not just - /// declared) through a Reflector class. - /// It is not possible to modify a Type object once it has been - /// created, unless you are a class derived from Reflector (which - /// has firm friendship with this class). - class OSGINTROSPECTION_EXPORT Type: public CustomAttributeProvider - { - public: - /// Function category specifier for querying constructors and - /// methods. - enum FunctionCategory - { - PUBLIC_FUNCTIONS, - PROTECTED_FUNCTIONS - }; - - /// Destructor. Note that this class is not meant to be subclassed. - ~Type(); - - /// Returns a reference to the std::type_info instance associated - /// to this Type. - inline const std::type_info& getStdTypeInfo() const; - - /// Returns a reference to the ExtendedTypeInfo associated - /// to this Type. - inline ExtendedTypeInfo getExtendedTypeInfo() const; - - /// Returns true if this Type is defined, false if it's just - /// declared. See class Reflector if you want to create a new Type. - inline bool isDefined() const; - - /// Returns the name of the reflected type. - inline const std::string& getName() const; - - /// Returns the namespace of the reflected type. - inline const std::string& getNamespace() const; - - /// Returns the qualified name of the reflected type. The qualified - /// name is formed by the namespace, if present, plus other modifiers - /// like 'const' and/or '*' (pointer) where applicable. - inline std::string getQualifiedName() const; - - /// Returns true if either the fully-qualified name or one of the - /// name aliases match the given argument - inline bool matchesName(const std::string& name) const; - - /// Returns the brief help of the reflected type. - inline virtual const std::string& getBriefHelp() const; - - /// Returns the detailed help of the reflected type. - inline virtual const std::string& getDetailedHelp() const; - - /// Returns the number of base types. - /// This number is zero if the type is not derived from any other - /// type. - inline int getNumBaseTypes() const; - - /// Returns the i-th base type. - inline const Type& getBaseType(int i) const; - - /// Returns the base type list. - inline const TypeList& getBaseTypeList() const; - - /// Returns the number of type name aliases. - inline int getNumAliases() const; - - /// Returns the i-th name alias - const std::string& getAlias(int i) const; - - /// Returns whether the reflected type is abstract. - inline bool isAbstract() const; - - /// Returns whether the reflected type is "atomic", that is - /// it can be rendered to and decoded from a stream directly. - inline bool isAtomic() const; - - /// Returns whether the reflected type is an enumeration. - inline bool isEnum() const; - - /// Returns whether the reflected type is the type void. - inline bool isVoid() const; - - /// Returns true if the reflected type is a pointer, false otherwise. - inline bool isPointer() const; - - /// Returns true if the reflected type is a pointer AND it is const, - /// false otherwise. - inline bool isConstPointer() const; - - /// Returns true if the reflected type is a pointer AND it is not - /// const, false otherwise. - inline bool isNonConstPointer() const; - - /// Returns the pointed type. If the reflected type is not a pointer, - /// the object returned is typeof(void). - inline const Type& getPointedType() const; - - /// Returns true if the reflected type is a reference, false otherwise. - inline bool isReference() const; - - /// Returns true if the reflected type is a reference AND it is const, - /// false otherwise. - inline bool isConstReference() const; - - /// Returns true if the reflected type is a reference AND it is not - /// const, false otherwise. - inline bool isNonConstReference() const; - - /// Returns the referenced type. If the reflected type is not a reference, - /// the object returned is typeof(void). - inline const Type& getReferencedType() const; - - /// Returns the list of properties defined for this type. The list - /// does not include properties inherited from base types. - inline const PropertyInfoList& getProperties() const; - - /// Fills a list of properties that are either defined in this Type - /// or in inherited types. - void getAllProperties(PropertyInfoList& props) const; - - /// Fills a map of "type <-> propertyInfoList" that are either defined in this Type - /// or in inherited types. - void getPropertiesMap(PropertyInfoMap& props) const; - - /// Returns the list of constructors defined for this type. - inline const ConstructorInfoList& getConstructors(FunctionCategory category = PUBLIC_FUNCTIONS) const; - - /// Returns the list of methods defined for this type. The list - /// does not include methods inherited from base types. - inline const MethodInfoList& getMethods(FunctionCategory category = PUBLIC_FUNCTIONS) const; - - /// Fills a list of methods that are either defined in this Type - /// or in inherited types. - void getAllMethods(MethodInfoList& methods, FunctionCategory category = PUBLIC_FUNCTIONS) const; - - /// Fills a map of "type <-> MethodInfoList" that are either defined in this Type - /// or in inherited types. - void getMethodsMap(MethodInfoMap& methods, FunctionCategory category = PUBLIC_FUNCTIONS) const; - - /// Returns the map of enumeration labels. If the type is not an - /// enumeration, an empty map is returned. - inline const EnumLabelMap& getEnumLabels() const; - - /// Searches for a constructor that can be called with the given list - /// of arguments without raising type conversion errors. If more than - /// one constructors are suitable for calling, the best match is - /// returned. - const ConstructorInfo* getCompatibleConstructor(const ValueList& values) const; - - /// Searches for a constructor whose parameters match exactly the given - /// list of parameter descriptions. - const ConstructorInfo* getConstructor(const ParameterInfoList& params) const; - - /// Searches for a method that can be called with the given list of - /// arguments without raising type conversion errors. If more than - /// one method are suitable for calling, the best match is returned. - const MethodInfo* getCompatibleMethod(const std::string& name, const ValueList& values, bool inherit) const; - - /// Searches for a method whose parameters match exactly the given - /// list of parameter descriptions. - const MethodInfo* getMethod(const std::string& name, const ParameterInfoList& params, bool inherit) const; - - /// Searches for a property given its name, type and list of indices. - /// Only exact matches are returned. - const PropertyInfo* getProperty(const std::string& name, const Type& ptype, const ParameterInfoList& indices, bool inherit) const; - - /// Searches for a suitable method and invokes it with the given list - /// of arguments (const instance). - Value invokeMethod(const std::string& name, const Value& instance, ValueList& args, bool inherit) const; - - /// Searches for a suitable method and invokes it with the given list - /// of arguments. - Value invokeMethod(const std::string& name, Value& instance, ValueList& args, bool inherit) const; - - /// Returns whether the reflected type is derived from another type. - bool isSubclassOf(const Type& type) const; - - /// Returns the instance of the reader/writer object assigned to - /// this type, if any. Otherwise it returns the null pointer. - inline const ReaderWriter* getReaderWriter() const; - - /// Returns the instance of the comparator object assigned to - /// this type, if any. Otherwise it returns the null pointer. - inline const Comparator* getComparator() const; - - /// Returns the path to the file where this type is declared, - /// relative the the OpenSceneGraph include directory. Returns - /// the empty string if no path information is available. - inline const std::string &getDeclaringFile() const; - - /// Creates an instance of the reflected type. The returned Value - /// can be casted to T*, where T is the reflected type. If the type - /// is abstract, an exception is thrown. - Value createInstance(ValueList& args) const; - inline Value createInstance() const; - - // This function is called internally to reset all the elements contained in that type. - // used in the type loading process: it solves a false positive issue on VS 7.1 and 8 compilers in debug builds. - void reset(); - - protected: - Type(const ExtendedTypeInfo &ti) - : _ti(ti), - _is_const(false), - _is_abstract(false), - _pointed_type(0), - _referenced_type(0), - _is_defined(false), - _rw(0), - _cmp(0) - { - } - - // throws an exception if the type is not defined. - void check_defined() const; - - virtual void getInheritedProviders(CustomAttributeProviderList& providers) const; - - private: - template friend class Reflector; - template friend struct TypeNameAliasProxy; - friend class Reflection; - - Type(const Type& copy): CustomAttributeProvider(copy), _ti(copy._ti) {} - - ExtendedTypeInfo _ti; - - std::string _name; - std::string _namespace; - - TypeList _base; - - bool _is_const; - bool _is_abstract; - const Type* _pointed_type; - const Type* _referenced_type; - - ConstructorInfoList _cons; - ConstructorInfoList _protected_cons; - PropertyInfoList _props; - MethodInfoList _methods; - MethodInfoList _protected_methods; - - EnumLabelMap _labels; - bool _is_defined; - - const ReaderWriter* _rw; - const Comparator* _cmp; - - typedef std::vector AliasList; - AliasList _aliases; - - std::string _briefHelp; - std::string _detailedHelp; - - std::string _declaringFile; - }; - - // OPERATORS - - /// Equality test operator. Returns true if the two instances of Type - /// describe the same type, false otherwise. - inline bool operator==(const Type& t1, const Type& t2) - { - return (t1.getStdTypeInfo() == t2.getStdTypeInfo()) != 0; - } - - /// Inequality test operator. Returns false if the two instances of Type - /// describe the same type, true otherwise. - inline bool operator!=(const Type& t1, const Type& t2) - { - return (t1.getStdTypeInfo() != t2.getStdTypeInfo()) != 0; - } - - /// Less than operator. Returns true if the first type comes before the - /// second one. The actual ordering is implementation-dependent. - inline bool operator<(const Type& t1, const Type& t2) - { - return (t1.getStdTypeInfo().before(t2.getStdTypeInfo())) != 0; - } - - /// Greater than or equal to operator. Returns !operator<(). - inline bool operator>=(const Type& t1, const Type& t2) - { - return !operator<(t1, t2); - } - - // INLINE METHODS - - inline void Type::check_defined() const - { - if (!_is_defined) - throw TypeNotDefinedException(_ti); - } - - inline const std::type_info& Type::getStdTypeInfo() const - { - return _ti.getStdTypeInfo(); - } - - inline ExtendedTypeInfo Type::getExtendedTypeInfo() const - { - return _ti; - } - - inline const std::string& Type::getName() const - { - check_defined(); - return _name; - } - - inline const std::string& Type::getNamespace() const - { - check_defined(); - return _namespace; - } - - inline std::string Type::getQualifiedName() const - { - check_defined(); - std::string qname; - if (_is_const) qname = "const "; - if (!_namespace.empty()) - { - qname.append(_namespace); - qname.append("::"); - } - qname.append(_name); - if (_pointed_type) - qname.append(" *"); - else if (_referenced_type) - qname.append(" &"); - return qname; - } - - inline const std::string& Type::getBriefHelp() const - { - return _briefHelp; - } - - inline const std::string& Type::getDetailedHelp() const - { - return _detailedHelp; - } - - inline int Type::getNumBaseTypes() const - { - check_defined(); - return static_cast(_base.size()); - } - - inline bool Type::isConstPointer() const - { - check_defined(); - return _is_const && _pointed_type; - } - - inline bool Type::isNonConstPointer() const - { - check_defined(); - return !_is_const && _pointed_type; - } - - inline bool Type::isConstReference() const - { - check_defined(); - return _is_const && _referenced_type; - } - - inline bool Type::isNonConstReference() const - { - check_defined(); - return !_is_const && _referenced_type; - } - - inline bool Type::isAbstract() const - { - check_defined(); - return _is_abstract; - } - - inline bool Type::isAtomic() const - { - check_defined(); - return _rw != 0; - } - - inline const PropertyInfoList& Type::getProperties() const - { - check_defined(); - return _props; - } - - inline const ConstructorInfoList& Type::getConstructors(FunctionCategory category) const - { - check_defined(); - return category == PUBLIC_FUNCTIONS ? _cons : _protected_cons; - } - - inline const MethodInfoList& Type::getMethods(FunctionCategory category) const - { - check_defined(); - return category == PUBLIC_FUNCTIONS ? _methods : _protected_methods; - } - - inline bool Type::isPointer() const - { - check_defined(); - return _pointed_type != 0; - } - - inline bool Type::isReference() const - { - check_defined(); - return _referenced_type != 0; - } - - inline bool Type::isVoid() const - { - return (_ti == extended_typeid()) != 0; - } - - inline const Type& Type::getPointedType() const - { - check_defined(); - if (_pointed_type) - return *_pointed_type; - return Reflection::type_void(); - } - - inline const Type& Type::getReferencedType() const - { - check_defined(); - if (_referenced_type) - return *_referenced_type; - return Reflection::type_void(); - } - - inline bool Type::isEnum() const - { - check_defined(); - return !_labels.empty(); - } - - inline const EnumLabelMap& Type::getEnumLabels() const - { - check_defined(); - return _labels; - } - - inline bool Type::isDefined() const - { - return _is_defined; - } - - inline const ReaderWriter* Type::getReaderWriter() const - { - check_defined(); - return _rw; - } - - inline const Comparator* Type::getComparator() const - { - check_defined(); - return _cmp; - } - - inline const Type& Type::getBaseType(int i) const - { - check_defined(); - return *_base.at(i); - } - - inline const TypeList& Type::getBaseTypeList() const - { - check_defined(); - return _base; - } - - inline Value Type::createInstance() const - { - ValueList args; - return createInstance(args); - } - - inline int Type::getNumAliases() const - { - return static_cast(_aliases.size()); - } - - inline const std::string& Type::getAlias(int i) const - { - return _aliases[i]; - } - - inline bool Type::matchesName(const std::string& name) const - { - if (getQualifiedName() == name) - return true; - if (std::find(_aliases.begin(), _aliases.end(), name) != _aliases.end()) - return true; - return false; - } - - inline const std::string &Type::getDeclaringFile() const - { - return _declaringFile; - } -} - -#endif diff --git a/include/osgIntrospection/TypeNameAliasProxy b/include/osgIntrospection/TypeNameAliasProxy deleted file mode 100644 index 240eee9e8..000000000 --- a/include/osgIntrospection/TypeNameAliasProxy +++ /dev/null @@ -1,40 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_TYPENAMEALIASPROXY_ -#define OSGINTROSPECTION_TYPENAMEALIASPROXY_ - -#include -#include - -#include -#include - -namespace osgIntrospection -{ - - template - struct TypeNameAliasProxy - { - TypeNameAliasProxy(const std::string& name) - { - Type* type = Reflection::getOrRegisterType(extended_typeid()); - if (std::find(type->_aliases.begin(), type->_aliases.end(), name) == type->_aliases.end()) - type->_aliases.push_back(name); - } - }; - -} - -#endif diff --git a/include/osgIntrospection/TypedConstructorInfo b/include/osgIntrospection/TypedConstructorInfo deleted file mode 100644 index a90f2ab2f..000000000 --- a/include/osgIntrospection/TypedConstructorInfo +++ /dev/null @@ -1,467 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_TYPEDCONSTRUCTORINFO_ -#define OSGINTROSPECTION_TYPEDCONSTRUCTORINFO_ - -#include -#include -#include - -namespace osgIntrospection -{ - - template - struct TypedConstructorInfo0: ConstructorInfo - { - TypedConstructorInfo0(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& /*args*/) const - { - return IC::create(); - } - - }; - - - template - struct TypedConstructorInfo1: ConstructorInfo - { - TypedConstructorInfo1(const ParameterInfoList& plist, bool isExplicit, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, isExplicit, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(1); - convertArgument(args, newargs, getParameters(), 0); - - return IC::template create(newargs[0]); - } - - }; - - - template - struct TypedConstructorInfo2: ConstructorInfo - { - TypedConstructorInfo2(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(2); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - - return IC::template create(newargs[0], newargs[1]); - } - - }; - - - template - struct TypedConstructorInfo3: ConstructorInfo - { - TypedConstructorInfo3(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(3); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - - return IC::template create(newargs[0], newargs[1], newargs[2]); - } - - }; - - - template - struct TypedConstructorInfo4: ConstructorInfo - { - TypedConstructorInfo4(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(4); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3]); - } - - }; - - - template - struct TypedConstructorInfo5: ConstructorInfo - { - TypedConstructorInfo5(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(5); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4]); - } - - }; - - - template - struct TypedConstructorInfo6: ConstructorInfo - { - TypedConstructorInfo6(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(6); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4], newargs[5]); - } - - }; - - - template - struct TypedConstructorInfo7: ConstructorInfo - { - TypedConstructorInfo7(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(7); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4], newargs[5], newargs[6]); - } - - }; - - - template - struct TypedConstructorInfo8: ConstructorInfo - { - TypedConstructorInfo8(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(8); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4], newargs[5], newargs[6], newargs[7]); - } - - }; - - - template - struct TypedConstructorInfo9: ConstructorInfo - { - TypedConstructorInfo9(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(9); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4], newargs[5], newargs[6], newargs[7], newargs[8]); - } - - }; - - - template - struct TypedConstructorInfo10: ConstructorInfo - { - TypedConstructorInfo10(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(10); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4], newargs[5], newargs[6], newargs[7], newargs[8], newargs[9]); - } - - }; - - - template - struct TypedConstructorInfo11: ConstructorInfo - { - TypedConstructorInfo11(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(11); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4], newargs[5], newargs[6], newargs[7], newargs[8], newargs[9], newargs[10]); - } - - }; - - - template - struct TypedConstructorInfo12: ConstructorInfo - { - TypedConstructorInfo12(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(12); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4], newargs[5], newargs[6], newargs[7], newargs[8], newargs[9], newargs[10], newargs[11]); - } - - }; - - - template - struct TypedConstructorInfo13: ConstructorInfo - { - TypedConstructorInfo13(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(13); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4], newargs[5], newargs[6], newargs[7], newargs[8], newargs[9], newargs[10], newargs[11], newargs[12]); - } - - }; - - - template - struct TypedConstructorInfo14: ConstructorInfo - { - TypedConstructorInfo14(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(14); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4], newargs[5], newargs[6], newargs[7], newargs[8], newargs[9], newargs[10], newargs[11], newargs[12], newargs[13]); - } - - }; - - - template - struct TypedConstructorInfo15: ConstructorInfo - { - TypedConstructorInfo15(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(15); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4], newargs[5], newargs[6], newargs[7], newargs[8], newargs[9], newargs[10], newargs[11], newargs[12], newargs[13], newargs[14]); - } - - }; - - - template - struct TypedConstructorInfo16: ConstructorInfo - { - TypedConstructorInfo16(const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : ConstructorInfo(typeof(C), plist, briefHelp, detailedHelp) - { - } - - Value createInstance(ValueList& args) const - { - ValueList newargs(16); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - convertArgument(args, newargs, getParameters(), 15); - - return IC::template create(newargs[0], newargs[1], newargs[2], newargs[3], newargs[4], newargs[5], newargs[6], newargs[7], newargs[8], newargs[9], newargs[10], newargs[11], newargs[12], newargs[13], newargs[14], newargs[15]); - } - - }; - -} - -#endif - diff --git a/include/osgIntrospection/TypedMethodInfo b/include/osgIntrospection/TypedMethodInfo deleted file mode 100644 index ec8ac74f0..000000000 --- a/include/osgIntrospection/TypedMethodInfo +++ /dev/null @@ -1,3905 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_TYPEDMETHODINFO_ -#define OSGINTROSPECTION_TYPEDMETHODINFO_ - -#include -#include -#include - -namespace osgIntrospection -{ - - /// Class templates TypedMethodInfoN (where 0 <= N <= 16) are concrete - /// implementations of MethodInfo. They are used to keep information - /// about class methods and to provide the means for calling them - /// dynamically. Each class template can handle methods with N arguments - /// and is parametrized by the class that declares the method and by the - /// return type. Both const and non-const methods are supported. - /// The invoke() methods allow to call the reflected method dynamically, - /// passing it the arguments as a list of Value objects. The instance - /// on which the reflected method will be called is passed to invoke() - /// as a Value object, which can contain either a value of type C or a - /// pointer to C. If the constness doesn't match (i.e., you try to call - /// a non-const reflected method on a const instance) an exception is - /// thrown. - /// - /// NOTE: currently, variant_cast<> does not check pointer conversions, - /// it simply converts one pointer into another even if they point to - /// types that are completely unrelated. - /// This means you won't probably get any exceptions if you try to call - /// a class' method on another class' instance, but of course that's a - /// bad, bad idea... - /// - template - class TypedMethodInfo0: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)() const; - typedef R (C::*FunctionType)(); - - TypedMethodInfo0(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo0(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - static TypedMethodInfo0 *constMethod(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - { - return new TypedMethodInfo0(qname, cf, plist, virtualState, briefHelp, detailedHelp); - } - - static TypedMethodInfo0 *nonConstMethod(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - { - return new TypedMethodInfo0(qname, f, plist, virtualState, briefHelp, detailedHelp); - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& /*args*/) const - { - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(); - if (f_) return (variant_cast(instance)->*f_)(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& /*args*/) const - { - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(); - if (f_) return (variant_cast(instance)->*f_)(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(); - if (f_) return (variant_cast(instance).*f_)(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo1: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0) const; - typedef R (C::*FunctionType)(P0); - - TypedMethodInfo1(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo1(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(1); - convertArgument(args, newargs, getParameters(), 0); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(1); - convertArgument(args, newargs, getParameters(), 0); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo2: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1) const; - typedef R (C::*FunctionType)(P0, P1); - - TypedMethodInfo2(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo2(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(2); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(2); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo3: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2) const; - typedef R (C::*FunctionType)(P0, P1, P2); - - TypedMethodInfo3(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo3(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(3); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(3); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo4: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3); - - TypedMethodInfo4(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo4(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(4); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(4); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo5: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4); - - TypedMethodInfo5(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo5(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(5); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(5); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo6: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4, P5); - - TypedMethodInfo6(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo6(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(6); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(6); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo7: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6); - - TypedMethodInfo7(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo7(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(7); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(7); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo8: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7); - - TypedMethodInfo8(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo8(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(8); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(8); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo9: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8); - - TypedMethodInfo9(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo9(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(9); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(9); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo10: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9); - - TypedMethodInfo10(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo10(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(10); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(10); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo11: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10); - - TypedMethodInfo11(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo11(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(11); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(11); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo12: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11); - - TypedMethodInfo12(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo12(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(12); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(12); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo13: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12); - - TypedMethodInfo13(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo13(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(13); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(13); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo14: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13); - - TypedMethodInfo14(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo14(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(14); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(14); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo15: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14); - - TypedMethodInfo15(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo15(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(15); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(15); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo16: public MethodInfo - { - public: - typedef R (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) const; - typedef R (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15); - - TypedMethodInfo16(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo16(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(16); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - convertArgument(args, newargs, getParameters(), 15); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(16); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - convertArgument(args, newargs, getParameters(), 15); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo0: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)() const; - typedef void (C::*FunctionType)(); - - TypedMethodInfo0(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo0(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& /*args*/) const - { - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(), Value(); - if (f_) return (variant_cast(instance)->*f_)(), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& /*args*/) const - { - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(), Value(); - if (f_) return (variant_cast(instance)->*f_)(), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(), Value(); - if (f_) return (variant_cast(instance).*f_)(), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo1: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0) const; - typedef void (C::*FunctionType)(P0); - - TypedMethodInfo1(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo1(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(1); - convertArgument(args, newargs, getParameters(), 0); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(1); - convertArgument(args, newargs, getParameters(), 0); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo2: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1) const; - typedef void (C::*FunctionType)(P0, P1); - - TypedMethodInfo2(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo2(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(2); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(2); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo3: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2) const; - typedef void (C::*FunctionType)(P0, P1, P2); - - TypedMethodInfo3(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo3(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(3); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(3); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo4: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3); - - TypedMethodInfo4(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo4(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(4); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(4); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo5: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4); - - TypedMethodInfo5(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo5(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(5); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(5); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo6: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4, P5); - - TypedMethodInfo6(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo6(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(6); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(6); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo7: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6); - - TypedMethodInfo7(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo7(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(7); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(7); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo8: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7); - - TypedMethodInfo8(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo8(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(8); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(8); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo9: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8); - - TypedMethodInfo9(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo9(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(9); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(9); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo10: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9); - - TypedMethodInfo10(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo10(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(10); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(10); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo11: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10); - - TypedMethodInfo11(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo11(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(11); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(11); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo12: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11); - - TypedMethodInfo12(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo12(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(12); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(12); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo13: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12); - - TypedMethodInfo13(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo13(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(13); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(13); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo14: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13); - - TypedMethodInfo14(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo14(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(14); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(14); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo15: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14); - - TypedMethodInfo15(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo15(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(15); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(15); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - - template - class TypedMethodInfo16: public MethodInfo - { - public: - typedef void (C::*ConstFunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) const; - typedef void (C::*FunctionType)(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15); - - TypedMethodInfo16(const std::string& qname, ConstFunctionType cf, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(cf), f_(0) - { - } - - TypedMethodInfo16(const std::string& qname, FunctionType f, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), cf_(0), f_(f) - { - } - - bool isConst() const { return cf_; } - bool isStatic() const { return false; } - - Value invoke(const Value& instance, ValueList& args) const - { - ValueList newargs(16); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - convertArgument(args, newargs, getParameters(), 15); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - - Value invoke(Value& instance, ValueList& args) const - { - ValueList newargs(16); - convertArgument(args, newargs, getParameters(), 0); - convertArgument(args, newargs, getParameters(), 1); - convertArgument(args, newargs, getParameters(), 2); - convertArgument(args, newargs, getParameters(), 3); - convertArgument(args, newargs, getParameters(), 4); - convertArgument(args, newargs, getParameters(), 5); - convertArgument(args, newargs, getParameters(), 6); - convertArgument(args, newargs, getParameters(), 7); - convertArgument(args, newargs, getParameters(), 8); - convertArgument(args, newargs, getParameters(), 9); - convertArgument(args, newargs, getParameters(), 10); - convertArgument(args, newargs, getParameters(), 11); - convertArgument(args, newargs, getParameters(), 12); - convertArgument(args, newargs, getParameters(), 13); - convertArgument(args, newargs, getParameters(), 14); - convertArgument(args, newargs, getParameters(), 15); - - const Type& type = instance.getType(); - if (type.isPointer()) - { - if (type.isConstPointer()) - { - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])), Value(); - if (f_) throw ConstIsConstException(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance)->*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])), Value(); - if (f_) return (variant_cast(instance)->*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])), Value(); - throw InvalidFunctionPointerException(); - } - if (cf_) return (variant_cast(instance).*cf_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])), Value(); - if (f_) return (variant_cast(instance).*f_)(variant_cast(newargs[0]), variant_cast(newargs[1]), variant_cast(newargs[2]), variant_cast(newargs[3]), variant_cast(newargs[4]), variant_cast(newargs[5]), variant_cast(newargs[6]), variant_cast(newargs[7]), variant_cast(newargs[8]), variant_cast(newargs[9]), variant_cast(newargs[10]), variant_cast(newargs[11]), variant_cast(newargs[12]), variant_cast(newargs[13]), variant_cast(newargs[14]), variant_cast(newargs[15])), Value(); - throw InvalidFunctionPointerException(); - } - - private: - ConstFunctionType cf_; - FunctionType f_; - }; - - template - class TypedProtectedMethodInfo0: public MethodInfo - { - public: - TypedProtectedMethodInfo0(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - static TypedProtectedMethodInfo0 *constMethod(const std::string& qname, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - { - return new TypedProtectedMethodInfo0(qname, true, plist, virtualState, briefHelp, detailedHelp); - } - - static TypedProtectedMethodInfo0 *nonConstMethod(const std::string& qname, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - { - return new TypedProtectedMethodInfo0(qname, false, plist, virtualState, briefHelp, detailedHelp); - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo1: public MethodInfo - { - public: - TypedProtectedMethodInfo1(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo2: public MethodInfo - { - public: - TypedProtectedMethodInfo2(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo3: public MethodInfo - { - public: - TypedProtectedMethodInfo3(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo4: public MethodInfo - { - public: - TypedProtectedMethodInfo4(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo5: public MethodInfo - { - public: - TypedProtectedMethodInfo5(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo6: public MethodInfo - { - public: - TypedProtectedMethodInfo6(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo7: public MethodInfo - { - public: - TypedProtectedMethodInfo7(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo8: public MethodInfo - { - public: - TypedProtectedMethodInfo8(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo9: public MethodInfo - { - public: - TypedProtectedMethodInfo9(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo10: public MethodInfo - { - public: - TypedProtectedMethodInfo10(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo11: public MethodInfo - { - public: - TypedProtectedMethodInfo11(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo12: public MethodInfo - { - public: - TypedProtectedMethodInfo12(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo13: public MethodInfo - { - public: - TypedProtectedMethodInfo13(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo14: public MethodInfo - { - public: - TypedProtectedMethodInfo14(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo15: public MethodInfo - { - public: - TypedProtectedMethodInfo15(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo16: public MethodInfo - { - public: - TypedProtectedMethodInfo16(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(R), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo0: public MethodInfo - { - public: - TypedProtectedMethodInfo0(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo1: public MethodInfo - { - public: - TypedProtectedMethodInfo1(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo2: public MethodInfo - { - public: - TypedProtectedMethodInfo2(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo3: public MethodInfo - { - public: - TypedProtectedMethodInfo3(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo4: public MethodInfo - { - public: - TypedProtectedMethodInfo4(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo5: public MethodInfo - { - public: - TypedProtectedMethodInfo5(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo6: public MethodInfo - { - public: - TypedProtectedMethodInfo6(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo7: public MethodInfo - { - public: - TypedProtectedMethodInfo7(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo8: public MethodInfo - { - public: - TypedProtectedMethodInfo8(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo9: public MethodInfo - { - public: - TypedProtectedMethodInfo9(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo10: public MethodInfo - { - public: - TypedProtectedMethodInfo10(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo11: public MethodInfo - { - public: - TypedProtectedMethodInfo11(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo12: public MethodInfo - { - public: - TypedProtectedMethodInfo12(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo13: public MethodInfo - { - public: - TypedProtectedMethodInfo13(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo14: public MethodInfo - { - public: - TypedProtectedMethodInfo14(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo15: public MethodInfo - { - public: - TypedProtectedMethodInfo15(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - - - template - class TypedProtectedMethodInfo16: public MethodInfo - { - public: - TypedProtectedMethodInfo16(const std::string& qname, bool isConstMethod, const ParameterInfoList& plist, VirtualState virtualState, std::string briefHelp = std::string(), std::string detailedHelp = std::string()) - : MethodInfo(qname, typeof(C), typeof(void), plist, virtualState, briefHelp, detailedHelp), is_const_(isConstMethod) - { - } - - bool isConst() const { return is_const_; } - bool isStatic() const { return false; } - - Value invoke(const Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - Value invoke(Value& /*instance*/, ValueList& /*args*/) const - { - throw ProtectedMethodInvocationException(); - } - - private: - bool is_const_; - }; - -} - -#endif - diff --git a/include/osgIntrospection/Utility b/include/osgIntrospection/Utility deleted file mode 100644 index 5b4be62b8..000000000 --- a/include/osgIntrospection/Utility +++ /dev/null @@ -1,70 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_UTILITY_ -#define OSGINTROSPECTION_UTILITY_ - -#include -#include -#include -#include -#include - -#include - -namespace osgIntrospection -{ - - bool OSGINTROSPECTION_EXPORT areParametersCompatible(const ParameterInfoList& pl1, const ParameterInfoList& pl2); - bool OSGINTROSPECTION_EXPORT areArgumentsCompatible(const ValueList& vl, const ParameterInfoList& pl, float &match); - - template - void convertArgument(ValueList& src, ValueList& dest, const ParameterInfoList& pl, int index) - { - if (index >= static_cast(src.size())) - { - dest[index] = pl[index]->getDefaultValue(); - } - else - { - Value& sv = src[index]; - if (requires_conversion(sv)) - dest[index] = sv.convertTo(pl[index]->getParameterType()); - else - dest[index].swap(sv); - } - } - - - /// Return a const reference on the reflected value given on the instance - /// - /// NOTE: You should NEVER paste a pointer or a reference to the template parameter T - template const T &getInstance(const Value &instance) - { - return instance.isTypedPointer() ? - *variant_cast(instance) : variant_cast(instance); - } - - /// Return a reference on the reflected value given on the instance - /// - /// NOTE: You should NEVER paste a pointer or a reference to the template parameter T - template T &getInstance(Value &instance) - { - return instance.isTypedPointer() ? - *variant_cast(instance) : variant_cast(instance); - } - -} - -#endif diff --git a/include/osgIntrospection/Value b/include/osgIntrospection/Value deleted file mode 100644 index 71c27dc51..000000000 --- a/include/osgIntrospection/Value +++ /dev/null @@ -1,436 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_VALUE_ -#define OSGINTROSPECTION_VALUE_ - -#include -#include -#include - -#include -#include -#include - -namespace osgIntrospection -{ - - class Type; - - class OSGINTROSPECTION_EXPORT Value - { - public: - /// Default constructor. Initializes internal structures - /// so that the Type returned by getType() is typeof(void), - /// and the value is empty so that isEmpty() returns true. - /// Be careful when using empty values, as some operations - /// on them may throw an exception. - inline Value(); - - /// Direct initialization constructor for void pointers. - /// Although one of the constructor templates below could - /// certainly handle void pointers as well, we need to treat - /// them separately because void* can't be dereferenced. - inline Value(void *v); - - /// Direct initialization constructor for const void pointers. - /// Although one of the constructor templates below could - /// certainly handle void pointers as well, we need to treat - /// them separately because void* can't be dereferenced. - inline Value(const void *v); - - /// Direct initialization constructor template for non-const - /// pointers. By initializing an instance of Value through - /// this constructor, internal structures will be configured - /// to handle polymorphic types. This means you'll be able to - /// call getInstanceType() to get the actual type of the - /// dereferenced value. - template Value(T *v); - - /// Direct initialization constructor template for non-const - /// pointers. By initializing an instance of Value through - /// this constructor, internal structures will be configured - /// to handle polymorphic types. This means you'll be able to - /// call getInstanceType() to get the actual type of the - /// dereferenced value. - template Value(const T *v); - - /// Direct initialization constructor template for all types - /// that are not handled by any of the constructors above. - /// Calling getInstanceType() on an instance constructed - /// this way returns the same as getType(). - template Value(const T &v); - - /// Copy constructor. The underlying value's type must have - /// consistent copy semantics. - inline Value(const Value& copy); - - /// Destructor. Frees internal resources but it does NOT delete - /// the value held. For example, this function will produce a - /// memory leak: void f() { Value v(new int); } - inline ~Value(); - - /// Assignment operator. Behaves like the copy constructor. - inline Value& operator=(const Value& copy); - - /// Returns whether the value is a pointer and it points to - /// something whose type is different than void. - inline bool isTypedPointer() const; - - /// Returns whether this Value is empty. - inline bool isEmpty() const; - - /// Returns whether the value is a null pointer. - inline bool isNullPointer() const; - - /// Returns the exact type of the value held. - inline const Type& getType() const; - - /// If the value is a pointer to a non-void type, this method - /// returns the actual type of the dereferenced pointer. Please - /// note it is not the same as getType().getPointedType(), - /// because the latter would return the non-polymorphic type. - /// If the value is not a pointer, this method behaves like - /// getType(). - inline const Type& getInstanceType() const; - - /// Equal to operator. - bool operator==(const Value& other) const; - - /// Less than or equal to operator. - bool operator<=(const Value& other) const; - - /// Inequality test operator. Returns !operator==(other). - bool operator!=(const Value& other) const; - - /// Greater than operator. Returns !operator<=(other). - bool operator>(const Value& other) const; - - /// Less than operator. Returns !operator==(other) && operator<=(other). - bool operator<(const Value& other) const; - - /// Greater than or equal to operator. Returns operator==(other) || !operator<=(other) - bool operator>=(const Value& other) const; - - /// Tries to convert this instance to a Value of the given type. - /// The conversion is performed by rendering to a temporary stream - /// in the source format and trying to read back from the stream - /// in the destination format. If either the source or destination - /// types, or both, don't have a ReaderWriter object, the conversion - /// fails and an exception is thrown. If the conversion can't be - /// completed for other reasons, other exceptions may be thrown. - Value convertTo(const Type& outtype) const; - - /// Tries to convert this instance to a Value of the given type. - /// The conversion is performed by rendering to a temporary stream - /// in the source format and trying to read back from the stream - /// in the destination format. If either the source or destination - /// types, or both, don't have a ReaderWriter object, the conversion - /// fails and an empty Value is returned. - /// Please note that unlike convertTo(), this method does not - /// intentionally throw any exceptions. - Value tryConvertTo(const Type& outtype) const; - - /// Tries to get a string representation of the underlying value. - /// This requires the value's type to have a ReaderWriter object - /// associated to it. If the conversion can't be completed, an - /// exception is thrown. - std::string toString() const; - std::wstring toWString() const; - - /// Swaps the content of this Value with another Value - void swap(Value& v); - - - private: - // It's good to have friends! - template friend T variant_cast(const Value& v); - template friend bool requires_conversion(const Value& v); - template friend T *extract_raw_data(Value& v); - template friend const T *extract_raw_data(const Value& v); - - // throw an exception if the value is empty - void check_empty() const; - - // Base class for holding values. Provides a clone() method - // which must be overriden in descendant classes. - struct Instance_base - { - virtual Instance_base *clone() const = 0; - virtual ~Instance_base() {} - }; - - // Generic descendant of Instance_base for holding values of - // type T. Note that values are created on the stack. - template - struct Instance: Instance_base - { - Instance(T data): _data(data) {} - - virtual Instance_base *clone() const { return new Instance(*this); } - virtual ~Instance() {} - T _data; - - protected: - - Instance& operator = (const Instance& rhs) - { - if (&rhs!=this) - { - _data = rhs._data; - } - return *this; - } - - }; - - // Base class for storage of Instance objects. Actually three - // instances are created: the main instance which keeps the - // desired value, an additional instance that keeps a reference - // to that value, and another instance that keeps a const - // reference to that value. These additional instances are queried - // when casting the Value to a reference type. - struct Instance_box_base - { - Instance_box_base() - : inst_(0), - _ref_inst(0), - _const_ref_inst(0) - { - } - - virtual ~Instance_box_base() - { - delete inst_; - delete _ref_inst; - delete _const_ref_inst; - } - - // clones the instance box - virtual Instance_box_base *clone() const = 0; - // returns the type of the value held - virtual const Type* type() const = 0; - // returns the actual pointed type if applicable - virtual const Type* ptype() const { return 0; } - // returns whether the data is a null pointer - virtual bool isNullPointer() const = 0; - - Instance_base *inst_; - Instance_base *_ref_inst; - Instance_base *_const_ref_inst; - }; - - // Generic instance box for non-pointer values. - template - struct Instance_box: Instance_box_base - { - Instance_box(): Instance_box_base(), _isNullPointer(false) {} - - Instance_box(const T &d, bool isNullPointer = false) - : Instance_box_base(), - _isNullPointer(isNullPointer) - { - Instance *vl = new Instance(d); - inst_ = vl; - _ref_inst = new Instance(vl->_data); - _const_ref_inst = new Instance(vl->_data); - } - - virtual Instance_box_base *clone() const - { - Instance_box *new_inbox = new Instance_box(); - - // ??? this static_cast<> shouldn't be necessary, but the - // MSVC++ compiler complains about invalid casting without it! - Instance *vl = static_cast *>(inst_->clone()); - - new_inbox->inst_ = vl; - new_inbox->_ref_inst = new Instance(vl->_data); - new_inbox->_const_ref_inst = new Instance(vl->_data); - new_inbox->_isNullPointer = _isNullPointer; - return new_inbox; - } - - virtual const Type* type() const - { - return &typeof(T); - } - - virtual bool isNullPointer() const - { - return _isNullPointer; - } - - private: - bool _isNullPointer; - - Instance_box& operator = (const Instance_box&) { return *this; } - - }; - - // Generic instance box for pointer values. Unlike Instance_box<>, - // this struct template provides a ptype() method that unreferences - // the pointer (T is supposed to be a pointer) and gets its actual - // type. - template - struct Ptr_instance_box: Instance_box_base - { - Ptr_instance_box(): Instance_box_base() {} - - Ptr_instance_box(const T &d) - : Instance_box_base() - { - Instance *vl = new Instance(d); - inst_ = vl; - _ref_inst = new Instance(vl->_data); - _const_ref_inst = new Instance(vl->_data); - } - - virtual Instance_box_base *clone() const - { - Ptr_instance_box *new_inbox = new Ptr_instance_box(); - - // ??? this static_cast<> shouldn't be necessary, but the - // MSVC++ compiler complains about invalid casting without it! - Instance *vl = static_cast *>(inst_->clone()); - - new_inbox->inst_ = vl; - new_inbox->_ref_inst = new Instance(vl->_data); - new_inbox->_const_ref_inst = new Instance(vl->_data); - return new_inbox; - } - - virtual const Type* type() const - { - return &typeof(T); - } - - virtual const Type* ptype() const - { - if (!static_cast *>(inst_)->_data) return 0; - return &typeofvalue(*static_cast *>(inst_)->_data); - } - - virtual bool isNullPointer() const - { - return static_cast *>(inst_)->_data == 0; - } - - }; - - Instance_box_base *_inbox; - const Type* _type; - const Type* _ptype; - }; - - /// A vector of values. - typedef std::vector ValueList; - - - // INLINE METHODS - - inline Value::Value() - : _inbox(0), - _type(&Reflection::type_void()), - _ptype(0) - { - } - - template Value::Value(const T &v) - : _ptype(0) - { - _inbox = new Instance_box(v); - _type = _inbox->type(); - } - - inline Value::Value(const void *v) - : _ptype(0) - { - _inbox = new Instance_box(v, v == 0); - _type = _inbox->type(); - } - - inline Value::Value(void *v) - : _ptype(0) - { - _inbox = new Instance_box(v, v == 0); - _type = _inbox->type(); - } - - template Value::Value(const T *v) - { - _inbox = new Ptr_instance_box(v); - _type = _inbox->type(); - _ptype = _inbox->ptype(); - } - - template Value::Value(T *v) - { - _inbox = new Ptr_instance_box(v); - _type = _inbox->type(); - _ptype = _inbox->ptype(); - } - - inline Value::Value(const Value& copy) - : _inbox(copy._inbox? copy._inbox->clone(): 0), - _type(copy._type), - _ptype(copy._ptype) - { - } - - inline Value& Value::operator=(const Value& copy) - { - std::auto_ptr new_inbox(copy._inbox? copy._inbox->clone(): 0); - delete _inbox; - _inbox = new_inbox.release(); - _type = copy._type; - _ptype = copy._ptype; - return *this; - } - - inline Value::~Value() - { - delete _inbox; - } - - inline const Type& Value::getType() const - { - return *_type; - } - - inline const Type& Value::getInstanceType() const - { - if (_ptype) - return *_ptype; - return *_type; - } - - inline bool Value::isTypedPointer() const - { - return _ptype != 0; - } - - inline bool Value::isEmpty() const - { - return _inbox == 0; - } - - inline bool Value::isNullPointer() const - { - return _inbox->isNullPointer(); - } - -} - -#endif diff --git a/include/osgIntrospection/Version b/include/osgIntrospection/Version deleted file mode 100644 index a0ba421c2..000000000 --- a/include/osgIntrospection/Version +++ /dev/null @@ -1,48 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ - -#ifndef OSGINTROSPECTION_VERSION -#define OSGINTROSPECTION_VERSION 1 - -#include - - -extern "C" { - -/** - * osgIntrospectionGetVersion() returns the library version number. - * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgIntrospectionGetVersion. - * - * This C function can be also used to check for the existence of the OpenSceneGraph - * library using autoconf and its m4 macro AC_CHECK_LIB. - * - * Here is the code to add to your configure.in: - \verbatim - # - # Check for the OpenSceneGraph (OSG) Introspection library - # - AC_CHECK_LIB(osg, osgIntrospectionGetVersion, , - [AC_MSG_ERROR(OpenSceneGraph Introspection library not found. See http://www.openscenegraph.org)],) - \endverbatim -*/ -extern OSGINTROSPECTION_EXPORT const char* osgIntrospectionGetVersion(); - -/** - * getLibraryName_osgIntrospection() returns the library name in human friendly form. -*/ -extern OSGINTROSPECTION_EXPORT const char* osgIntrospectionGetLibraryName(); - -} - -#endif - diff --git a/include/osgIntrospection/type_traits b/include/osgIntrospection/type_traits deleted file mode 100644 index e4eb26ad5..000000000 --- a/include/osgIntrospection/type_traits +++ /dev/null @@ -1,63 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ - -#ifndef OSGINTROSPECTION_TYPE_TRAITS_ -#define OSGINTROSPECTION_TYPE_TRAITS_ - - -/// is_reference is a compile-time template predicate to determine if a -/// type is a reference type. -template -struct is_reference -{ - static const bool value = false; -}; - -template -struct is_reference -{ - static const bool value = true; -}; - - -/// is_const_reference is a compile-time template predicate to determine -/// if a type is a const reference type. -template -struct is_const_reference -{ - static const bool value = false; -}; - -template -struct is_const_reference -{ - static const bool value = true; -}; - - -/// remove_pointer is a compile-time template type mapper that produces -/// the input type, but with any pointer modifier removed. -template -struct remove_pointer -{ - typedef T type; -}; - -template -struct remove_pointer -{ - typedef T type; -}; - - -#endif diff --git a/include/osgIntrospection/variant_cast b/include/osgIntrospection/variant_cast deleted file mode 100644 index 9b7a0ed13..000000000 --- a/include/osgIntrospection/variant_cast +++ /dev/null @@ -1,98 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#ifndef OSGINTROSPECTION_VARIANT_CAST_ -#define OSGINTROSPECTION_VARIANT_CAST_ - -#include -#include - -#include - -namespace osgIntrospection -{ - - /// Tries to convert an instance of Value to an object of type T. - /// If T is a plain type or a pointer type (either const or non-const), - /// and it matches the type of the value contained in v, then the actual - /// value of type T is returned. If T is a [const] reference type, and - /// its base (non reference) type matches the internal value's type, - /// then a [const] reference to the internal value is returned. - /// If none of the above conditions are met, a conversion is attempted - /// as described in Value::convert() and then variant_cast is called again - /// with the converted value as parameter. - /// If the conversion can't be completed, an exception is thrown. - /// Conversions that attempt to make a const pointer non-const will fail. - template T variant_cast(const Value& v) - { - // return value - Value::Instance *i = dynamic_cast *>(v._inbox->inst_); - if (i) return i->_data; - - // return reference to value - i = dynamic_cast *>(v._inbox->_ref_inst); - if (i) return i->_data; - - // return const reference to value - i = dynamic_cast *>(v._inbox->_const_ref_inst); - if (i) return i->_data; - - // try to convert v to type T and restart - return variant_cast(v.convertTo(typeof(T))); - } - - - /// Returns true if the Value passed as parameter can't be casted to - /// the specified type without a (potentially slow) conversion. - /// Returns false otherwise. - template bool requires_conversion(const Value& v) - { - // direct value - Value::Instance *i = dynamic_cast *>(v._inbox->inst_); - if (i) return false; - - // reference to value - i = dynamic_cast *>(v._inbox->_ref_inst); - if (i) return false; - - // const reference to value - i = dynamic_cast *>(v._inbox->_const_ref_inst); - if (i) return false; - - return true; - } - - /// Returns a typed pointer to the data contained in a Value - /// instance. If the value's type is not identical to type T, - /// a null pointer is returned. - template T* extract_raw_data(Value& v) - { - Value::Instance* i = dynamic_cast *>(v._inbox->inst_); - if (i) return &i->_data; - return 0; - } - - /// Returns a typed pointer to the data contained in a const Value - /// instance. If the value's type is not identical to type T, a - /// null pointer is returned. - template const T* extract_raw_data(const Value& v) - { - Value::Instance* i = dynamic_cast *>(v._inbox->inst_); - if (i) return &i->_data; - return 0; - } - -} - -#endif diff --git a/packaging/pkgconfig/openscenegraph-osgIntrospection.pc.in b/packaging/pkgconfig/openscenegraph-osgIntrospection.pc.in deleted file mode 100644 index 57f8fa199..000000000 --- a/packaging/pkgconfig/openscenegraph-osgIntrospection.pc.in +++ /dev/null @@ -1,14 +0,0 @@ -# pkg-config source file - -prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=${prefix} -libdir=${exec_prefix}/lib@LIB_POSTFIX@ -includedir=${prefix}/include - -Name: openscenegraph-osgIntrospection -Description: Introspection library for Openscenegraph -Version: @OPENSCENEGRAPH_VERSION@ -Requires: openscenegraph-osg openthreads -Conflicts: -Libs: -L${libdir} -losgIntrospection -Cflags: -I${includedir} diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ba600a381..3e8c3b9d8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -30,12 +30,6 @@ IF (QT4_FOUND) ADD_SUBDIRECTORY(osgQt) ENDIF() -OPTION(BUILD_OSG_WRAPPERS "Enable to build Introspection and Wrappers" OFF) -IF(BUILD_OSG_WRAPPERS) - ADD_SUBDIRECTORY(osgIntrospection) - ADD_SUBDIRECTORY(osgWrappers/introspection) -ENDIF() - IF(MSVC80 OR MSVC90) OPTION(OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS "Generate or not manifests files under VS8 for dynamically loaded dlls" ON) ENDIF() diff --git a/src/osgIntrospection/CMakeLists.txt b/src/osgIntrospection/CMakeLists.txt deleted file mode 100644 index 5b10c83d3..000000000 --- a/src/osgIntrospection/CMakeLists.txt +++ /dev/null @@ -1,69 +0,0 @@ - -IF(DYNAMIC_OPENSCENEGRAPH) - ADD_DEFINITIONS(-DOSGINTROSPECTION_LIBRARY) -ELSE() - ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC) -ENDIF() - -SET(LIB_NAME osgIntrospection) -SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME}) -SET(LIB_PUBLIC_HEADERS - ${HEADER_PATH}/Attributes - ${HEADER_PATH}/Comparator - ${HEADER_PATH}/ConstructorInfo - ${HEADER_PATH}/Converter - ${HEADER_PATH}/ConverterProxy - ${HEADER_PATH}/CustomAttribute - ${HEADER_PATH}/CustomAttributeProvider - ${HEADER_PATH}/Exceptions - ${HEADER_PATH}/Export - ${HEADER_PATH}/ExtendedTypeInfo - ${HEADER_PATH}/InstanceCreator - ${HEADER_PATH}/MethodInfo - ${HEADER_PATH}/ParameterInfo - ${HEADER_PATH}/PropertyInfo - ${HEADER_PATH}/PublicMemberAccessor - ${HEADER_PATH}/ReaderWriter - ${HEADER_PATH}/Reflection - ${HEADER_PATH}/ReflectionMacros - ${HEADER_PATH}/Reflector - ${HEADER_PATH}/StaticMethodInfo - ${HEADER_PATH}/Type - ${HEADER_PATH}/TypedConstructorInfo - ${HEADER_PATH}/TypedMethodInfo - ${HEADER_PATH}/TypeNameAliasProxy - ${HEADER_PATH}/type_traits - ${HEADER_PATH}/Utility - ${HEADER_PATH}/Value - ${HEADER_PATH}/Version - ${HEADER_PATH}/variant_cast -) - -# FIXME: For OS X, need flag for Framework or dylib -ADD_LIBRARY(${LIB_NAME} - ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC} - ${LIB_PUBLIC_HEADERS} - ConstructorInfo.cpp - CustomAttributeProvider.cpp - DefaultReflectors.cpp - MethodInfo.cpp - PropertyInfo.cpp - Reflection.cpp - Reflector.cpp - Type.cpp - Utility.cpp - Value.cpp - Version.cpp - ${OPENSCENEGRAPH_VERSIONINFO_RC} -) - -LINK_INTERNAL(${LIB_NAME} - OpenThreads - osg -) - -LINK_CORELIB_DEFAULT(${LIB_NAME}) - - -INCLUDE(ModuleInstall OPTIONAL) - diff --git a/src/osgIntrospection/ConstructorInfo.cpp b/src/osgIntrospection/ConstructorInfo.cpp deleted file mode 100644 index 8cb9b41ce..000000000 --- a/src/osgIntrospection/ConstructorInfo.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#include - -using namespace osgIntrospection; - -void ConstructorInfo::getInheritedProviders(CustomAttributeProviderList& providers) const -{ - for (int i=0; i<_declarationType.getNumBaseTypes(); ++i) - { - const ConstructorInfo* ci = _declarationType.getBaseType(i).getConstructor(_params); - if (ci) - { - providers.push_back(ci); - } - } -} diff --git a/src/osgIntrospection/CustomAttributeProvider.cpp b/src/osgIntrospection/CustomAttributeProvider.cpp deleted file mode 100644 index 5020d9825..000000000 --- a/src/osgIntrospection/CustomAttributeProvider.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#include -#include - -using namespace osgIntrospection; - -bool CustomAttributeProvider::isDefined(const Type& type, bool inherit) const -{ - for (CustomAttributeList::const_iterator i=attribs_.begin(); i!=attribs_.end(); ++i) - if (typeid(**i) == type.getStdTypeInfo()) return true; - - if (inherit) - { - CustomAttributeProviderList providers; - getInheritedProviders(providers); - - for (CustomAttributeProviderList::const_iterator i=providers.begin(); i!=providers.end(); ++i) - { - if ((*i)->isDefined(type, true)) return true; - } - } - - return false; -} - -const CustomAttribute* CustomAttributeProvider::getAttribute(const Type& type, bool inherit) const -{ - for (CustomAttributeList::const_iterator i=attribs_.begin(); i!=attribs_.end(); ++i) - if (typeid(**i) == type.getStdTypeInfo()) return *i; - - if (inherit) - { - CustomAttributeProviderList providers; - getInheritedProviders(providers); - - for (CustomAttributeProviderList::const_iterator i=providers.begin(); i!=providers.end(); ++i) - { - const CustomAttribute* ca = (*i)->getAttribute(type, true); - if (ca) return ca; - } - } - - return 0; -} diff --git a/src/osgIntrospection/DefaultReflectors.cpp b/src/osgIntrospection/DefaultReflectors.cpp deleted file mode 100644 index 59d53f271..000000000 --- a/src/osgIntrospection/DefaultReflectors.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#include -#include - -#include - -// Built-in types - -ABSTRACT_OBJECT_REFLECTOR(void) - -ATOMIC_VALUE_REFLECTOR(char) -WATOMIC_VALUE_REFLECTOR(wchar_t) -ATOMIC_VALUE_REFLECTOR(signed char) -ATOMIC_VALUE_REFLECTOR(unsigned char) - -ATOMIC_VALUE_REFLECTOR(int) -ATOMIC_VALUE_REFLECTOR(unsigned int) -ATOMIC_VALUE_REFLECTOR(long int) -ATOMIC_VALUE_REFLECTOR(long long int) -ATOMIC_VALUE_REFLECTOR(unsigned long int) -ATOMIC_VALUE_REFLECTOR(unsigned long long int) -ATOMIC_VALUE_REFLECTOR(short int) -ATOMIC_VALUE_REFLECTOR(unsigned short int) - -ATOMIC_VALUE_REFLECTOR(bool) - -ATOMIC_VALUE_REFLECTOR(float) - -ATOMIC_VALUE_REFLECTOR(double) -ATOMIC_VALUE_REFLECTOR(long double) - - -// STL types - -ATOMIC_VALUE_REFLECTOR(std::string) -WATOMIC_VALUE_REFLECTOR(std::wstring) - diff --git a/src/osgIntrospection/MethodInfo.cpp b/src/osgIntrospection/MethodInfo.cpp deleted file mode 100644 index 83d8c97ce..000000000 --- a/src/osgIntrospection/MethodInfo.cpp +++ /dev/null @@ -1,74 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#include - -using namespace osgIntrospection; - -void MethodInfo::getInheritedProviders(CustomAttributeProviderList& providers) const -{ - for (int i=0; i<_declarationType.getNumBaseTypes(); ++i) - { - const MethodInfo* mi = _declarationType.getBaseType(i).getMethod(_name, _params, false); - if (mi) - { - providers.push_back(mi); - } - } -} - -bool MethodInfo::overrides(const MethodInfo* other) const -{ - if (isConst() != other->isConst()) return false; - if (_declarationType != other->_declarationType) return false; - if (_rtype != other->_rtype) return false; - if (_name != other->_name) return false; - if (_params.size() != other->_params.size()) return false; - - ParameterInfoList::const_iterator i=_params.begin(); - ParameterInfoList::const_iterator j=other->_params.begin(); - for (; i!=_params.end(); ++i, ++j) - { - if (&(*i)->getParameterType() != &(*j)->getParameterType()) - return false; - } - - return true; - -/* - std::size_t num_fixed_1 = 0; - std::size_t num_optional_1 = 0; - for (ParameterInfoList::const_iterator i=_params.begin(); i!=_params.end(); ++i) - { - if ((*i)->getDefaultValue().isEmpty()) - ++num_fixed_1; - else - ++num_optional_1; - } - - std::size_t num_fixed_2 = 0; - std::size_t num_optional_2 = 0; - for (ParameterInfoList::const_iterator i=other->_params.begin(); i!=other->_params.end(); ++i) - { - if ((*i)->getDefaultValue().isEmpty()) - ++num_fixed_2; - else - ++num_optional_2; - } - - if (num_fixed_1 > num_fixed_2) - { - } -*/ -} diff --git a/src/osgIntrospection/PropertyInfo.cpp b/src/osgIntrospection/PropertyInfo.cpp deleted file mode 100644 index bb0bf0251..000000000 --- a/src/osgIntrospection/PropertyInfo.cpp +++ /dev/null @@ -1,367 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#include -#include -#include - -using namespace osgIntrospection; - -void PropertyInfo::getInheritedProviders(CustomAttributeProviderList& providers) const -{ - for (int i=0; i<_declarationType.getNumBaseTypes(); ++i) - { - const PropertyInfo* pi = _declarationType.getBaseType(i).getProperty(_name, _ptype, getIndexParameters(), false); - if (pi) - { - providers.push_back(pi); - } - } -} - -Value PropertyInfo::getValue(const Value& instance) const -{ - const PropertyTypeAttribute *pta = getAttribute(false); - const CustomPropertyGetAttribute *cget = getAttribute(false); - - if (cget) - { - if (pta) - return cget->getGetter()->get(instance).convertTo(pta->getPropertyType()); - return cget->getGetter()->get(instance); - } - - if (!_getm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::GET); - - if (pta) - return _getm->invoke(instance).convertTo(pta->getPropertyType()); - return _getm->invoke(instance); -} - -Value PropertyInfo::getValue(Value& instance) const -{ - const PropertyTypeAttribute *pta = getAttribute(false); - const CustomPropertyGetAttribute *cget = getAttribute(false); - - if (cget) - { - if (pta) - return cget->getGetter()->get(instance).convertTo(pta->getPropertyType()); - return cget->getGetter()->get(instance); - } - - if (!_getm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::GET); - - if (pta) - return _getm->invoke(instance).convertTo(pta->getPropertyType()); - return _getm->invoke(instance); -} - -void PropertyInfo::setValue(Value& instance, const Value& value) const -{ - const CustomPropertySetAttribute *cset = getAttribute(false); - - if (cset) - { - cset->getSetter()->set(instance, value); - return; - } - - if (!_setm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::SET); - - ValueList args; - args.push_back(value); - _setm->invoke(instance, args); -} - -Value PropertyInfo::getIndexedValue(const Value& instance, ValueList& args) const -{ - const PropertyTypeAttribute *pta = getAttribute(false); - const CustomPropertyGetAttribute *cget = getAttribute(false); - - if (cget) - { - if (pta) - return cget->getGetter()->get(instance, args).convertTo(pta->getPropertyType()); - return cget->getGetter()->get(instance, args); - } - - if (!_getm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::IGET); - - if (pta) - return _getm->invoke(instance, args).convertTo(pta->getPropertyType()); - return _getm->invoke(instance, args); -} - -Value PropertyInfo::getIndexedValue(Value& instance, ValueList& args) const -{ - const PropertyTypeAttribute *pta = getAttribute(false); - const CustomPropertyGetAttribute *cget = getAttribute(false); - - if (cget) - { - if (pta) - return cget->getGetter()->get(instance, args).convertTo(pta->getPropertyType()); - return cget->getGetter()->get(instance, args); - } - - if (!_getm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::IGET); - - if (pta) - return _getm->invoke(instance, args).convertTo(pta->getPropertyType()); - return _getm->invoke(instance, args); -} - -void PropertyInfo::setIndexedValue(Value& instance, ValueList& args, const Value& value) const -{ - const CustomPropertySetAttribute *cset = getAttribute(false); - if (cset) - { - cset->getSetter()->set(instance, args, value); - return; - } - - if (!_setm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::ISET); - - ValueList tmpArgs(args); - tmpArgs.push_back(value); - _setm->invoke(instance, tmpArgs); -} - -int PropertyInfo::getNumArrayItems(const Value& instance) const -{ - const CustomPropertyCountAttribute *ccount = getAttribute(false); - if (ccount) return ccount->getCounter()->count(instance); - - if (!_numm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::COUNT); - - return variant_cast(_numm->invoke(instance)); -} - -Value PropertyInfo::getArrayItem(const Value& instance, int i) const -{ - const PropertyTypeAttribute *pta = getAttribute(false); - const CustomPropertyGetAttribute *cget = getAttribute(false); - - if (cget) - { - if (pta) - return cget->getGetter()->get(instance, i).convertTo(pta->getPropertyType()); - return cget->getGetter()->get(instance, i); - } - - if (!_getm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::AGET); - - ValueList args; - args.push_back(i); - - if (pta) - return _getm->invoke(instance, args).convertTo(pta->getPropertyType()); - return _getm->invoke(instance, args); -} - -Value PropertyInfo::getArrayItem(Value& instance, int i) const -{ - const PropertyTypeAttribute *pta = getAttribute(false); - const CustomPropertyGetAttribute *cget = getAttribute(false); - - if (cget) - { - if (pta) - return cget->getGetter()->get(instance, i).convertTo(pta->getPropertyType()); - return cget->getGetter()->get(instance, i); - } - - if (!_getm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::AGET); - - ValueList args; - args.push_back(i); - - if (pta) - return _getm->invoke(instance, args).convertTo(pta->getPropertyType()); - return _getm->invoke(instance, args); -} - -void PropertyInfo::setArrayItem(Value& instance, int i, const Value& value) const -{ - const CustomPropertySetAttribute *cset = getAttribute(false); - if (cset) - { - cset->getSetter()->set(instance, i, value); - return; - } - - if (!_setm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::ASET); - - ValueList args; - args.push_back(i); - args.push_back(value); - _setm->invoke(instance, args); -} - -void PropertyInfo::addArrayItem(Value& instance, const Value& value) const -{ - const CustomPropertyAddAttribute *cadd = getAttribute(false); - if (cadd) - { - cadd->getAdder()->add(instance, value); - return; - } - - if (!_addm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::ADD); - - ValueList args; - args.push_back(value); - _addm->invoke(instance, args); -} - -void PropertyInfo::insertArrayItem(Value& instance, int i, const Value& value) const -{ - const CustomPropertyInsertAttribute *cadd = getAttribute(false); - if (cadd) - { - cadd->getInserter()->insert(instance, i, value); - return; - } - - if (!_addm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::INSERT); - - ValueList args; - args.push_back(i); - args.push_back(value); - _insm->invoke(instance, args); -} - -void PropertyInfo::removeArrayItem(Value& instance, int i) const -{ - const CustomPropertyRemoveAttribute *crem = getAttribute(false); - if (crem) - { - crem->getRemover()->remove(instance, i); - return; - } - - if (!_remm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::REMOVE); - - ValueList args; - args.push_back(i); - _remm->invoke(instance, args); -} - -Value PropertyInfo::getDefaultValue() const -{ - if (isArray() || isIndexed()) return Value(); - - const CustomAttributeList& cal = getCustomAttributes(); - for (CustomAttributeList::const_iterator i=cal.begin(); i!=cal.end(); ++i) - { - if (dynamic_cast(*i) != 0) - return Value(); - - const DefaultValueAttribute *dv = dynamic_cast(*i); - if (dv) - { - return dv->getDefaultValue(); - } - } - - if (_declarationType.isAbstract()) - { - if (_ptype.isAbstract() || !_ptype.isDefined()) - return Value(); - return _ptype.createInstance(); - } - - // auto default value - Value instance = _declarationType.createInstance(); - return getValue(instance); -} - -void PropertyInfo::getIndexValueSet(int whichindex, const Value& instance, ValueList& values) const -{ - const CustomIndexAttribute *cia = getAttribute(false); - if (cia) - { - cia->getIndexInfo()->getIndexValueSet(whichindex, instance, values); - } - else - { - std::map ita_map; - const CustomAttributeList& cal = getCustomAttributes(); - for (CustomAttributeList::const_iterator i=cal.begin(); i!=cal.end(); ++i) - { - const IndexTypeAttribute *ita = dynamic_cast(*i); - if (ita) - ita_map[ita->getWhichIndex()] = ita; - } - - const EnumLabelMap* elm = &getIndexParameters().at(whichindex)->getParameterType().getEnumLabels(); - if (elm->empty()) - { - if (ita_map[whichindex]) - elm = &ita_map[whichindex]->getIndexType().getEnumLabels(); - - if (elm->empty()) - throw IndexValuesNotDefinedException(_name, getIndexParameters().at(whichindex)->getName()); - } - - for (EnumLabelMap::const_iterator i=elm->begin(); i!=elm->end(); ++i) - { - if (ita_map[whichindex]) - values.push_back(Value(i->first).convertTo(ita_map[whichindex]->getIndexType())); - else - values.push_back(Value(i->first).convertTo(_indices[whichindex]->getParameterType())); - } - } -} - -const ParameterInfoList& PropertyInfo::getIndexParameters() const -{ - const CustomIndexAttribute *cia = getAttribute(false); - if (cia) - { - return cia->getIndexInfo()->getIndexParameters(); - } - - return _indices; -} - -void PropertyInfo::removeIndexedItem(Value& instance, ValueList& args) const -{ - const CustomPropertyRemoveAttribute *crem = getAttribute(false); - if (crem) - { - crem->getRemover()->remove(instance, args); - return; - } - - if (!_remm) - throw PropertyAccessException(_declarationType.getQualifiedName() + "::" + _name, PropertyAccessException::REMOVE); - - _remm->invoke(instance, args); -} - diff --git a/src/osgIntrospection/Reflection.cpp b/src/osgIntrospection/Reflection.cpp deleted file mode 100644 index 521fc0217..000000000 --- a/src/osgIntrospection/Reflection.cpp +++ /dev/null @@ -1,211 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. - */ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#include -#include -#include -#include - -#include -#include - -#include - -using namespace osgIntrospection; - -Reflection::StaticData* Reflection::_static_data = 0; - -Reflection::StaticData::~StaticData() -{ - for (TypeMap::iterator i=typemap.begin(); i!=typemap.end(); ++i) - delete i->second; - - for (ConverterMapMap::iterator i=convmap.begin(); i!=convmap.end(); ++i) - { - for (ConverterMap::iterator j=i->second.begin(); j!=i->second.end(); ++j) - { - delete j->second; - } - } -} - -const TypeMap& Reflection::getTypes() -{ - return getOrCreateStaticData().typemap; -} - -Reflection::StaticData& Reflection::getOrCreateStaticData() -{ - static OpenThreads::Mutex access_mtx; - OpenThreads::ScopedLock lock(access_mtx); - - if (!_static_data) - { - _static_data = new StaticData; - std::auto_ptr tvoid(new Type(extended_typeid())); - _static_data->typemap.insert(std::make_pair(extended_typeid(), tvoid.get())); - _static_data->type_void = tvoid.release(); - } - return *_static_data; -} - -const Type& Reflection::getType(const ExtendedTypeInfo &ti) -{ - const TypeMap& types = getTypes(); - - TypeMap::const_iterator i = types.find(ti); - if (i == types.end()) - { - return *registerType(ti); - } - return *i->second; -} - -const Type& Reflection::getType(const std::string& qname) -{ - const TypeMap& types = getTypes(); - - for (TypeMap::const_iterator i=types.begin(); i!=types.end(); ++i) - { - if (i->second->isDefined() && i->second->getQualifiedName().compare(qname) == 0) - return *i->second; - for (int j=0; jsecond->getNumAliases(); ++j) - if (i->second->getAlias(j).compare(qname) == 0) - return *i->second; - } - - throw TypeNotFoundException(qname); -} - -const Type& Reflection::type_void() -{ - return *getOrCreateStaticData().type_void; -} - -Type* Reflection::registerType(const ExtendedTypeInfo &ti) -{ - std::auto_ptr type(new Type(ti)); - getOrCreateStaticData().typemap.insert(std::make_pair(ti, type.get())); - return type.release(); -} - -Type* Reflection::getOrRegisterType(const ExtendedTypeInfo &ti, bool replace_if_defined) -{ - TypeMap& tm = getOrCreateStaticData().typemap; - TypeMap::iterator i = tm.find(ti); - - if (i != tm.end()) - { - if (replace_if_defined && i->second->isDefined()) - { - std::string old_name = i->second->getName(); - std::string old_namespace = i->second->getNamespace(); - std::vector old_aliases = i->second->_aliases; - - i->second->reset(); - i->second->_name = old_name; - i->second->_namespace = old_namespace; - i->second->_aliases.swap(old_aliases); - } - return i->second; - } - - return registerType(ti); -} - -void Reflection::registerConverter(const Type& source, const Type& dest, const Converter* cvt) -{ - const Converter* old = NULL; - StaticData::ConverterMap::iterator it = getOrCreateStaticData().convmap[&source].find(&dest); - - if(it != getOrCreateStaticData().convmap[&source].end()) - old = it->second; - - getOrCreateStaticData().convmap[&source][&dest] = cvt; - - if(old) - delete old; -} - -const Converter* Reflection::getConverter(const Type& source, const Type& dest) -{ - return getOrCreateStaticData().convmap[&source][&dest]; -} - -bool Reflection::getConversionPath(const Type& source, const Type& dest, ConverterList& conv) -{ - ConverterList temp; - std::vector chain; - - if (accum_conv_path(source, dest, temp, chain, STATIC_CAST)) - { - conv.swap(temp); - return true; - } - - if (source.isPointer() && dest.isPointer()) - { - chain.clear(); - temp.clear(); - if (accum_conv_path(source, dest, temp, chain, DYNAMIC_CAST)) - { - conv.swap(temp); - return true; - } - } - - return false; -} - -bool Reflection::accum_conv_path(const Type& source, const Type& dest, ConverterList& conv, std::vector &chain, CastType castType) -{ - // break unwanted loops - if (std::find(chain.begin(), chain.end(), &source) != chain.end()) - return false; - - // store the type being processed to avoid loops - chain.push_back(&source); - - // search a converter from "source" - StaticData::ConverterMapMap::const_iterator i = getOrCreateStaticData().convmap.find(&source); - if (i == getOrCreateStaticData().convmap.end()) - return false; - - // search a converter to "dest" - const StaticData::ConverterMap& cmap = i->second; - StaticData::ConverterMap::const_iterator j = cmap.find(&dest); - if (j != cmap.end() && (j->second->getCastType() == castType)) - { - conv.push_back(j->second); - return true; - } - - // search a undirect converter from "source" to ... to "dest" - for (j=cmap.begin(); j!=cmap.end(); ++j) - { - if ((j->second->getCastType() == castType) && accum_conv_path(*j->first, dest, conv, chain, castType)) - { - conv.push_front(j->second); - return true; - } - } - - return false; -} - -void Reflection::uninitialize() { - if(_static_data) - delete _static_data; - _static_data = 0; -} diff --git a/src/osgIntrospection/Reflector.cpp b/src/osgIntrospection/Reflector.cpp deleted file mode 100644 index 6093c34cd..000000000 --- a/src/osgIntrospection/Reflector.cpp +++ /dev/null @@ -1,30 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ - -#include - -namespace osgIntrospection -{ - template<> - void Reflector::init_reference_types() - { - // Avoid trying to register void & / const void &, which are - // illegal types. - } - template<> - void Reflector::init_void_converter() - { - // Avoid - } - -} diff --git a/src/osgIntrospection/Type.cpp b/src/osgIntrospection/Type.cpp deleted file mode 100644 index a7ad7dd5b..000000000 --- a/src/osgIntrospection/Type.cpp +++ /dev/null @@ -1,309 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -using namespace osgIntrospection; - -namespace -{ - - template - struct ObjectMatch - { - int list_pos; - float match; - const T *object; - - bool operator < (const ObjectMatch &m) const - { - if (match > m.match) return true; - if (match < m.match) return false; - if (list_pos < m.list_pos) return true; - return false; - } - }; - - typedef ObjectMatch MethodMatch; - typedef ObjectMatch ConstructorMatch; - -} - -void Type::reset() -{ - for (PropertyInfoList::const_iterator i=_props.begin(); i!=_props.end(); ++i) - delete *i; - for (MethodInfoList::const_iterator i=_methods.begin(); i!=_methods.end(); ++i) - delete *i; - for (MethodInfoList::const_iterator i=_protected_methods.begin(); i!=_protected_methods.end(); ++i) - delete *i; - for (ConstructorInfoList::const_iterator i=_cons.begin(); i!=_cons.end(); ++i) - delete *i; - for (ConstructorInfoList::const_iterator i=_protected_cons.begin(); i!=_protected_cons.end(); ++i) - delete *i; - - _props.clear(); - _methods.clear(); - _protected_methods.clear(); - _cons.clear(); - _protected_cons.clear(); - - delete _rw; - delete _cmp; -} - -Type::~Type() -{ - reset(); -} - -bool Type::isSubclassOf(const Type& type) const -{ - check_defined(); - for (TypeList::const_iterator i=_base.begin(); i!=_base.end(); ++i) - { - if ((*i)->getExtendedTypeInfo() == type.getExtendedTypeInfo()) - return true; - if ((*i)->isSubclassOf(type)) - return true; - } - return false; -} - -const MethodInfo *Type::getCompatibleMethod(const std::string& name, const ValueList& values, bool inherit) const -{ - check_defined(); - - MethodInfoList allmethods; - const MethodInfoList *methods; - if (inherit) - { - getAllMethods(allmethods); - methods = &allmethods; - } - else - methods = &_methods; - - typedef std::vector MatchList; - MatchList matches; - - int pos = 0; - for (MethodInfoList::const_iterator j=methods->begin(); j!=methods->end(); ++j, ++pos) - { - const MethodInfo *mi = *j; - if (mi->getName().compare(name) == 0) - { - float match; - if (areArgumentsCompatible(values, mi->getParameters(), match)) - { - MethodMatch mm; - mm.list_pos = pos; - mm.match = match; - mm.object = mi; - matches.push_back(mm); - } - } - } - - if (!matches.empty()) - { - std::sort(matches.begin(), matches.end()); - return matches.front().object; - } - - return 0; -} - -const MethodInfo *Type::getMethod(const std::string& name, const ParameterInfoList& params, bool inherit) const -{ - check_defined(); - for (MethodInfoList::const_iterator j=_methods.begin(); j!=_methods.end(); ++j) - { - const MethodInfo *mi = *j; - if (mi->getName().compare(name) == 0) - { - if (areParametersCompatible(params, mi->getParameters())) - { - return mi; - } - } - } - - if (inherit) - { - for (TypeList::const_iterator i=_base.begin(); i!=_base.end(); ++i) - { - const MethodInfo *mi = (*i)->getMethod(name, params, true); - if (mi) return mi; - } - } - - return 0; -} - -void Type::getInheritedProviders(CustomAttributeProviderList& providers) const -{ - check_defined(); - providers.assign(_base.begin(), _base.end()); -} - -const PropertyInfo *Type::getProperty(const std::string& name, const Type& ptype, const ParameterInfoList& indices, bool inherit) const -{ - check_defined(); - for (PropertyInfoList::const_iterator i=_props.begin(); i!=_props.end(); ++i) - { - const PropertyInfo *pi = *i; - if (pi->getName() == name && pi->getPropertyType() == ptype) - { - if (areParametersCompatible(indices, pi->getIndexParameters())) - { - return pi; - } - } - } - - if (inherit) - { - for (TypeList::const_iterator i=_base.begin(); i!=_base.end(); ++i) - { - const PropertyInfo *pi = (*i)->getProperty(name, ptype, indices, true); - if (pi) return pi; - } - } - - return 0; -} - -Value Type::invokeMethod(const std::string& name, const Value& instance, ValueList& args, bool inherit) const -{ - check_defined(); - const MethodInfo *mi = getCompatibleMethod(name, args, inherit); - if (!mi) throw MethodNotFoundException(name, _name); - return mi->invoke(instance, args); -} - -Value Type::invokeMethod(const std::string& name, Value& instance, ValueList& args, bool inherit) const -{ - check_defined(); - const MethodInfo *mi = getCompatibleMethod(name, args, inherit); - if (!mi) throw MethodNotFoundException(name, _name); - return mi->invoke(instance, args); -} - -void Type::getAllProperties(PropertyInfoList& props) const -{ - check_defined(); - std::copy(_props.begin(), _props.end(), std::back_inserter(props)); - for (TypeList::const_iterator i=_base.begin(); i!=_base.end(); ++i) - { - (*i)->getAllProperties(props); - } -} - -void Type::getPropertiesMap(PropertyInfoMap& props) const -{ - check_defined(); - props[this] = _props; - for (TypeList::const_iterator i=_base.begin(); i!=_base.end(); ++i) - { - (*i)->getPropertiesMap(props); - } -} - -void Type::getAllMethods(MethodInfoList& methods, FunctionCategory category) const -{ - check_defined(); - const MethodInfoList& input_methods = (category == PUBLIC_FUNCTIONS ? _methods : _protected_methods); - std::copy(input_methods.begin(), input_methods.end(), std::back_inserter(methods)); - for (TypeList::const_iterator i=_base.begin(); i!=_base.end(); ++i) - { - (*i)->getAllMethods(methods, category); - } -} - -void Type::getMethodsMap(MethodInfoMap& methods, FunctionCategory category) const -{ - check_defined(); - methods[this] = (category == PUBLIC_FUNCTIONS ? _methods : _protected_methods); - for (TypeList::const_iterator i=_base.begin(); i!=_base.end(); ++i) - { - (*i)->getMethodsMap(methods, category); - } -} - -Value Type::createInstance(ValueList& args) const -{ - if (isAbstract()) - throw TypeIsAbstractException(_ti); - - const ConstructorInfo *ci = getCompatibleConstructor(args); - if (!ci) - throw ConstructorNotFoundException(_ti); - - return ci->createInstance(args); -} - -const ConstructorInfo *Type::getCompatibleConstructor(const ValueList& values) const -{ - check_defined(); - - typedef std::vector MatchList; - MatchList matches; - - int pos = 0; - for (ConstructorInfoList::const_iterator j=_cons.begin(); j!=_cons.end(); ++j, ++pos) - { - float match; - if (areArgumentsCompatible(values, (*j)->getParameters(), match)) - { - ConstructorMatch mm; - mm.list_pos = pos; - mm.match = match; - mm.object = *j; - matches.push_back(mm); - } - } - - if (!matches.empty()) - { - std::sort(matches.begin(), matches.end()); - return matches.front().object; - } - - return 0; -} - -const ConstructorInfo *Type::getConstructor(const ParameterInfoList& params) const -{ - check_defined(); - - for (ConstructorInfoList::const_iterator j=_cons.begin(); j!=_cons.end(); ++j) - { - if (areParametersCompatible(params, (*j)->getParameters())) - return *j; - } - - return 0; -} diff --git a/src/osgIntrospection/Utility.cpp b/src/osgIntrospection/Utility.cpp deleted file mode 100644 index 659dd26e9..000000000 --- a/src/osgIntrospection/Utility.cpp +++ /dev/null @@ -1,85 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#include - -using namespace osgIntrospection; - -bool osgIntrospection::areParametersCompatible(const ParameterInfoList& pl1, const ParameterInfoList& pl2) -{ - if (pl1.size() == pl2.size()) - { - if (pl1.empty()) - return true; - - ParameterInfoList::const_iterator i1 = pl1.begin(); - ParameterInfoList::const_iterator i2 = pl2.begin(); - for (; i1getDefaultValue().isEmpty()) - return false; - continue; - } - - if ((*i1)->getParameterType() != i2->getType()) - { - if (i2->tryConvertTo((*i1)->getParameterType()).isEmpty()) - { - return false; - } - } - else - ++exact_args; - - ++i2; - } - - match = static_cast(exact_args) / pl.size(); - return true; -} - diff --git a/src/osgIntrospection/Value.cpp b/src/osgIntrospection/Value.cpp deleted file mode 100644 index 6305163aa..000000000 --- a/src/osgIntrospection/Value.cpp +++ /dev/null @@ -1,230 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ -//osgIntrospection - Copyright (C) 2005 Marco Jez - -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -using namespace osgIntrospection; - -Value Value::convertTo(const Type& outtype) const -{ - Value v = tryConvertTo(outtype); - if (v.isEmpty()) - throw TypeConversionException(_type->getExtendedTypeInfo(), outtype.getExtendedTypeInfo()); - return v; -} - -Value Value::tryConvertTo(const Type& outtype) const -{ - check_empty(); - - if (_type == &outtype) - return *this; - - if (_type->isConstPointer() && outtype.isNonConstPointer()) - return Value(); - - // search custom converters - ConverterList conv; - if (Reflection::getConversionPath(*_type, outtype, conv)) - { - std::auto_ptr cvt(new CompositeConverter(conv)); - return cvt->convert(*this); - } - - std::auto_ptr wopt; - - if (_type->isEnum() && (outtype.getQualifiedName() == "int" || outtype.getQualifiedName() == "unsigned int")) - { - wopt.reset(new ReaderWriter::Options); - wopt->setForceNumericOutput(true); - } - - - // ** never converte a pointer to another pointer with the ReaderWriter method - // ** in this case, the ReaderWriter method always work and - // ** using a pointer with a bad type cause a SEGFAULT - if (_type->isPointer() && outtype.isPointer()) return Value(); - - const ReaderWriter* src_rw = _type->getReaderWriter(); - if (src_rw) - { - const ReaderWriter* dst_rw = outtype.getReaderWriter(); - if (dst_rw) - { - std::stringstream ss; - if (src_rw->writeTextValue(ss, *this, wopt.get())) - { - Value v; - if (dst_rw->readTextValue(ss, v)) - { - return v; - } - } - } - } - - return Value(); -} - -std::string Value::toString() const -{ - check_empty(); - - const ReaderWriter* rw = _type->getReaderWriter(); - if (rw) - { - std::ostringstream oss; - if (!rw->writeTextValue(oss, *this)) - throw StreamWriteErrorException(); - return oss.str(); - } - throw StreamingNotSupportedException(StreamingNotSupportedException::ANY, _type->getExtendedTypeInfo()); - } - -std::wstring Value::toWString() const -{ - check_empty(); - - const ReaderWriter* rw = _type->getReaderWriter(); - if (rw) - { - std::wostringstream woss; - if (!rw->writeTextValue(woss, *this)) - throw StreamWriteErrorException(); - return woss.str(); - } - throw StreamingNotSupportedException(StreamingNotSupportedException::ANY, _type->getExtendedTypeInfo()); -} - -void Value::check_empty() const -{ - if (!_type || !_inbox) - throw EmptyValueException(); -} - -void Value::swap(Value& v) -{ - std::swap(_inbox, v._inbox); - std::swap(_type, v._type); - std::swap(_ptype, v._ptype); -} - -bool Value::operator ==(const Value& other) const -{ - if (isEmpty() && other.isEmpty()) - return true; - - if (isEmpty() ^ other.isEmpty()) - return false; - - const Comparator* cmp1 = _type->getComparator(); - const Comparator* cmp2 = other._type->getComparator(); - - const Comparator* cmp = cmp1? cmp1: cmp2; - - if (!cmp) - throw ComparisonNotPermittedException(_type->getExtendedTypeInfo()); - - if (cmp1 == cmp2) - return cmp->isEqualTo(*this, other); - - if (cmp1) - return cmp1->isEqualTo(*this, other.convertTo(*_type)); - - return cmp2->isEqualTo(convertTo(*other._type), other); -} - -bool Value::operator <=(const Value& other) const -{ - const Comparator* cmp1 = _type->getComparator(); - const Comparator* cmp2 = other._type->getComparator(); - - const Comparator* cmp = cmp1? cmp1: cmp2; - - if (!cmp) - throw ComparisonNotPermittedException(_type->getExtendedTypeInfo()); - - if (cmp1 == cmp2) - return cmp->isLessThanOrEqualTo(*this, other); - - if (cmp1) - return cmp1->isLessThanOrEqualTo(*this, other.convertTo(*_type)); - - return cmp2->isLessThanOrEqualTo(convertTo(*other._type), other); -} - -bool Value::operator !=(const Value& other) const -{ - return !operator==(other); -} - -bool Value::operator >(const Value& other) const -{ - return !operator<=(other); -} - -bool Value::operator <(const Value& other) const -{ - const Comparator* cmp1 = _type->getComparator(); - const Comparator* cmp2 = other._type->getComparator(); - - const Comparator* cmp = cmp1? cmp1: cmp2; - - if (!cmp) - throw ComparisonNotPermittedException(_type->getExtendedTypeInfo()); - - if (cmp1 == cmp2) - return cmp->isLessThanOrEqualTo(*this, other) && !cmp->isEqualTo(*this, other); - - if (cmp1) - { - Value temp(other.convertTo(*_type)); - return cmp1->isLessThanOrEqualTo(*this, temp) && !cmp1->isEqualTo(*this, temp); - } - - Value temp(convertTo(*other._type)); - return cmp2->isLessThanOrEqualTo(temp, other) && !cmp2->isEqualTo(temp, other); -} - -bool Value::operator >=(const Value& other) const -{ - const Comparator* cmp1 = _type->getComparator(); - const Comparator* cmp2 = other._type->getComparator(); - - const Comparator* cmp = cmp1? cmp1: cmp2; - - if (!cmp) - throw ComparisonNotPermittedException(_type->getExtendedTypeInfo()); - - if (cmp1 == cmp2) - return !cmp->isLessThanOrEqualTo(*this, other) || cmp->isEqualTo(*this, other); - - if (cmp1) - { - Value temp(other.convertTo(*_type)); - return !cmp1->isLessThanOrEqualTo(*this, temp) || cmp1->isEqualTo(*this, temp); - } - - Value temp(convertTo(*other._type)); - return !cmp2->isLessThanOrEqualTo(temp, other) || cmp2->isEqualTo(temp, other); -} diff --git a/src/osgIntrospection/Version.cpp b/src/osgIntrospection/Version.cpp deleted file mode 100644 index c127b91da..000000000 --- a/src/osgIntrospection/Version.cpp +++ /dev/null @@ -1,30 +0,0 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield - * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or - * (at your option) any later version. The full license is in LICENSE file - * included with this distribution, and on the openscenegraph.org website. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * OpenSceneGraph Public License for more details. -*/ - -#include -#include - -extern "C" { - -const char* osgIntrospectionGetVersion() -{ - return osgGetVersion(); -} - - -const char* osgIntrospectionGetLibraryName() -{ - return "OpenSceneGraph Introspection Library"; -} - -} diff --git a/src/osgWrappers/introspection/CMakeLists.txt b/src/osgWrappers/introspection/CMakeLists.txt deleted file mode 100644 index 59e9aab62..000000000 --- a/src/osgWrappers/introspection/CMakeLists.txt +++ /dev/null @@ -1,155 +0,0 @@ -PROJECT(OSG_WRAPPERS) - -IF(NOT DYNAMIC_OPENSCENEGRAPH) - ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC) -ENDIF() - -SET(LIBRARY_OUTPUT_PATH "${LIBRARY_OUTPUT_PATH}/${OSG_PLUGINS}") - -SET(CMAKE_SHARED_MODULE_PREFIX ${OSG_PLUGIN_PREFIX}) - -IF(MSVC80 OR MSVC90) - IF(NOT OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS) - SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} /MANIFEST:NO") - ENDIF() -ENDIF() - -MACRO(ADD_WRAPPER_LIB SUBDIR EXPORTDEF) - SET(TARGET_NAME "osgwrapper_${SUBDIR}") -# MESSAGE(STATUS "--inizio-->${TARGET_NAME}<->${LINK}<-") - - FILE(GLOB SRC_FILES ${OSGWRAPPER_DIR}/${SUBDIR}/*.cpp) - - #-- extract link files, defines, exclude files form additional arguments - - SET(LISTNAME "TEMP") - SET(DEFSTR "") - - FOREACH(ARG ${ARGN}) # parse remaining args - #MESSAGE(STATUS "+ [${ARG}]") - #MESSAGE("ARG-->${ARG}") - # if we find our keywords set the active list to given keyname - STRING(COMPARE EQUAL "${ARG}" "LINK" IS_LINK) - STRING(COMPARE EQUAL "${ARG}" "DEFINE" IS_DEFINE) - STRING(COMPARE EQUAL "${ARG}" "EXCLUDE" IS_EXCLUDE) - - #MESSAGE(STATUS "STRSTUFF L ${IS_LINK} D ${IS_DEFINE} E ${IS_EXCLUDE}") - - SET(EXPRESSION ${IS_LINK} OR ${IS_DEFINE} OR ${IS_EXCLUDE}) - IF(${EXPRESSION}) - SET(${LISTNAME} ${CURRLIST}) - # MESSAGE(STATUS "STORED LIST [${LISTNAME}] = (${CURRLIST})") - SET(LISTNAME ${ARG}) - REMOVE(CURRLIST ${CURRLIST} ) - ELSE() - SET(CURRLIST ${CURRLIST} ${ARG}) - ENDIF() - ENDFOREACH() - SET(${LISTNAME} ${CURRLIST}) - #MESSAGE(STATUS "STORED LIST [${LISTNAME}] = (${CURRLIST})") - REMOVE(CURRLIST ${CURRLIST} ) - - #MESSAGE(STATUS "AFTER: EXC (${EXCLUDE}) DEF (${DEFINE}) LINK (${LINK})") - FOREACH(EXF ${EXCLUDE}) - REMOVE(SRC_FILES ${OPENSCENEGRAPH_DIR}/src/${SUBDIR}/${EXF}) - ENDFOREACH() - - FOREACH(DEF ${DEFINE}) - SET(DEFSTR "${DEFSTR} /D \"${DEF}\"") - #MESSAGE(STATUS "add symbol : " ${DEF}) - ENDFOREACH() - - IF(NOT DEFSTR STREQUAL "") - SET_SOURCE_FILES_PROPERTIES(${SRC_FILES} PROPERTIES COMPILE_FLAGS ${DEFSTR}) - #MESSAGE(STATUS "********* ADD COMPILE FLAGS ${DEFSTR} **********") - ENDIF() - - #ADD_LIBRARY(${TARGET_NAME} SHARED ${SRC_FILES} ) - ADD_LIBRARY(${TARGET_NAME} MODULE ${SRC_FILES} ) - - #not sure if needed, but for plugins only msvc need the d suffix - IF(NOT MSVC) - SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES DEBUG_POSTFIX "") - ELSE() - IF(OSG_MSVC_VERSIONED_DLL) - #this is a hack... the build place is set to lib/ by LIBARARY_OUTPUT_PATH equal to OUTPUT_LIBDIR - #the .lib will be crated in ../ so going straight in lib by the IMPORT_PREFIX property - #because we want dll placed in OUTPUT_BINDIR ie the bin folder sibling of lib, we can use ../../bin to go there, - #it is hardcoded, we should compute OUTPUT_BINDIR position relative to OUTPUT_LIBDIR ... to be implemented - #changing bin to something else breaks this hack - #the dll are placed in bin/${OSG_PLUGINS} - - IF(NOT MSVC_IDE) - SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES PREFIX "../bin/${OSG_PLUGINS}/") - ELSE() - SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES PREFIX "../../bin/${OSG_PLUGINS}/" IMPORT_PREFIX "../") - ENDIF() - - ELSE() - #in standard mode (unversioned) the .lib and .dll are placed in lib//${OSG_PLUGINS}. - #here the PREFIX property has been used, the same result would be accomplidhe by prepending ${OSG_PLUGINS}/ to OUTPUT_NAME target property - SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES PREFIX "${OSG_PLUGINS}/") - ENDIF() - ENDIF() - - SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES DEFINE_SYMBOL "${EXPORTDEF}" PROJECT_LABEL "Wrapper ${SUBDIR}") - IF(MSVC AND OSG_MSVC_VERSIONED_DLL) - LINK_INTERNAL(${TARGET_NAME} ${LINK}) - #when using full path name to specify linkage, it seems that already linked libs must be specified - LINK_EXTERNAL(${TARGET_NAME} ${OPENGL_LIBRARIES}) - - ELSE() - TARGET_LINK_LIBRARIES(${TARGET_NAME} ${LINK}) - ENDIF() - #MESSAGE(STATUS "--TARGET_LINK_LIBRARIES-->${TARGET_NAME}<->${LINK}<-") - - #FIXME: Deprecated - REMOVE(DEFINE ${DEFINE}) - REMOVE(LINK ${LINK}) - REMOVE(EXCLUDE ${EXCLUDE}) - - IF(WIN32) - INSTALL(TARGETS ${TARGET_NAME} - RUNTIME DESTINATION bin - ARCHIVE DESTINATION lib/${OSG_PLUGINS} - LIBRARY DESTINATION bin/${OSG_PLUGINS} - COMPONENT libopenscenegraph-wrappers) - ELSE() - INSTALL(TARGETS ${TARGET_NAME} - RUNTIME DESTINATION bin - ARCHIVE DESTINATION lib${LIB_POSTFIX}/${OSG_PLUGINS} - LIBRARY DESTINATION lib${LIB_POSTFIX}/${OSG_PLUGINS} - COMPONENT libopenscenegraph-wrappers) - ENDIF() -ENDMACRO(ADD_WRAPPER_LIB) - -SET(OSGWRAPPER_LIB_LIST - OpenThreads - osg - osgAnimation - osgDB - osgFX - osgGA - osgManipulator - osgParticle - osgPresentation - osgShadow - osgSim - osgTerrain - osgText - osgUtil - osgViewer - osgVolume - osgWidget -) - - -SET(OSGWRAPPER_DIR ${CMAKE_CURRENT_SOURCE_DIR}) - -IF(MSVC) - SET(LIBRARY_OUTPUT_PATH ${OUTPUT_LIBDIR}) -ENDIF() - -FOREACH(LIB ${OSGWRAPPER_LIB_LIST}) - ADD_WRAPPER_LIB(${LIB} OSGWRAPPERS_LIBRARY LINK OpenThreads osg osgGA ${LIB} osgIntrospection) -ENDFOREACH() diff --git a/src/osgWrappers/introspection/Doxyfile.template b/src/osgWrappers/introspection/Doxyfile.template deleted file mode 100644 index c2952aca1..000000000 --- a/src/osgWrappers/introspection/Doxyfile.template +++ /dev/null @@ -1,236 +0,0 @@ -# Doxyfile 1.4.1 - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- -PROJECT_NAME = "OSG Introspection Wrappers" -PROJECT_NUMBER = -OUTPUT_DIRECTORY = "$(OUTPUT_DIR)" -CREATE_SUBDIRS = NO -OUTPUT_LANGUAGE = English -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = YES -ABBREVIATE_BRIEF = "The $name class" \ - "The $name widget" \ - "The $name file" \ - is \ - provides \ - specifies \ - contains \ - represents \ - a \ - an \ - the -ALWAYS_DETAILED_SEC = NO -INLINE_INHERITED_MEMB = NO -FULL_PATH_NAMES = YES -STRIP_FROM_PATH = "$(INPUT_DIR)" -STRIP_FROM_INC_PATH = -SHORT_NAMES = NO -JAVADOC_AUTOBRIEF = YES -MULTILINE_CPP_IS_BRIEF = NO -INHERIT_DOCS = YES -DISTRIBUTE_GROUP_DOC = NO -TAB_SIZE = 8 -ALIASES = -OPTIMIZE_OUTPUT_FOR_C = NO -OPTIMIZE_OUTPUT_JAVA = NO -SUBGROUPING = YES -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- -EXTRACT_ALL = YES -EXTRACT_PRIVATE = YES -EXTRACT_STATIC = YES -EXTRACT_LOCAL_CLASSES = YES -EXTRACT_LOCAL_METHODS = NO -HIDE_UNDOC_MEMBERS = NO -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -INTERNAL_DOCS = NO -CASE_SENSE_NAMES = NO -HIDE_SCOPE_NAMES = NO -SHOW_INCLUDE_FILES = YES -INLINE_INFO = YES -SORT_MEMBER_DOCS = YES -SORT_BRIEF_DOCS = NO -SORT_BY_SCOPE_NAME = NO -GENERATE_TODOLIST = NO -GENERATE_TESTLIST = NO -GENERATE_BUGLIST = NO -GENERATE_DEPRECATEDLIST= NO -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 30 -SHOW_USED_FILES = YES -SHOW_DIRECTORIES = YES -FILE_VERSION_FILTER = -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = YES -WARNINGS = YES -WARN_IF_UNDOCUMENTED = YES -WARN_IF_DOC_ERROR = YES -WARN_NO_PARAMDOC = NO -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = "$(INPUT_DIR)include" -FILE_PATTERNS = */include/* -RECURSIVE = YES -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = "*/include/osgIntrospection/*" "*/include/CVS/*" "*/include/osg*/CVS/*" "*.#*" "*/.svn/*" -EXAMPLE_PATH = -EXAMPLE_PATTERNS = * -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = -INPUT_FILTER = -FILTER_PATTERNS = -FILTER_SOURCE_FILES = NO -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = NO -REFERENCES_RELATION = NO -VERBATIM_HEADERS = NO -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = NO -COLS_IN_ALPHA_INDEX = 5 -IGNORE_PREFIX = -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = NO -HTML_OUTPUT = html -HTML_FILE_EXTENSION = .html -HTML_HEADER = -HTML_FOOTER = -HTML_STYLESHEET = -HTML_ALIGN_MEMBERS = YES -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -BINARY_TOC = NO -TOC_EXPAND = NO -DISABLE_INDEX = NO -ENUM_VALUES_PER_LINE = 4 -GENERATE_TREEVIEW = NO -TREEVIEW_WIDTH = 250 -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = NO -LATEX_OUTPUT = latex -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO -LATEX_BATCHMODE = NO -LATEX_HIDE_INDICES = NO -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = YES -XML_OUTPUT = xml -XML_SCHEMA = -XML_DTD = -XML_PROGRAMLISTING = YES -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = YES -EXPAND_ONLY_PREDEF = YES -SEARCH_INCLUDES = YES -INCLUDE_PATH = "$(INPUT_DIR)include" -INCLUDE_FILE_PATTERNS = -EXPAND_AS_DEFINED = META_Object \ - META_StateAttribute \ - META_Node \ - META_Shape \ - META_Technique \ - META_NodeVisitor \ - META_Effect \ - META_Action \ - META_ActionVisitor \ - META_OSGMANIPULATOR_Object - -PREDEFINED = -SKIP_FUNCTION_MACROS = YES -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/bin/perl -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = NO -HIDE_UNDOC_RELATIONS = YES -HAVE_DOT = NO -CLASS_GRAPH = YES -COLLABORATION_GRAPH = YES -GROUP_GRAPHS = YES -UML_LOOK = NO -TEMPLATE_RELATIONS = NO -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = YES -CALL_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DIRECTORY_GRAPH = YES -DOT_IMAGE_FORMAT = png -DOT_PATH = -DOTFILE_DIRS = -MAX_DOT_GRAPH_DEPTH = 1000 -DOT_TRANSPARENT = NO -DOT_MULTI_TARGETS = NO -GENERATE_LEGEND = YES -DOT_CLEANUP = YES -#--------------------------------------------------------------------------- -# Configuration::additions related to the search engine -#--------------------------------------------------------------------------- -SEARCHENGINE = NO diff --git a/src/osgWrappers/introspection/OpenThreads/Atomic.cpp b/src/osgWrappers/introspection/OpenThreads/Atomic.cpp deleted file mode 100644 index 3001dd055..000000000 --- a/src/osgWrappers/introspection/OpenThreads/Atomic.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - diff --git a/src/osgWrappers/introspection/OpenThreads/Barrier.cpp b/src/osgWrappers/introspection/OpenThreads/Barrier.cpp deleted file mode 100644 index 88bb51874..000000000 --- a/src/osgWrappers/introspection/OpenThreads/Barrier.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(OpenThreads::Barrier) - I_DeclaringFile("OpenThreads/Barrier"); - I_ConstructorWithDefaults1(IN, int, numThreads, 0, - Properties::NON_EXPLICIT, - ____Barrier__int, - "Constructor. ", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Reset the barrier to it's original state. ", - ""); - I_MethodWithDefaults1(void, block, IN, unsigned int, numThreads, 0, - Properties::VIRTUAL, - __void__block__unsigned_int, - "Block until numThreads threads have entered the barrier. ", - ""); - I_Method0(void, release, - Properties::VIRTUAL, - __void__release, - "Release the barrier, now. ", - ""); - I_Method0(int, numThreadsCurrentlyBlocked, - Properties::VIRTUAL, - __int__numThreadsCurrentlyBlocked, - "Return the number of threads currently blocked in the barrier, Return -1 if error. ", - ""); - I_Method0(void, invalidate, - Properties::NON_VIRTUAL, - __void__invalidate, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/OpenThreads/Block.cpp b/src/osgWrappers/introspection/OpenThreads/Block.cpp deleted file mode 100644 index 7ba6cd1f9..000000000 --- a/src/osgWrappers/introspection/OpenThreads/Block.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(OpenThreads::Block) - I_DeclaringFile("OpenThreads/Block"); - I_Constructor0(____Block, - "", - ""); - I_Method0(bool, block, - Properties::NON_VIRTUAL, - __bool__block, - "", - ""); - I_Method1(bool, block, IN, unsigned long, timeout, - Properties::NON_VIRTUAL, - __bool__block__unsigned_long, - "", - ""); - I_Method0(void, release, - Properties::NON_VIRTUAL, - __void__release, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method1(void, set, IN, bool, doRelease, - Properties::NON_VIRTUAL, - __void__set__bool, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(OpenThreads::BlockCount) - I_DeclaringFile("OpenThreads/Block"); - I_Constructor1(IN, unsigned int, blockCount, - Properties::NON_EXPLICIT, - ____BlockCount__unsigned_int, - "", - ""); - I_Method0(void, completed, - Properties::NON_VIRTUAL, - __void__completed, - "", - ""); - I_Method0(void, block, - Properties::NON_VIRTUAL, - __void__block, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(void, release, - Properties::NON_VIRTUAL, - __void__release, - "", - ""); - I_Method1(void, setBlockCount, IN, unsigned int, blockCount, - Properties::NON_VIRTUAL, - __void__setBlockCount__unsigned_int, - "", - ""); - I_Method0(unsigned int, getBlockCount, - Properties::NON_VIRTUAL, - __unsigned_int__getBlockCount, - "", - ""); - I_Method0(unsigned int, getCurrentCount, - Properties::NON_VIRTUAL, - __unsigned_int__getCurrentCount, - "", - ""); - I_SimpleProperty(unsigned int, BlockCount, - __unsigned_int__getBlockCount, - __void__setBlockCount__unsigned_int); - I_SimpleProperty(unsigned int, CurrentCount, - __unsigned_int__getCurrentCount, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/OpenThreads/Condition.cpp b/src/osgWrappers/introspection/OpenThreads/Condition.cpp deleted file mode 100644 index b670ace21..000000000 --- a/src/osgWrappers/introspection/OpenThreads/Condition.cpp +++ /dev/null @@ -1,52 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(OpenThreads::Condition) - I_DeclaringFile("OpenThreads/Condition"); - I_Constructor0(____Condition, - "Constructor. ", - ""); - I_Method1(int, wait, IN, OpenThreads::Mutex *, mutex, - Properties::VIRTUAL, - __int__wait__Mutex_P1, - "Wait on a mutex. ", - ""); - I_Method2(int, wait, IN, OpenThreads::Mutex *, mutex, IN, unsigned long int, ms, - Properties::VIRTUAL, - __int__wait__Mutex_P1__unsigned_long_int, - "Wait on a mutex for a given amount of time (ms). ", - "0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(int, signal, - Properties::VIRTUAL, - __int__signal, - "Signal a SINGLE thread to wake if it's waiting. ", - "0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(int, broadcast, - Properties::VIRTUAL, - __int__broadcast, - "Wake all threads waiting on this condition. ", - "0 if normal, -1 if errno set, errno code otherwise. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/OpenThreads/Mutex.cpp b/src/osgWrappers/introspection/OpenThreads/Mutex.cpp deleted file mode 100644 index 391cc9d65..000000000 --- a/src/osgWrappers/introspection/OpenThreads/Mutex.cpp +++ /dev/null @@ -1,62 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(OpenThreads::Mutex::MutexType) - I_DeclaringFile("OpenThreads/Mutex"); - I_EnumLabel(OpenThreads::Mutex::MUTEX_NORMAL); - I_EnumLabel(OpenThreads::Mutex::MUTEX_RECURSIVE); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(OpenThreads::Mutex) - I_DeclaringFile("OpenThreads/Mutex"); - I_ConstructorWithDefaults1(IN, OpenThreads::Mutex::MutexType, type, OpenThreads::Mutex::MUTEX_NORMAL, - Properties::NON_EXPLICIT, - ____Mutex__MutexType, - "Constructor. ", - ""); - I_Method0(OpenThreads::Mutex::MutexType, getMutexType, - Properties::NON_VIRTUAL, - __MutexType__getMutexType, - "", - ""); - I_Method0(int, lock, - Properties::VIRTUAL, - __int__lock, - "Lock the mutex. ", - "0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(int, unlock, - Properties::VIRTUAL, - __int__unlock, - "Unlock the mutex. ", - "0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(int, trylock, - Properties::VIRTUAL, - __int__trylock, - "Test if mutex can be locked. ", - "0 if normal, -1 if errno set, errno code otherwise. "); - I_SimpleProperty(OpenThreads::Mutex::MutexType, MutexType, - __MutexType__getMutexType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/OpenThreads/ReadWriteMutex.cpp b/src/osgWrappers/introspection/OpenThreads/ReadWriteMutex.cpp deleted file mode 100644 index 6a0108735..000000000 --- a/src/osgWrappers/introspection/OpenThreads/ReadWriteMutex.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(OpenThreads::ReadWriteMutex) - I_DeclaringFile("OpenThreads/ReadWriteMutex"); - I_Constructor0(____ReadWriteMutex, - "", - ""); - I_Method0(int, readLock, - Properties::VIRTUAL, - __int__readLock, - "", - ""); - I_Method0(int, readUnlock, - Properties::VIRTUAL, - __int__readUnlock, - "", - ""); - I_Method0(int, writeLock, - Properties::VIRTUAL, - __int__writeLock, - "", - ""); - I_Method0(int, writeUnlock, - Properties::VIRTUAL, - __int__writeUnlock, - "", - ""); - I_ProtectedConstructor1(IN, const OpenThreads::ReadWriteMutex &, x, - Properties::NON_EXPLICIT, - ____ReadWriteMutex__C5_ReadWriteMutex_R1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(OpenThreads::ScopedReadLock) - I_DeclaringFile("OpenThreads/ReadWriteMutex"); - I_Constructor1(IN, OpenThreads::ReadWriteMutex &, mutex, - Properties::NON_EXPLICIT, - ____ScopedReadLock__ReadWriteMutex_R1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(OpenThreads::ScopedWriteLock) - I_DeclaringFile("OpenThreads/ReadWriteMutex"); - I_Constructor1(IN, OpenThreads::ReadWriteMutex &, mutex, - Properties::NON_EXPLICIT, - ____ScopedWriteLock__ReadWriteMutex_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/OpenThreads/ReentrantMutex.cpp b/src/osgWrappers/introspection/OpenThreads/ReentrantMutex.cpp deleted file mode 100644 index 0eb16a752..000000000 --- a/src/osgWrappers/introspection/OpenThreads/ReentrantMutex.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(OpenThreads::ReentrantMutex) - I_DeclaringFile("OpenThreads/ReentrantMutex"); - I_BaseType(OpenThreads::Mutex); - I_Constructor0(____ReentrantMutex, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/OpenThreads/Thread.cpp b/src/osgWrappers/introspection/OpenThreads/Thread.cpp deleted file mode 100644 index 8b2c35714..000000000 --- a/src/osgWrappers/introspection/OpenThreads/Thread.cpp +++ /dev/null @@ -1,213 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(OpenThreads::Thread::ThreadPriority) - I_DeclaringFile("OpenThreads/Thread"); - I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_MAX); - I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_HIGH); - I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_NOMINAL); - I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_LOW); - I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_MIN); - I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_DEFAULT); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(OpenThreads::Thread::ThreadPolicy) - I_DeclaringFile("OpenThreads/Thread"); - I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_FIFO); - I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_ROUND_ROBIN); - I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_TIME_SHARE); - I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_DEFAULT); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(OpenThreads::Thread) - I_DeclaringFile("OpenThreads/Thread"); - I_StaticMethod1(int, SetConcurrency, IN, int, concurrencyLevel, - __int__SetConcurrency__int_S, - "Set the concurrency level for a running application. ", - "This method only has effect if the pthreads thread model is being used, and then only when that model is many-to-one (eg. irix). in other cases it is ignored. The concurrency level is only a *hint* as to the number of execution vehicles to use, the actual implementation may do anything it wants. Setting the value to 0 returns things to their default state.previous concurrency level, -1 indicates no-op. "); - I_StaticMethod0(int, GetConcurrency, - __int__GetConcurrency_S, - "Get the concurrency level for a running application. ", - "In this case, a return code of 0 means that the application is in default mode. A return code of -1 means that the application is incapable of setting an arbitrary concurrency, because it is a one-to-one execution model (sprocs, linuxThreads) "); - I_StaticMethod0(OpenThreads::Thread *, CurrentThread, - __Thread_P1__CurrentThread_S, - "Return a pointer to the current running thread. ", - ""); - I_StaticMethod0(void, Init, - __void__Init_S, - "Initialize Threading in a program. ", - "This method must be called before you can do any threading in a program. "); - I_StaticMethod0(int, YieldCurrentThread, - __int__YieldCurrentThread_S, - "Yield the processor. ", - "This method operates on the calling process. And is equivalent to calling sched_yield(). 0 if normal, -1 if errno set, errno code otherwise. "); - I_StaticMethod0(OpenThreads::Thread::ThreadPriority, GetMasterPriority, - __ThreadPriority__GetMasterPriority_S, - "This method will return the ThreadPriority of the master process. ", - "(ie, the one calling the thread->start() methods for the first time) The method will almost certainly return Thread::THREAD_PRIORITY_DEFAULT if Init() has not been called.the Thread::ThreadPriority of the master thread. "); - I_StaticMethod1(int, microSleep, IN, unsigned int, microsec, - __int__microSleep__unsigned_int_S, - "microSleep method, equivilant to the posix usleep(microsec). ", - "This is not strictly thread API but is used so often with threads. It's basically UNIX usleep. Parameter is number of microseconds we current thread to sleep. Returns 0 on succes, non-zero on failure (UNIX errno or GetLastError() will give detailed description. "); - I_Constructor0(____Thread, - "Constructor. ", - ""); - I_Method0(int, getThreadId, - Properties::NON_VIRTUAL, - __int__getThreadId, - "Get a unique thread id. ", - "This id is monotonically increasing.a unique thread identifier "); - I_Method0(size_t, getProcessId, - Properties::NON_VIRTUAL, - __size_t__getProcessId, - "Get the thread's process id. ", - "This is the pthread_t or pid_t value depending on the threading model being used.thread process id. "); - I_Method0(int, start, - Properties::NON_VIRTUAL, - __int__start, - "Start the thread. ", - "This method will configure the thread, set it's priority, and spawn it.if the stack size specified setStackSize is smaller than the smallest allowable stack size, the threads stack size will be set to the minimum allowed, and may be retrieved via the getStackSize() 0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(int, startThread, - Properties::NON_VIRTUAL, - __int__startThread, - "", - ""); - I_Method0(int, testCancel, - Properties::NON_VIRTUAL, - __int__testCancel, - "Test the cancel state of the thread. ", - "If the thread has been canceled this method will cause the thread to exit now. This method operates on the calling thread.Returns 0 if normal, -1 if called from a thread other that this. "); - I_Method0(int, cancel, - Properties::VIRTUAL, - __int__cancel, - "Cancel the thread. ", - "Equivalent to SIGKILL.0 if normal, -1 if errno set, errno code otherwise. "); - I_Method1(int, setSchedulePriority, IN, OpenThreads::Thread::ThreadPriority, priority, - Properties::NON_VIRTUAL, - __int__setSchedulePriority__ThreadPriority, - "Set the thread's schedule priority. ", - "This is a complex method. Beware of thread priorities when using a many-to-many kernel entity implemenation (such as IRIX pthreads). If one is not carefull to manage the thread priorities, a priority inversion deadlock can easily occur (Although the OpenThreads::Mutex & OpenThreads::Barrier constructs have been designed with this senario in mind). Unless you have explicit need to set the schedule pirorites for a given task, it is best to leave them alone.some implementations (notably LinuxThreads and IRIX Sprocs) only alow you to decrease thread priorities dynamically. Thus, a lower priority thread will not allow it's priority to be raised on the fly.seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. 0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(int, getSchedulePriority, - Properties::NON_VIRTUAL, - __int__getSchedulePriority, - "Get the thread's schedule priority (if able). ", - "seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. 0 if normal, -1 if errno set, errno code otherwise. "); - I_Method1(int, setSchedulePolicy, IN, OpenThreads::Thread::ThreadPolicy, policy, - Properties::NON_VIRTUAL, - __int__setSchedulePolicy__ThreadPolicy, - "Set the thread's scheduling policy (if able). ", - "On some implementations (notably IRIX Sprocs & LinuxThreads) The policy may prohibit the use of SCHEDULE_ROUND_ROBIN and SCHEDULE_FIFO policies - due to their real-time nature, and the danger of deadlocking the machine when used as super-user. In such cases, the command is a no-op.seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. 0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(int, getSchedulePolicy, - Properties::NON_VIRTUAL, - __int__getSchedulePolicy, - "Get the thread's policy (if able). ", - "seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. policy if normal, -1 if errno set, errno code otherwise. "); - I_Method1(int, setStackSize, IN, size_t, size, - Properties::NON_VIRTUAL, - __int__setStackSize__size_t, - "Set the thread's desired stack size (in bytes). ", - "This method is an attribute of the thread and must be called *before* the start() method is invoked.a return code of 13 (EACESS) means that the thread stack size can no longer be changed. 0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(size_t, getStackSize, - Properties::NON_VIRTUAL, - __size_t__getStackSize, - "Get the thread's desired stack size. ", - "the thread's stack size. 0 indicates that the stack size has either not yet been initialized, or not yet been specified by the application. "); - I_Method0(void, printSchedulingInfo, - Properties::NON_VIRTUAL, - __void__printSchedulingInfo, - "Print the thread's scheduling information to stdout. ", - ""); - I_Method0(int, detach, - Properties::NON_VIRTUAL, - __int__detach, - "Detach the thread from the calling process. ", - "0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(int, join, - Properties::NON_VIRTUAL, - __int__join, - "Join the calling process with the thread. ", - "0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(int, setCancelModeDisable, - Properties::NON_VIRTUAL, - __int__setCancelModeDisable, - "Disable thread cancelation altogether. ", - "Thread::cancel() has no effect.0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(int, setCancelModeAsynchronous, - Properties::NON_VIRTUAL, - __int__setCancelModeAsynchronous, - "Mark the thread to cancel aysncronously on Thread::cancel(). ", - "(May not be available with process-level implementations).0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(int, setCancelModeDeferred, - Properties::NON_VIRTUAL, - __int__setCancelModeDeferred, - "Mark the thread to cancel at the earliest convenience on Thread::cancel() (This is the default). ", - "0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(bool, isRunning, - Properties::NON_VIRTUAL, - __bool__isRunning, - "Query the thread's running status. ", - "true if running, false if not. "); - I_Method0(void, run, - Properties::PURE_VIRTUAL, - __void__run, - "Thread's run method. ", - "Must be implemented by derived classes. This is where the action happens. "); - I_Method0(void, cancelCleanup, - Properties::VIRTUAL, - __void__cancelCleanup, - "Thread's cancel cleanup routine, called upon cancel(), after the cancelation has taken place, but before the thread exits completely. ", - "This method should be used to repair parts of the thread's data that may have been damaged by a pre-mature cancel. No-op by default. "); - I_Method0(void *, getImplementation, - Properties::NON_VIRTUAL, - __void_P1__getImplementation, - "", - ""); - I_Method1(int, setProcessorAffinity, IN, unsigned int, cpunum, - Properties::NON_VIRTUAL, - __int__setProcessorAffinity__unsigned_int, - "Thread's processor affinity method. ", - "This binds a thread to a processor whenever possible. This call must be made before start() or startThread() and has no effect after the thread has been running. In the pthreads implementation, this is only implemented on sgi, through a pthread extension. On other pthread platforms this is ignored. Returns 0 on success, implementation's error on failure, or -1 if ignored. "); - I_SimpleProperty(void *, Implementation, - __void_P1__getImplementation, - 0); - I_SimpleProperty(size_t, ProcessId, - __size_t__getProcessId, - 0); - I_SimpleProperty(unsigned int, ProcessorAffinity, - 0, - __int__setProcessorAffinity__unsigned_int); - I_SimpleProperty(OpenThreads::Thread::ThreadPolicy, SchedulePolicy, - 0, - __int__setSchedulePolicy__ThreadPolicy); - I_SimpleProperty(OpenThreads::Thread::ThreadPriority, SchedulePriority, - 0, - __int__setSchedulePriority__ThreadPriority); - I_SimpleProperty(size_t, StackSize, - __size_t__getStackSize, - __int__setStackSize__size_t); - I_SimpleProperty(int, ThreadId, - __int__getThreadId, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/genwrapper.conf b/src/osgWrappers/introspection/genwrapper.conf deleted file mode 100644 index 917833171..000000000 --- a/src/osgWrappers/introspection/genwrapper.conf +++ /dev/null @@ -1,586 +0,0 @@ -############################################################################# -# # -# GenWrapper Configuration File # -# # -############################################################################# - - -configure library "osgFX" - dependency unix "-losgUtil -losgDB" -end - -configure library "osgParticle" - dependency unix "-losgUtil -losgDB" -end - -configure library "osgGA" - dependency unix "-losgUtil" -end - -configure library "osgSim" - dependency unix "-losgUtil -losgText -losgDB" -end - -configure library "osgTerrain" - dependency win32-debug "gdal_iD.lib" - dependency win32-release "gdal_i.lib" - dependency unix "-losgDB -losgUtil -losgFX" -end - -configure library "osgText" - dependency unix "-losgDB" -end - -configure library "osgVolume" - dependency unix "-losgUtil -losgDB -losgGA" -end - -configure library "osgViewer" - dependency unix "-losgUtil -losgDB -losgGA -losgText" -end - -############################################################################# - -ignore file "osgDB/fstream" -ignore file "osgDB/DataTypes" -ignore file "osgDB/InputStream" -ignore file "osgDB/OutputStream" -ignore file "osgDB/StreamOperator" -ignore file "osgDB/Serializer" -ignore file "osgDB/ObjectWrapper" - -ignore file "osgUtil/PrintVisitor" -ignore file "osgUtil/OperationArrayFunctor" - -ignore file "osgViewer/api/X11/GraphicsWindowX11" -ignore file "osgViewer/api/Win32/GraphicsWindowWin32" -ignore file "osgViewer/api/Cocoa/GraphicsWindowCocoa" - -suppress reflector "osgUtil::AddRangeFunctor" -suppress reflector "osgUtil::MultiplyRangeFunctor" - -suppress reflector "CPluginFunction" -suppress reflector "PluginFunctionProxy" - -suppress reflector "osgWidget::UIObjectParent" - - -############################################################################# - -suppress reflector "osgShadow::ProjectionShadowMap" - -suppress reflector "osgShadow::DebugShadowMap::ViewData" -suppress reflector "osgShadow::DebugShadowMap::ViewData::PolytopeGeometry" -suppress reflector "osgShadow::ViewDependentShadowTechnique::ViewData" - -suppress reflector "osgShadow::MinimalDrawBoundsShadowMap::META_ViewDependentShadowTechniqueData" -suppress reflector "osgShadow::DebugShadowMap::META_ViewDependentShadowTechniqueData" -suppress reflector "osgShadow::MinimalCullBoundsShadowMap::META_ViewDependentShadowTechniqueData" -suppress reflector "osgShadow::MinimalShadowMap::META_ViewDependentShadowTechniqueData" -suppress reflector "osgShadow::ProjectionShadowMap::META_ViewDependentShadowTechniqueData" -suppress reflector "osgShadow::StandardShadowMap::META_ViewDependentShadowTechniqueData" -suppress reflector "osgShadow::ViewDependentShadowTechnique::META_ViewDependentShadowTechniqueData" - - -suppress reflector "osgShadow::ViewDependentShadowTechnique::getViewDependentData" -suppress reflector "osgShadow::ViewDependentShadowTechnique::setViewDependentData" -suppress reflector "osg::observer_ptr" - -############################################################################# - -configure file /osg\/GraphicsContext/ - emit before "#include - " -end - -configure file /osgViewer\/ViewerBase/ - emit before "#include - " -end - -configure file /osg\/BoundingBox/ - emit before "#include - " -end - -configure file /osg\/BoundingSphere/ - emit before "#include - " -end - -configure file /osgDB\/ReaderWriter/ - emit before "#include - " -end - -############################################################################# - -# add header to Plane, Quat and Vec* files - -configure file /osg\/(Plane|Quat|(Vec(2|3|4)(f|d|b|ub)))/ - emit before "#include - " -end - -# add ReaderWriter and Comparator objects to Vec*, Quat and Plane classes - -configure reflector /osg::(Plane|Quat|(Vec(2|3|4)(f|d|b|ub)))/ - readerwriter "osgIntrospection::StdReaderWriter" - comparator "osgIntrospection::PartialOrderComparator" -end - - -# add StateGraph includes in RenderLeaf.cpp - -configure file /osgUtil\/RenderLeaf/ - emit before "#include - " -end - -configure file /.*/ - emit before "#include - " -end - -############################################################################# - -# Doxygen fails to detect that std::vector is a base class for -# osg::Vector*, so we need to specify that manually - -configure reflector "osgText::VectorUInt" - add base "std::vector" -end - - -############################################################################# - -# Doxygen/genwrapper is not coping with the new MixinVector so disable associated wrappers - -suppress reflector /osg::TemplateIndexArray< GLbyte.*/ -suppress reflector /osg::TemplateIndexArray< GLubyte.*/ -suppress reflector /osg::TemplateIndexArray< GLshort.*/ -suppress reflector /osg::TemplateIndexArray< GLushort.*/ -suppress reflector /osg::TemplateIndexArray< GLint.*/ -suppress reflector /osg::TemplateIndexArray< GLuint.*/ -suppress reflector /osg::TemplateArray< GLfloat.*/ -suppress reflector /osg::TemplateArray< GLdouble.*/ -suppress reflector /osg::TemplateArray< osg::Vec2\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec3\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec4\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec2d\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec3d\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec4d\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec2b\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec3b\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec4b\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec2s\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec3s\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec4s\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Vec4ub\s*\,.*/ -suppress reflector /osg::TemplateArray< osg::Matrixf.*/ - -suppress reflector "osg::DrawArrayLengths" -suppress reflector "osg::DrawElementsUByte" -suppress reflector "osg::DrawElementsUShort" -suppress reflector "osg::DrawElementsUInt" - -suppress reflector "osg::VectorGLsizei" -suppress reflector "osg::VectorGLubyte" -suppress reflector "osg::VectorGLushort" -suppress reflector "osg::VectorGLuint" - -suppress reflector "osg::MixinVector< GLsizei >" -suppress reflector "osg::MixinVector< GLubyte >" -suppress reflector "osg::MixinVector< GLushort >" -suppress reflector "osg::MixinVector< GLuint >" - -suppress reflector "OpenThreads::Atomic" -suppress reflector "OpenThreads::AtomicPtr" - -suppress reflector "osg::BoundingBoxImpl< osg::Vec3f >" -suppress reflector "osg::BoundingBoxImpl< osg::Vec3d >" - -suppress reflector "osg::BoundingSphereImpl< osg::Vec3f >" -suppress reflector "osg::BoundingSphereImpl< osg::Vec3d >" - -suppress reflector "osgAnimation::TemplateTarget< osg::Quat >" -suppress reflector "osgAnimation::TemplateTarget< osg::Vec3 >" -suppress reflector "osgAnimation::TemplateTarget< osg::Vec4 >" -suppress reflector "osgAnimation::TemplateTarget< osg::Vec2 >" -suppress reflector "osgAnimation::TemplateTarget< float >" -suppress reflector "osgAnimation::TemplateTarget< double >" - -suppress reflector "osgAnimation::TemplateLinearInterpolator< double, double >" -suppress reflector "osgAnimation::TemplateLinearInterpolator< float, float >" -suppress reflector "osgAnimation::TemplateLinearInterpolator< osg::Vec2, osg::Vec2 >" -suppress reflector "osgAnimation::TemplateLinearInterpolator< osg::Vec3, osg::Vec3 >" -suppress reflector "osgAnimation::TemplateLinearInterpolator< osg::Vec3, osgAnimation::Vec3Packed >" -suppress reflector "osgAnimation::TemplateLinearInterpolator< osg::Vec4, osg::Vec4 >" -suppress reflector "osgAnimation::TemplateLinearInterpolator< osg::Matrixf, osg::Matrixf >" - -suppress reflector "osgAnimation::TemplateSphericalLinearInterpolator< osg::Quat, osg::Quat >" - -suppress reflector "osgAnimation::TemplateStepInterpolator< double, double >" -suppress reflector "osgAnimation::TemplateStepInterpolator< float, float >" -suppress reflector "osgAnimation::TemplateStepInterpolator< osg::Vec2, osg::Vec2 >" -suppress reflector "osgAnimation::TemplateStepInterpolator< osg::Vec3, osg::Vec3 >" -suppress reflector "osgAnimation::TemplateStepInterpolator< osg::Vec3, osgAnimation::Vec3Packed >" -suppress reflector "osgAnimation::TemplateStepInterpolator< osg::Vec4, osg::Vec4 >" -suppress reflector "osgAnimation::TemplateStepInterpolator< osg::Quat, osg::Quat >" - -suppress reflector "osgAnimation::TemplateCubicBezierInterpolator< float, osgAnimation::FloatCubicBezier >" -suppress reflector "osgAnimation::TemplateCubicBezierInterpolator< double, osgAnimation::DoubleCubicBezier >" -suppress reflector "osgAnimation::TemplateCubicBezierInterpolator< osg::Vec2, osgAnimation::Vec2CubicBezier >" -suppress reflector "osgAnimation::TemplateCubicBezierInterpolator< osg::Vec3, osgAnimation::Vec3CubicBezier >" -suppress reflector "osgAnimation::TemplateCubicBezierInterpolator< osg::Vec4, osgAnimation::Vec4CubicBezier >" - -suppress reflector "osgAnimation::TemplateKeyframe< float >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< float >" - -suppress reflector "osgAnimation::TemplateKeyframe< double >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< double >" - -suppress reflector "osgAnimation::TemplateKeyframe< osg::Vec2 >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< osg::Vec2 >" - -suppress reflector "osgAnimation::TemplateKeyframe< osg::Vec3 >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< osg::Vec3 >" - -suppress reflector "osgAnimation::TemplateKeyframe< osg::Vec4 >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< osg::Vec4 >" - -suppress reflector "osgAnimation::TemplateKeyframe< osg::Quat >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< osg::Quat >" - -suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::Vec3Packed >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3Packed >" - -suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::FloatCubicBezier >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::FloatCubicBezier >" - -suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::DoubleCubicBezier >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::DoubleCubicBezier >" - -suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::Vec2CubicBezier >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec2CubicBezier >" - -suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::Vec3CubicBezier >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3CubicBezier >" - -suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::Vec4CubicBezier >" -suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec4CubicBezier >" - -suppress reflector "osgAnimation::TemplateKeyframe< osg::Matrixf >" - -suppress reflector "osgAnimation::TemplateCubicBezier< float >" -suppress reflector "osgAnimation::TemplateCubicBezier< double >" -suppress reflector "osgAnimation::TemplateCubicBezier< osg::Vec2 >" -suppress reflector "osgAnimation::TemplateCubicBezier< osg::Vec3 >" -suppress reflector "osgAnimation::TemplateCubicBezier< osg::Vec4 >" -suppress reflector "osgAnimation::TemplateCubicBezier< osg::Vec4 >" - - -suppress reflector "osgAnimation::std::vector< osg::ref_ptr< osgAnimation::Channel > >" - -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::DoubleStepSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::FloatStepSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec2StepSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec3StepSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec4StepSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::QuatStepSampler >" - -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::DoubleLinearSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::FloatLinearSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec2LinearSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec3LinearSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec4LinearSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::QuatSphericalLinearSampler >" - -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::FloatCubicBezierSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::DoubleCubicBezierSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec2CubicBezierSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec3CubicBezierSampler >" -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec4CubicBezierSampler >" - -suppress reflector "osgAnimation::TemplateChannel< osgAnimation::MatrixLinearSampler >" - -suppress reflector "osgAnimation::TemplateSampler< osgAnimation::MatrixLinearInterpolator >" -suppress reflector "osgAnimation::TemplateSampler< osgAnimation::QuatStepInterpolator >" -suppress reflector "osgAnimation::TemplateSampler< osgAnimation::Vec2CubicBezierInterpolator >" -suppress reflector "osgAnimation::TemplateSampler< osgAnimation::Vec2LinearInterpolator >" -suppress reflector "osgAnimation::TemplateSampler< osgAnimation::Vec2StepInterpolator >" -suppress reflector "osgAnimation::TemplateSampler< osgAnimation::Vec3CubicBezierInterpolator >" -suppress reflector "osgAnimation::TemplateSampler< osgAnimation::Vec3LinearInterpolator >" -suppress reflector "osgAnimation::TemplateSampler< osgAnimation::Vec3StepInterpolator >" -suppress reflector "osgAnimation::TemplateSampler< osgAnimation::Vec4CubicBezierInterpolator >" -suppress reflector "osgAnimation::TemplateSampler< osgAnimation::Vec4LinearInterpolator >" -suppress reflector "osgAnimation::TemplateSampler< osgAnimation::Vec4StepInterpolator >" - -suppress reflector "osgAnimation::TemplateTarget< osg::Matrixf >" - -suppress reflector "osgAnimation::AnimationUpdateCallback" - -suppress reflector "osgAnimation::StackedTransform" - -suppress reflector "osgTerrain::TerrainNeighbours" - -suppress reflector "osgDB::Registry::getObjectWrapperManager" - -suppress reflector "osg::Observer" -suppress reflector "osg::ObserverSet" - -configure reflector "osgDB::Registry" - configure property "ObjectWrapperManager" - replace with "" - end -end - -############################################################################# - -# StateSet and related types need some advanced tweaking - -configure reflector "std::map< osg::StateAttribute::GLMode, osg::StateAttribute::GLModeValue >" - replace with "STD_MAP_REFLECTOR_WITH_TYPES(std::map< osg::StateAttribute::GLMode COMMA osg::StateAttribute::GLModeValue >, osg::StateAttribute::GLMode, osg::StateAttribute::Values)" -end - -configure reflector "osg::StateSet" - - # remove indexed property "Mode" because its index would not belong to a - # finite set of values - - configure property "Mode" - replace with "" - end - -end - -configure reflector "osg::Geometry" - - # define the count method for some Property - - - configure property "TexCoordData" - count_method "__unsigned_int__getNumTexCoordArrays" - end - - configure property "TexCoordIndices" - count_method "__unsigned_int__getNumTexCoordArrays" - end - - configure property "VertexAttribBinding" - count_method "__unsigned_int__getNumVertexAttribArrays" - end - - configure property "VertexAttribData" - count_method "__unsigned_int__getNumVertexAttribArrays" - end - - configure property "VertexAttribIndices" - count_method "__unsigned_int__getNumVertexAttribArrays" - end - - configure property "VertexAttribNormalize" - count_method "__unsigned_int__getNumVertexAttribArrays" - end - -end - -############################################################################# - -# Doxygen fails to detect that /osg::Texture(1D|2D|3D|Rectangle)/ and -# osgText::Font::GlyphTexture are not-abstract class, so we need -# to specify that manually - -configure reflector /osg::Texture(1D|2D|3D|Rectangle)/ - object-type -end - -configure reflector "osgText::Font::GlyphTexture" - object-type -end - -############################################################################# - -# must suppress reflector for osgDB::Output because some of its methods -# are not supported by osgIntrospection (they return non-const references) - -suppress reflector "osgDB::Output" - -############################################################################# - -# some types are incorrectly detected as value type or object type. Here we -# specify the type kind explicitly - -configure reflector "OpenThreads::Mutex" - object-type -end - -configure reflector "OpenThreads::Condition" - object-type -end - -configure reflector "OpenThreads::Block" - object-type -end - -configure reflector "OpenThreads::BlockCount" - object-type -end - -configure reflector "OpenThreads::Barrier" - object-type -end - -configure reflector "OpenThreads::ReentrantMutex" - object-type -end - -configure reflector "OpenThreads::ReadWriteMutex" - object-type -end - -configure reflector "osg::DeleteHandler" - object-type -end - -configure reflector "osg::GraphicsContext" - abstract-object-type -end - -############################################################################# - -# Suppress scoped lock template - -suppress reflector "OpenThreads::ScopedLock< OpenThreads::Mutex >" - -############################################################################# - -# Suppress nested nested class method - -configure reflector "osgShadow::OccluderGeometry" - configure method /.*_Edge_.*/ - replace with "" - end -end - -############################################################################# - -# Doxygen doesn't parse ReadFunc and WriteFunc correctly... - -configure reflector "osgDB::DotOsgWrapper::ReadFunc" - replace with "TYPE_NAME_ALIAS(bool (*)(osg::Object&,osgDB::Input&), osgDB::DotOsgWrapper::ReadFunc) - " -end - -configure reflector "osgDB::DotOsgWrapper::WriteFunc" - replace with "TYPE_NAME_ALIAS(bool (*)(const osg::Object&,osgDB::Output&), osgDB::DotOsgWrapper::WriteFunc) - " -end - -############################################################################# - -# temporary workaround for problems related to ambiguous name resolution - -suppress reflector "osg::ref_ptr< const osg::StateAttribute >" -suppress reflector "osg::ref_ptr< const osgFX::Effect >" - -############################################################################# - -# Doxygen incorrectly parses function typedefs as methods - -suppress reflector "osg::VertexProgram::Extensions" -suppress reflector "osg::StencilTwoSided::Extensions" -suppress reflector "osg::Texture3D::Extensions" -suppress reflector "osg::GL2Extensions" -suppress reflector "osg::GLBufferObject::Extensions" -suppress reflector "osg::FBOExtensions" -suppress reflector "osg::BlendColor::Extensions" -suppress reflector "osg::BlendEquation::Extensions" -suppress reflector "osg::BlendFunc::Extensions" -suppress reflector "osg::FragmentProgram::Extensions" -suppress reflector "osg::Multisample::Extensions" -suppress reflector "osg::Point::Extensions" -suppress reflector "osg::ClampColor::Extensions" -suppress reflector "osg::Texture::Extensions" -suppress reflector "osg::Texture2DArray::Extensions" -suppress reflector "osgSim::ShapeAttribute" -suppress reflector "osg::Drawable::Extensions" - -configure reflector "osg::State" - configure method "__typedef__void__GL_APIENTRY_P1" - replace with "" - end -end - -configure reflector "osgWidget::Window::Getter" - replace with "" -end - -configure reflector "osgWidget::MouseHandler::MouseAction" - replace with "" -end - -configure reflector "osgWidget::MouseHandler::MouseEvent" - replace with "" -end - - - -############################################################################# - -# avoid functions that use protected types, since those are not handled -# currently - -configure reflector "osgSim::OverlayNode" - configure method /.*getOverlayData.*/ - replace with "" - end -end - -configure reflector "osg::Shader" - configure method /.*_PerContextShader_.*/ - replace with "" - end -end - -configure reflector "osg::State" - configure method /.*_(ModeStack|AttributeStack|ModeMap|AttributeMap|UniformMap)_.*/ - replace with "" - end -end - -configure reflector "osgUtil::Optimizer::TextureAtlasBuilder" - configure method /.*_Source_.*/ - replace with "" - end -end - -configure reflector "osgUtil::Tessellator" - configure method /.*_VertexPtrToIndexMap_.*/ - replace with "" - end -end - -configure reflector "osgDB::Registry" - configure method /.*_(DynamicLibraryList_iterator|DotOsgWrapperMap)_.*/ - replace with "" - end -end - -configure reflector "osgText::FadeText" - configure method /.*_ViewBlendColou?rMap_.*/ - replace with "" - end -end - -configure reflector "osgParticle::PrecipitationEffect" - configure method /.*_PrecipitationDrawableSet_.*/ - replace with "" - end -end - -configure reflector "osgManipulator::MotionCommand" - configure method /.*_SelectionList_.*/ - replace with "" - end -end diff --git a/src/osgWrappers/introspection/osg/AlphaFunc.cpp b/src/osgWrappers/introspection/osg/AlphaFunc.cpp deleted file mode 100644 index c5fbc05e3..000000000 --- a/src/osgWrappers/introspection/osg/AlphaFunc.cpp +++ /dev/null @@ -1,135 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::AlphaFunc::ComparisonFunction) - I_DeclaringFile("osg/AlphaFunc"); - I_EnumLabel(osg::AlphaFunc::NEVER); - I_EnumLabel(osg::AlphaFunc::LESS); - I_EnumLabel(osg::AlphaFunc::EQUAL); - I_EnumLabel(osg::AlphaFunc::LEQUAL); - I_EnumLabel(osg::AlphaFunc::GREATER); - I_EnumLabel(osg::AlphaFunc::NOTEQUAL); - I_EnumLabel(osg::AlphaFunc::GEQUAL); - I_EnumLabel(osg::AlphaFunc::ALWAYS); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc) - I_DeclaringFile("osg/AlphaFunc"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____AlphaFunc, - "", - ""); - I_Constructor2(IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref, - ____AlphaFunc__ComparisonFunction__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::AlphaFunc &, af, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AlphaFunc__C5_AlphaFunc_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method2(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref, - Properties::NON_VIRTUAL, - __void__setFunction__ComparisonFunction__float, - "", - ""); - I_Method1(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func, - Properties::NON_VIRTUAL, - __void__setFunction__ComparisonFunction, - "", - ""); - I_Method0(osg::AlphaFunc::ComparisonFunction, getFunction, - Properties::NON_VIRTUAL, - __ComparisonFunction__getFunction, - "", - ""); - I_Method1(void, setReferenceValue, IN, float, value, - Properties::NON_VIRTUAL, - __void__setReferenceValue__float, - "", - ""); - I_Method0(float, getReferenceValue, - Properties::NON_VIRTUAL, - __float__getReferenceValue, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(osg::AlphaFunc::ComparisonFunction, Function, - __ComparisonFunction__getFunction, - __void__setFunction__ComparisonFunction); - I_SimpleProperty(float, ReferenceValue, - __float__getReferenceValue, - __void__setReferenceValue__float); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/AnimationPath.cpp b/src/osgWrappers/introspection/osg/AnimationPath.cpp deleted file mode 100644 index bc3604941..000000000 --- a/src/osgWrappers/introspection/osg/AnimationPath.cpp +++ /dev/null @@ -1,434 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::AnimationPath::LoopMode) - I_DeclaringFile("osg/AnimationPath"); - I_EnumLabel(osg::AnimationPath::SWING); - I_EnumLabel(osg::AnimationPath::LOOP); - I_EnumLabel(osg::AnimationPath::NO_LOOPING); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< double COMMA osg::AnimationPath::ControlPoint >, osg::AnimationPath::TimeControlPointMap) - -BEGIN_OBJECT_REFLECTOR(osg::AnimationPath) - I_DeclaringFile("osg/AnimationPath"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____AnimationPath, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::AnimationPath &, ap, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AnimationPath__C5_AnimationPath_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixf &, matrix, - Properties::NON_VIRTUAL, - __bool__getMatrix__double__Matrixf_R1, - "Given a specific time, return the transformation matrix for a point. ", - ""); - I_Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __bool__getMatrix__double__Matrixd_R1, - "Given a specific time, return the transformation matrix for a point. ", - ""); - I_Method2(bool, getInverse, IN, double, time, IN, osg::Matrixf &, matrix, - Properties::NON_VIRTUAL, - __bool__getInverse__double__Matrixf_R1, - "Given a specific time, return the inverse transformation matrix for a point. ", - ""); - I_Method2(bool, getInverse, IN, double, time, IN, osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __bool__getInverse__double__Matrixd_R1, - "", - ""); - I_Method2(bool, getInterpolatedControlPoint, IN, double, time, IN, osg::AnimationPath::ControlPoint &, controlPoint, - Properties::VIRTUAL, - __bool__getInterpolatedControlPoint__double__ControlPoint_R1, - "Given a specific time, return the local ControlPoint frame for a point. ", - ""); - I_Method2(void, insert, IN, double, time, IN, const osg::AnimationPath::ControlPoint &, controlPoint, - Properties::NON_VIRTUAL, - __void__insert__double__C5_ControlPoint_R1, - "Insert a control point into the AnimationPath. ", - ""); - I_Method0(double, getFirstTime, - Properties::NON_VIRTUAL, - __double__getFirstTime, - "", - ""); - I_Method0(double, getLastTime, - Properties::NON_VIRTUAL, - __double__getLastTime, - "", - ""); - I_Method0(double, getPeriod, - Properties::NON_VIRTUAL, - __double__getPeriod, - "", - ""); - I_Method1(void, setLoopMode, IN, osg::AnimationPath::LoopMode, lm, - Properties::NON_VIRTUAL, - __void__setLoopMode__LoopMode, - "", - ""); - I_Method0(osg::AnimationPath::LoopMode, getLoopMode, - Properties::NON_VIRTUAL, - __LoopMode__getLoopMode, - "", - ""); - I_Method1(void, setTimeControlPointMap, IN, osg::AnimationPath::TimeControlPointMap &, tcpm, - Properties::NON_VIRTUAL, - __void__setTimeControlPointMap__TimeControlPointMap_R1, - "", - ""); - I_Method0(osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap, - Properties::NON_VIRTUAL, - __TimeControlPointMap_R1__getTimeControlPointMap, - "", - ""); - I_Method0(const osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap, - Properties::NON_VIRTUAL, - __C5_TimeControlPointMap_R1__getTimeControlPointMap, - "", - ""); - I_Method0(bool, empty, - Properties::NON_VIRTUAL, - __bool__empty, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_Method1(void, read, IN, std::istream &, in, - Properties::NON_VIRTUAL, - __void__read__std_istream_R1, - "Read the animation path from a flat ASCII file stream. ", - ""); - I_Method1(void, write, IN, std::ostream &, out, - Properties::NON_VIRTUAL, - __void__write__std_ostream_R1, - "Write the animation path to a flat ASCII file stream. ", - ""); - I_Method2(void, write, IN, osg::AnimationPath::TimeControlPointMap::const_iterator, itr, IN, std::ostream &, out, - Properties::NON_VIRTUAL, - __void__write__TimeControlPointMap_C5_iterator__std_ostream_R1, - "Write the control point to a flat ASCII file stream. ", - ""); - I_SimpleProperty(double, FirstTime, - __double__getFirstTime, - 0); - I_SimpleProperty(double, LastTime, - __double__getLastTime, - 0); - I_SimpleProperty(osg::AnimationPath::LoopMode, LoopMode, - __LoopMode__getLoopMode, - __void__setLoopMode__LoopMode); - I_SimpleProperty(double, Period, - __double__getPeriod, - 0); - I_SimpleProperty(osg::AnimationPath::TimeControlPointMap &, TimeControlPointMap, - __TimeControlPointMap_R1__getTimeControlPointMap, - __void__setTimeControlPointMap__TimeControlPointMap_R1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::AnimationPath::ControlPoint) - I_DeclaringFile("osg/AnimationPath"); - I_Constructor0(____ControlPoint, - "", - ""); - I_Constructor1(IN, const osg::Vec3d &, position, - Properties::NON_EXPLICIT, - ____ControlPoint__C5_osg_Vec3d_R1, - "", - ""); - I_Constructor2(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation, - ____ControlPoint__C5_osg_Vec3d_R1__C5_osg_Quat_R1, - "", - ""); - I_Constructor3(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation, IN, const osg::Vec3d &, scale, - ____ControlPoint__C5_osg_Vec3d_R1__C5_osg_Quat_R1__C5_osg_Vec3d_R1, - "", - ""); - I_Method1(void, setPosition, IN, const osg::Vec3d &, position, - Properties::NON_VIRTUAL, - __void__setPosition__C5_osg_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getPosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getPosition, - "", - ""); - I_Method1(void, setRotation, IN, const osg::Quat &, rotation, - Properties::NON_VIRTUAL, - __void__setRotation__C5_osg_Quat_R1, - "", - ""); - I_Method0(const osg::Quat &, getRotation, - Properties::NON_VIRTUAL, - __C5_osg_Quat_R1__getRotation, - "", - ""); - I_Method1(void, setScale, IN, const osg::Vec3d &, scale, - Properties::NON_VIRTUAL, - __void__setScale__C5_osg_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getScale, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getScale, - "", - ""); - I_Method3(void, interpolate, IN, float, ratio, IN, const osg::AnimationPath::ControlPoint &, first, IN, const osg::AnimationPath::ControlPoint &, second, - Properties::NON_VIRTUAL, - __void__interpolate__float__C5_ControlPoint_R1__C5_ControlPoint_R1, - "", - ""); - I_Method3(void, interpolate, IN, double, ratio, IN, const osg::AnimationPath::ControlPoint &, first, IN, const osg::AnimationPath::ControlPoint &, second, - Properties::NON_VIRTUAL, - __void__interpolate__double__C5_ControlPoint_R1__C5_ControlPoint_R1, - "", - ""); - I_Method1(void, getMatrix, IN, osg::Matrixf &, matrix, - Properties::NON_VIRTUAL, - __void__getMatrix__Matrixf_R1, - "", - ""); - I_Method1(void, getMatrix, IN, osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __void__getMatrix__Matrixd_R1, - "", - ""); - I_Method1(void, getInverse, IN, osg::Matrixf &, matrix, - Properties::NON_VIRTUAL, - __void__getInverse__Matrixf_R1, - "", - ""); - I_Method1(void, getInverse, IN, osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __void__getInverse__Matrixd_R1, - "", - ""); - I_SimpleProperty(const osg::Vec3d &, Position, - __C5_osg_Vec3d_R1__getPosition, - __void__setPosition__C5_osg_Vec3d_R1); - I_SimpleProperty(const osg::Quat &, Rotation, - __C5_osg_Quat_R1__getRotation, - __void__setRotation__C5_osg_Quat_R1); - I_SimpleProperty(const osg::Vec3d &, Scale, - __C5_osg_Vec3d_R1__getScale, - __void__setScale__C5_osg_Vec3d_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::AnimationPathCallback) - I_DeclaringFile("osg/AnimationPath"); - I_BaseType(osg::NodeCallback); - I_Constructor0(____AnimationPathCallback, - "", - ""); - I_Constructor2(IN, const osg::AnimationPathCallback &, apc, IN, const osg::CopyOp &, copyop, - ____AnimationPathCallback__C5_AnimationPathCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults3(IN, osg::AnimationPath *, ap, , IN, double, timeOffset, 0.0, IN, double, timeMultiplier, 1.0, - ____AnimationPathCallback__AnimationPath_P1__double__double, - "Construct an AnimationPathCallback with a specified animation path. ", - ""); - I_Constructor3(IN, const osg::Vec3d &, pivot, IN, const osg::Vec3d &, axis, IN, float, angularVelocity, - ____AnimationPathCallback__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__float, - "Construct an AnimationPathCallback and automatical create an animation path to produce a rotation about a point. ", - ""); - I_Method1(void, setAnimationPath, IN, osg::AnimationPath *, path, - Properties::NON_VIRTUAL, - __void__setAnimationPath__AnimationPath_P1, - "", - ""); - I_Method0(osg::AnimationPath *, getAnimationPath, - Properties::NON_VIRTUAL, - __AnimationPath_P1__getAnimationPath, - "", - ""); - I_Method0(const osg::AnimationPath *, getAnimationPath, - Properties::NON_VIRTUAL, - __C5_AnimationPath_P1__getAnimationPath, - "", - ""); - I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot, - Properties::NON_VIRTUAL, - __void__setPivotPoint__C5_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getPivotPoint, - Properties::NON_VIRTUAL, - __C5_Vec3d_R1__getPivotPoint, - "", - ""); - I_Method1(void, setUseInverseMatrix, IN, bool, useInverseMatrix, - Properties::NON_VIRTUAL, - __void__setUseInverseMatrix__bool, - "", - ""); - I_Method0(bool, getUseInverseMatrix, - Properties::NON_VIRTUAL, - __bool__getUseInverseMatrix, - "", - ""); - I_Method1(void, setTimeOffset, IN, double, offset, - Properties::NON_VIRTUAL, - __void__setTimeOffset__double, - "", - ""); - I_Method0(double, getTimeOffset, - Properties::NON_VIRTUAL, - __double__getTimeOffset, - "", - ""); - I_Method1(void, setTimeMultiplier, IN, double, multiplier, - Properties::NON_VIRTUAL, - __void__setTimeMultiplier__double, - "", - ""); - I_Method0(double, getTimeMultiplier, - Properties::NON_VIRTUAL, - __double__getTimeMultiplier, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "", - ""); - I_Method1(void, setPause, IN, bool, pause, - Properties::NON_VIRTUAL, - __void__setPause__bool, - "", - ""); - I_Method0(bool, getPause, - Properties::NON_VIRTUAL, - __bool__getPause, - "", - ""); - I_Method0(double, getAnimationTime, - Properties::VIRTUAL, - __double__getAnimationTime, - "Get the animation time that is used to specify the position along the AnimationPath. ", - "Animation time is computed from the formula: ((_latestTime-_firstTime)-_timeOffset)*_timeMultiplier. "); - I_Method1(void, update, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - __void__update__osg_Node_R1, - "", - ""); - I_SimpleProperty(osg::AnimationPath *, AnimationPath, - __AnimationPath_P1__getAnimationPath, - __void__setAnimationPath__AnimationPath_P1); - I_SimpleProperty(double, AnimationTime, - __double__getAnimationTime, - 0); - I_SimpleProperty(bool, Pause, - __bool__getPause, - __void__setPause__bool); - I_SimpleProperty(const osg::Vec3d &, PivotPoint, - __C5_Vec3d_R1__getPivotPoint, - __void__setPivotPoint__C5_Vec3d_R1); - I_SimpleProperty(double, TimeMultiplier, - __double__getTimeMultiplier, - __void__setTimeMultiplier__double); - I_SimpleProperty(double, TimeOffset, - __double__getTimeOffset, - __void__setTimeOffset__double); - I_SimpleProperty(bool, UseInverseMatrix, - __bool__getUseInverseMatrix, - __void__setUseInverseMatrix__bool); - I_PublicMemberProperty(osg::ref_ptr< osg::AnimationPath >, _animationPath); - I_PublicMemberProperty(osg::Vec3d, _pivotPoint); - I_PublicMemberProperty(bool, _useInverseMatrix); - I_PublicMemberProperty(double, _timeOffset); - I_PublicMemberProperty(double, _timeMultiplier); - I_PublicMemberProperty(double, _firstTime); - I_PublicMemberProperty(double, _latestTime); - I_PublicMemberProperty(bool, _pause); - I_PublicMemberProperty(double, _pauseTime); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< double COMMA osg::AnimationPath::ControlPoint >) - diff --git a/src/osgWrappers/introspection/osg/ApplicationUsage.cpp b/src/osgWrappers/introspection/osg/ApplicationUsage.cpp deleted file mode 100644 index 7aa52dfcd..000000000 --- a/src/osgWrappers/introspection/osg/ApplicationUsage.cpp +++ /dev/null @@ -1,206 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::ApplicationUsage::Type) - I_DeclaringFile("osg/ApplicationUsage"); - I_EnumLabel(osg::ApplicationUsage::NO_HELP); - I_EnumLabel(osg::ApplicationUsage::COMMAND_LINE_OPTION); - I_EnumLabel(osg::ApplicationUsage::ENVIRONMENTAL_VARIABLE); - I_EnumLabel(osg::ApplicationUsage::KEYBOARD_MOUSE_BINDING); - I_EnumLabel(osg::ApplicationUsage::HELP_ALL); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osg::ApplicationUsage::UsageMap) - -BEGIN_OBJECT_REFLECTOR(osg::ApplicationUsage) - I_DeclaringFile("osg/ApplicationUsage"); - I_BaseType(osg::Referenced); - I_StaticMethod0(osg::ApplicationUsage *, instance, - __ApplicationUsage_P1__instance_S, - "", - ""); - I_Constructor0(____ApplicationUsage, - "", - ""); - I_Constructor1(IN, const std::string &, commandLineUsage, - Properties::NON_EXPLICIT, - ____ApplicationUsage__C5_std_string_R1, - "", - ""); - I_Method1(void, setApplicationName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setApplicationName__C5_std_string_R1, - "The ApplicationName is often displayed when logging errors, and frequently incorporated into the Description (below). ", - ""); - I_Method0(const std::string &, getApplicationName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getApplicationName, - "", - ""); - I_Method1(void, setDescription, IN, const std::string &, desc, - Properties::NON_VIRTUAL, - __void__setDescription__C5_std_string_R1, - "If non-empty, the Description is typically shown by the Help Handler as text on the Help display (which also lists keyboard abbreviations. ", - ""); - I_Method0(const std::string &, getDescription, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getDescription, - "", - ""); - I_Method3(void, addUsageExplanation, IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation, - Properties::NON_VIRTUAL, - __void__addUsageExplanation__Type__C5_std_string_R1__C5_std_string_R1, - "", - ""); - I_Method1(void, setCommandLineUsage, IN, const std::string &, explanation, - Properties::NON_VIRTUAL, - __void__setCommandLineUsage__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getCommandLineUsage, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getCommandLineUsage, - "", - ""); - I_MethodWithDefaults3(void, addCommandLineOption, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "", - Properties::NON_VIRTUAL, - __void__addCommandLineOption__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1, - "", - ""); - I_Method1(void, setCommandLineOptions, IN, const osg::ApplicationUsage::UsageMap &, usageMap, - Properties::NON_VIRTUAL, - __void__setCommandLineOptions__C5_UsageMap_R1, - "", - ""); - I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptions, - Properties::NON_VIRTUAL, - __C5_UsageMap_R1__getCommandLineOptions, - "", - ""); - I_Method1(void, setCommandLineOptionsDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap, - Properties::NON_VIRTUAL, - __void__setCommandLineOptionsDefaults__C5_UsageMap_R1, - "", - ""); - I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptionsDefaults, - Properties::NON_VIRTUAL, - __C5_UsageMap_R1__getCommandLineOptionsDefaults, - "", - ""); - I_MethodWithDefaults3(void, addEnvironmentalVariable, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "", - Properties::NON_VIRTUAL, - __void__addEnvironmentalVariable__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1, - "", - ""); - I_Method1(void, setEnvironmentalVariables, IN, const osg::ApplicationUsage::UsageMap &, usageMap, - Properties::NON_VIRTUAL, - __void__setEnvironmentalVariables__C5_UsageMap_R1, - "", - ""); - I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariables, - Properties::NON_VIRTUAL, - __C5_UsageMap_R1__getEnvironmentalVariables, - "", - ""); - I_Method1(void, setEnvironmentalVariablesDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap, - Properties::NON_VIRTUAL, - __void__setEnvironmentalVariablesDefaults__C5_UsageMap_R1, - "", - ""); - I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariablesDefaults, - Properties::NON_VIRTUAL, - __C5_UsageMap_R1__getEnvironmentalVariablesDefaults, - "", - ""); - I_Method2(void, addKeyboardMouseBinding, IN, const std::string &, option, IN, const std::string &, explanation, - Properties::NON_VIRTUAL, - __void__addKeyboardMouseBinding__C5_std_string_R1__C5_std_string_R1, - "", - ""); - I_Method1(void, setKeyboardMouseBindings, IN, const osg::ApplicationUsage::UsageMap &, usageMap, - Properties::NON_VIRTUAL, - __void__setKeyboardMouseBindings__C5_UsageMap_R1, - "", - ""); - I_Method0(const osg::ApplicationUsage::UsageMap &, getKeyboardMouseBindings, - Properties::NON_VIRTUAL, - __C5_UsageMap_R1__getKeyboardMouseBindings, - "", - ""); - I_MethodWithDefaults5(void, getFormattedString, IN, std::string &, str, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(), - Properties::NON_VIRTUAL, - __void__getFormattedString__std_string_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1, - "", - ""); - I_MethodWithDefaults5(void, write, IN, std::ostream &, output, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(), - Properties::NON_VIRTUAL, - __void__write__std_ostream_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1, - "", - ""); - I_MethodWithDefaults4(void, write, IN, std::ostream &, output, , IN, unsigned int, type, osg::ApplicationUsage::COMMAND_LINE_OPTION, IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, - Properties::NON_VIRTUAL, - __void__write__std_ostream_R1__unsigned_int__unsigned_int__bool, - "", - ""); - I_Method1(void, writeEnvironmentSettings, IN, std::ostream &, output, - Properties::NON_VIRTUAL, - __void__writeEnvironmentSettings__std_ostream_R1, - "", - ""); - I_SimpleProperty(const std::string &, ApplicationName, - __C5_std_string_R1__getApplicationName, - __void__setApplicationName__C5_std_string_R1); - I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, CommandLineOptions, - __C5_UsageMap_R1__getCommandLineOptions, - __void__setCommandLineOptions__C5_UsageMap_R1); - I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, CommandLineOptionsDefaults, - __C5_UsageMap_R1__getCommandLineOptionsDefaults, - __void__setCommandLineOptionsDefaults__C5_UsageMap_R1); - I_SimpleProperty(const std::string &, CommandLineUsage, - __C5_std_string_R1__getCommandLineUsage, - __void__setCommandLineUsage__C5_std_string_R1); - I_SimpleProperty(const std::string &, Description, - __C5_std_string_R1__getDescription, - __void__setDescription__C5_std_string_R1); - I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, EnvironmentalVariables, - __C5_UsageMap_R1__getEnvironmentalVariables, - __void__setEnvironmentalVariables__C5_UsageMap_R1); - I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, EnvironmentalVariablesDefaults, - __C5_UsageMap_R1__getEnvironmentalVariablesDefaults, - __void__setEnvironmentalVariablesDefaults__C5_UsageMap_R1); - I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, KeyboardMouseBindings, - __C5_UsageMap_R1__getKeyboardMouseBindings, - __void__setKeyboardMouseBindings__C5_UsageMap_R1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ApplicationUsageProxy) - I_DeclaringFile("osg/ApplicationUsage"); - I_Constructor3(IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation, - ____ApplicationUsageProxy__ApplicationUsage_Type__C5_std_string_R1__C5_std_string_R1, - "register an explanation of commandline/environmentvariable/keyboard mouse usage. ", - ""); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< std::string COMMA std::string >) - diff --git a/src/osgWrappers/introspection/osg/ArgumentParser.cpp b/src/osgWrappers/introspection/osg/ArgumentParser.cpp deleted file mode 100644 index 92e6f3db4..000000000 --- a/src/osgWrappers/introspection/osg/ArgumentParser.cpp +++ /dev/null @@ -1,317 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::ArgumentParser::ErrorSeverity) - I_DeclaringFile("osg/ArgumentParser"); - I_EnumLabel(osg::ArgumentParser::BENIGN); - I_EnumLabel(osg::ArgumentParser::CRITICAL); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ArgumentParser::ErrorSeverity >, osg::ArgumentParser::ErrorMessageMap) - -BEGIN_VALUE_REFLECTOR(osg::ArgumentParser) - I_DeclaringFile("osg/ArgumentParser"); - I_StaticMethod1(bool, isOption, IN, const char *, str, - __bool__isOption__C5_char_P1_S, - "Return true if the specified string is an option in the form -option or --option. ", - ""); - I_StaticMethod1(bool, isString, IN, const char *, str, - __bool__isString__C5_char_P1_S, - "Return true if string is non-NULL and not an option in the form -option or --option. ", - ""); - I_StaticMethod1(bool, isNumber, IN, const char *, str, - __bool__isNumber__C5_char_P1_S, - "Return true if specified parameter is a number. ", - ""); - I_StaticMethod1(bool, isBool, IN, const char *, str, - __bool__isBool__C5_char_P1_S, - "Return true if specified parameter is a bool. ", - ""); - I_Constructor2(IN, int *, argc, IN, char **, argv, - ____ArgumentParser__int_P1__char_P1P1, - "", - ""); - I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, usage, - Properties::NON_VIRTUAL, - __void__setApplicationUsage__ApplicationUsage_P1, - "", - ""); - I_Method0(osg::ApplicationUsage *, getApplicationUsage, - Properties::NON_VIRTUAL, - __ApplicationUsage_P1__getApplicationUsage, - "", - ""); - I_Method0(const osg::ApplicationUsage *, getApplicationUsage, - Properties::NON_VIRTUAL, - __C5_ApplicationUsage_P1__getApplicationUsage, - "", - ""); - I_Method0(int &, argc, - Properties::NON_VIRTUAL, - __int_R1__argc, - "Return the argument count. ", - ""); - I_Method0(char **, argv, - Properties::NON_VIRTUAL, - __char_P1P1__argv, - "Return the argument array. ", - ""); - I_Method0(std::string, getApplicationName, - Properties::NON_VIRTUAL, - __std_string__getApplicationName, - "Return the application name, as specified by argv[0]. ", - ""); - I_Method1(int, find, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __int__find__C5_std_string_R1, - "Return the position of an occurrence of a string in the argument list. ", - "Return -1 if no string is found. "); - I_Method1(bool, isOption, IN, int, pos, - Properties::NON_VIRTUAL, - __bool__isOption__int, - "Return true if the specified parameter is an option in the form of -option or --option. ", - ""); - I_Method1(bool, isString, IN, int, pos, - Properties::NON_VIRTUAL, - __bool__isString__int, - "Return true if the specified parameter is a string not in the form of an option. ", - ""); - I_Method1(bool, isNumber, IN, int, pos, - Properties::NON_VIRTUAL, - __bool__isNumber__int, - "Return true if the specified parameter is a number. ", - ""); - I_Method0(bool, containsOptions, - Properties::NON_VIRTUAL, - __bool__containsOptions, - "", - ""); - I_MethodWithDefaults2(void, remove, IN, int, pos, , IN, int, num, 1, - Properties::NON_VIRTUAL, - __void__remove__int__int, - "Remove one or more arguments from the argv argument list, and decrement the argc respectively. ", - ""); - I_Method2(bool, match, IN, int, pos, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __bool__match__int__C5_std_string_R1, - "Return true if the specified argument matches the given string. ", - ""); - I_Method1(bool, read, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __bool__read__C5_std_string_R1, - "Search for an occurrence of a string in the argument list. ", - "If found, remove that occurrence and return true. Otherwise, return false. "); - I_Method2(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, - Properties::NON_VIRTUAL, - __bool__read__C5_std_string_R1__Parameter, - "", - ""); - I_Method3(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, - Properties::NON_VIRTUAL, - __bool__read__C5_std_string_R1__Parameter__Parameter, - "", - ""); - I_Method4(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, - Properties::NON_VIRTUAL, - __bool__read__C5_std_string_R1__Parameter__Parameter__Parameter, - "", - ""); - I_Method5(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, - Properties::NON_VIRTUAL, - __bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method6(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, - Properties::NON_VIRTUAL, - __bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method7(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, - Properties::NON_VIRTUAL, - __bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method8(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, - Properties::NON_VIRTUAL, - __bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method9(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8, - Properties::NON_VIRTUAL, - __bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method2(bool, read, IN, int, pos, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __bool__read__int__C5_std_string_R1, - "If the argument value at the specified position matches the given string, and subsequent parameters are also matched, then set the parameter values, remove the arguments from the list, and return true. ", - "Otherwise, return false. "); - I_Method3(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, - Properties::NON_VIRTUAL, - __bool__read__int__C5_std_string_R1__Parameter, - "", - ""); - I_Method4(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, - Properties::NON_VIRTUAL, - __bool__read__int__C5_std_string_R1__Parameter__Parameter, - "", - ""); - I_Method5(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, - Properties::NON_VIRTUAL, - __bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter, - "", - ""); - I_Method6(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, - Properties::NON_VIRTUAL, - __bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method7(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, - Properties::NON_VIRTUAL, - __bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method8(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, - Properties::NON_VIRTUAL, - __bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method9(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, - Properties::NON_VIRTUAL, - __bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method10(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8, - Properties::NON_VIRTUAL, - __bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_MethodWithDefaults1(bool, errors, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN, - Properties::NON_VIRTUAL, - __bool__errors__ErrorSeverity, - "Return the error flag, true if an error has occurred when reading arguments. ", - ""); - I_MethodWithDefaults2(void, reportError, IN, const std::string &, message, , IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::CRITICAL, - Properties::NON_VIRTUAL, - __void__reportError__C5_std_string_R1__ErrorSeverity, - "Report an error message by adding to the ErrorMessageMap. ", - ""); - I_MethodWithDefaults1(void, reportRemainingOptionsAsUnrecognized, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN, - Properties::NON_VIRTUAL, - __void__reportRemainingOptionsAsUnrecognized__ErrorSeverity, - "For each remaining option, report it as unrecognized. ", - ""); - I_Method0(osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap, - Properties::NON_VIRTUAL, - __ErrorMessageMap_R1__getErrorMessageMap, - "Return the error message, if any has occurred. ", - ""); - I_Method0(const osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap, - Properties::NON_VIRTUAL, - __C5_ErrorMessageMap_R1__getErrorMessageMap, - "Return the error message, if any has occurred. ", - ""); - I_MethodWithDefaults2(void, writeErrorMessages, IN, std::ostream &, output, , IN, osg::ArgumentParser::ErrorSeverity, sevrity, osg::ArgumentParser::BENIGN, - Properties::NON_VIRTUAL, - __void__writeErrorMessages__std_ostream_R1__ErrorSeverity, - "Write error messages to the given ostream, if at or above the given severity. ", - ""); - I_Method0(osg::ApplicationUsage::Type, readHelpType, - Properties::NON_VIRTUAL, - __ApplicationUsage_Type__readHelpType, - "This convinience method handles help requests on the command line. ", - "Return the type(s) of help requested. The return value of this function is suitable for passing into getApplicationUsage()->write(). If ApplicationUsage::NO_HELP is returned then no help commandline option was found on the command line. "); - I_SimpleProperty(std::string, ApplicationName, - __std_string__getApplicationName, - 0); - I_SimpleProperty(osg::ApplicationUsage *, ApplicationUsage, - __ApplicationUsage_P1__getApplicationUsage, - __void__setApplicationUsage__ApplicationUsage_P1); - I_SimpleProperty(osg::ArgumentParser::ErrorMessageMap &, ErrorMessageMap, - __ErrorMessageMap_R1__getErrorMessageMap, - 0); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::ArgumentParser::Parameter::ParameterType) - I_DeclaringFile("osg/ArgumentParser"); - I_EnumLabel(osg::ArgumentParser::Parameter::BOOL_PARAMETER); - I_EnumLabel(osg::ArgumentParser::Parameter::FLOAT_PARAMETER); - I_EnumLabel(osg::ArgumentParser::Parameter::DOUBLE_PARAMETER); - I_EnumLabel(osg::ArgumentParser::Parameter::INT_PARAMETER); - I_EnumLabel(osg::ArgumentParser::Parameter::UNSIGNED_INT_PARAMETER); - I_EnumLabel(osg::ArgumentParser::Parameter::STRING_PARAMETER); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ArgumentParser::Parameter) - I_DeclaringFile("osg/ArgumentParser"); - I_Constructor1(IN, bool &, value, - Properties::NON_EXPLICIT, - ____Parameter__bool_R1, - "", - ""); - I_Constructor1(IN, float &, value, - Properties::NON_EXPLICIT, - ____Parameter__float_R1, - "", - ""); - I_Constructor1(IN, double &, value, - Properties::NON_EXPLICIT, - ____Parameter__double_R1, - "", - ""); - I_Constructor1(IN, int &, value, - Properties::NON_EXPLICIT, - ____Parameter__int_R1, - "", - ""); - I_Constructor1(IN, unsigned int &, value, - Properties::NON_EXPLICIT, - ____Parameter__unsigned_int_R1, - "", - ""); - I_Constructor1(IN, std::string &, value, - Properties::NON_EXPLICIT, - ____Parameter__std_string_R1, - "", - ""); - I_Constructor1(IN, const osg::ArgumentParser::Parameter &, param, - Properties::NON_EXPLICIT, - ____Parameter__C5_Parameter_R1, - "", - ""); - I_Method1(bool, valid, IN, const char *, str, - Properties::NON_VIRTUAL, - __bool__valid__C5_char_P1, - "", - ""); - I_Method1(bool, assign, IN, const char *, str, - Properties::NON_VIRTUAL, - __bool__assign__C5_char_P1, - "", - ""); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ArgumentParser::ErrorSeverity >) - diff --git a/src/osgWrappers/introspection/osg/Array.cpp b/src/osgWrappers/introspection/osg/Array.cpp deleted file mode 100644 index 7d049fe55..000000000 --- a/src/osgWrappers/introspection/osg/Array.cpp +++ /dev/null @@ -1,734 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Array::Type) - I_DeclaringFile("osg/Array"); - I_EnumLabel(osg::Array::ArrayType); - I_EnumLabel(osg::Array::ByteArrayType); - I_EnumLabel(osg::Array::ShortArrayType); - I_EnumLabel(osg::Array::IntArrayType); - I_EnumLabel(osg::Array::UByteArrayType); - I_EnumLabel(osg::Array::UShortArrayType); - I_EnumLabel(osg::Array::UIntArrayType); - I_EnumLabel(osg::Array::Vec4ubArrayType); - I_EnumLabel(osg::Array::FloatArrayType); - I_EnumLabel(osg::Array::Vec2ArrayType); - I_EnumLabel(osg::Array::Vec3ArrayType); - I_EnumLabel(osg::Array::Vec4ArrayType); - I_EnumLabel(osg::Array::Vec2sArrayType); - I_EnumLabel(osg::Array::Vec3sArrayType); - I_EnumLabel(osg::Array::Vec4sArrayType); - I_EnumLabel(osg::Array::Vec2bArrayType); - I_EnumLabel(osg::Array::Vec3bArrayType); - I_EnumLabel(osg::Array::Vec4bArrayType); - I_EnumLabel(osg::Array::DoubleArrayType); - I_EnumLabel(osg::Array::Vec2dArrayType); - I_EnumLabel(osg::Array::Vec3dArrayType); - I_EnumLabel(osg::Array::Vec4dArrayType); - I_EnumLabel(osg::Array::MatrixArrayType); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Array) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::BufferData); - I_ConstructorWithDefaults3(IN, osg::Array::Type, arrayType, osg::Array::ArrayType, IN, GLint, dataSize, 0, IN, GLenum, dataType, 0, - ____Array__Type__GLint__GLenum, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Array &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Array__C5_Array_R1__C5_CopyOp_R1, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, x, - Properties::PURE_VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, x, - Properties::PURE_VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, x, - Properties::PURE_VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, x, - Properties::PURE_VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::PURE_VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(osg::Array::Type, getType, - Properties::NON_VIRTUAL, - __Type__getType, - "", - ""); - I_Method0(GLint, getDataSize, - Properties::NON_VIRTUAL, - __GLint__getDataSize, - "", - ""); - I_Method0(GLenum, getDataType, - Properties::NON_VIRTUAL, - __GLenum__getDataType, - "", - ""); - I_Method0(const GLvoid *, getDataPointer, - Properties::PURE_VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::PURE_VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::PURE_VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method1(void, setVertexBufferObject, IN, osg::VertexBufferObject *, vbo, - Properties::NON_VIRTUAL, - __void__setVertexBufferObject__osg_VertexBufferObject_P1, - "Set the VertexBufferObject. ", - ""); - I_Method0(osg::VertexBufferObject *, getVertexBufferObject, - Properties::NON_VIRTUAL, - __osg_VertexBufferObject_P1__getVertexBufferObject, - "Get the VertexBufferObject. ", - "If no VBO is assigned returns NULL "); - I_Method0(const osg::VertexBufferObject *, getVertexBufferObject, - Properties::NON_VIRTUAL, - __C5_osg_VertexBufferObject_P1__getVertexBufferObject, - "Get the const VertexBufferObject. ", - "If no VBO is assigned returns NULL "); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(GLint, DataSize, - __GLint__getDataSize, - 0); - I_SimpleProperty(GLenum, DataType, - __GLenum__getDataType, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); - I_SimpleProperty(osg::Array::Type, Type, - __Type__getType, - 0); - I_SimpleProperty(osg::VertexBufferObject *, VertexBufferObject, - __osg_VertexBufferObject_P1__getVertexBufferObject, - __void__setVertexBufferObject__osg_VertexBufferObject_P1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ArrayVisitor) - I_DeclaringFile("osg/Array"); - I_Constructor0(____ArrayVisitor, - "", - ""); - I_Method1(void, apply, IN, osg::Array &, x, - Properties::VIRTUAL, - __void__apply__Array_R1, - "", - ""); - I_Method1(void, apply, IN, osg::ByteArray &, x, - Properties::VIRTUAL, - __void__apply__ByteArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::ShortArray &, x, - Properties::VIRTUAL, - __void__apply__ShortArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::IntArray &, x, - Properties::VIRTUAL, - __void__apply__IntArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::UByteArray &, x, - Properties::VIRTUAL, - __void__apply__UByteArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::UShortArray &, x, - Properties::VIRTUAL, - __void__apply__UShortArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::UIntArray &, x, - Properties::VIRTUAL, - __void__apply__UIntArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::FloatArray &, x, - Properties::VIRTUAL, - __void__apply__FloatArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::DoubleArray &, x, - Properties::VIRTUAL, - __void__apply__DoubleArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec2Array &, x, - Properties::VIRTUAL, - __void__apply__Vec2Array_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec3Array &, x, - Properties::VIRTUAL, - __void__apply__Vec3Array_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec4Array &, x, - Properties::VIRTUAL, - __void__apply__Vec4Array_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec4ubArray &, x, - Properties::VIRTUAL, - __void__apply__Vec4ubArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec2bArray &, x, - Properties::VIRTUAL, - __void__apply__Vec2bArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec3bArray &, x, - Properties::VIRTUAL, - __void__apply__Vec3bArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec4bArray &, x, - Properties::VIRTUAL, - __void__apply__Vec4bArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec2sArray &, x, - Properties::VIRTUAL, - __void__apply__Vec2sArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec3sArray &, x, - Properties::VIRTUAL, - __void__apply__Vec3sArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec4sArray &, x, - Properties::VIRTUAL, - __void__apply__Vec4sArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec2dArray &, x, - Properties::VIRTUAL, - __void__apply__Vec2dArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec3dArray &, x, - Properties::VIRTUAL, - __void__apply__Vec3dArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec4dArray &, x, - Properties::VIRTUAL, - __void__apply__Vec4dArray_R1, - "", - ""); - I_Method1(void, apply, IN, osg::MatrixfArray &, x, - Properties::VIRTUAL, - __void__apply__MatrixfArray_R1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ConstArrayVisitor) - I_DeclaringFile("osg/Array"); - I_Constructor0(____ConstArrayVisitor, - "", - ""); - I_Method1(void, apply, IN, const osg::Array &, x, - Properties::VIRTUAL, - __void__apply__C5_Array_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::ByteArray &, x, - Properties::VIRTUAL, - __void__apply__C5_ByteArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::ShortArray &, x, - Properties::VIRTUAL, - __void__apply__C5_ShortArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::IntArray &, x, - Properties::VIRTUAL, - __void__apply__C5_IntArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::UByteArray &, x, - Properties::VIRTUAL, - __void__apply__C5_UByteArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::UShortArray &, x, - Properties::VIRTUAL, - __void__apply__C5_UShortArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::UIntArray &, x, - Properties::VIRTUAL, - __void__apply__C5_UIntArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::FloatArray &, x, - Properties::VIRTUAL, - __void__apply__C5_FloatArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::DoubleArray &, x, - Properties::VIRTUAL, - __void__apply__C5_DoubleArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec2Array &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec2Array_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec3Array &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec3Array_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec4Array &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec4Array_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec4ubArray &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec4ubArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec2bArray &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec2bArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec3bArray &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec3bArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec4bArray &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec4bArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec2sArray &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec2sArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec3sArray &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec3sArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec4sArray &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec4sArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec2dArray &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec2dArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec3dArray &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec3dArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec4dArray &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec4dArray_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::MatrixfArray &, x, - Properties::VIRTUAL, - __void__apply__C5_MatrixfArray_R1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ConstValueVisitor) - I_DeclaringFile("osg/Array"); - I_Constructor0(____ConstValueVisitor, - "", - ""); - I_Method1(void, apply, IN, const GLbyte &, x, - Properties::VIRTUAL, - __void__apply__C5_GLbyte_R1, - "", - ""); - I_Method1(void, apply, IN, const GLshort &, x, - Properties::VIRTUAL, - __void__apply__C5_GLshort_R1, - "", - ""); - I_Method1(void, apply, IN, const GLint &, x, - Properties::VIRTUAL, - __void__apply__C5_GLint_R1, - "", - ""); - I_Method1(void, apply, IN, const GLushort &, x, - Properties::VIRTUAL, - __void__apply__C5_GLushort_R1, - "", - ""); - I_Method1(void, apply, IN, const GLubyte &, x, - Properties::VIRTUAL, - __void__apply__C5_GLubyte_R1, - "", - ""); - I_Method1(void, apply, IN, const GLuint &, x, - Properties::VIRTUAL, - __void__apply__C5_GLuint_R1, - "", - ""); - I_Method1(void, apply, IN, const GLfloat &, x, - Properties::VIRTUAL, - __void__apply__C5_GLfloat_R1, - "", - ""); - I_Method1(void, apply, IN, const GLdouble &, x, - Properties::VIRTUAL, - __void__apply__C5_GLdouble_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec4ub &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec4ub_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec2 &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec2_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec3 &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec3_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec4 &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec4_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec2b &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec2b_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec3b &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec3b_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec4b &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec4b_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec2s &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec2s_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec3s &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec3s_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec4s &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec4s_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec2d &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec2d_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec3d &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec3d_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Vec4d &, x, - Properties::VIRTUAL, - __void__apply__C5_Vec4d_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Matrixf &, x, - Properties::VIRTUAL, - __void__apply__C5_Matrixf_R1, - "", - ""); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::IndexArray) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_ConstructorWithDefaults3(IN, osg::Array::Type, arrayType, osg::Array::ArrayType, IN, GLint, dataSize, 0, IN, GLenum, dataType, 0, - ____IndexArray__Type__GLint__GLenum, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Array &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____IndexArray__C5_Array_R1__C5_CopyOp_R1, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::PURE_VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ValueVisitor) - I_DeclaringFile("osg/Array"); - I_Constructor0(____ValueVisitor, - "", - ""); - I_Method1(void, apply, IN, GLbyte &, x, - Properties::VIRTUAL, - __void__apply__GLbyte_R1, - "", - ""); - I_Method1(void, apply, IN, GLshort &, x, - Properties::VIRTUAL, - __void__apply__GLshort_R1, - "", - ""); - I_Method1(void, apply, IN, GLint &, x, - Properties::VIRTUAL, - __void__apply__GLint_R1, - "", - ""); - I_Method1(void, apply, IN, GLushort &, x, - Properties::VIRTUAL, - __void__apply__GLushort_R1, - "", - ""); - I_Method1(void, apply, IN, GLubyte &, x, - Properties::VIRTUAL, - __void__apply__GLubyte_R1, - "", - ""); - I_Method1(void, apply, IN, GLuint &, x, - Properties::VIRTUAL, - __void__apply__GLuint_R1, - "", - ""); - I_Method1(void, apply, IN, GLfloat &, x, - Properties::VIRTUAL, - __void__apply__GLfloat_R1, - "", - ""); - I_Method1(void, apply, IN, GLdouble &, x, - Properties::VIRTUAL, - __void__apply__GLdouble_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec2 &, x, - Properties::VIRTUAL, - __void__apply__Vec2_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec3 &, x, - Properties::VIRTUAL, - __void__apply__Vec3_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec4 &, x, - Properties::VIRTUAL, - __void__apply__Vec4_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec4ub &, x, - Properties::VIRTUAL, - __void__apply__Vec4ub_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec2b &, x, - Properties::VIRTUAL, - __void__apply__Vec2b_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec3b &, x, - Properties::VIRTUAL, - __void__apply__Vec3b_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec4b &, x, - Properties::VIRTUAL, - __void__apply__Vec4b_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec2s &, x, - Properties::VIRTUAL, - __void__apply__Vec2s_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec3s &, x, - Properties::VIRTUAL, - __void__apply__Vec3s_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec4s &, x, - Properties::VIRTUAL, - __void__apply__Vec4s_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec2d &, x, - Properties::VIRTUAL, - __void__apply__Vec2d_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec3d &, x, - Properties::VIRTUAL, - __void__apply__Vec3d_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Vec4d &, x, - Properties::VIRTUAL, - __void__apply__Vec4d_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Matrixf &, x, - Properties::VIRTUAL, - __void__apply__Matrixf_R1, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLbyte COMMA osg::Array::ByteArrayType COMMA 1 COMMA GL_BYTE >, osg::ByteArray) - -TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLshort COMMA osg::Array::ShortArrayType COMMA 1 COMMA GL_SHORT >, osg::ShortArray) - -TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLint COMMA osg::Array::IntArrayType COMMA 1 COMMA GL_INT >, osg::IntArray) - -TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLubyte COMMA osg::Array::UByteArrayType COMMA 1 COMMA GL_UNSIGNED_BYTE >, osg::UByteArray) - -TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLushort COMMA osg::Array::UShortArrayType COMMA 1 COMMA GL_UNSIGNED_SHORT >, osg::UShortArray) - -TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLuint COMMA osg::Array::UIntArrayType COMMA 1 COMMA GL_UNSIGNED_INT >, osg::UIntArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< GLfloat COMMA osg::Array::FloatArrayType COMMA 1 COMMA GL_FLOAT >, osg::FloatArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec2 COMMA osg::Array::Vec2ArrayType COMMA 2 COMMA GL_FLOAT >, osg::Vec2Array) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec3 COMMA osg::Array::Vec3ArrayType COMMA 3 COMMA GL_FLOAT >, osg::Vec3Array) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec4 COMMA osg::Array::Vec4ArrayType COMMA 4 COMMA GL_FLOAT >, osg::Vec4Array) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec4ub COMMA osg::Array::Vec4ubArrayType COMMA 4 COMMA GL_UNSIGNED_BYTE >, osg::Vec4ubArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec2s COMMA osg::Array::Vec2sArrayType COMMA 2 COMMA GL_SHORT >, osg::Vec2sArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec3s COMMA osg::Array::Vec3sArrayType COMMA 3 COMMA GL_SHORT >, osg::Vec3sArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec4s COMMA osg::Array::Vec4sArrayType COMMA 4 COMMA GL_SHORT >, osg::Vec4sArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec2b COMMA osg::Array::Vec2bArrayType COMMA 2 COMMA GL_BYTE >, osg::Vec2bArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec3b COMMA osg::Array::Vec3bArrayType COMMA 3 COMMA GL_BYTE >, osg::Vec3bArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec4b COMMA osg::Array::Vec4bArrayType COMMA 4 COMMA GL_BYTE >, osg::Vec4bArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< GLdouble COMMA osg::Array::DoubleArrayType COMMA 1 COMMA GL_DOUBLE >, osg::DoubleArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec2d COMMA osg::Array::Vec2dArrayType COMMA 2 COMMA GL_DOUBLE >, osg::Vec2dArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec3d COMMA osg::Array::Vec3dArrayType COMMA 3 COMMA GL_DOUBLE >, osg::Vec3dArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec4d COMMA osg::Array::Vec4dArrayType COMMA 4 COMMA GL_DOUBLE >, osg::Vec4dArray) - -TYPE_NAME_ALIAS(osg::TemplateArray< osg::Matrixf COMMA osg::Array::MatrixArrayType COMMA 16 COMMA GL_FLOAT >, osg::MatrixfArray) - diff --git a/src/osgWrappers/introspection/osg/ArrayDispatchers.cpp b/src/osgWrappers/introspection/osg/ArrayDispatchers.cpp deleted file mode 100644 index cc1fc99cf..000000000 --- a/src/osgWrappers/introspection/osg/ArrayDispatchers.cpp +++ /dev/null @@ -1,199 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::ArrayDispatchers) - I_DeclaringFile("osg/ArrayDispatchers"); - I_BaseType(osg::Referenced); - I_Constructor0(____ArrayDispatchers, - "", - ""); - I_Method1(void, setState, IN, osg::State *, state, - Properties::NON_VIRTUAL, - __void__setState__osg_State_P1, - "", - ""); - I_Method2(osg::AttributeDispatch *, vertexDispatcher, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __AttributeDispatch_P1__vertexDispatcher__Array_P1__IndexArray_P1, - "", - ""); - I_Method2(osg::AttributeDispatch *, normalDispatcher, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __AttributeDispatch_P1__normalDispatcher__Array_P1__IndexArray_P1, - "", - ""); - I_Method2(osg::AttributeDispatch *, colorDispatcher, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __AttributeDispatch_P1__colorDispatcher__Array_P1__IndexArray_P1, - "", - ""); - I_Method2(osg::AttributeDispatch *, secondaryColorDispatcher, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __AttributeDispatch_P1__secondaryColorDispatcher__Array_P1__IndexArray_P1, - "", - ""); - I_Method2(osg::AttributeDispatch *, fogCoordDispatcher, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __AttributeDispatch_P1__fogCoordDispatcher__Array_P1__IndexArray_P1, - "", - ""); - I_Method3(osg::AttributeDispatch *, texCoordDispatcher, IN, unsigned int, unit, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __AttributeDispatch_P1__texCoordDispatcher__unsigned_int__Array_P1__IndexArray_P1, - "", - ""); - I_Method3(osg::AttributeDispatch *, vertexAttribDispatcher, IN, unsigned int, unit, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __AttributeDispatch_P1__vertexAttribDispatcher__unsigned_int__Array_P1__IndexArray_P1, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method1(void, setUseGLBeginEndAdapter, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setUseGLBeginEndAdapter__bool, - "", - ""); - I_Method0(bool, getUseGLBeginEndAdapter, - Properties::NON_VIRTUAL, - __bool__getUseGLBeginEndAdapter, - "", - ""); - I_Method1(void, setUseVertexAttribAlias, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setUseVertexAttribAlias__bool, - "", - ""); - I_Method0(bool, getUseVertexAttribAlias, - Properties::NON_VIRTUAL, - __bool__getUseVertexAttribAlias, - "", - ""); - I_Method2(void, activate, IN, unsigned int, binding, IN, osg::AttributeDispatch *, at, - Properties::NON_VIRTUAL, - __void__activate__unsigned_int__AttributeDispatch_P1, - "", - ""); - I_Method3(void, activateVertexArray, IN, unsigned int, binding, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __void__activateVertexArray__unsigned_int__osg_Array_P1__osg_IndexArray_P1, - "", - ""); - I_Method3(void, activateColorArray, IN, unsigned int, binding, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __void__activateColorArray__unsigned_int__osg_Array_P1__osg_IndexArray_P1, - "", - ""); - I_Method3(void, activateNormalArray, IN, unsigned int, binding, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __void__activateNormalArray__unsigned_int__osg_Array_P1__osg_IndexArray_P1, - "", - ""); - I_Method3(void, activateSecondaryColorArray, IN, unsigned int, binding, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __void__activateSecondaryColorArray__unsigned_int__osg_Array_P1__osg_IndexArray_P1, - "", - ""); - I_Method3(void, activateFogCoordArray, IN, unsigned int, binding, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __void__activateFogCoordArray__unsigned_int__osg_Array_P1__osg_IndexArray_P1, - "", - ""); - I_Method4(void, activateTexCoordArray, IN, unsigned int, binding, IN, unsigned int, unit, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __void__activateTexCoordArray__unsigned_int__unsigned_int__osg_Array_P1__osg_IndexArray_P1, - "", - ""); - I_Method4(void, activateVertexAttribArray, IN, unsigned int, binding, IN, unsigned int, unit, IN, osg::Array *, array, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __void__activateVertexAttribArray__unsigned_int__unsigned_int__osg_Array_P1__osg_IndexArray_P1, - "", - ""); - I_Method2(void, dispatch, IN, unsigned int, binding, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __void__dispatch__unsigned_int__unsigned_int, - "", - ""); - I_Method1(bool, active, IN, unsigned int, binding, - Properties::NON_VIRTUAL, - __bool__active__unsigned_int, - "", - ""); - I_Method1(void, Begin, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__Begin__GLenum, - "", - ""); - I_Method0(void, End, - Properties::NON_VIRTUAL, - __void__End, - "", - ""); - I_ProtectedMethod0(void, init, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__init, - "", - ""); - I_ProtectedMethod1(void, assignTexCoordDispatchers, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__assignTexCoordDispatchers__unsigned_int, - "", - ""); - I_ProtectedMethod1(void, assignVertexAttribDispatchers, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__assignVertexAttribDispatchers__unsigned_int, - "", - ""); - I_SimpleProperty(osg::State *, State, - 0, - __void__setState__osg_State_P1); - I_SimpleProperty(bool, UseGLBeginEndAdapter, - __bool__getUseGLBeginEndAdapter, - __void__setUseGLBeginEndAdapter__bool); - I_SimpleProperty(bool, UseVertexAttribAlias, - __bool__getUseVertexAttribAlias, - __void__setUseVertexAttribAlias__bool); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::AttributeDispatch) - I_DeclaringFile("osg/ArrayDispatchers"); - I_BaseType(osg::Referenced); - I_Constructor0(____AttributeDispatch, - "", - ""); - I_Method2(void, assign, IN, const GLvoid *, x, IN, const osg::IndexArray *, x, - Properties::VIRTUAL, - __void__assign__C5_GLvoid_P1__C5_IndexArray_P1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/AudioStream.cpp b/src/osgWrappers/introspection/osg/AudioStream.cpp deleted file mode 100644 index 660232e30..000000000 --- a/src/osgWrappers/introspection/osg/AudioStream.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::AudioSink) - I_DeclaringFile("osg/AudioStream"); - I_BaseType(osg::Object); - I_Constructor0(____AudioSink, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, play, - Properties::PURE_VIRTUAL, - __void__play, - "", - ""); - I_Method0(void, pause, - Properties::PURE_VIRTUAL, - __void__pause, - "", - ""); - I_Method0(void, stop, - Properties::PURE_VIRTUAL, - __void__stop, - "", - ""); - I_Method0(bool, playing, - Properties::PURE_VIRTUAL, - __bool__playing, - "", - ""); - I_Method0(double, getDelay, - Properties::VIRTUAL, - __double__getDelay, - "", - ""); - I_Method1(void, setDelay, IN, const double, delay, - Properties::VIRTUAL, - __void__setDelay__C5_double, - "", - ""); - I_Method1(void, setVolume, IN, float, x, - Properties::VIRTUAL, - __void__setVolume__float, - "", - ""); - I_Method0(float, getVolume, - Properties::VIRTUAL, - __float__getVolume, - "", - ""); - I_SimpleProperty(double, Delay, - __double__getDelay, - 0); - I_SimpleProperty(float, Volume, - __float__getVolume, - __void__setVolume__float); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::AudioStream::SampleFormat) - I_DeclaringFile("osg/AudioStream"); - I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_U8); - I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_S16); - I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_S24); - I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_S32); - I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_F32); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::AudioStream) - I_DeclaringFile("osg/AudioStream"); - I_BaseType(osg::Object); - I_Constructor0(____AudioStream, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::AudioStream &, audio, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AudioStream__C5_AudioStream_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setAudioSink, IN, osg::AudioSink *, audio_sink, - Properties::PURE_VIRTUAL, - __void__setAudioSink__osg_AudioSink_P1, - "", - ""); - I_Method2(void, consumeAudioBuffer, IN, void *const, buffer, IN, const size_t, size, - Properties::PURE_VIRTUAL, - __void__consumeAudioBuffer__void_P1C5__C5_size_t, - "", - ""); - I_Method0(int, audioFrequency, - Properties::PURE_VIRTUAL, - __int__audioFrequency, - "", - ""); - I_Method0(int, audioNbChannels, - Properties::PURE_VIRTUAL, - __int__audioNbChannels, - "", - ""); - I_Method0(osg::AudioStream::SampleFormat, audioSampleFormat, - Properties::PURE_VIRTUAL, - __SampleFormat__audioSampleFormat, - "", - ""); - I_SimpleProperty(osg::AudioSink *, AudioSink, - 0, - __void__setAudioSink__osg_AudioSink_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/AutoTransform.cpp b/src/osgWrappers/introspection/osg/AutoTransform.cpp deleted file mode 100644 index 5a5caf5c9..000000000 --- a/src/osgWrappers/introspection/osg/AutoTransform.cpp +++ /dev/null @@ -1,246 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::AutoTransform::AutoRotateMode) - I_DeclaringFile("osg/AutoTransform"); - I_EnumLabel(osg::AutoTransform::NO_ROTATION); - I_EnumLabel(osg::AutoTransform::ROTATE_TO_SCREEN); - I_EnumLabel(osg::AutoTransform::ROTATE_TO_CAMERA); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::AutoTransform) - I_DeclaringFile("osg/AutoTransform"); - I_BaseType(osg::Transform); - I_Constructor0(____AutoTransform, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::AutoTransform &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AutoTransform__C5_AutoTransform_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(osg::AutoTransform *, asAutoTransform, - Properties::VIRTUAL, - __AutoTransform_P1__asAutoTransform, - "", - ""); - I_Method0(const osg::AutoTransform *, asAutoTransform, - Properties::VIRTUAL, - __C5_AutoTransform_P1__asAutoTransform, - "", - ""); - I_Method1(void, setPosition, IN, const osg::Vec3d &, pos, - Properties::NON_VIRTUAL, - __void__setPosition__C5_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getPosition, - Properties::NON_VIRTUAL, - __C5_Vec3d_R1__getPosition, - "", - ""); - I_Method1(void, setRotation, IN, const osg::Quat &, quat, - Properties::NON_VIRTUAL, - __void__setRotation__C5_Quat_R1, - "", - ""); - I_Method0(const osg::Quat &, getRotation, - Properties::NON_VIRTUAL, - __C5_Quat_R1__getRotation, - "", - ""); - I_Method1(void, setScale, IN, double, scale, - Properties::NON_VIRTUAL, - __void__setScale__double, - "", - ""); - I_Method1(void, setScale, IN, const osg::Vec3d &, scale, - Properties::NON_VIRTUAL, - __void__setScale__C5_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getScale, - Properties::NON_VIRTUAL, - __C5_Vec3d_R1__getScale, - "", - ""); - I_Method1(void, setMinimumScale, IN, double, minimumScale, - Properties::NON_VIRTUAL, - __void__setMinimumScale__double, - "", - ""); - I_Method0(double, getMinimumScale, - Properties::NON_VIRTUAL, - __double__getMinimumScale, - "", - ""); - I_Method1(void, setMaximumScale, IN, double, maximumScale, - Properties::NON_VIRTUAL, - __void__setMaximumScale__double, - "", - ""); - I_Method0(double, getMaximumScale, - Properties::NON_VIRTUAL, - __double__getMaximumScale, - "", - ""); - I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot, - Properties::NON_VIRTUAL, - __void__setPivotPoint__C5_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getPivotPoint, - Properties::NON_VIRTUAL, - __C5_Vec3d_R1__getPivotPoint, - "", - ""); - I_Method1(void, setAutoUpdateEyeMovementTolerance, IN, float, tolerance, - Properties::NON_VIRTUAL, - __void__setAutoUpdateEyeMovementTolerance__float, - "", - ""); - I_Method0(float, getAutoUpdateEyeMovementTolerance, - Properties::NON_VIRTUAL, - __float__getAutoUpdateEyeMovementTolerance, - "", - ""); - I_Method1(void, setAutoRotateMode, IN, osg::AutoTransform::AutoRotateMode, mode, - Properties::NON_VIRTUAL, - __void__setAutoRotateMode__AutoRotateMode, - "", - ""); - I_Method0(osg::AutoTransform::AutoRotateMode, getAutoRotateMode, - Properties::NON_VIRTUAL, - __AutoRotateMode__getAutoRotateMode, - "", - ""); - I_Method1(void, setAutoScaleToScreen, IN, bool, autoScaleToScreen, - Properties::NON_VIRTUAL, - __void__setAutoScaleToScreen__bool, - "", - ""); - I_Method0(bool, getAutoScaleToScreen, - Properties::NON_VIRTUAL, - __bool__getAutoScaleToScreen, - "", - ""); - I_Method1(void, setAutoScaleTransitionWidthRatio, IN, float, ratio, - Properties::NON_VIRTUAL, - __void__setAutoScaleTransitionWidthRatio__float, - "", - ""); - I_Method0(float, getAutoScaleTransitionWidthRatio, - Properties::NON_VIRTUAL, - __float__getAutoScaleTransitionWidthRatio, - "", - ""); - I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv, - Properties::VIRTUAL, - __bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1, - "", - ""); - I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv, - Properties::VIRTUAL, - __bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1, - "", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "Overrides Group's computeBound. ", - "There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required). "); - I_ProtectedMethod0(void, computeMatrix, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeMatrix, - "", - ""); - I_SimpleProperty(osg::AutoTransform::AutoRotateMode, AutoRotateMode, - __AutoRotateMode__getAutoRotateMode, - __void__setAutoRotateMode__AutoRotateMode); - I_SimpleProperty(bool, AutoScaleToScreen, - __bool__getAutoScaleToScreen, - __void__setAutoScaleToScreen__bool); - I_SimpleProperty(float, AutoScaleTransitionWidthRatio, - __float__getAutoScaleTransitionWidthRatio, - __void__setAutoScaleTransitionWidthRatio__float); - I_SimpleProperty(float, AutoUpdateEyeMovementTolerance, - __float__getAutoUpdateEyeMovementTolerance, - __void__setAutoUpdateEyeMovementTolerance__float); - I_SimpleProperty(double, MaximumScale, - __double__getMaximumScale, - __void__setMaximumScale__double); - I_SimpleProperty(double, MinimumScale, - __double__getMinimumScale, - __void__setMinimumScale__double); - I_SimpleProperty(const osg::Vec3d &, PivotPoint, - __C5_Vec3d_R1__getPivotPoint, - __void__setPivotPoint__C5_Vec3d_R1); - I_SimpleProperty(const osg::Vec3d &, Position, - __C5_Vec3d_R1__getPosition, - __void__setPosition__C5_Vec3d_R1); - I_SimpleProperty(const osg::Quat &, Rotation, - __C5_Quat_R1__getRotation, - __void__setRotation__C5_Quat_R1); - I_SimpleProperty(const osg::Vec3d &, Scale, - __C5_Vec3d_R1__getScale, - __void__setScale__C5_Vec3d_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Billboard.cpp b/src/osgWrappers/introspection/osg/Billboard.cpp deleted file mode 100644 index f42181282..000000000 --- a/src/osgWrappers/introspection/osg/Billboard.cpp +++ /dev/null @@ -1,186 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Billboard::Mode) - I_DeclaringFile("osg/Billboard"); - I_EnumLabel(osg::Billboard::POINT_ROT_EYE); - I_EnumLabel(osg::Billboard::POINT_ROT_WORLD); - I_EnumLabel(osg::Billboard::AXIAL_ROT); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osg::Billboard::PositionList) - -BEGIN_OBJECT_REFLECTOR(osg::Billboard) - I_DeclaringFile("osg/Billboard"); - I_BaseType(osg::Geode); - I_Constructor0(____Billboard, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Billboard &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Billboard__C5_Billboard_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setMode, IN, osg::Billboard::Mode, mode, - Properties::NON_VIRTUAL, - __void__setMode__Mode, - "Set the billboard rotation mode. ", - ""); - I_Method0(osg::Billboard::Mode, getMode, - Properties::NON_VIRTUAL, - __Mode__getMode, - "Get the billboard rotation mode. ", - ""); - I_Method1(void, setAxis, IN, const osg::Vec3 &, axis, - Properties::NON_VIRTUAL, - __void__setAxis__C5_Vec3_R1, - "Set the rotation axis for the billboard's child Drawables. ", - "Only utilized when mode==AXIAL_ROT. "); - I_Method0(const osg::Vec3 &, getAxis, - Properties::NON_VIRTUAL, - __C5_Vec3_R1__getAxis, - "Get the rotation axis. ", - ""); - I_Method1(void, setNormal, IN, const osg::Vec3 &, normal, - Properties::NON_VIRTUAL, - __void__setNormal__C5_Vec3_R1, - "This normal defines child Drawables' front face direction when unrotated. ", - ""); - I_Method0(const osg::Vec3 &, getNormal, - Properties::NON_VIRTUAL, - __C5_Vec3_R1__getNormal, - "Get the front face direction normal. ", - ""); - I_Method2(void, setPosition, IN, unsigned int, i, IN, const osg::Vec3 &, pos, - Properties::NON_VIRTUAL, - __void__setPosition__unsigned_int__C5_Vec3_R1, - "Set the specified child Drawable's position. ", - ""); - I_Method1(const osg::Vec3 &, getPosition, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Vec3_R1__getPosition__unsigned_int, - "Get the specified child Drawable's position. ", - ""); - I_Method1(void, setPositionList, IN, osg::Billboard::PositionList &, pl, - Properties::NON_VIRTUAL, - __void__setPositionList__PositionList_R1, - "Set the list of pivot point positions. ", - ""); - I_Method0(osg::Billboard::PositionList &, getPositionList, - Properties::NON_VIRTUAL, - __PositionList_R1__getPositionList, - "Get the list of pivot point positions. ", - ""); - I_Method0(const osg::Billboard::PositionList &, getPositionList, - Properties::NON_VIRTUAL, - __C5_PositionList_R1__getPositionList, - "Get a const list of pivot point positions. ", - ""); - I_Method1(bool, addDrawable, IN, osg::Drawable *, gset, - Properties::VIRTUAL, - __bool__addDrawable__Drawable_P1, - "Add a Drawable with a default position of Vec3(0,0,0). ", - "Call the base-class Geode::addDrawble() to add the given Drawable gset as a child. If Geode::addDrawable() returns true, add the default position to the pivot point position list and return true. Otherwise, return false. "); - I_Method2(bool, addDrawable, IN, osg::Drawable *, gset, IN, const osg::Vec3 &, pos, - Properties::VIRTUAL, - __bool__addDrawable__Drawable_P1__C5_Vec3_R1, - "Add a Drawable with a specified position. ", - "Call the base-class Geode::addDrawble() to add the given Drawable gset as a child. If Geode::addDrawable() returns true, add the given position pos to the pivot point position list and return true. Otherwise, return false. "); - I_Method1(bool, removeDrawable, IN, osg::Drawable *, gset, - Properties::VIRTUAL, - __bool__removeDrawable__Drawable_P1, - "Remove a Drawable and its associated position. ", - "If gset is a child, remove it, decrement its reference count, remove its pivot point position. and return true. Otherwise, return false. "); - I_Method3(bool, computeMatrix, IN, osg::Matrix &, modelview, IN, const osg::Vec3 &, eye_local, IN, const osg::Vec3 &, pos_local, - Properties::NON_VIRTUAL, - __bool__computeMatrix__Matrix_R1__C5_Vec3_R1__C5_Vec3_R1, - "", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "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(). "); - I_ProtectedMethod0(void, updateCache, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__updateCache, - "", - ""); - I_SimpleProperty(const osg::Vec3 &, Axis, - __C5_Vec3_R1__getAxis, - __void__setAxis__C5_Vec3_R1); - I_SimpleProperty(osg::Billboard::Mode, Mode, - __Mode__getMode, - __void__setMode__Mode); - I_SimpleProperty(const osg::Vec3 &, Normal, - __C5_Vec3_R1__getNormal, - __void__setNormal__C5_Vec3_R1); - I_IndexedProperty(const osg::Vec3 &, Position, - __C5_Vec3_R1__getPosition__unsigned_int, - __void__setPosition__unsigned_int__C5_Vec3_R1, - 0); - I_SimpleProperty(osg::Billboard::PositionList &, PositionList, - __PositionList_R1__getPositionList, - __void__setPositionList__PositionList_R1); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::Vec3 >) - diff --git a/src/osgWrappers/introspection/osg/BlendColor.cpp b/src/osgWrappers/introspection/osg/BlendColor.cpp deleted file mode 100644 index 6aa30b544..000000000 --- a/src/osgWrappers/introspection/osg/BlendColor.cpp +++ /dev/null @@ -1,120 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::BlendColor) - I_DeclaringFile("osg/BlendColor"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____BlendColor, - "", - ""); - I_Constructor1(IN, const osg::Vec4 &, constantColor, - Properties::NON_EXPLICIT, - ____BlendColor__C5_osg_Vec4_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::BlendColor &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____BlendColor__C5_BlendColor_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setConstantColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setConstantColor__C5_osg_Vec4_R1, - "", - ""); - I_Method0(osg::Vec4 &, getConstantColor, - Properties::NON_VIRTUAL, - __osg_Vec4_R1__getConstantColor, - "", - ""); - I_Method0(const osg::Vec4 &, getConstantColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getConstantColor, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_StaticMethod2(osg::BlendColor::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Returns the Extensions object for the given context. ", - "If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendColor::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "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. "); - I_SimpleProperty(const osg::Vec4 &, ConstantColor, - __C5_osg_Vec4_R1__getConstantColor, - __void__setConstantColor__C5_osg_Vec4_R1); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/BlendEquation.cpp b/src/osgWrappers/introspection/osg/BlendEquation.cpp deleted file mode 100644 index e879dab49..000000000 --- a/src/osgWrappers/introspection/osg/BlendEquation.cpp +++ /dev/null @@ -1,156 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::BlendEquation::Equation) - I_DeclaringFile("osg/BlendEquation"); - I_EnumLabel(osg::BlendEquation::RGBA_MIN); - I_EnumLabel(osg::BlendEquation::RGBA_MAX); - I_EnumLabel(osg::BlendEquation::ALPHA_MIN); - I_EnumLabel(osg::BlendEquation::ALPHA_MAX); - I_EnumLabel(osg::BlendEquation::LOGIC_OP); - I_EnumLabel(osg::BlendEquation::FUNC_ADD); - I_EnumLabel(osg::BlendEquation::FUNC_SUBTRACT); - I_EnumLabel(osg::BlendEquation::FUNC_REVERSE_SUBTRACT); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::BlendEquation) - I_DeclaringFile("osg/BlendEquation"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____BlendEquation, - "", - ""); - I_Constructor1(IN, osg::BlendEquation::Equation, equation, - Properties::NON_EXPLICIT, - ____BlendEquation__Equation, - "", - ""); - I_Constructor2(IN, osg::BlendEquation::Equation, equationRGB, IN, osg::BlendEquation::Equation, equationAlpha, - ____BlendEquation__Equation__Equation, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::BlendEquation &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____BlendEquation__C5_BlendEquation_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setEquation, IN, osg::BlendEquation::Equation, equation, - Properties::NON_VIRTUAL, - __void__setEquation__Equation, - "", - ""); - I_Method0(osg::BlendEquation::Equation, getEquation, - Properties::NON_VIRTUAL, - __Equation__getEquation, - "", - ""); - I_Method1(void, setEquationRGB, IN, osg::BlendEquation::Equation, equation, - Properties::NON_VIRTUAL, - __void__setEquationRGB__Equation, - "", - ""); - I_Method0(osg::BlendEquation::Equation, getEquationRGB, - Properties::NON_VIRTUAL, - __Equation__getEquationRGB, - "", - ""); - I_Method1(void, setEquationAlpha, IN, osg::BlendEquation::Equation, equation, - Properties::NON_VIRTUAL, - __void__setEquationAlpha__Equation, - "", - ""); - I_Method0(osg::BlendEquation::Equation, getEquationAlpha, - Properties::NON_VIRTUAL, - __Equation__getEquationAlpha, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_StaticMethod2(osg::BlendEquation::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Returns the Extensions object for the given context. ", - "If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendEquation::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "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. "); - I_SimpleProperty(osg::BlendEquation::Equation, Equation, - __Equation__getEquation, - __void__setEquation__Equation); - I_SimpleProperty(osg::BlendEquation::Equation, EquationAlpha, - __Equation__getEquationAlpha, - __void__setEquationAlpha__Equation); - I_SimpleProperty(osg::BlendEquation::Equation, EquationRGB, - __Equation__getEquationRGB, - __void__setEquationRGB__Equation); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/BlendFunc.cpp b/src/osgWrappers/introspection/osg/BlendFunc.cpp deleted file mode 100644 index 10fdb46f6..000000000 --- a/src/osgWrappers/introspection/osg/BlendFunc.cpp +++ /dev/null @@ -1,211 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::BlendFunc::BlendFuncMode) - I_DeclaringFile("osg/BlendFunc"); - I_EnumLabel(osg::BlendFunc::DST_ALPHA); - I_EnumLabel(osg::BlendFunc::DST_COLOR); - I_EnumLabel(osg::BlendFunc::ONE); - I_EnumLabel(osg::BlendFunc::ONE_MINUS_DST_ALPHA); - I_EnumLabel(osg::BlendFunc::ONE_MINUS_DST_COLOR); - I_EnumLabel(osg::BlendFunc::ONE_MINUS_SRC_ALPHA); - I_EnumLabel(osg::BlendFunc::ONE_MINUS_SRC_COLOR); - I_EnumLabel(osg::BlendFunc::SRC_ALPHA); - I_EnumLabel(osg::BlendFunc::SRC_ALPHA_SATURATE); - I_EnumLabel(osg::BlendFunc::SRC_COLOR); - I_EnumLabel(osg::BlendFunc::CONSTANT_COLOR); - I_EnumLabel(osg::BlendFunc::ONE_MINUS_CONSTANT_COLOR); - I_EnumLabel(osg::BlendFunc::CONSTANT_ALPHA); - I_EnumLabel(osg::BlendFunc::ONE_MINUS_CONSTANT_ALPHA); - I_EnumLabel(osg::BlendFunc::ZERO); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::BlendFunc) - I_DeclaringFile("osg/BlendFunc"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____BlendFunc, - "", - ""); - I_Constructor2(IN, GLenum, source, IN, GLenum, destination, - ____BlendFunc__GLenum__GLenum, - "", - ""); - I_Constructor4(IN, GLenum, source, IN, GLenum, destination, IN, GLenum, source_alpha, IN, GLenum, destination_alpha, - ____BlendFunc__GLenum__GLenum__GLenum__GLenum, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::BlendFunc &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____BlendFunc__C5_BlendFunc_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method2(void, setFunction, IN, GLenum, source, IN, GLenum, destination, - Properties::NON_VIRTUAL, - __void__setFunction__GLenum__GLenum, - "", - ""); - I_Method4(void, setFunction, IN, GLenum, source_rgb, IN, GLenum, destination_rgb, IN, GLenum, source_alpha, IN, GLenum, destination_alpha, - Properties::NON_VIRTUAL, - __void__setFunction__GLenum__GLenum__GLenum__GLenum, - "", - ""); - I_Method1(void, setSource, IN, GLenum, source, - Properties::NON_VIRTUAL, - __void__setSource__GLenum, - "", - ""); - I_Method0(GLenum, getSource, - Properties::NON_VIRTUAL, - __GLenum__getSource, - "", - ""); - I_Method1(void, setSourceRGB, IN, GLenum, source, - Properties::NON_VIRTUAL, - __void__setSourceRGB__GLenum, - "", - ""); - I_Method0(GLenum, getSourceRGB, - Properties::NON_VIRTUAL, - __GLenum__getSourceRGB, - "", - ""); - I_Method1(void, setSourceAlpha, IN, GLenum, source, - Properties::NON_VIRTUAL, - __void__setSourceAlpha__GLenum, - "", - ""); - I_Method0(GLenum, getSourceAlpha, - Properties::NON_VIRTUAL, - __GLenum__getSourceAlpha, - "", - ""); - I_Method1(void, setDestination, IN, GLenum, destination, - Properties::NON_VIRTUAL, - __void__setDestination__GLenum, - "", - ""); - I_Method0(GLenum, getDestination, - Properties::NON_VIRTUAL, - __GLenum__getDestination, - "", - ""); - I_Method1(void, setDestinationRGB, IN, GLenum, destination, - Properties::NON_VIRTUAL, - __void__setDestinationRGB__GLenum, - "", - ""); - I_Method0(GLenum, getDestinationRGB, - Properties::NON_VIRTUAL, - __GLenum__getDestinationRGB, - "", - ""); - I_Method1(void, setDestinationAlpha, IN, GLenum, destination, - Properties::NON_VIRTUAL, - __void__setDestinationAlpha__GLenum, - "", - ""); - I_Method0(GLenum, getDestinationAlpha, - Properties::NON_VIRTUAL, - __GLenum__getDestinationAlpha, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_StaticMethod2(osg::BlendFunc::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Returns the Extensions object for the given context. ", - "If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendFunc::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "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. "); - I_SimpleProperty(GLenum, Destination, - __GLenum__getDestination, - __void__setDestination__GLenum); - I_SimpleProperty(GLenum, DestinationAlpha, - __GLenum__getDestinationAlpha, - __void__setDestinationAlpha__GLenum); - I_SimpleProperty(GLenum, DestinationRGB, - __GLenum__getDestinationRGB, - __void__setDestinationRGB__GLenum); - I_SimpleProperty(GLenum, Source, - __GLenum__getSource, - __void__setSource__GLenum); - I_SimpleProperty(GLenum, SourceAlpha, - __GLenum__getSourceAlpha, - __void__setSourceAlpha__GLenum); - I_SimpleProperty(GLenum, SourceRGB, - __GLenum__getSourceRGB, - __void__setSourceRGB__GLenum); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/BoundingBox.cpp b/src/osgWrappers/introspection/osg/BoundingBox.cpp deleted file mode 100644 index 9306aa845..000000000 --- a/src/osgWrappers/introspection/osg/BoundingBox.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::BoundingBoxImpl< osg::Vec3f >, osg::BoundingBoxf) - -TYPE_NAME_ALIAS(osg::BoundingBoxImpl< osg::Vec3d >, osg::BoundingBoxd) - -TYPE_NAME_ALIAS(osg::BoundingBoxf, osg::BoundingBox) - diff --git a/src/osgWrappers/introspection/osg/BoundingSphere.cpp b/src/osgWrappers/introspection/osg/BoundingSphere.cpp deleted file mode 100644 index e4959df8a..000000000 --- a/src/osgWrappers/introspection/osg/BoundingSphere.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::BoundingSphereImpl< osg::Vec3f >, osg::BoundingSpheref) - -TYPE_NAME_ALIAS(osg::BoundingSphereImpl< osg::Vec3d >, osg::BoundingSphered) - -TYPE_NAME_ALIAS(osg::BoundingSpheref, osg::BoundingSphere) - diff --git a/src/osgWrappers/introspection/osg/BufferObject.cpp b/src/osgWrappers/introspection/osg/BufferObject.cpp deleted file mode 100644 index 8a010294f..000000000 --- a/src/osgWrappers/introspection/osg/BufferObject.cpp +++ /dev/null @@ -1,1226 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::BufferData) - I_DeclaringFile("osg/BufferObject"); - I_BaseType(osg::Object); - I_Constructor0(____BufferData, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::BufferData &, bd, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____BufferData__C5_BufferData_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::PURE_VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::PURE_VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method1(void, setBufferObject, IN, osg::BufferObject *, bufferObject, - Properties::NON_VIRTUAL, - __void__setBufferObject__BufferObject_P1, - "", - ""); - I_Method0(osg::BufferObject *, getBufferObject, - Properties::NON_VIRTUAL, - __BufferObject_P1__getBufferObject, - "", - ""); - I_Method0(const osg::BufferObject *, getBufferObject, - Properties::NON_VIRTUAL, - __C5_BufferObject_P1__getBufferObject, - "", - ""); - I_Method1(void, setBufferIndex, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __void__setBufferIndex__unsigned_int, - "", - ""); - I_Method0(unsigned int, getBufferIndex, - Properties::NON_VIRTUAL, - __unsigned_int__getBufferIndex, - "", - ""); - I_Method1(osg::GLBufferObject *, getGLBufferObject, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __GLBufferObject_P1__getGLBufferObject__unsigned_int, - "", - ""); - I_Method1(osg::GLBufferObject *, getOrCreateGLBufferObject, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __GLBufferObject_P1__getOrCreateGLBufferObject__unsigned_int, - "", - ""); - I_Method1(void, setModifiedCallback, IN, osg::BufferData::ModifiedCallback *, md, - Properties::NON_VIRTUAL, - __void__setModifiedCallback__ModifiedCallback_P1, - "", - ""); - I_Method0(osg::BufferData::ModifiedCallback *, getModifiedCallback, - Properties::NON_VIRTUAL, - __ModifiedCallback_P1__getModifiedCallback, - "", - ""); - I_Method0(const osg::BufferData::ModifiedCallback *, getModifiedCallback, - Properties::NON_VIRTUAL, - __C5_ModifiedCallback_P1__getModifiedCallback, - "", - ""); - I_Method0(void, dirty, - Properties::NON_VIRTUAL, - __void__dirty, - "Dirty the primitive, which increments the modified count, to force buffer objects to update. ", - "If a ModifiedCallback is attached to this BufferData then the callback is called prior to the bufferObject's dirty is called. "); - I_Method1(void, setModifiedCount, IN, unsigned int, value, - Properties::NON_VIRTUAL, - __void__setModifiedCount__unsigned_int, - "Set the modified count value. ", - ""); - I_Method0(unsigned int, getModifiedCount, - Properties::NON_VIRTUAL, - __unsigned_int__getModifiedCount, - "Get modified count value. ", - ""); - I_SimpleProperty(unsigned int, BufferIndex, - __unsigned_int__getBufferIndex, - __void__setBufferIndex__unsigned_int); - I_SimpleProperty(osg::BufferObject *, BufferObject, - __BufferObject_P1__getBufferObject, - __void__setBufferObject__BufferObject_P1); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(osg::BufferData::ModifiedCallback *, ModifiedCallback, - __ModifiedCallback_P1__getModifiedCallback, - __void__setModifiedCallback__ModifiedCallback_P1); - I_SimpleProperty(unsigned int, ModifiedCount, - __unsigned_int__getModifiedCount, - __void__setModifiedCount__unsigned_int); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::BufferData::ModifiedCallback) - I_DeclaringFile("osg/BufferObject"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____ModifiedCallback, - "", - ""); - I_Constructor2(IN, const osg::BufferData::ModifiedCallback &, x, IN, const osg::CopyOp &, x, - ____ModifiedCallback__C5_ModifiedCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, modified, IN, osg::BufferData *, x, - Properties::VIRTUAL, - __void__modified__BufferData_P1, - "", - ""); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::BufferObject) - I_DeclaringFile("osg/BufferObject"); - I_BaseType(osg::Object); - I_Constructor0(____BufferObject, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::BufferObject &, bo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____BufferObject__C5_BufferObject_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setTarget, IN, GLenum, target, - Properties::NON_VIRTUAL, - __void__setTarget__GLenum, - "", - ""); - I_Method0(GLenum, getTarget, - Properties::NON_VIRTUAL, - __GLenum__getTarget, - "", - ""); - I_Method1(void, setUsage, IN, GLenum, usage, - Properties::NON_VIRTUAL, - __void__setUsage__GLenum, - "Set what type of usage the buffer object will have. ", - "Options are: GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. "); - I_Method0(GLenum, getUsage, - Properties::NON_VIRTUAL, - __GLenum__getUsage, - "Get the type of usage the buffer object has been set up for. ", - ""); - I_Method0(osg::BufferObjectProfile &, getProfile, - Properties::NON_VIRTUAL, - __BufferObjectProfile_R1__getProfile, - "", - ""); - I_Method0(const osg::BufferObjectProfile &, getProfile, - Properties::NON_VIRTUAL, - __C5_BufferObjectProfile_R1__getProfile, - "", - ""); - I_Method0(void, dirty, - Properties::NON_VIRTUAL, - __void__dirty, - "", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__State_P1, - "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_Method1(unsigned int, addBufferData, IN, osg::BufferData *, bd, - Properties::NON_VIRTUAL, - __unsigned_int__addBufferData__BufferData_P1, - "", - ""); - I_Method1(void, removeBufferData, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __void__removeBufferData__unsigned_int, - "", - ""); - I_Method1(void, removeBufferData, IN, osg::BufferData *, bd, - Properties::NON_VIRTUAL, - __void__removeBufferData__BufferData_P1, - "", - ""); - I_Method2(void, setBufferData, IN, unsigned int, index, IN, osg::BufferData *, bd, - Properties::NON_VIRTUAL, - __void__setBufferData__unsigned_int__BufferData_P1, - "", - ""); - I_Method1(osg::BufferData *, getBufferData, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __BufferData_P1__getBufferData__unsigned_int, - "", - ""); - I_Method1(const osg::BufferData *, getBufferData, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __C5_BufferData_P1__getBufferData__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumBufferData, - Properties::NON_VIRTUAL, - __unsigned_int__getNumBufferData, - "", - ""); - I_Method2(void, setGLBufferObject, IN, unsigned int, contextID, IN, osg::GLBufferObject *, glbo, - Properties::NON_VIRTUAL, - __void__setGLBufferObject__unsigned_int__GLBufferObject_P1, - "", - ""); - I_Method1(osg::GLBufferObject *, getGLBufferObject, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __GLBufferObject_P1__getGLBufferObject__unsigned_int, - "", - ""); - I_Method1(osg::GLBufferObject *, getOrCreateGLBufferObject, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __GLBufferObject_P1__getOrCreateGLBufferObject__unsigned_int, - "", - ""); - I_Method0(unsigned int, computeRequiredBufferSize, - Properties::NON_VIRTUAL, - __unsigned_int__computeRequiredBufferSize, - "", - ""); - I_StaticMethod2(void, deleteBufferObject, IN, unsigned int, contextID, IN, GLuint, globj, - __void__deleteBufferObject__unsigned_int__GLuint_S, - "deprecated, provided for backwards compatibility. ", - ""); - I_ArrayProperty(osg::BufferData *, BufferData, - __BufferData_P1__getBufferData__unsigned_int, - __void__setBufferData__unsigned_int__BufferData_P1, - __unsigned_int__getNumBufferData, - __unsigned_int__addBufferData__BufferData_P1, - 0, - __void__removeBufferData__unsigned_int); - I_IndexedProperty(osg::GLBufferObject *, GLBufferObject, - __GLBufferObject_P1__getGLBufferObject__unsigned_int, - __void__setGLBufferObject__unsigned_int__GLBufferObject_P1, - 0); - I_SimpleProperty(osg::BufferObjectProfile &, Profile, - __BufferObjectProfile_R1__getProfile, - 0); - I_SimpleProperty(GLenum, Target, - __GLenum__getTarget, - __void__setTarget__GLenum); - I_SimpleProperty(GLenum, Usage, - __GLenum__getUsage, - __void__setUsage__GLenum); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::BufferObjectProfile) - I_DeclaringFile("osg/BufferObject"); - I_Constructor0(____BufferObjectProfile, - "", - ""); - I_Constructor3(IN, GLenum, target, IN, GLenum, usage, IN, unsigned int, size, - ____BufferObjectProfile__GLenum__GLenum__unsigned_int, - "", - ""); - I_Constructor1(IN, const osg::BufferObjectProfile &, bpo, - Properties::NON_EXPLICIT, - ____BufferObjectProfile__C5_BufferObjectProfile_R1, - "", - ""); - I_Method3(void, setProfile, IN, GLenum, target, IN, GLenum, usage, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setProfile__GLenum__GLenum__unsigned_int, - "", - ""); - I_PublicMemberProperty(GLenum, _target); - I_PublicMemberProperty(GLenum, _usage); - I_PublicMemberProperty(GLenum, _size); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::ElementBufferObject) - I_DeclaringFile("osg/BufferObject"); - I_BaseType(osg::BufferObject); - I_Constructor0(____ElementBufferObject, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ElementBufferObject &, pbo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ElementBufferObject__C5_ElementBufferObject_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(unsigned int, addDrawElements, IN, osg::DrawElements *, PrimitiveSet, - Properties::NON_VIRTUAL, - __unsigned_int__addDrawElements__osg_DrawElements_P1, - "", - ""); - I_Method1(void, removeDrawElements, IN, osg::DrawElements *, PrimitiveSet, - Properties::NON_VIRTUAL, - __void__removeDrawElements__osg_DrawElements_P1, - "", - ""); - I_Method2(void, setDrawElements, IN, unsigned int, i, IN, osg::DrawElements *, PrimitiveSet, - Properties::NON_VIRTUAL, - __void__setDrawElements__unsigned_int__DrawElements_P1, - "", - ""); - I_Method1(osg::DrawElements *, getDrawElements, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __DrawElements_P1__getDrawElements__unsigned_int, - "", - ""); - I_Method1(const osg::DrawElements *, getDrawElements, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_DrawElements_P1__getDrawElements__unsigned_int, - "", - ""); - I_IndexedProperty(osg::DrawElements *, DrawElements, - __DrawElements_P1__getDrawElements__unsigned_int, - __void__setDrawElements__unsigned_int__DrawElements_P1, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::GLBufferObject) - I_DeclaringFile("osg/BufferObject"); - I_BaseType(osg::Referenced); - I_ConstructorWithDefaults3(IN, unsigned int, contextID, , IN, osg::BufferObject *, bufferObject, , IN, unsigned int, glObjectID, 0, - ____GLBufferObject__unsigned_int__BufferObject_P1__unsigned_int, - "", - ""); - I_Method1(void, setProfile, IN, const osg::BufferObjectProfile &, profile, - Properties::NON_VIRTUAL, - __void__setProfile__C5_BufferObjectProfile_R1, - "", - ""); - I_Method0(const osg::BufferObjectProfile &, getProfile, - Properties::NON_VIRTUAL, - __C5_BufferObjectProfile_R1__getProfile, - "", - ""); - I_Method1(void, setBufferObject, IN, osg::BufferObject *, bufferObject, - Properties::NON_VIRTUAL, - __void__setBufferObject__BufferObject_P1, - "", - ""); - I_Method0(osg::BufferObject *, getBufferObject, - Properties::NON_VIRTUAL, - __BufferObject_P1__getBufferObject, - "", - ""); - I_Method0(unsigned int, getContextID, - Properties::NON_VIRTUAL, - __unsigned_int__getContextID, - "", - ""); - I_Method0(GLuint &, getGLObjectID, - Properties::NON_VIRTUAL, - __GLuint_R1__getGLObjectID, - "", - ""); - I_Method0(GLuint, getGLObjectID, - Properties::NON_VIRTUAL, - __GLuint__getGLObjectID, - "", - ""); - I_Method1(GLsizeiptrARB, getOffset, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __GLsizeiptrARB__getOffset__unsigned_int, - "", - ""); - I_Method0(void, bindBuffer, - Properties::NON_VIRTUAL, - __void__bindBuffer, - "", - ""); - I_Method0(void, unbindBuffer, - Properties::NON_VIRTUAL, - __void__unbindBuffer, - "", - ""); - I_Method0(bool, isDirty, - Properties::NON_VIRTUAL, - __bool__isDirty, - "", - ""); - I_Method0(void, dirty, - Properties::NON_VIRTUAL, - __void__dirty, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_Method0(void, compileBuffer, - Properties::NON_VIRTUAL, - __void__compileBuffer, - "", - ""); - I_Method0(void, deleteGLObject, - Properties::NON_VIRTUAL, - __void__deleteGLObject, - "", - ""); - I_Method1(void, assign, IN, osg::BufferObject *, bufferObject, - Properties::NON_VIRTUAL, - __void__assign__BufferObject_P1, - "", - ""); - I_Method0(bool, isPBOSupported, - Properties::NON_VIRTUAL, - __bool__isPBOSupported, - "", - ""); - I_StaticMethod2(osg::GLBufferObject *, createGLBufferObject, IN, unsigned int, contextID, IN, const osg::BufferObject *, bufferObject, - __GLBufferObject_P1__createGLBufferObject__unsigned_int__C5_BufferObject_P1_S, - "", - ""); - I_StaticMethod1(void, deleteAllBufferObjects, IN, unsigned int, contextID, - __void__deleteAllBufferObjects__unsigned_int_S, - "", - ""); - I_StaticMethod1(void, discardAllBufferObjects, IN, unsigned int, contextID, - __void__discardAllBufferObjects__unsigned_int_S, - "", - ""); - I_StaticMethod1(void, flushAllDeletedBufferObjects, IN, unsigned int, contextID, - __void__flushAllDeletedBufferObjects__unsigned_int_S, - "", - ""); - I_StaticMethod1(void, discardAllDeletedBufferObjects, IN, unsigned int, contextID, - __void__discardAllDeletedBufferObjects__unsigned_int_S, - "", - ""); - I_StaticMethod3(void, flushDeletedBufferObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availbleTime, - __void__flushDeletedBufferObjects__unsigned_int__double__double_R1_S, - "", - ""); - I_StaticMethod2(void, releaseGLBufferObject, IN, unsigned int, contextID, IN, osg::GLBufferObject *, to, - __void__releaseGLBufferObject__unsigned_int__GLBufferObject_P1_S, - "", - ""); - I_StaticMethod2(osg::GLBufferObject::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Function to call to get the extension of a specified context. ", - "If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object is only created with the graphics context associated with ContextID.. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::GLBufferObject::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "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. "); - I_SimpleProperty(osg::BufferObject *, BufferObject, - __BufferObject_P1__getBufferObject, - __void__setBufferObject__BufferObject_P1); - I_SimpleProperty(unsigned int, ContextID, - __unsigned_int__getContextID, - 0); - I_SimpleProperty(GLuint, GLObjectID, - __GLuint__getGLObjectID, - 0); - I_SimpleProperty(const osg::BufferObjectProfile &, Profile, - __C5_BufferObjectProfile_R1__getProfile, - __void__setProfile__C5_BufferObjectProfile_R1); - I_PublicMemberProperty(osg::GLBufferObjectSet *, _set); - I_PublicMemberProperty(osg::GLBufferObject *, _previous); - I_PublicMemberProperty(osg::GLBufferObject *, _next); - I_PublicMemberProperty(unsigned int, _frameLastUsed); - I_PublicMemberProperty(osg::GLBufferObject::Extensions *, _extensions); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::GLBufferObject::BufferEntry) - I_DeclaringFile("osg/BufferObject"); - I_Constructor0(____BufferEntry, - "", - ""); - I_Constructor1(IN, const osg::GLBufferObject::BufferEntry &, rhs, - Properties::NON_EXPLICIT, - ____BufferEntry__C5_BufferEntry_R1, - "", - ""); - I_PublicMemberProperty(unsigned int, modifiedCount); - I_PublicMemberProperty(unsigned int, dataSize); - I_PublicMemberProperty(unsigned int, offset); - I_PublicMemberProperty(osg::BufferData *, dataSource); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::GLBufferObjectManager) - I_DeclaringFile("osg/BufferObject"); - I_BaseType(osg::Referenced); - I_Constructor1(IN, unsigned int, contextID, - Properties::NON_EXPLICIT, - ____GLBufferObjectManager__unsigned_int, - "", - ""); - I_Method0(unsigned int, getContextID, - Properties::NON_VIRTUAL, - __unsigned_int__getContextID, - "", - ""); - I_Method1(void, setNumberActiveGLBufferObjects, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setNumberActiveGLBufferObjects__unsigned_int, - "", - ""); - I_Method0(unsigned int &, getNumberActiveGLBufferObjects, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberActiveGLBufferObjects, - "", - ""); - I_Method0(unsigned int, getNumberActiveGLBufferObjects, - Properties::NON_VIRTUAL, - __unsigned_int__getNumberActiveGLBufferObjects, - "", - ""); - I_Method1(void, setNumberOrphanedGLBufferObjects, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setNumberOrphanedGLBufferObjects__unsigned_int, - "", - ""); - I_Method0(unsigned int &, getNumberOrphanedGLBufferObjects, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberOrphanedGLBufferObjects, - "", - ""); - I_Method0(unsigned int, getNumberOrphanedGLBufferObjects, - Properties::NON_VIRTUAL, - __unsigned_int__getNumberOrphanedGLBufferObjects, - "", - ""); - I_Method1(void, setCurrGLBufferObjectPoolSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setCurrGLBufferObjectPoolSize__unsigned_int, - "", - ""); - I_Method0(unsigned int &, getCurrGLBufferObjectPoolSize, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getCurrGLBufferObjectPoolSize, - "", - ""); - I_Method0(unsigned int, getCurrGLBufferObjectPoolSize, - Properties::NON_VIRTUAL, - __unsigned_int__getCurrGLBufferObjectPoolSize, - "", - ""); - I_Method1(void, setMaxGLBufferObjectPoolSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setMaxGLBufferObjectPoolSize__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaxGLBufferObjectPoolSize, - Properties::NON_VIRTUAL, - __unsigned_int__getMaxGLBufferObjectPoolSize, - "", - ""); - I_Method1(bool, hasSpace, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __bool__hasSpace__unsigned_int, - "", - ""); - I_Method1(bool, makeSpace, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __bool__makeSpace__unsigned_int, - "", - ""); - I_Method1(osg::GLBufferObject *, generateGLBufferObject, IN, const osg::BufferObject *, bufferObject, - Properties::NON_VIRTUAL, - __GLBufferObject_P1__generateGLBufferObject__C5_osg_BufferObject_P1, - "", - ""); - I_Method0(void, handlePendingOrphandedGLBufferObjects, - Properties::NON_VIRTUAL, - __void__handlePendingOrphandedGLBufferObjects, - "", - ""); - I_Method0(void, deleteAllGLBufferObjects, - Properties::NON_VIRTUAL, - __void__deleteAllGLBufferObjects, - "", - ""); - I_Method0(void, discardAllGLBufferObjects, - Properties::NON_VIRTUAL, - __void__discardAllGLBufferObjects, - "", - ""); - I_Method0(void, flushAllDeletedGLBufferObjects, - Properties::NON_VIRTUAL, - __void__flushAllDeletedGLBufferObjects, - "", - ""); - I_Method0(void, discardAllDeletedGLBufferObjects, - Properties::NON_VIRTUAL, - __void__discardAllDeletedGLBufferObjects, - "", - ""); - I_Method2(void, flushDeletedGLBufferObjects, IN, double, currentTime, IN, double &, availableTime, - Properties::NON_VIRTUAL, - __void__flushDeletedGLBufferObjects__double__double_R1, - "", - ""); - I_Method1(void, releaseGLBufferObject, IN, osg::GLBufferObject *, to, - Properties::NON_VIRTUAL, - __void__releaseGLBufferObject__GLBufferObject_P1, - "", - ""); - I_Method1(osg::GLBufferObjectSet *, getGLBufferObjectSet, IN, const osg::BufferObjectProfile &, profile, - Properties::NON_VIRTUAL, - __GLBufferObjectSet_P1__getGLBufferObjectSet__C5_BufferObjectProfile_R1, - "", - ""); - I_Method1(void, newFrame, IN, osg::FrameStamp *, fs, - Properties::NON_VIRTUAL, - __void__newFrame__osg_FrameStamp_P1, - "", - ""); - I_Method0(void, resetStats, - Properties::NON_VIRTUAL, - __void__resetStats, - "", - ""); - I_Method0(void, reportStats, - Properties::NON_VIRTUAL, - __void__reportStats, - "", - ""); - I_Method0(unsigned int &, getFrameNumber, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getFrameNumber, - "", - ""); - I_Method0(unsigned int &, getNumberFrames, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberFrames, - "", - ""); - I_Method0(unsigned int &, getNumberDeleted, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberDeleted, - "", - ""); - I_Method0(double &, getDeleteTime, - Properties::NON_VIRTUAL, - __double_R1__getDeleteTime, - "", - ""); - I_Method0(unsigned int &, getNumberGenerated, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberGenerated, - "", - ""); - I_Method0(double &, getGenerateTime, - Properties::NON_VIRTUAL, - __double_R1__getGenerateTime, - "", - ""); - I_Method0(unsigned int &, getNumberApplied, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberApplied, - "", - ""); - I_Method0(double &, getApplyTime, - Properties::NON_VIRTUAL, - __double_R1__getApplyTime, - "", - ""); - I_StaticMethod1(osg::ref_ptr< osg::GLBufferObjectManager > &, getGLBufferObjectManager, IN, unsigned int, contextID, - __osg_ref_ptrT1_GLBufferObjectManager__R1__getGLBufferObjectManager__unsigned_int_S, - "", - ""); - I_SimpleProperty(double &, ApplyTime, - __double_R1__getApplyTime, - 0); - I_SimpleProperty(unsigned int, ContextID, - __unsigned_int__getContextID, - 0); - I_SimpleProperty(unsigned int, CurrGLBufferObjectPoolSize, - __unsigned_int__getCurrGLBufferObjectPoolSize, - __void__setCurrGLBufferObjectPoolSize__unsigned_int); - I_SimpleProperty(double &, DeleteTime, - __double_R1__getDeleteTime, - 0); - I_SimpleProperty(unsigned int &, FrameNumber, - __unsigned_int_R1__getFrameNumber, - 0); - I_SimpleProperty(double &, GenerateTime, - __double_R1__getGenerateTime, - 0); - I_SimpleProperty(unsigned int, MaxGLBufferObjectPoolSize, - __unsigned_int__getMaxGLBufferObjectPoolSize, - __void__setMaxGLBufferObjectPoolSize__unsigned_int); - I_SimpleProperty(unsigned int, NumberActiveGLBufferObjects, - __unsigned_int__getNumberActiveGLBufferObjects, - __void__setNumberActiveGLBufferObjects__unsigned_int); - I_SimpleProperty(unsigned int &, NumberApplied, - __unsigned_int_R1__getNumberApplied, - 0); - I_SimpleProperty(unsigned int &, NumberDeleted, - __unsigned_int_R1__getNumberDeleted, - 0); - I_SimpleProperty(unsigned int &, NumberFrames, - __unsigned_int_R1__getNumberFrames, - 0); - I_SimpleProperty(unsigned int &, NumberGenerated, - __unsigned_int_R1__getNumberGenerated, - 0); - I_SimpleProperty(unsigned int, NumberOrphanedGLBufferObjects, - __unsigned_int__getNumberOrphanedGLBufferObjects, - __void__setNumberOrphanedGLBufferObjects__unsigned_int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::GLBufferObjectSet) - I_DeclaringFile("osg/BufferObject"); - I_BaseType(osg::Referenced); - I_Constructor2(IN, osg::GLBufferObjectManager *, parent, IN, const osg::BufferObjectProfile &, profile, - ____GLBufferObjectSet__GLBufferObjectManager_P1__C5_BufferObjectProfile_R1, - "", - ""); - I_Method0(void, handlePendingOrphandedGLBufferObjects, - Properties::NON_VIRTUAL, - __void__handlePendingOrphandedGLBufferObjects, - "", - ""); - I_Method0(void, deleteAllGLBufferObjects, - Properties::NON_VIRTUAL, - __void__deleteAllGLBufferObjects, - "", - ""); - I_Method0(void, discardAllGLBufferObjects, - Properties::NON_VIRTUAL, - __void__discardAllGLBufferObjects, - "", - ""); - I_Method0(void, flushAllDeletedGLBufferObjects, - Properties::NON_VIRTUAL, - __void__flushAllDeletedGLBufferObjects, - "", - ""); - I_Method0(void, discardAllDeletedGLBufferObjects, - Properties::NON_VIRTUAL, - __void__discardAllDeletedGLBufferObjects, - "", - ""); - I_Method2(void, flushDeletedGLBufferObjects, IN, double, currentTime, IN, double &, availableTime, - Properties::NON_VIRTUAL, - __void__flushDeletedGLBufferObjects__double__double_R1, - "", - ""); - I_Method1(osg::GLBufferObject *, takeFromOrphans, IN, osg::BufferObject *, bufferObject, - Properties::NON_VIRTUAL, - __GLBufferObject_P1__takeFromOrphans__BufferObject_P1, - "", - ""); - I_Method1(osg::GLBufferObject *, takeOrGenerate, IN, osg::BufferObject *, bufferObject, - Properties::NON_VIRTUAL, - __GLBufferObject_P1__takeOrGenerate__BufferObject_P1, - "", - ""); - I_Method1(void, moveToBack, IN, osg::GLBufferObject *, to, - Properties::NON_VIRTUAL, - __void__moveToBack__GLBufferObject_P1, - "", - ""); - I_Method1(void, addToBack, IN, osg::GLBufferObject *, to, - Properties::NON_VIRTUAL, - __void__addToBack__GLBufferObject_P1, - "", - ""); - I_Method1(void, orphan, IN, osg::GLBufferObject *, to, - Properties::NON_VIRTUAL, - __void__orphan__GLBufferObject_P1, - "", - ""); - I_Method1(void, remove, IN, osg::GLBufferObject *, to, - Properties::NON_VIRTUAL, - __void__remove__GLBufferObject_P1, - "", - ""); - I_Method2(void, moveToSet, IN, osg::GLBufferObject *, to, IN, osg::GLBufferObjectSet *, set, - Properties::NON_VIRTUAL, - __void__moveToSet__GLBufferObject_P1__GLBufferObjectSet_P1, - "", - ""); - I_Method0(unsigned int, size, - Properties::NON_VIRTUAL, - __unsigned_int__size, - "", - ""); - I_Method1(bool, makeSpace, IN, unsigned int &, size, - Properties::NON_VIRTUAL, - __bool__makeSpace__unsigned_int_R1, - "", - ""); - I_Method0(bool, checkConsistency, - Properties::NON_VIRTUAL, - __bool__checkConsistency, - "", - ""); - I_Method0(osg::GLBufferObjectManager *, getParent, - Properties::NON_VIRTUAL, - __GLBufferObjectManager_P1__getParent, - "", - ""); - I_SimpleProperty(osg::GLBufferObjectManager *, Parent, - __GLBufferObjectManager_P1__getParent, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::PixelBufferObject) - I_DeclaringFile("osg/BufferObject"); - I_BaseType(osg::BufferObject); - I_ConstructorWithDefaults1(IN, osg::Image *, image, 0, - Properties::NON_EXPLICIT, - ____PixelBufferObject__osg_Image_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::PixelBufferObject &, pbo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PixelBufferObject__C5_PixelBufferObject_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setImage, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__setImage__osg_Image_P1, - "", - ""); - I_Method0(osg::Image *, getImage, - Properties::NON_VIRTUAL, - __Image_P1__getImage, - "", - ""); - I_Method0(const osg::Image *, getImage, - Properties::NON_VIRTUAL, - __C5_Image_P1__getImage, - "", - ""); - I_Method1(bool, isPBOSupported, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __bool__isPBOSupported__unsigned_int, - "", - ""); - I_SimpleProperty(osg::Image *, Image, - __Image_P1__getImage, - __void__setImage__osg_Image_P1); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::PixelDataBufferObject::Mode) - I_DeclaringFile("osg/BufferObject"); - I_EnumLabel(osg::PixelDataBufferObject::NONE); - I_EnumLabel(osg::PixelDataBufferObject::READ); - I_EnumLabel(osg::PixelDataBufferObject::WRITE); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::PixelDataBufferObject) - I_DeclaringFile("osg/BufferObject"); - I_BaseType(osg::BufferObject); - I_Constructor0(____PixelDataBufferObject, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::PixelDataBufferObject &, pbo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PixelDataBufferObject__C5_PixelDataBufferObject_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setDataSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setDataSize__unsigned_int, - "Set new size of the buffer object. This will reallocate the memory on the next compile. ", - ""); - I_Method0(unsigned int, getDataSize, - Properties::NON_VIRTUAL, - __unsigned_int__getDataSize, - "Get data size of the used buffer. ", - ""); - I_Method1(void, compileBuffer, IN, osg::State &, state, - Properties::VIRTUAL, - __void__compileBuffer__State_R1, - "Compile the buffer (reallocate the memory if buffer is dirty). ", - ""); - I_Method1(void, bindBufferInReadMode, IN, osg::State &, state, - Properties::VIRTUAL, - __void__bindBufferInReadMode__State_R1, - "Bind the buffer in read mode, which means that data can be downloaded from the buffer (note: GL_PIXEL_UNPACK_BUFFER_ARB). ", - ""); - I_Method1(void, bindBufferInWriteMode, IN, osg::State &, state, - Properties::VIRTUAL, - __void__bindBufferInWriteMode__State_R1, - "Bind the buffer in write mode, which means following OpenGL instructions will write data into the buffer (note: GL_PIXEL_PACK_BUFFER_ARB). ", - ""); - I_Method1(void, unbindBuffer, IN, unsigned int, contextID, - Properties::VIRTUAL, - __void__unbindBuffer__unsigned_int, - "Unbind the buffer. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_Method1(osg::PixelDataBufferObject::Mode, getMode, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __Mode__getMode__unsigned_int, - "", - ""); - I_SimpleProperty(unsigned int, DataSize, - __unsigned_int__getDataSize, - __void__setDataSize__unsigned_int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::VertexBufferObject) - I_DeclaringFile("osg/BufferObject"); - I_BaseType(osg::BufferObject); - I_Constructor0(____VertexBufferObject, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::VertexBufferObject &, vbo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____VertexBufferObject__C5_VertexBufferObject_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(unsigned int, addArray, IN, osg::Array *, array, - Properties::NON_VIRTUAL, - __unsigned_int__addArray__osg_Array_P1, - "", - ""); - I_Method1(void, removeArray, IN, osg::Array *, array, - Properties::NON_VIRTUAL, - __void__removeArray__osg_Array_P1, - "", - ""); - I_Method2(void, setArray, IN, unsigned int, i, IN, osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setArray__unsigned_int__Array_P1, - "", - ""); - I_Method1(osg::Array *, getArray, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Array_P1__getArray__unsigned_int, - "", - ""); - I_Method1(const osg::Array *, getArray, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Array_P1__getArray__unsigned_int, - "", - ""); - I_IndexedProperty(osg::Array *, Array, - __Array_P1__getArray__unsigned_int, - __void__setArray__unsigned_int__Array_P1, - 0); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::GLBufferObject > >, osg::GLBufferObjectList) - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::GLBufferObject >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::GLBufferObject *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::GLBufferObject > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::GLBufferObject > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::GLBufferObject *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::GLBufferObject *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::GLBufferObject > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::GLBufferObject *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::GLBufferObjectManager >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::GLBufferObjectManager *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::GLBufferObjectManager > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::GLBufferObjectManager > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::GLBufferObjectManager *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::GLBufferObjectManager *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::GLBufferObjectManager > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::GLBufferObjectManager *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::GLBufferObject > >) - diff --git a/src/osgWrappers/introspection/osg/Camera.cpp b/src/osgWrappers/introspection/osg/Camera.cpp deleted file mode 100644 index 230f24c19..000000000 --- a/src/osgWrappers/introspection/osg/Camera.cpp +++ /dev/null @@ -1,856 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Camera::TransformOrder) - I_DeclaringFile("osg/Camera"); - I_EnumLabel(osg::Camera::PRE_MULTIPLY); - I_EnumLabel(osg::Camera::POST_MULTIPLY); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Camera::ProjectionResizePolicy) - I_DeclaringFile("osg/Camera"); - I_EnumLabel(osg::Camera::FIXED); - I_EnumLabel(osg::Camera::HORIZONTAL); - I_EnumLabel(osg::Camera::VERTICAL); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Camera::RenderOrder) - I_DeclaringFile("osg/Camera"); - I_EnumLabel(osg::Camera::PRE_RENDER); - I_EnumLabel(osg::Camera::NESTED_RENDER); - I_EnumLabel(osg::Camera::POST_RENDER); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Camera::RenderTargetImplementation) - I_DeclaringFile("osg/Camera"); - I_EnumLabel(osg::Camera::FRAME_BUFFER_OBJECT); - I_EnumLabel(osg::Camera::PIXEL_BUFFER_RTT); - I_EnumLabel(osg::Camera::PIXEL_BUFFER); - I_EnumLabel(osg::Camera::FRAME_BUFFER); - I_EnumLabel(osg::Camera::SEPERATE_WINDOW); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Camera::BufferComponent) - I_DeclaringFile("osg/Camera"); - I_EnumLabel(osg::Camera::DEPTH_BUFFER); - I_EnumLabel(osg::Camera::STENCIL_BUFFER); - I_EnumLabel(osg::Camera::PACKED_DEPTH_STENCIL_BUFFER); - I_EnumLabel(osg::Camera::COLOR_BUFFER); - I_EnumLabel(osg::Camera::COLOR_BUFFER0); - I_EnumLabel(osg::Camera::COLOR_BUFFER1); - I_EnumLabel(osg::Camera::COLOR_BUFFER2); - I_EnumLabel(osg::Camera::COLOR_BUFFER3); - I_EnumLabel(osg::Camera::COLOR_BUFFER4); - I_EnumLabel(osg::Camera::COLOR_BUFFER5); - I_EnumLabel(osg::Camera::COLOR_BUFFER6); - I_EnumLabel(osg::Camera::COLOR_BUFFER7); - I_EnumLabel(osg::Camera::COLOR_BUFFER8); - I_EnumLabel(osg::Camera::COLOR_BUFFER9); - I_EnumLabel(osg::Camera::COLOR_BUFFER10); - I_EnumLabel(osg::Camera::COLOR_BUFFER11); - I_EnumLabel(osg::Camera::COLOR_BUFFER12); - I_EnumLabel(osg::Camera::COLOR_BUFFER13); - I_EnumLabel(osg::Camera::COLOR_BUFFER14); - I_EnumLabel(osg::Camera::COLOR_BUFFER15); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Camera::ImplicitBufferAttachment) - I_DeclaringFile("osg/Camera"); - I_EnumLabel(osg::Camera::IMPLICIT_DEPTH_BUFFER_ATTACHMENT); - I_EnumLabel(osg::Camera::IMPLICIT_STENCIL_BUFFER_ATTACHMENT); - I_EnumLabel(osg::Camera::IMPLICIT_COLOR_BUFFER_ATTACHMENT); - I_EnumLabel(osg::Camera::USE_DISPLAY_SETTINGS_MASK); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< osg::Camera::BufferComponent COMMA osg::Camera::Attachment >, osg::Camera::BufferAttachmentMap) - -TYPE_NAME_ALIAS(int, osg::Camera::ImplicitBufferAttachmentMask) - -BEGIN_OBJECT_REFLECTOR(osg::Camera) - I_DeclaringFile("osg/Camera"); - I_BaseType(osg::Transform); - I_BaseType(osg::CullSettings); - I_Constructor0(____Camera, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Camera &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Camera__C5_Camera_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setView, IN, osg::View *, view, - Properties::NON_VIRTUAL, - __void__setView__View_P1, - "Set the View that this Camera is part of. ", - ""); - I_Method0(osg::View *, getView, - Properties::NON_VIRTUAL, - __View_P1__getView, - "Get the View that this Camera is part of. ", - ""); - I_Method0(const osg::View *, getView, - Properties::NON_VIRTUAL, - __C5_View_P1__getView, - "Get the const View that this Camera is part of. ", - ""); - I_Method1(void, setStats, IN, osg::Stats *, stats, - Properties::NON_VIRTUAL, - __void__setStats__osg_Stats_P1, - "Set the Stats object used for collect various frame related timing and scene graph stats. ", - ""); - I_Method0(osg::Stats *, getStats, - Properties::NON_VIRTUAL, - __osg_Stats_P1__getStats, - "Get the Stats object. ", - ""); - I_Method0(const osg::Stats *, getStats, - Properties::NON_VIRTUAL, - __C5_osg_Stats_P1__getStats, - "Get the const Stats object. ", - ""); - I_Method1(void, setAllowEventFocus, IN, bool, focus, - Properties::NON_VIRTUAL, - __void__setAllowEventFocus__bool, - "Set whether this camera allows events to be generated by the associated graphics window to be associated with this camera. ", - ""); - I_Method0(bool, getAllowEventFocus, - Properties::NON_VIRTUAL, - __bool__getAllowEventFocus, - "Get whether this camera allows events to be generated by the associated graphics window to be associated with this camera. ", - ""); - I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds, - Properties::NON_VIRTUAL, - __void__setDisplaySettings__osg_DisplaySettings_P1, - "Set the DisplaySettings object associated with this view. ", - ""); - I_Method0(osg::DisplaySettings *, getDisplaySettings, - Properties::NON_VIRTUAL, - __osg_DisplaySettings_P1__getDisplaySettings, - "Get the DisplaySettings object associated with this view. ", - ""); - I_Method0(const osg::DisplaySettings *, getDisplaySettings, - Properties::NON_VIRTUAL, - __C5_osg_DisplaySettings_P1__getDisplaySettings, - "Get the const DisplaySettings object associated with this view. ", - ""); - I_Method1(void, setClearMask, IN, GLbitfield, mask, - Properties::NON_VIRTUAL, - __void__setClearMask__GLbitfield, - "Set the clear mask used in glClear(. ", - ".). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. "); - I_Method0(GLbitfield, getClearMask, - Properties::NON_VIRTUAL, - __GLbitfield__getClearMask, - "Get the clear mask. ", - ""); - I_Method1(void, setClearColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setClearColor__C5_osg_Vec4_R1, - "Set the clear color used in glClearColor(. ", - ".). glClearColor is only called if mask & GL_COLOR_BUFFER_BIT is true "); - I_Method0(const osg::Vec4 &, getClearColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getClearColor, - "Get the clear color. ", - ""); - I_Method1(void, setClearAccum, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setClearAccum__C5_osg_Vec4_R1, - "Set the clear accum used in glClearAccum(. ", - ".). glClearAcumm is only called if mask & GL_ACCUM_BUFFER_BIT is true. "); - I_Method0(const osg::Vec4 &, getClearAccum, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getClearAccum, - "Get the clear accum value. ", - ""); - I_Method1(void, setClearDepth, IN, double, depth, - Properties::NON_VIRTUAL, - __void__setClearDepth__double, - "Set the clear depth used in glClearDepth(. ", - ".). Defaults to 1.0 glClearDepth is only called if mask & GL_DEPTH_BUFFER_BIT is true. "); - I_Method0(double, getClearDepth, - Properties::NON_VIRTUAL, - __double__getClearDepth, - "Get the clear depth value. ", - ""); - I_Method1(void, setClearStencil, IN, int, stencil, - Properties::NON_VIRTUAL, - __void__setClearStencil__int, - "Set the clear stencil value used in glClearStencil(). ", - "Defaults to 0; glClearStencil is only called if mask & GL_STENCIL_BUFFER_BIT is true "); - I_Method0(int, getClearStencil, - Properties::NON_VIRTUAL, - __int__getClearStencil, - "Get the clear stencil value. ", - ""); - I_Method1(void, setColorMask, IN, osg::ColorMask *, colorMask, - Properties::NON_VIRTUAL, - __void__setColorMask__osg_ColorMask_P1, - "Set the color mask of the camera to use specified osg::ColorMask. ", - ""); - I_Method4(void, setColorMask, IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha, - Properties::NON_VIRTUAL, - __void__setColorMask__bool__bool__bool__bool, - "Set the color mask of the camera to specified values. ", - ""); - I_Method0(const osg::ColorMask *, getColorMask, - Properties::NON_VIRTUAL, - __C5_ColorMask_P1__getColorMask, - "Get the const ColorMask. ", - ""); - I_Method0(osg::ColorMask *, getColorMask, - Properties::NON_VIRTUAL, - __ColorMask_P1__getColorMask, - "Get the ColorMask. ", - ""); - I_Method1(void, setViewport, IN, osg::Viewport *, viewport, - Properties::NON_VIRTUAL, - __void__setViewport__osg_Viewport_P1, - "Set the viewport of the camera to use specified osg::Viewport. ", - ""); - I_Method4(void, setViewport, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__setViewport__int__int__int__int, - "Set the viewport of the camera to specified dimensions. ", - ""); - I_Method0(const osg::Viewport *, getViewport, - Properties::NON_VIRTUAL, - __C5_Viewport_P1__getViewport, - "Get the const viewport. ", - ""); - I_Method0(osg::Viewport *, getViewport, - Properties::NON_VIRTUAL, - __Viewport_P1__getViewport, - "Get the viewport. ", - ""); - I_Method1(void, setTransformOrder, IN, osg::Camera::TransformOrder, order, - Properties::NON_VIRTUAL, - __void__setTransformOrder__TransformOrder, - "Set the transformation order for world-to-local and local-to-world transformation. ", - ""); - I_Method0(osg::Camera::TransformOrder, getTransformOrder, - Properties::NON_VIRTUAL, - __TransformOrder__getTransformOrder, - "Get the transformation order. ", - ""); - I_Method1(void, setProjectionResizePolicy, IN, osg::Camera::ProjectionResizePolicy, policy, - Properties::NON_VIRTUAL, - __void__setProjectionResizePolicy__ProjectionResizePolicy, - "Set the policy used to determine if and how the projection matrix should be adjusted on window resizes. ", - ""); - I_Method0(osg::Camera::ProjectionResizePolicy, getProjectionResizePolicy, - Properties::NON_VIRTUAL, - __ProjectionResizePolicy__getProjectionResizePolicy, - "Get the policy used to determine if and how the projection matrix should be adjusted on window resizes. ", - ""); - I_Method1(void, setProjectionMatrix, IN, const osg::Matrixf &, matrix, - Properties::NON_VIRTUAL, - __void__setProjectionMatrix__C5_osg_Matrixf_R1, - "Set the projection matrix. ", - "Can be thought of as setting the lens of a camera. "); - I_Method1(void, setProjectionMatrix, IN, const osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __void__setProjectionMatrix__C5_osg_Matrixd_R1, - "Set the projection matrix. ", - "Can be thought of as setting the lens of a camera. "); - I_Method6(void, setProjectionMatrixAsOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__setProjectionMatrixAsOrtho__double__double__double__double__double__double, - "Set to an orthographic projection. ", - "See OpenGL glOrtho for documentation further details. "); - I_Method4(void, setProjectionMatrixAsOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, - Properties::NON_VIRTUAL, - __void__setProjectionMatrixAsOrtho2D__double__double__double__double, - "Set to a 2D orthographic projection. ", - "See OpenGL glOrtho2D documentation for further details. "); - I_Method6(void, setProjectionMatrixAsFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__setProjectionMatrixAsFrustum__double__double__double__double__double__double, - "Set to a perspective projection. ", - "See OpenGL glFrustum documentation for further details. "); - I_Method4(void, setProjectionMatrixAsPerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__setProjectionMatrixAsPerspective__double__double__double__double, - "Create a symmetrical perspective projection, See OpenGL gluPerspective documentation for further details. ", - "Aspect ratio is defined as width/height. "); - I_Method0(osg::Matrixd &, getProjectionMatrix, - Properties::NON_VIRTUAL, - __osg_Matrixd_R1__getProjectionMatrix, - "Get the projection matrix. ", - ""); - I_Method0(const osg::Matrixd &, getProjectionMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrixd_R1__getProjectionMatrix, - "Get the const projection matrix. ", - ""); - I_Method6(bool, getProjectionMatrixAsOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getProjectionMatrixAsOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1, - "Get the orthographic settings of the orthographic projection matrix. ", - "Returns false if matrix is not an orthographic matrix, where parameter values are undefined. "); - I_Method6(bool, getProjectionMatrixAsFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getProjectionMatrixAsFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1, - "Get the frustum setting of a perspective projection matrix. ", - "Returns false if matrix is not a perspective matrix, where parameter values are undefined. "); - I_Method4(bool, getProjectionMatrixAsPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getProjectionMatrixAsPerspective__double_R1__double_R1__double_R1__double_R1, - "Get the frustum setting of a symmetric perspective projection matrix. ", - "Returns false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configurations one should use the 'getProjectionMatrixAsFrustum' method instead. "); - I_Method1(void, setViewMatrix, IN, const osg::Matrixf &, matrix, - Properties::NON_VIRTUAL, - __void__setViewMatrix__C5_osg_Matrixf_R1, - "Set the view matrix. ", - "Can be thought of as setting the position of the world relative to the camera in camera coordinates. "); - I_Method1(void, setViewMatrix, IN, const osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __void__setViewMatrix__C5_osg_Matrixd_R1, - "Set the view matrix. ", - "Can be thought of as setting the position of the world relative to the camera in camera coordinates. "); - I_Method0(osg::Matrixd &, getViewMatrix, - Properties::NON_VIRTUAL, - __osg_Matrixd_R1__getViewMatrix, - "Get the view matrix. ", - ""); - I_Method0(const osg::Matrixd &, getViewMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrixd_R1__getViewMatrix, - "Get the const view matrix. ", - ""); - I_Method3(void, setViewMatrixAsLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up, - Properties::NON_VIRTUAL, - __void__setViewMatrixAsLookAt__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1, - "Set to the position and orientation of view matrix, using the same convention as gluLookAt. ", - ""); - I_MethodWithDefaults4(void, getViewMatrixAsLookAt, IN, osg::Vec3d &, eye, , IN, osg::Vec3d &, center, , IN, osg::Vec3d &, up, , IN, double, lookDistance, 1.0, - Properties::NON_VIRTUAL, - __void__getViewMatrixAsLookAt__osg_Vec3d_R1__osg_Vec3d_R1__osg_Vec3d_R1__double, - "Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ", - ""); - I_MethodWithDefaults4(void, getViewMatrixAsLookAt, IN, osg::Vec3f &, eye, , IN, osg::Vec3f &, center, , IN, osg::Vec3f &, up, , IN, float, lookDistance, 1.0f, - Properties::NON_VIRTUAL, - __void__getViewMatrixAsLookAt__osg_Vec3f_R1__osg_Vec3f_R1__osg_Vec3f_R1__float, - "Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ", - ""); - I_Method0(osg::Matrixd, getInverseViewMatrix, - Properties::NON_VIRTUAL, - __Matrixd__getInverseViewMatrix, - "Get the inverse view matrix. ", - ""); - I_MethodWithDefaults2(void, setRenderOrder, IN, osg::Camera::RenderOrder, order, , IN, int, orderNum, 0, - Properties::NON_VIRTUAL, - __void__setRenderOrder__RenderOrder__int, - "Set the rendering order of this camera's subgraph relative to any camera that this subgraph is nested within. ", - "For rendering to a texture, one typically uses PRE_RENDER. For Head Up Displays, one would typically use POST_RENDER. "); - I_Method0(osg::Camera::RenderOrder, getRenderOrder, - Properties::NON_VIRTUAL, - __RenderOrder__getRenderOrder, - "Get the rendering order of this camera's subgraph relative to any camera that this subgraph is nested within. ", - ""); - I_Method0(int, getRenderOrderNum, - Properties::NON_VIRTUAL, - __int__getRenderOrderNum, - "Get the rendering order number of this camera relative to any sibling cameras in this subgraph. ", - ""); - I_Method0(bool, isRenderToTextureCamera, - Properties::NON_VIRTUAL, - __bool__isRenderToTextureCamera, - "Return true if this Camera is set up as a render to texture camera, i.e. ", - "it has textures assigned to it. "); - I_Method1(void, setRenderTargetImplementation, IN, osg::Camera::RenderTargetImplementation, impl, - Properties::NON_VIRTUAL, - __void__setRenderTargetImplementation__RenderTargetImplementation, - "Set the render target. ", - ""); - I_Method2(void, setRenderTargetImplementation, IN, osg::Camera::RenderTargetImplementation, impl, IN, osg::Camera::RenderTargetImplementation, fallback, - Properties::NON_VIRTUAL, - __void__setRenderTargetImplementation__RenderTargetImplementation__RenderTargetImplementation, - "Set the render target and fall-back that's used if the former isn't available. ", - ""); - I_Method0(osg::Camera::RenderTargetImplementation, getRenderTargetImplementation, - Properties::NON_VIRTUAL, - __RenderTargetImplementation__getRenderTargetImplementation, - "Get the render target. ", - ""); - I_Method0(osg::Camera::RenderTargetImplementation, getRenderTargetFallback, - Properties::NON_VIRTUAL, - __RenderTargetImplementation__getRenderTargetFallback, - "Get the render target fallback. ", - ""); - I_Method1(void, setDrawBuffer, IN, GLenum, buffer, - Properties::NON_VIRTUAL, - __void__setDrawBuffer__GLenum, - "Set the draw buffer used at the start of each frame draw. ", - "Note, a buffer value of GL_NONE is used to sepecify that the rendering back-end should choose the most appropriate buffer. "); - I_Method0(GLenum, getDrawBuffer, - Properties::NON_VIRTUAL, - __GLenum__getDrawBuffer, - "Get the draw buffer used at the start of each frame draw. ", - ""); - I_Method1(void, setReadBuffer, IN, GLenum, buffer, - Properties::NON_VIRTUAL, - __void__setReadBuffer__GLenum, - "Set the read buffer for any required copy operations to use. ", - "Note, a buffer value of GL_NONE is used to sepecify that the rendering back-end should choose the most appropriate buffer. "); - I_Method0(GLenum, getReadBuffer, - Properties::NON_VIRTUAL, - __GLenum__getReadBuffer, - "Get the read buffer for any required copy operations to use. ", - ""); - I_Method2(void, attach, IN, osg::Camera::BufferComponent, buffer, IN, GLenum, internalFormat, - Properties::NON_VIRTUAL, - __void__attach__BufferComponent__GLenum, - "Attach a buffer with specified OpenGL internal format. ", - ""); - I_MethodWithDefaults7(void, attach, IN, osg::Camera::BufferComponent, buffer, , IN, osg::Texture *, texture, , IN, unsigned int, level, 0, IN, unsigned int, face, 0, IN, bool, mipMapGeneration, false, IN, unsigned int, multisampleSamples, 0, IN, unsigned int, multisampleColorSamples, 0, - Properties::NON_VIRTUAL, - __void__attach__BufferComponent__osg_Texture_P1__unsigned_int__unsigned_int__bool__unsigned_int__unsigned_int, - "Attach a Texture to specified buffer component. ", - "The level parameter controls the mip map level of the texture that is attached. The face parameter controls the face of texture cube map or z level of 3d texture. The mipMapGeneration flag controls whether mipmap generation should be done for texture. "); - I_MethodWithDefaults4(void, attach, IN, osg::Camera::BufferComponent, buffer, , IN, osg::Image *, image, , IN, unsigned int, multisampleSamples, 0, IN, unsigned int, multisampleColorSamples, 0, - Properties::NON_VIRTUAL, - __void__attach__BufferComponent__osg_Image_P1__unsigned_int__unsigned_int, - "Attach a Image to specified buffer component. ", - ""); - I_Method1(void, detach, IN, osg::Camera::BufferComponent, buffer, - Properties::NON_VIRTUAL, - __void__detach__BufferComponent, - "Detach specified buffer component. ", - ""); - I_Method0(osg::Camera::BufferAttachmentMap &, getBufferAttachmentMap, - Properties::NON_VIRTUAL, - __BufferAttachmentMap_R1__getBufferAttachmentMap, - "Get the BufferAttachmentMap, used to configure frame buffer objects, pbuffers and texture reads. ", - ""); - I_Method0(const osg::Camera::BufferAttachmentMap &, getBufferAttachmentMap, - Properties::NON_VIRTUAL, - __C5_BufferAttachmentMap_R1__getBufferAttachmentMap, - "Get the const BufferAttachmentMap, used to configure frame buffer objects, pbuffers and texture reads. ", - ""); - I_MethodWithDefaults2(void, setImplicitBufferAttachmentMask, IN, osg::Camera::ImplicitBufferAttachmentMask, renderMask, osg::DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT, IN, osg::Camera::ImplicitBufferAttachmentMask, resolveMask, osg::DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT, - Properties::NON_VIRTUAL, - __void__setImplicitBufferAttachmentMask__ImplicitBufferAttachmentMask__ImplicitBufferAttachmentMask, - "", - ""); - I_Method1(void, setImplicitBufferAttachmentRenderMask, IN, osg::Camera::ImplicitBufferAttachmentMask, implicitBufferAttachmentRenderMask, - Properties::NON_VIRTUAL, - __void__setImplicitBufferAttachmentRenderMask__ImplicitBufferAttachmentMask, - "", - ""); - I_Method1(void, setImplicitBufferAttachmentResolveMask, IN, osg::Camera::ImplicitBufferAttachmentMask, implicitBufferAttachmentResolveMask, - Properties::NON_VIRTUAL, - __void__setImplicitBufferAttachmentResolveMask__ImplicitBufferAttachmentMask, - "", - ""); - I_MethodWithDefaults1(osg::Camera::ImplicitBufferAttachmentMask, getImplicitBufferAttachmentRenderMask, IN, bool, effectiveMask, false, - Properties::NON_VIRTUAL, - __ImplicitBufferAttachmentMask__getImplicitBufferAttachmentRenderMask__bool, - "Get mask selecting implict buffer attachments for Camera primary FBO if effectiveMask parameter is set, method follows USE_DISPLAY_SETTINGS_MASK dependence and returns effective mask if effectiveMask parameter is reset, method returns nominal mask set by the Camera. ", - ""); - I_MethodWithDefaults1(osg::Camera::ImplicitBufferAttachmentMask, getImplicitBufferAttachmentResolveMask, IN, bool, effectiveMask, false, - Properties::NON_VIRTUAL, - __ImplicitBufferAttachmentMask__getImplicitBufferAttachmentResolveMask__bool, - "Get mask selecting implict buffer attachments for Camera secondary MULTISAMPLE FBO if effectiveMask parameter is set, method follows USE_DISPLAY_SETTINGS_MASK dependence and returns effective mask if effectiveMask parameter is reset, method returns nominal mask set by the Camera. ", - ""); - I_Method0(void, createCameraThread, - Properties::NON_VIRTUAL, - __void__createCameraThread, - "Create a operation thread for this camera. ", - ""); - I_Method1(void, setCameraThread, IN, osg::OperationThread *, gt, - Properties::NON_VIRTUAL, - __void__setCameraThread__OperationThread_P1, - "Assign a operation thread to the camera. ", - ""); - I_Method0(osg::OperationThread *, getCameraThread, - Properties::NON_VIRTUAL, - __OperationThread_P1__getCameraThread, - "Get the operation thread assigned to this camera. ", - ""); - I_Method0(const osg::OperationThread *, getCameraThread, - Properties::NON_VIRTUAL, - __C5_OperationThread_P1__getCameraThread, - "Get the const operation thread assigned to this camera. ", - ""); - I_Method1(void, setGraphicsContext, IN, osg::GraphicsContext *, context, - Properties::NON_VIRTUAL, - __void__setGraphicsContext__GraphicsContext_P1, - "Set the GraphicsContext that provides the mechansim for managing the OpenGL graphics context associated with this camera. ", - ""); - I_Method0(osg::GraphicsContext *, getGraphicsContext, - Properties::NON_VIRTUAL, - __GraphicsContext_P1__getGraphicsContext, - "Get the GraphicsContext. ", - ""); - I_Method0(const osg::GraphicsContext *, getGraphicsContext, - Properties::NON_VIRTUAL, - __C5_GraphicsContext_P1__getGraphicsContext, - "Get the const GraphicsContext. ", - ""); - I_Method1(void, setRenderer, IN, osg::GraphicsOperation *, rc, - Properties::NON_VIRTUAL, - __void__setRenderer__osg_GraphicsOperation_P1, - "Set the Rendering object that is used to implement rendering of the subgraph. ", - ""); - I_Method0(osg::GraphicsOperation *, getRenderer, - Properties::NON_VIRTUAL, - __osg_GraphicsOperation_P1__getRenderer, - "Get the Rendering object that is used to implement rendering of the subgraph. ", - ""); - I_Method0(const osg::GraphicsOperation *, getRenderer, - Properties::NON_VIRTUAL, - __C5_osg_GraphicsOperation_P1__getRenderer, - "Get the const Rendering object that is used to implement rendering of the subgraph. ", - ""); - I_Method1(void, setRenderingCache, IN, osg::Object *, rc, - Properties::NON_VIRTUAL, - __void__setRenderingCache__osg_Object_P1, - "Set the Rendering cache that is used for cached objects associated with rendering of subgraphs. ", - ""); - I_Method0(osg::Object *, getRenderingCache, - Properties::NON_VIRTUAL, - __osg_Object_P1__getRenderingCache, - "Get the Rendering cache that is used for cached objects associated with rendering of subgraphs. ", - ""); - I_Method0(const osg::Object *, getRenderingCache, - Properties::NON_VIRTUAL, - __C5_osg_Object_P1__getRenderingCache, - "Get the const Rendering cache that is used for cached objects associated with rendering of subgraphs. ", - ""); - I_Method1(void, setInitialDrawCallback, IN, osg::Camera::DrawCallback *, cb, - Properties::NON_VIRTUAL, - __void__setInitialDrawCallback__DrawCallback_P1, - "Set the initial draw callback for custom operations to be done before the drawing of the camera's subgraph and pre render stages. ", - ""); - I_Method0(osg::Camera::DrawCallback *, getInitialDrawCallback, - Properties::NON_VIRTUAL, - __DrawCallback_P1__getInitialDrawCallback, - "Get the initial draw callback. ", - ""); - I_Method0(const osg::Camera::DrawCallback *, getInitialDrawCallback, - Properties::NON_VIRTUAL, - __C5_DrawCallback_P1__getInitialDrawCallback, - "Get the const initial draw callback. ", - ""); - I_Method1(void, setPreDrawCallback, IN, osg::Camera::DrawCallback *, cb, - Properties::NON_VIRTUAL, - __void__setPreDrawCallback__DrawCallback_P1, - "Set the pre draw callback for custom operations to be done before the drawing of the camera's subgraph but after any pre render stages have been completed. ", - ""); - I_Method0(osg::Camera::DrawCallback *, getPreDrawCallback, - Properties::NON_VIRTUAL, - __DrawCallback_P1__getPreDrawCallback, - "Get the pre draw callback. ", - ""); - I_Method0(const osg::Camera::DrawCallback *, getPreDrawCallback, - Properties::NON_VIRTUAL, - __C5_DrawCallback_P1__getPreDrawCallback, - "Get the const pre draw callback. ", - ""); - I_Method1(void, setPostDrawCallback, IN, osg::Camera::DrawCallback *, cb, - Properties::NON_VIRTUAL, - __void__setPostDrawCallback__DrawCallback_P1, - "Set the post draw callback for custom operations to be done after the drawing of the camera's subgraph but before the any post render stages have been completed. ", - ""); - I_Method0(osg::Camera::DrawCallback *, getPostDrawCallback, - Properties::NON_VIRTUAL, - __DrawCallback_P1__getPostDrawCallback, - "Get the post draw callback. ", - ""); - I_Method0(const osg::Camera::DrawCallback *, getPostDrawCallback, - Properties::NON_VIRTUAL, - __C5_DrawCallback_P1__getPostDrawCallback, - "Get the const post draw callback. ", - ""); - I_Method1(void, setFinalDrawCallback, IN, osg::Camera::DrawCallback *, cb, - Properties::NON_VIRTUAL, - __void__setFinalDrawCallback__DrawCallback_P1, - "Set the final draw callback for custom operations to be done after the drawing of the camera's subgraph and all of the post render stages has been completed. ", - ""); - I_Method0(osg::Camera::DrawCallback *, getFinalDrawCallback, - Properties::NON_VIRTUAL, - __DrawCallback_P1__getFinalDrawCallback, - "Get the final draw callback. ", - ""); - I_Method0(const osg::Camera::DrawCallback *, getFinalDrawCallback, - Properties::NON_VIRTUAL, - __C5_DrawCallback_P1__getFinalDrawCallback, - "Get the const final draw callback. ", - ""); - I_Method0(OpenThreads::Mutex *, getDataChangeMutex, - Properties::NON_VIRTUAL, - __OpenThreads_Mutex_P1__getDataChangeMutex, - "", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objexts for all graphics contexts. "); - I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1, - "Transform method that must be defined to provide generic interface for scene graph traversals. ", - ""); - I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1, - "Transform method that must be defined to provide generic interface for scene graph traversals. ", - ""); - I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask, - Properties::VIRTUAL, - __void__inheritCullSettings__C5_CullSettings_R1__unsigned_int, - "Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ", - ""); - I_SimpleProperty(bool, AllowEventFocus, - __bool__getAllowEventFocus, - __void__setAllowEventFocus__bool); - I_SimpleProperty(osg::Camera::BufferAttachmentMap &, BufferAttachmentMap, - __BufferAttachmentMap_R1__getBufferAttachmentMap, - 0); - I_SimpleProperty(osg::OperationThread *, CameraThread, - __OperationThread_P1__getCameraThread, - __void__setCameraThread__OperationThread_P1); - I_SimpleProperty(const osg::Vec4 &, ClearAccum, - __C5_osg_Vec4_R1__getClearAccum, - __void__setClearAccum__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec4 &, ClearColor, - __C5_osg_Vec4_R1__getClearColor, - __void__setClearColor__C5_osg_Vec4_R1); - I_SimpleProperty(double, ClearDepth, - __double__getClearDepth, - __void__setClearDepth__double); - I_SimpleProperty(GLbitfield, ClearMask, - __GLbitfield__getClearMask, - __void__setClearMask__GLbitfield); - I_SimpleProperty(int, ClearStencil, - __int__getClearStencil, - __void__setClearStencil__int); - I_SimpleProperty(osg::ColorMask *, ColorMask, - __ColorMask_P1__getColorMask, - __void__setColorMask__osg_ColorMask_P1); - I_SimpleProperty(OpenThreads::Mutex *, DataChangeMutex, - __OpenThreads_Mutex_P1__getDataChangeMutex, - 0); - I_SimpleProperty(osg::DisplaySettings *, DisplaySettings, - __osg_DisplaySettings_P1__getDisplaySettings, - __void__setDisplaySettings__osg_DisplaySettings_P1); - I_SimpleProperty(GLenum, DrawBuffer, - __GLenum__getDrawBuffer, - __void__setDrawBuffer__GLenum); - I_SimpleProperty(osg::Camera::DrawCallback *, FinalDrawCallback, - __DrawCallback_P1__getFinalDrawCallback, - __void__setFinalDrawCallback__DrawCallback_P1); - I_SimpleProperty(osg::GraphicsContext *, GraphicsContext, - __GraphicsContext_P1__getGraphicsContext, - __void__setGraphicsContext__GraphicsContext_P1); - I_SimpleProperty(osg::Camera::ImplicitBufferAttachmentMask, ImplicitBufferAttachmentRenderMask, - 0, - __void__setImplicitBufferAttachmentRenderMask__ImplicitBufferAttachmentMask); - I_SimpleProperty(osg::Camera::ImplicitBufferAttachmentMask, ImplicitBufferAttachmentResolveMask, - 0, - __void__setImplicitBufferAttachmentResolveMask__ImplicitBufferAttachmentMask); - I_SimpleProperty(osg::Camera::DrawCallback *, InitialDrawCallback, - __DrawCallback_P1__getInitialDrawCallback, - __void__setInitialDrawCallback__DrawCallback_P1); - I_SimpleProperty(osg::Matrixd, InverseViewMatrix, - __Matrixd__getInverseViewMatrix, - 0); - I_SimpleProperty(osg::Camera::DrawCallback *, PostDrawCallback, - __DrawCallback_P1__getPostDrawCallback, - __void__setPostDrawCallback__DrawCallback_P1); - I_SimpleProperty(osg::Camera::DrawCallback *, PreDrawCallback, - __DrawCallback_P1__getPreDrawCallback, - __void__setPreDrawCallback__DrawCallback_P1); - I_SimpleProperty(const osg::Matrixd &, ProjectionMatrix, - __C5_osg_Matrixd_R1__getProjectionMatrix, - __void__setProjectionMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(osg::Camera::ProjectionResizePolicy, ProjectionResizePolicy, - __ProjectionResizePolicy__getProjectionResizePolicy, - __void__setProjectionResizePolicy__ProjectionResizePolicy); - I_SimpleProperty(GLenum, ReadBuffer, - __GLenum__getReadBuffer, - __void__setReadBuffer__GLenum); - I_SimpleProperty(osg::Camera::RenderOrder, RenderOrder, - __RenderOrder__getRenderOrder, - 0); - I_SimpleProperty(int, RenderOrderNum, - __int__getRenderOrderNum, - 0); - I_SimpleProperty(osg::Camera::RenderTargetImplementation, RenderTargetFallback, - __RenderTargetImplementation__getRenderTargetFallback, - 0); - I_SimpleProperty(osg::Camera::RenderTargetImplementation, RenderTargetImplementation, - __RenderTargetImplementation__getRenderTargetImplementation, - __void__setRenderTargetImplementation__RenderTargetImplementation); - I_SimpleProperty(osg::GraphicsOperation *, Renderer, - __osg_GraphicsOperation_P1__getRenderer, - __void__setRenderer__osg_GraphicsOperation_P1); - I_SimpleProperty(osg::Object *, RenderingCache, - __osg_Object_P1__getRenderingCache, - __void__setRenderingCache__osg_Object_P1); - I_SimpleProperty(osg::Stats *, Stats, - __osg_Stats_P1__getStats, - __void__setStats__osg_Stats_P1); - I_SimpleProperty(osg::Camera::TransformOrder, TransformOrder, - __TransformOrder__getTransformOrder, - __void__setTransformOrder__TransformOrder); - I_SimpleProperty(osg::View *, View, - __View_P1__getView, - __void__setView__View_P1); - I_SimpleProperty(const osg::Matrixd &, ViewMatrix, - __C5_osg_Matrixd_R1__getViewMatrix, - __void__setViewMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(osg::Viewport *, Viewport, - __Viewport_P1__getViewport, - __void__setViewport__osg_Viewport_P1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::Camera::Attachment) - I_DeclaringFile("osg/Camera"); - I_Constructor0(____Attachment, - "", - ""); - I_Method0(int, width, - Properties::NON_VIRTUAL, - __int__width, - "", - ""); - I_Method0(int, height, - Properties::NON_VIRTUAL, - __int__height, - "", - ""); - I_Method0(int, depth, - Properties::NON_VIRTUAL, - __int__depth, - "", - ""); - I_PublicMemberProperty(GLenum, _internalFormat); - I_PublicMemberProperty(osg::ref_ptr< osg::Image >, _image); - I_PublicMemberProperty(osg::ref_ptr< osg::Texture >, _texture); - I_PublicMemberProperty(unsigned int, _level); - I_PublicMemberProperty(unsigned int, _face); - I_PublicMemberProperty(bool, _mipMapGeneration); - I_PublicMemberProperty(unsigned int, _multisampleSamples); - I_PublicMemberProperty(unsigned int, _multisampleColorSamples); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Camera::DrawCallback) - I_DeclaringFile("osg/Camera"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____DrawCallback, - "", - ""); - I_Constructor2(IN, const osg::Camera::DrawCallback &, x, IN, const osg::CopyOp &, x, - ____DrawCallback__C5_DrawCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< osg::Camera::BufferComponent COMMA osg::Camera::Attachment >) - diff --git a/src/osgWrappers/introspection/osg/CameraNode.cpp b/src/osgWrappers/introspection/osg/CameraNode.cpp deleted file mode 100644 index abdc6e919..000000000 --- a/src/osgWrappers/introspection/osg/CameraNode.cpp +++ /dev/null @@ -1,26 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::Camera, osg::CameraNode) - diff --git a/src/osgWrappers/introspection/osg/CameraView.cpp b/src/osgWrappers/introspection/osg/CameraView.cpp deleted file mode 100644 index 4e80de269..000000000 --- a/src/osgWrappers/introspection/osg/CameraView.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::CameraView::FieldOfViewMode) - I_DeclaringFile("osg/CameraView"); - I_EnumLabel(osg::CameraView::UNCONSTRAINED); - I_EnumLabel(osg::CameraView::HORIZONTAL); - I_EnumLabel(osg::CameraView::VERTICAL); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::CameraView) - I_DeclaringFile("osg/CameraView"); - I_BaseType(osg::Transform); - I_Constructor0(____CameraView, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::CameraView &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____CameraView__C5_CameraView_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setPosition, IN, const osg::Vec3d &, pos, - Properties::NON_VIRTUAL, - __void__setPosition__C5_Vec3d_R1, - "Set the position of the camera view. ", - ""); - I_Method0(const osg::Vec3d &, getPosition, - Properties::NON_VIRTUAL, - __C5_Vec3d_R1__getPosition, - "Get the position of the camera view. ", - ""); - I_Method1(void, setAttitude, IN, const osg::Quat &, quat, - Properties::NON_VIRTUAL, - __void__setAttitude__C5_Quat_R1, - "Set the attitude of the camera view. ", - ""); - I_Method0(const osg::Quat &, getAttitude, - Properties::NON_VIRTUAL, - __C5_Quat_R1__getAttitude, - "Get the attitude of the camera view. ", - ""); - I_Method1(void, setFieldOfView, IN, double, fieldOfView, - Properties::NON_VIRTUAL, - __void__setFieldOfView__double, - "Set the field of view. ", - "The cameras field of view can be constrained to either the horizontal or vertex axis of the camera, or unconstrained in which case the camera/application are left to choose an appropriate field of view. The default value if 60 degrees. "); - I_Method0(double, getFieldOfView, - Properties::NON_VIRTUAL, - __double__getFieldOfView, - "Get the field of view. ", - ""); - I_Method1(void, setFieldOfViewMode, IN, osg::CameraView::FieldOfViewMode, mode, - Properties::NON_VIRTUAL, - __void__setFieldOfViewMode__FieldOfViewMode, - "Set the field of view mode - controlling how the field of view of the camera is constrained by the CameaView settings. ", - ""); - I_Method0(osg::CameraView::FieldOfViewMode, getFieldOfViewMode, - Properties::NON_VIRTUAL, - __FieldOfViewMode__getFieldOfViewMode, - "Get the field of view mode. ", - ""); - I_Method1(void, setFocalLength, IN, double, focalLength, - Properties::NON_VIRTUAL, - __void__setFocalLength__double, - "Set the focal length of the camera. ", - "A focal length of 0.0 indicates that the camera/application should determine the focal length. The default value is 0.0. "); - I_Method0(double, getFocalLength, - Properties::NON_VIRTUAL, - __double__getFocalLength, - "Get the focal length of the camera. ", - ""); - I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv, - Properties::VIRTUAL, - __bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1, - "", - ""); - I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv, - Properties::VIRTUAL, - __bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1, - "", - ""); - I_SimpleProperty(const osg::Quat &, Attitude, - __C5_Quat_R1__getAttitude, - __void__setAttitude__C5_Quat_R1); - I_SimpleProperty(double, FieldOfView, - __double__getFieldOfView, - __void__setFieldOfView__double); - I_SimpleProperty(osg::CameraView::FieldOfViewMode, FieldOfViewMode, - __FieldOfViewMode__getFieldOfViewMode, - __void__setFieldOfViewMode__FieldOfViewMode); - I_SimpleProperty(double, FocalLength, - __double__getFocalLength, - __void__setFocalLength__double); - I_SimpleProperty(const osg::Vec3d &, Position, - __C5_Vec3d_R1__getPosition, - __void__setPosition__C5_Vec3d_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/ClampColor.cpp b/src/osgWrappers/introspection/osg/ClampColor.cpp deleted file mode 100644 index 33a493c78..000000000 --- a/src/osgWrappers/introspection/osg/ClampColor.cpp +++ /dev/null @@ -1,134 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::ClampColor) - I_DeclaringFile("osg/ClampColor"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____ClampColor, - "", - ""); - I_Constructor3(IN, GLenum, vertexMode, IN, GLenum, fragmentMode, IN, GLenum, readMode, - ____ClampColor__GLenum__GLenum__GLenum, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ClampColor &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ClampColor__C5_ClampColor_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setClampVertexColor, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__setClampVertexColor__GLenum, - "", - ""); - I_Method0(GLenum, getClampVertexColor, - Properties::NON_VIRTUAL, - __GLenum__getClampVertexColor, - "", - ""); - I_Method1(void, setClampFragmentColor, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__setClampFragmentColor__GLenum, - "", - ""); - I_Method0(GLenum, getClampFragmentColor, - Properties::NON_VIRTUAL, - __GLenum__getClampFragmentColor, - "", - ""); - I_Method1(void, setClampReadColor, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__setClampReadColor__GLenum, - "", - ""); - I_Method0(GLenum, getClampReadColor, - Properties::NON_VIRTUAL, - __GLenum__getClampReadColor, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_StaticMethod2(osg::ClampColor::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Returns the Extensions object for the given context. ", - "If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::ClampColor::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "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. "); - I_SimpleProperty(GLenum, ClampFragmentColor, - __GLenum__getClampFragmentColor, - __void__setClampFragmentColor__GLenum); - I_SimpleProperty(GLenum, ClampReadColor, - __GLenum__getClampReadColor, - __void__setClampReadColor__GLenum); - I_SimpleProperty(GLenum, ClampVertexColor, - __GLenum__getClampVertexColor, - __void__setClampVertexColor__GLenum); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/ClearNode.cpp b/src/osgWrappers/introspection/osg/ClearNode.cpp deleted file mode 100644 index 74c1e07c2..000000000 --- a/src/osgWrappers/introspection/osg/ClearNode.cpp +++ /dev/null @@ -1,109 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::ClearNode) - I_DeclaringFile("osg/ClearNode"); - I_BaseType(osg::Group); - I_Constructor0(____ClearNode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ClearNode &, cs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ClearNode__C5_ClearNode_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setRequiresClear, IN, bool, requiresClear, - Properties::NON_VIRTUAL, - __void__setRequiresClear__bool, - "Enable/disable clearing via glClear. ", - ""); - I_Method0(bool, getRequiresClear, - Properties::NON_VIRTUAL, - __bool__getRequiresClear, - "Gets whether clearing is enabled or disabled. ", - ""); - I_Method1(void, setClearColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setClearColor__C5_Vec4_R1, - "Sets the clear color. ", - ""); - I_Method0(const osg::Vec4 &, getClearColor, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getClearColor, - "Returns the clear color. ", - ""); - I_Method1(void, setClearMask, IN, GLbitfield, mask, - Properties::NON_VIRTUAL, - __void__setClearMask__GLbitfield, - "Set the clear mask used in glClear(. ", - ".). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. "); - I_Method0(GLbitfield, getClearMask, - Properties::NON_VIRTUAL, - __GLbitfield__getClearMask, - "Get the clear mask. ", - ""); - I_SimpleProperty(const osg::Vec4 &, ClearColor, - __C5_Vec4_R1__getClearColor, - __void__setClearColor__C5_Vec4_R1); - I_SimpleProperty(GLbitfield, ClearMask, - __GLbitfield__getClearMask, - __void__setClearMask__GLbitfield); - I_SimpleProperty(bool, RequiresClear, - __bool__getRequiresClear, - __void__setRequiresClear__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/ClipNode.cpp b/src/osgWrappers/introspection/osg/ClipNode.cpp deleted file mode 100644 index 03db5ccd2..000000000 --- a/src/osgWrappers/introspection/osg/ClipNode.cpp +++ /dev/null @@ -1,220 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::ClipNode::ReferenceFrame) - I_DeclaringFile("osg/ClipNode"); - I_EnumLabel(osg::ClipNode::RELATIVE_RF); - I_EnumLabel(osg::ClipNode::ABSOLUTE_RF); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::ClipPlane > >, osg::ClipNode::ClipPlaneList) - -BEGIN_OBJECT_REFLECTOR(osg::ClipNode) - I_DeclaringFile("osg/ClipNode"); - I_BaseType(osg::Group); - I_Constructor0(____ClipNode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ClipNode &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ClipNode__C5_ClipNode_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setReferenceFrame, IN, osg::ClipNode::ReferenceFrame, rf, - Properties::NON_VIRTUAL, - __void__setReferenceFrame__ReferenceFrame, - "Set the light sources's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. ", - "RELATIVE_RF is the default. Note: setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the light source, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is necessary to prevent inappropriate culling, but may impact cull times if the absolute light source is deep in the scene graph. It is therefore recommended to only use absolute light source at the top of the scene. "); - I_Method0(osg::ClipNode::ReferenceFrame, getReferenceFrame, - Properties::NON_VIRTUAL, - __ReferenceFrame__getReferenceFrame, - "", - ""); - I_MethodWithDefaults2(void, createClipBox, IN, const osg::BoundingBox &, bb, , IN, unsigned int, clipPlaneNumberBase, 0, - Properties::NON_VIRTUAL, - __void__createClipBox__C5_BoundingBox_R1__unsigned_int, - "Creates six clip planes corresponding to the given BoundingBox. ", - ""); - I_Method1(bool, addClipPlane, IN, osg::ClipPlane *, clipplane, - Properties::NON_VIRTUAL, - __bool__addClipPlane__ClipPlane_P1, - "Adds the clipplane. ", - "Returns true on success, and false if the plane has already been added, or if clipplane is NULL. "); - I_Method1(bool, removeClipPlane, IN, osg::ClipPlane *, clipplane, - Properties::NON_VIRTUAL, - __bool__removeClipPlane__ClipPlane_P1, - "Removes the clipplane. ", - "Returns true on success, false if clipplane isn't in this ClipNode. "); - I_Method1(bool, removeClipPlane, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __bool__removeClipPlane__unsigned_int, - "Remove the ClipPlane with the given index. ", - "Returns true on success, false if pos is not a valid plane index. "); - I_Method0(unsigned int, getNumClipPlanes, - Properties::NON_VIRTUAL, - __unsigned_int__getNumClipPlanes, - "Returns the number of ClipPlanes. ", - ""); - I_Method1(osg::ClipPlane *, getClipPlane, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __ClipPlane_P1__getClipPlane__unsigned_int, - "Get ClipPlane at the given index position. ", - ""); - I_Method1(const osg::ClipPlane *, getClipPlane, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __C5_ClipPlane_P1__getClipPlane__unsigned_int, - "Get const ClipPlane at the given index position. ", - ""); - I_Method1(void, setClipPlaneList, IN, const osg::ClipNode::ClipPlaneList &, cpl, - Properties::NON_VIRTUAL, - __void__setClipPlaneList__C5_ClipPlaneList_R1, - "Set the ClipPlaneList. ", - ""); - I_Method0(osg::ClipNode::ClipPlaneList &, getClipPlaneList, - Properties::NON_VIRTUAL, - __ClipPlaneList_R1__getClipPlaneList, - "Get the ClipPlaneList. ", - ""); - I_Method0(const osg::ClipNode::ClipPlaneList &, getClipPlaneList, - Properties::NON_VIRTUAL, - __C5_ClipPlaneList_R1__getClipPlaneList, - "Get the const ClipPlaneList. ", - ""); - I_Method2(void, setStateSetModes, IN, osg::StateSet &, x, IN, osg::StateAttribute::GLModeValue, x, - Properties::NON_VIRTUAL, - __void__setStateSetModes__StateSet_R1__StateAttribute_GLModeValue, - "Set the GLModes for all ClipPlanes, on the StateSet. ", - ""); - I_MethodWithDefaults1(void, setLocalStateSetModes, IN, osg::StateAttribute::GLModeValue, x, osg::StateAttribute::ON, - Properties::NON_VIRTUAL, - __void__setLocalStateSetModes__StateAttribute_GLModeValue, - "Set up the local StateSet. ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "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(). "); - I_ArrayProperty(osg::ClipPlane *, ClipPlane, - __ClipPlane_P1__getClipPlane__unsigned_int, - 0, - __unsigned_int__getNumClipPlanes, - __bool__addClipPlane__ClipPlane_P1, - 0, - __bool__removeClipPlane__unsigned_int); - I_SimpleProperty(const osg::ClipNode::ClipPlaneList &, ClipPlaneList, - __C5_ClipPlaneList_R1__getClipPlaneList, - __void__setClipPlaneList__C5_ClipPlaneList_R1); - I_SimpleProperty(osg::StateAttribute::GLModeValue, LocalStateSetModes, - 0, - __void__setLocalStateSetModes__StateAttribute_GLModeValue); - I_SimpleProperty(osg::ClipNode::ReferenceFrame, ReferenceFrame, - __ReferenceFrame__getReferenceFrame, - __void__setReferenceFrame__ReferenceFrame); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::ClipPlane >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::ClipPlane *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::ClipPlane > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::ClipPlane > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::ClipPlane *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::ClipPlane *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::ClipPlane > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::ClipPlane *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::ClipPlane > >) - diff --git a/src/osgWrappers/introspection/osg/ClipPlane.cpp b/src/osgWrappers/introspection/osg/ClipPlane.cpp deleted file mode 100644 index d0d91a1d7..000000000 --- a/src/osgWrappers/introspection/osg/ClipPlane.cpp +++ /dev/null @@ -1,151 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::ClipPlane) - I_DeclaringFile("osg/ClipPlane"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____ClipPlane, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____ClipPlane__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, const osg::Vec4d &, plane, - ____ClipPlane__unsigned_int__C5_Vec4d_R1, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, const osg::Plane &, plane, - ____ClipPlane__unsigned_int__C5_Plane_R1, - "", - ""); - I_Constructor5(IN, unsigned int, no, IN, double, a, IN, double, b, IN, double, c, IN, double, d, - ____ClipPlane__unsigned_int__double__double__double__double, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ClipPlane &, cp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ClipPlane__C5_ClipPlane_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(unsigned int, getMember, - Properties::VIRTUAL, - __unsigned_int__getMember, - "Return the member identifier within the attribute's class type. ", - "Used for light number/clip plane number etc. "); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setClipPlane, IN, const osg::Plane &, plane, - Properties::NON_VIRTUAL, - __void__setClipPlane__C5_Plane_R1, - "Set the clip plane with the given Plane. ", - ""); - I_Method4(void, setClipPlane, IN, double, a, IN, double, b, IN, double, c, IN, double, d, - Properties::NON_VIRTUAL, - __void__setClipPlane__double__double__double__double, - "Defines the plane as [ a b c d ]. ", - ""); - I_Method1(void, setClipPlane, IN, const osg::Vec4d &, plane, - Properties::NON_VIRTUAL, - __void__setClipPlane__C5_Vec4d_R1, - "Set the clip plane with the given Vec4. ", - ""); - I_Method0(const osg::Vec4d &, getClipPlane, - Properties::NON_VIRTUAL, - __C5_Vec4d_R1__getClipPlane, - "Gets the clip plane as a Vec4d. ", - ""); - I_Method1(void, setClipPlaneNum, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setClipPlaneNum__unsigned_int, - "Sets the clip plane number. ", - ""); - I_Method0(unsigned int, getClipPlaneNum, - Properties::NON_VIRTUAL, - __unsigned_int__getClipPlaneNum, - "Gets the clip plane number. ", - ""); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__State_R1, - "Applies the clip plane's state to the OpenGL state machine. ", - ""); - I_SimpleProperty(const osg::Vec4d &, ClipPlane, - __C5_Vec4d_R1__getClipPlane, - __void__setClipPlane__C5_Vec4d_R1); - I_SimpleProperty(unsigned int, ClipPlaneNum, - __unsigned_int__getClipPlaneNum, - __void__setClipPlaneNum__unsigned_int); - I_SimpleProperty(unsigned int, Member, - __unsigned_int__getMember, - 0); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/ClusterCullingCallback.cpp b/src/osgWrappers/introspection/osg/ClusterCullingCallback.cpp deleted file mode 100644 index e4a1889d5..000000000 --- a/src/osgWrappers/introspection/osg/ClusterCullingCallback.cpp +++ /dev/null @@ -1,151 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::ClusterCullingCallback) - I_DeclaringFile("osg/ClusterCullingCallback"); - I_BaseType(osg::Drawable::CullCallback); - I_BaseType(osg::NodeCallback); - I_Constructor0(____ClusterCullingCallback, - "", - ""); - I_Constructor2(IN, const osg::ClusterCullingCallback &, ccc, IN, const osg::CopyOp &, copyop, - ____ClusterCullingCallback__C5_ClusterCullingCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor3(IN, const osg::Vec3 &, controlPoint, IN, const osg::Vec3 &, normal, IN, float, deviation, - ____ClusterCullingCallback__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float, - "", - ""); - I_Constructor1(IN, const osg::Drawable *, drawable, - Properties::NON_EXPLICIT, - ____ClusterCullingCallback__C5_osg_Drawable_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, computeFrom, IN, const osg::Drawable *, drawable, - Properties::NON_VIRTUAL, - __void__computeFrom__C5_osg_Drawable_P1, - "Computes the control point, normal, and deviation from the given drawable contents. ", - ""); - I_Method1(void, transform, IN, const osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __void__transform__C5_osg_Matrixd_R1, - "Transform the ClusterCullingCallback's positional members to a new coordinate frame. ", - ""); - I_Method4(void, set, IN, const osg::Vec3 &, controlPoint, IN, const osg::Vec3 &, normal, IN, float, deviation, IN, float, radius, - Properties::NON_VIRTUAL, - __void__set__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float__float, - "", - ""); - I_Method1(void, setControlPoint, IN, const osg::Vec3 &, controlPoint, - Properties::NON_VIRTUAL, - __void__setControlPoint__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getControlPoint, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getControlPoint, - "", - ""); - I_Method1(void, setNormal, IN, const osg::Vec3 &, normal, - Properties::NON_VIRTUAL, - __void__setNormal__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getNormal, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getNormal, - "", - ""); - I_Method1(void, setRadius, IN, float, radius, - Properties::NON_VIRTUAL, - __void__setRadius__float, - "", - ""); - I_Method0(float, getRadius, - Properties::NON_VIRTUAL, - __float__getRadius, - "", - ""); - I_Method1(void, setDeviation, IN, float, deviation, - Properties::NON_VIRTUAL, - __void__setDeviation__float, - "", - ""); - I_Method0(float, getDeviation, - Properties::NON_VIRTUAL, - __float__getDeviation, - "", - ""); - I_Method3(bool, cull, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, x, IN, osg::State *, x, - Properties::VIRTUAL, - __bool__cull__osg_NodeVisitor_P1__osg_Drawable_P1__osg_State_P1, - "deprecated. ", - ""); - I_SimpleProperty(const osg::Vec3 &, ControlPoint, - __C5_osg_Vec3_R1__getControlPoint, - __void__setControlPoint__C5_osg_Vec3_R1); - I_SimpleProperty(float, Deviation, - __float__getDeviation, - __void__setDeviation__float); - I_SimpleProperty(const osg::Vec3 &, Normal, - __C5_osg_Vec3_R1__getNormal, - __void__setNormal__C5_osg_Vec3_R1); - I_SimpleProperty(float, Radius, - __float__getRadius, - __void__setRadius__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/CollectOccludersVisitor.cpp b/src/osgWrappers/introspection/osg/CollectOccludersVisitor.cpp deleted file mode 100644 index b684dd1a2..000000000 --- a/src/osgWrappers/introspection/osg/CollectOccludersVisitor.cpp +++ /dev/null @@ -1,183 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::set< osg::ShadowVolumeOccluder >, osg::CollectOccludersVisitor::ShadowVolumeOccluderSet) - -BEGIN_OBJECT_REFLECTOR(osg::CollectOccludersVisitor) - I_DeclaringFile("osg/CollectOccludersVisitor"); - I_BaseType(osg::NodeVisitor); - I_BaseType(osg::CullStack); - I_Constructor0(____CollectOccludersVisitor, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method0(osg::CollectOccludersVisitor *, cloneType, - Properties::VIRTUAL, - __CollectOccludersVisitor_P1__cloneType, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "", - ""); - I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, x, IN, bool, x, - Properties::VIRTUAL, - __float__getDistanceToEyePoint__C5_Vec3_R1__bool, - "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 getDistanceFromEyePoint(pos) is not implemented then a default value of 0.0 is returned. "); - I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, x, IN, bool, x, - Properties::VIRTUAL, - __float__getDistanceToViewPoint__C5_Vec3_R1__bool, - "Get the distance from a point to the view point, distance value in local coordinate system. ", - "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceToViewPoint(pos) is not implemented then a default value of 0.0 is returned. "); - I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, x, IN, bool, x, - Properties::VIRTUAL, - __float__getDistanceFromEyePoint__C5_Vec3_R1__bool, - "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 getDistanceFromEyePoint(pos) is not implemented than a default value of 0.0 is returned. "); - I_Method1(void, apply, IN, osg::Node &, x, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, node, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Projection &, node, - Properties::VIRTUAL, - __void__apply__osg_Projection_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Switch &, node, - Properties::VIRTUAL, - __void__apply__osg_Switch_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LOD &, node, - Properties::VIRTUAL, - __void__apply__osg_LOD_R1, - "", - ""); - I_Method1(void, apply, IN, osg::OccluderNode &, node, - Properties::VIRTUAL, - __void__apply__osg_OccluderNode_R1, - "", - ""); - I_Method1(void, setMinimumShadowOccluderVolume, IN, float, vol, - Properties::NON_VIRTUAL, - __void__setMinimumShadowOccluderVolume__float, - "Sets the minimum shadow occluder volume that an active occluder must have. ", - "vol is units relative the clip space volume where 1.0 is the whole clip space. "); - I_Method0(float, getMinimumShadowOccluderVolume, - Properties::NON_VIRTUAL, - __float__getMinimumShadowOccluderVolume, - "", - ""); - I_Method1(void, setMaximumNumberOfActiveOccluders, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setMaximumNumberOfActiveOccluders__unsigned_int, - "Sets the maximum number of occluders to have active for culling purposes. ", - ""); - I_Method0(unsigned int, getMaximumNumberOfActiveOccluders, - Properties::NON_VIRTUAL, - __unsigned_int__getMaximumNumberOfActiveOccluders, - "", - ""); - I_Method1(void, setCreateDrawablesOnOccludeNodes, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setCreateDrawablesOnOccludeNodes__bool, - "", - ""); - I_Method0(bool, getCreateDrawablesOnOccludeNodes, - Properties::NON_VIRTUAL, - __bool__getCreateDrawablesOnOccludeNodes, - "", - ""); - I_Method1(void, setCollectedOccluderSet, IN, const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, svol, - Properties::NON_VIRTUAL, - __void__setCollectedOccluderSet__C5_ShadowVolumeOccluderSet_R1, - "", - ""); - I_Method0(osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, getCollectedOccluderSet, - Properties::NON_VIRTUAL, - __ShadowVolumeOccluderSet_R1__getCollectedOccluderSet, - "", - ""); - I_Method0(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, getCollectedOccluderSet, - Properties::NON_VIRTUAL, - __C5_ShadowVolumeOccluderSet_R1__getCollectedOccluderSet, - "", - ""); - I_Method0(void, removeOccludedOccluders, - Properties::NON_VIRTUAL, - __void__removeOccludedOccluders, - "Removes occluded occluders for the collected occluders list, then discards all but MaximumNumberOfActiveOccluders of occluders, discarding the occluders with the lowest shadow occluder volume. ", - ""); - I_ProtectedMethod1(void, handle_cull_callbacks_and_traverse, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handle_cull_callbacks_and_traverse__osg_Node_R1, - "", - ""); - I_ProtectedMethod2(void, handle_cull_callbacks_and_accept, IN, osg::Node &, node, IN, osg::Node *, acceptNode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handle_cull_callbacks_and_accept__osg_Node_R1__osg_Node_P1, - "", - ""); - I_SimpleProperty(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, CollectedOccluderSet, - __C5_ShadowVolumeOccluderSet_R1__getCollectedOccluderSet, - __void__setCollectedOccluderSet__C5_ShadowVolumeOccluderSet_R1); - I_SimpleProperty(bool, CreateDrawablesOnOccludeNodes, - __bool__getCreateDrawablesOnOccludeNodes, - __void__setCreateDrawablesOnOccludeNodes__bool); - I_SimpleProperty(unsigned int, MaximumNumberOfActiveOccluders, - __unsigned_int__getMaximumNumberOfActiveOccluders, - __void__setMaximumNumberOfActiveOccluders__unsigned_int); - I_SimpleProperty(float, MinimumShadowOccluderVolume, - __float__getMinimumShadowOccluderVolume, - __void__setMinimumShadowOccluderVolume__float); -END_REFLECTOR - -STD_SET_REFLECTOR(std::set< osg::ShadowVolumeOccluder >) - diff --git a/src/osgWrappers/introspection/osg/ColorMask.cpp b/src/osgWrappers/introspection/osg/ColorMask.cpp deleted file mode 100644 index a9abb31f8..000000000 --- a/src/osgWrappers/introspection/osg/ColorMask.cpp +++ /dev/null @@ -1,144 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::ColorMask) - I_DeclaringFile("osg/ColorMask"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____ColorMask, - "", - ""); - I_Constructor4(IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha, - ____ColorMask__bool__bool__bool__bool, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ColorMask &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ColorMask__C5_ColorMask_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method4(void, setMask, IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha, - Properties::NON_VIRTUAL, - __void__setMask__bool__bool__bool__bool, - "", - ""); - I_Method1(void, setRedMask, IN, bool, mask, - Properties::NON_VIRTUAL, - __void__setRedMask__bool, - "", - ""); - I_Method0(bool, getRedMask, - Properties::NON_VIRTUAL, - __bool__getRedMask, - "", - ""); - I_Method1(void, setGreenMask, IN, bool, mask, - Properties::NON_VIRTUAL, - __void__setGreenMask__bool, - "", - ""); - I_Method0(bool, getGreenMask, - Properties::NON_VIRTUAL, - __bool__getGreenMask, - "", - ""); - I_Method1(void, setBlueMask, IN, bool, mask, - Properties::NON_VIRTUAL, - __void__setBlueMask__bool, - "", - ""); - I_Method0(bool, getBlueMask, - Properties::NON_VIRTUAL, - __bool__getBlueMask, - "", - ""); - I_Method1(void, setAlphaMask, IN, bool, mask, - Properties::NON_VIRTUAL, - __void__setAlphaMask__bool, - "", - ""); - I_Method0(bool, getAlphaMask, - Properties::NON_VIRTUAL, - __bool__getAlphaMask, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(bool, AlphaMask, - __bool__getAlphaMask, - __void__setAlphaMask__bool); - I_SimpleProperty(bool, BlueMask, - __bool__getBlueMask, - __void__setBlueMask__bool); - I_SimpleProperty(bool, GreenMask, - __bool__getGreenMask, - __void__setGreenMask__bool); - I_SimpleProperty(bool, RedMask, - __bool__getRedMask, - __void__setRedMask__bool); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/ColorMatrix.cpp b/src/osgWrappers/introspection/osg/ColorMatrix.cpp deleted file mode 100644 index d4364771e..000000000 --- a/src/osgWrappers/introspection/osg/ColorMatrix.cpp +++ /dev/null @@ -1,102 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::ColorMatrix) - I_DeclaringFile("osg/ColorMatrix"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____ColorMatrix, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ColorMatrix &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ColorMatrix__C5_ColorMatrix_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__setMatrix__C5_Matrix_R1, - "Sets the color matrix. ", - ""); - I_Method0(osg::Matrix &, getMatrix, - Properties::NON_VIRTUAL, - __Matrix_R1__getMatrix, - "Gets the color matrix. ", - ""); - I_Method0(const osg::Matrix &, getMatrix, - Properties::NON_VIRTUAL, - __C5_Matrix_R1__getMatrix, - "Gets the const color matrix. ", - ""); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__State_R1, - "Applies as OpenGL texture matrix. ", - ""); - I_SimpleProperty(const osg::Matrix &, Matrix, - __C5_Matrix_R1__getMatrix, - __void__setMatrix__C5_Matrix_R1); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/ComputeBoundsVisitor.cpp b/src/osgWrappers/introspection/osg/ComputeBoundsVisitor.cpp deleted file mode 100644 index 19d4afa8d..000000000 --- a/src/osgWrappers/introspection/osg/ComputeBoundsVisitor.cpp +++ /dev/null @@ -1,105 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::ComputeBoundsVisitor) - I_DeclaringFile("osg/ComputeBoundsVisitor"); - I_BaseType(osg::NodeVisitor); - I_ConstructorWithDefaults1(IN, osg::NodeVisitor::TraversalMode, traversalMode, osg::NodeVisitor::TRAVERSE_ALL_CHILDREN, - Properties::NON_EXPLICIT, - ____ComputeBoundsVisitor__TraversalMode, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_Method0(osg::BoundingBox &, getBoundingBox, - Properties::NON_VIRTUAL, - __osg_BoundingBox_R1__getBoundingBox, - "", - ""); - I_MethodWithDefaults2(void, getPolytope, IN, osg::Polytope &, polytope, , IN, float, margin, 0.1, - Properties::NON_VIRTUAL, - __void__getPolytope__osg_Polytope_R1__float, - "", - ""); - I_MethodWithDefaults2(void, getBase, IN, osg::Polytope &, polytope, , IN, float, margin, 0.1, - Properties::NON_VIRTUAL, - __void__getBase__osg_Polytope_R1__float, - "", - ""); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, transform, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, pushMatrix, IN, osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__pushMatrix__osg_Matrix_R1, - "", - ""); - I_Method0(void, popMatrix, - Properties::NON_VIRTUAL, - __void__popMatrix, - "", - ""); - I_Method1(void, applyDrawable, IN, osg::Drawable *, drawable, - Properties::NON_VIRTUAL, - __void__applyDrawable__osg_Drawable_P1, - "", - ""); - I_SimpleProperty(osg::BoundingBox &, BoundingBox, - __osg_BoundingBox_R1__getBoundingBox, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/ConvexPlanarOccluder.cpp b/src/osgWrappers/introspection/osg/ConvexPlanarOccluder.cpp deleted file mode 100644 index cd098dd6f..000000000 --- a/src/osgWrappers/introspection/osg/ConvexPlanarOccluder.cpp +++ /dev/null @@ -1,109 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::ConvexPlanarPolygon >, osg::ConvexPlanarOccluder::HoleList) - -BEGIN_OBJECT_REFLECTOR(osg::ConvexPlanarOccluder) - I_DeclaringFile("osg/ConvexPlanarOccluder"); - I_BaseType(osg::Object); - I_Constructor0(____ConvexPlanarOccluder, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ConvexPlanarOccluder &, cpo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ConvexPlanarOccluder__C5_ConvexPlanarOccluder_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setOccluder, IN, const osg::ConvexPlanarPolygon &, cpp, - Properties::NON_VIRTUAL, - __void__setOccluder__C5_ConvexPlanarPolygon_R1, - "", - ""); - I_Method0(osg::ConvexPlanarPolygon &, getOccluder, - Properties::NON_VIRTUAL, - __ConvexPlanarPolygon_R1__getOccluder, - "", - ""); - I_Method0(const osg::ConvexPlanarPolygon &, getOccluder, - Properties::NON_VIRTUAL, - __C5_ConvexPlanarPolygon_R1__getOccluder, - "", - ""); - I_Method1(void, addHole, IN, const osg::ConvexPlanarPolygon &, cpp, - Properties::NON_VIRTUAL, - __void__addHole__C5_ConvexPlanarPolygon_R1, - "", - ""); - I_Method1(void, setHoleList, IN, const osg::ConvexPlanarOccluder::HoleList &, holeList, - Properties::NON_VIRTUAL, - __void__setHoleList__C5_HoleList_R1, - "", - ""); - I_Method0(osg::ConvexPlanarOccluder::HoleList &, getHoleList, - Properties::NON_VIRTUAL, - __HoleList_R1__getHoleList, - "", - ""); - I_Method0(const osg::ConvexPlanarOccluder::HoleList &, getHoleList, - Properties::NON_VIRTUAL, - __C5_HoleList_R1__getHoleList, - "", - ""); - I_SimpleProperty(const osg::ConvexPlanarOccluder::HoleList &, HoleList, - __C5_HoleList_R1__getHoleList, - __void__setHoleList__C5_HoleList_R1); - I_SimpleProperty(const osg::ConvexPlanarPolygon &, Occluder, - __C5_ConvexPlanarPolygon_R1__getOccluder, - __void__setOccluder__C5_ConvexPlanarPolygon_R1); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ConvexPlanarPolygon >) - diff --git a/src/osgWrappers/introspection/osg/ConvexPlanarPolygon.cpp b/src/osgWrappers/introspection/osg/ConvexPlanarPolygon.cpp deleted file mode 100644 index ed25c631a..000000000 --- a/src/osgWrappers/introspection/osg/ConvexPlanarPolygon.cpp +++ /dev/null @@ -1,57 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osg::ConvexPlanarPolygon::VertexList) - -BEGIN_VALUE_REFLECTOR(osg::ConvexPlanarPolygon) - I_DeclaringFile("osg/ConvexPlanarPolygon"); - I_Constructor0(____ConvexPlanarPolygon, - "", - ""); - I_Method1(void, add, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__add__C5_Vec3_R1, - "", - ""); - I_Method1(void, setVertexList, IN, const osg::ConvexPlanarPolygon::VertexList &, vertexList, - Properties::NON_VIRTUAL, - __void__setVertexList__C5_VertexList_R1, - "", - ""); - I_Method0(osg::ConvexPlanarPolygon::VertexList &, getVertexList, - Properties::NON_VIRTUAL, - __VertexList_R1__getVertexList, - "", - ""); - I_Method0(const osg::ConvexPlanarPolygon::VertexList &, getVertexList, - Properties::NON_VIRTUAL, - __C5_VertexList_R1__getVertexList, - "", - ""); - I_SimpleProperty(const osg::ConvexPlanarPolygon::VertexList &, VertexList, - __C5_VertexList_R1__getVertexList, - __void__setVertexList__C5_VertexList_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/CoordinateSystemNode.cpp b/src/osgWrappers/introspection/osg/CoordinateSystemNode.cpp deleted file mode 100644 index e0ed08dfd..000000000 --- a/src/osgWrappers/introspection/osg/CoordinateSystemNode.cpp +++ /dev/null @@ -1,241 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::CoordinateSystemNode) - I_DeclaringFile("osg/CoordinateSystemNode"); - I_BaseType(osg::Group); - I_Constructor0(____CoordinateSystemNode, - "", - ""); - I_Constructor2(IN, const std::string &, format, IN, const std::string &, cs, - ____CoordinateSystemNode__C5_std_string_R1__C5_std_string_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::CoordinateSystemNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____CoordinateSystemNode__C5_CoordinateSystemNode_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, set, IN, const osg::CoordinateSystemNode &, csn, - Properties::NON_VIRTUAL, - __void__set__C5_CoordinateSystemNode_R1, - "Set the coordinate system node up by copying the format, coordinate system string, and ellipsoid model of another coordinate system node. ", - ""); - I_Method1(void, setFormat, IN, const std::string &, format, - Properties::NON_VIRTUAL, - __void__setFormat__C5_std_string_R1, - "Set the coordinate system format string. ", - "Typical values would be WKT, PROJ4, USGS etc. "); - I_Method0(const std::string &, getFormat, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getFormat, - "Get the coordinate system format string. ", - ""); - I_Method1(void, setCoordinateSystem, IN, const std::string &, cs, - Properties::NON_VIRTUAL, - __void__setCoordinateSystem__C5_std_string_R1, - "Set the CoordinateSystem reference string, should be stored in a form consistent with the Format. ", - ""); - I_Method0(const std::string &, getCoordinateSystem, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getCoordinateSystem, - "Get the CoordinateSystem reference string. ", - ""); - I_Method1(void, setEllipsoidModel, IN, osg::EllipsoidModel *, ellipsode, - Properties::NON_VIRTUAL, - __void__setEllipsoidModel__EllipsoidModel_P1, - "Set EllipsoidModel to describe the model used to map lat, long and height into geocentric XYZ and back. ", - ""); - I_Method0(osg::EllipsoidModel *, getEllipsoidModel, - Properties::NON_VIRTUAL, - __EllipsoidModel_P1__getEllipsoidModel, - "Get the EllipsoidModel. ", - ""); - I_Method0(const osg::EllipsoidModel *, getEllipsoidModel, - Properties::NON_VIRTUAL, - __C5_EllipsoidModel_P1__getEllipsoidModel, - "Get the const EllipsoidModel. ", - ""); - I_Method1(osg::CoordinateFrame, computeLocalCoordinateFrame, IN, const osg::Vec3d &, position, - Properties::NON_VIRTUAL, - __CoordinateFrame__computeLocalCoordinateFrame__C5_Vec3d_R1, - "Compute the local coordinate frame for specified point. ", - ""); - I_Method1(osg::Vec3d, computeLocalUpVector, IN, const osg::Vec3d &, position, - Properties::NON_VIRTUAL, - __osg_Vec3d__computeLocalUpVector__C5_Vec3d_R1, - "Compute the local up-vector for specified point. ", - ""); - I_SimpleProperty(const std::string &, CoordinateSystem, - __C5_std_string_R1__getCoordinateSystem, - __void__setCoordinateSystem__C5_std_string_R1); - I_SimpleProperty(osg::EllipsoidModel *, EllipsoidModel, - __EllipsoidModel_P1__getEllipsoidModel, - __void__setEllipsoidModel__EllipsoidModel_P1); - I_SimpleProperty(const std::string &, Format, - __C5_std_string_R1__getFormat, - __void__setFormat__C5_std_string_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::EllipsoidModel) - I_DeclaringFile("osg/CoordinateSystemNode"); - I_BaseType(osg::Object); - I_ConstructorWithDefaults2(IN, double, radiusEquator, osg::WGS_84_RADIUS_EQUATOR, IN, double, radiusPolar, osg::WGS_84_RADIUS_POLAR, - ____EllipsoidModel__double__double, - "WGS_84 is a common representation of the earth's spheroid. ", - ""); - I_ConstructorWithDefaults2(IN, const osg::EllipsoidModel &, et, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____EllipsoidModel__C5_EllipsoidModel_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setRadiusEquator, IN, double, radius, - Properties::NON_VIRTUAL, - __void__setRadiusEquator__double, - "", - ""); - I_Method0(double, getRadiusEquator, - Properties::NON_VIRTUAL, - __double__getRadiusEquator, - "", - ""); - I_Method1(void, setRadiusPolar, IN, double, radius, - Properties::NON_VIRTUAL, - __void__setRadiusPolar__double, - "", - ""); - I_Method0(double, getRadiusPolar, - Properties::NON_VIRTUAL, - __double__getRadiusPolar, - "", - ""); - I_Method6(void, convertLatLongHeightToXYZ, IN, double, latitude, IN, double, longitude, IN, double, height, IN, double &, X, IN, double &, Y, IN, double &, Z, - Properties::NON_VIRTUAL, - __void__convertLatLongHeightToXYZ__double__double__double__double_R1__double_R1__double_R1, - "", - ""); - I_Method6(void, convertXYZToLatLongHeight, IN, double, X, IN, double, Y, IN, double, Z, IN, double &, latitude, IN, double &, longitude, IN, double &, height, - Properties::NON_VIRTUAL, - __void__convertXYZToLatLongHeight__double__double__double__double_R1__double_R1__double_R1, - "", - ""); - I_Method4(void, computeLocalToWorldTransformFromLatLongHeight, IN, double, latitude, IN, double, longitude, IN, double, height, IN, osg::Matrixd &, localToWorld, - Properties::NON_VIRTUAL, - __void__computeLocalToWorldTransformFromLatLongHeight__double__double__double__osg_Matrixd_R1, - "", - ""); - I_Method4(void, computeLocalToWorldTransformFromXYZ, IN, double, X, IN, double, Y, IN, double, Z, IN, osg::Matrixd &, localToWorld, - Properties::NON_VIRTUAL, - __void__computeLocalToWorldTransformFromXYZ__double__double__double__osg_Matrixd_R1, - "", - ""); - I_Method3(void, computeCoordinateFrame, IN, double, latitude, IN, double, longitude, IN, osg::Matrixd &, localToWorld, - Properties::NON_VIRTUAL, - __void__computeCoordinateFrame__double__double__osg_Matrixd_R1, - "", - ""); - I_Method3(osg::Vec3d, computeLocalUpVector, IN, double, X, IN, double, Y, IN, double, Z, - Properties::NON_VIRTUAL, - __osg_Vec3d__computeLocalUpVector__double__double__double, - "", - ""); - I_Method0(bool, isWGS84, - Properties::NON_VIRTUAL, - __bool__isWGS84, - "", - ""); - I_ProtectedMethod0(void, computeCoefficients, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computeCoefficients, - "", - ""); - I_SimpleProperty(double, RadiusEquator, - __double__getRadiusEquator, - __void__setRadiusEquator__double); - I_SimpleProperty(double, RadiusPolar, - __double__getRadiusPolar, - __void__setRadiusPolar__double); -END_REFLECTOR - -TYPE_NAME_ALIAS(osg::Matrixd, osg::CoordinateFrame) - diff --git a/src/osgWrappers/introspection/osg/CopyOp.cpp b/src/osgWrappers/introspection/osg/CopyOp.cpp deleted file mode 100644 index 261bd27b8..000000000 --- a/src/osgWrappers/introspection/osg/CopyOp.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::CopyOp::Options) - I_DeclaringFile("osg/CopyOp"); - I_EnumLabel(osg::CopyOp::SHALLOW_COPY); - I_EnumLabel(osg::CopyOp::DEEP_COPY_OBJECTS); - I_EnumLabel(osg::CopyOp::DEEP_COPY_NODES); - I_EnumLabel(osg::CopyOp::DEEP_COPY_DRAWABLES); - I_EnumLabel(osg::CopyOp::DEEP_COPY_STATESETS); - I_EnumLabel(osg::CopyOp::DEEP_COPY_STATEATTRIBUTES); - I_EnumLabel(osg::CopyOp::DEEP_COPY_TEXTURES); - I_EnumLabel(osg::CopyOp::DEEP_COPY_IMAGES); - I_EnumLabel(osg::CopyOp::DEEP_COPY_ARRAYS); - I_EnumLabel(osg::CopyOp::DEEP_COPY_PRIMITIVES); - I_EnumLabel(osg::CopyOp::DEEP_COPY_SHAPES); - I_EnumLabel(osg::CopyOp::DEEP_COPY_UNIFORMS); - I_EnumLabel(osg::CopyOp::DEEP_COPY_CALLBACKS); - I_EnumLabel(osg::CopyOp::DEEP_COPY_ALL); -END_REFLECTOR - -TYPE_NAME_ALIAS(unsigned int, osg::CopyOp::CopyFlags) - -BEGIN_VALUE_REFLECTOR(osg::CopyOp) - I_DeclaringFile("osg/CopyOp"); - I_ConstructorWithDefaults1(IN, osg::CopyOp::CopyFlags, flags, osg::CopyOp::SHALLOW_COPY, - Properties::NON_EXPLICIT, - ____CopyOp__CopyFlags, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/CullFace.cpp b/src/osgWrappers/introspection/osg/CullFace.cpp deleted file mode 100644 index bba6be8dc..000000000 --- a/src/osgWrappers/introspection/osg/CullFace.cpp +++ /dev/null @@ -1,110 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::CullFace::Mode) - I_DeclaringFile("osg/CullFace"); - I_EnumLabel(osg::CullFace::FRONT); - I_EnumLabel(osg::CullFace::BACK); - I_EnumLabel(osg::CullFace::FRONT_AND_BACK); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::CullFace) - I_DeclaringFile("osg/CullFace"); - I_BaseType(osg::StateAttribute); - I_ConstructorWithDefaults1(IN, osg::CullFace::Mode, mode, osg::CullFace::BACK, - Properties::NON_EXPLICIT, - ____CullFace__Mode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::CullFace &, cf, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____CullFace__C5_CullFace_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setMode, IN, osg::CullFace::Mode, mode, - Properties::NON_VIRTUAL, - __void__setMode__Mode, - "", - ""); - I_Method0(osg::CullFace::Mode, getMode, - Properties::NON_VIRTUAL, - __Mode__getMode, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(osg::CullFace::Mode, Mode, - __Mode__getMode, - __void__setMode__Mode); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/CullSettings.cpp b/src/osgWrappers/introspection/osg/CullSettings.cpp deleted file mode 100644 index 010aded76..000000000 --- a/src/osgWrappers/introspection/osg/CullSettings.cpp +++ /dev/null @@ -1,362 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::CullSettings::VariablesMask) - I_DeclaringFile("osg/CullSettings"); - I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_MODE); - I_EnumLabel(osg::CullSettings::CULLING_MODE); - I_EnumLabel(osg::CullSettings::LOD_SCALE); - I_EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING_PIXEL_SIZE); - I_EnumLabel(osg::CullSettings::CLAMP_PROJECTION_MATRIX_CALLBACK); - I_EnumLabel(osg::CullSettings::NEAR_FAR_RATIO); - I_EnumLabel(osg::CullSettings::IMPOSTOR_ACTIVE); - I_EnumLabel(osg::CullSettings::DEPTH_SORT_IMPOSTOR_SPRITES); - I_EnumLabel(osg::CullSettings::IMPOSTOR_PIXEL_ERROR_THRESHOLD); - I_EnumLabel(osg::CullSettings::NUM_FRAMES_TO_KEEP_IMPOSTORS_SPRITES); - I_EnumLabel(osg::CullSettings::CULL_MASK); - I_EnumLabel(osg::CullSettings::CULL_MASK_LEFT); - I_EnumLabel(osg::CullSettings::CULL_MASK_RIGHT); - I_EnumLabel(osg::CullSettings::CLEAR_COLOR); - I_EnumLabel(osg::CullSettings::CLEAR_MASK); - I_EnumLabel(osg::CullSettings::LIGHTING_MODE); - I_EnumLabel(osg::CullSettings::LIGHT); - I_EnumLabel(osg::CullSettings::DRAW_BUFFER); - I_EnumLabel(osg::CullSettings::READ_BUFFER); - I_EnumLabel(osg::CullSettings::NO_VARIABLES); - I_EnumLabel(osg::CullSettings::ALL_VARIABLES); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::CullSettings::InheritanceMaskActionOnAttributeSetting) - I_DeclaringFile("osg/CullSettings"); - I_EnumLabel(osg::CullSettings::DISABLE_ASSOCIATED_INHERITANCE_MASK_BIT); - I_EnumLabel(osg::CullSettings::DO_NOT_MODIFY_INHERITANCE_MASK); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::CullSettings::ComputeNearFarMode) - I_DeclaringFile("osg/CullSettings"); - I_EnumLabel(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); - I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES); - I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_PRIMITIVES); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::CullSettings::CullingModeValues) - I_DeclaringFile("osg/CullSettings"); - I_EnumLabel(osg::CullSettings::NO_CULLING); - I_EnumLabel(osg::CullSettings::VIEW_FRUSTUM_SIDES_CULLING); - I_EnumLabel(osg::CullSettings::NEAR_PLANE_CULLING); - I_EnumLabel(osg::CullSettings::FAR_PLANE_CULLING); - I_EnumLabel(osg::CullSettings::VIEW_FRUSTUM_CULLING); - I_EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING); - I_EnumLabel(osg::CullSettings::SHADOW_OCCLUSION_CULLING); - I_EnumLabel(osg::CullSettings::CLUSTER_CULLING); - I_EnumLabel(osg::CullSettings::DEFAULT_CULLING); - I_EnumLabel(osg::CullSettings::ENABLE_ALL_CULLING); -END_REFLECTOR - -TYPE_NAME_ALIAS(int, osg::CullSettings::InheritanceMask) - -TYPE_NAME_ALIAS(int, osg::CullSettings::CullingMode) - -BEGIN_VALUE_REFLECTOR(osg::CullSettings) - I_DeclaringFile("osg/CullSettings"); - I_Constructor0(____CullSettings, - "", - ""); - I_Constructor1(IN, osg::ArgumentParser &, arguments, - Properties::NON_EXPLICIT, - ____CullSettings__ArgumentParser_R1, - "", - ""); - I_Constructor1(IN, const osg::CullSettings &, cs, - Properties::NON_EXPLICIT, - ____CullSettings__C5_CullSettings_R1, - "", - ""); - I_Method0(void, setDefaults, - Properties::VIRTUAL, - __void__setDefaults, - "", - ""); - I_Method1(void, setInheritanceMask, IN, osg::CullSettings::InheritanceMask, mask, - Properties::NON_VIRTUAL, - __void__setInheritanceMask__InheritanceMask, - "Set the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object. ", - ""); - I_Method0(osg::CullSettings::InheritanceMask, getInheritanceMask, - Properties::NON_VIRTUAL, - __InheritanceMask__getInheritanceMask, - "Get the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object. ", - ""); - I_Method1(void, setCullSettings, IN, const osg::CullSettings &, settings, - Properties::NON_VIRTUAL, - __void__setCullSettings__C5_CullSettings_R1, - "Set the local cull settings values from specified CullSettings object. ", - ""); - I_Method1(void, inheritCullSettings, IN, const osg::CullSettings &, settings, - Properties::VIRTUAL, - __void__inheritCullSettings__C5_CullSettings_R1, - "Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ", - ""); - I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask, - Properties::VIRTUAL, - __void__inheritCullSettings__C5_CullSettings_R1__unsigned_int, - "Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ", - ""); - I_Method0(void, readEnvironmentalVariables, - Properties::NON_VIRTUAL, - __void__readEnvironmentalVariables, - "read the environmental variables. ", - ""); - I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments, - Properties::NON_VIRTUAL, - __void__readCommandLine__ArgumentParser_R1, - "read the commandline arguments. ", - ""); - I_Method1(void, setInheritanceMaskActionOnAttributeSetting, IN, osg::CullSettings::InheritanceMaskActionOnAttributeSetting, action, - Properties::NON_VIRTUAL, - __void__setInheritanceMaskActionOnAttributeSetting__InheritanceMaskActionOnAttributeSetting, - "", - ""); - I_Method0(osg::CullSettings::InheritanceMaskActionOnAttributeSetting, getInheritanceMaskActionOnAttributeSetting, - Properties::NON_VIRTUAL, - __InheritanceMaskActionOnAttributeSetting__getInheritanceMaskActionOnAttributeSetting, - "", - ""); - I_Method1(void, applyMaskAction, IN, unsigned int, maskBit, - Properties::NON_VIRTUAL, - __void__applyMaskAction__unsigned_int, - "Apply the action, specified by the InheritanceMaskActionOnAttributeSetting, to apply to the inheritance bit mask. ", - "This method is called by CullSettings::set*() parameter methods to ensure that CullSettings inheritance mechanisms doesn't overwrite the local parameter settings. "); - I_Method1(void, setImpostorsActive, IN, bool, active, - Properties::NON_VIRTUAL, - __void__setImpostorsActive__bool, - "Switch the creation of Impostors on or off. ", - "Setting active to false forces the CullVisitor to use the Impostor LOD children for rendering. Setting active to true forces the CullVisitor to create the appropriate pre-rendering stages which render to the ImpostorSprite's texture. "); - I_Method0(bool, getImpostorsActive, - Properties::NON_VIRTUAL, - __bool__getImpostorsActive, - "Get whether impostors are active or not. ", - ""); - I_Method1(void, setImpostorPixelErrorThreshold, IN, float, numPixels, - Properties::NON_VIRTUAL, - __void__setImpostorPixelErrorThreshold__float, - "Set the impostor error threshold. ", - "Used in calculation of whether impostors remain valid. "); - I_Method0(float, getImpostorPixelErrorThreshold, - Properties::NON_VIRTUAL, - __float__getImpostorPixelErrorThreshold, - "Get the impostor error threshold. ", - ""); - I_Method1(void, setDepthSortImpostorSprites, IN, bool, doDepthSort, - Properties::NON_VIRTUAL, - __void__setDepthSortImpostorSprites__bool, - "Set whether ImpostorSprite's should be placed in a depth sorted bin for rendering. ", - ""); - I_Method0(bool, getDepthSortImpostorSprites, - Properties::NON_VIRTUAL, - __bool__getDepthSortImpostorSprites, - "Get whether ImpostorSprite's are depth sorted bin for rendering. ", - ""); - I_Method1(void, setNumberOfFrameToKeepImpostorSprites, IN, int, numFrames, - Properties::NON_VIRTUAL, - __void__setNumberOfFrameToKeepImpostorSprites__int, - "Set the number of frames that an ImpostorSprite is kept whilst not being beyond, before being recycled. ", - ""); - I_Method0(int, getNumberOfFrameToKeepImpostorSprites, - Properties::NON_VIRTUAL, - __int__getNumberOfFrameToKeepImpostorSprites, - "Get the number of frames that an ImpostorSprite is kept whilst not being beyond, before being recycled. ", - ""); - I_Method1(void, setComputeNearFarMode, IN, osg::CullSettings::ComputeNearFarMode, cnfm, - Properties::NON_VIRTUAL, - __void__setComputeNearFarMode__ComputeNearFarMode, - "", - ""); - I_Method0(osg::CullSettings::ComputeNearFarMode, getComputeNearFarMode, - Properties::NON_VIRTUAL, - __ComputeNearFarMode__getComputeNearFarMode, - "", - ""); - I_Method1(void, setNearFarRatio, IN, double, ratio, - Properties::NON_VIRTUAL, - __void__setNearFarRatio__double, - "", - ""); - I_Method0(double, getNearFarRatio, - Properties::NON_VIRTUAL, - __double__getNearFarRatio, - "", - ""); - I_Method1(void, setCullingMode, IN, osg::CullSettings::CullingMode, mode, - Properties::NON_VIRTUAL, - __void__setCullingMode__CullingMode, - "Set the culling mode for the CullVisitor to use. ", - ""); - I_Method0(osg::CullSettings::CullingMode, getCullingMode, - Properties::NON_VIRTUAL, - __CullingMode__getCullingMode, - "Returns the current CullingMode. ", - ""); - I_Method1(void, setCullMask, IN, osg::Node::NodeMask, nm, - Properties::NON_VIRTUAL, - __void__setCullMask__osg_Node_NodeMask, - "", - ""); - I_Method0(osg::Node::NodeMask, getCullMask, - Properties::NON_VIRTUAL, - __osg_Node_NodeMask__getCullMask, - "", - ""); - I_Method1(void, setCullMaskLeft, IN, osg::Node::NodeMask, nm, - Properties::NON_VIRTUAL, - __void__setCullMaskLeft__osg_Node_NodeMask, - "", - ""); - I_Method0(osg::Node::NodeMask, getCullMaskLeft, - Properties::NON_VIRTUAL, - __osg_Node_NodeMask__getCullMaskLeft, - "", - ""); - I_Method1(void, setCullMaskRight, IN, osg::Node::NodeMask, nm, - Properties::NON_VIRTUAL, - __void__setCullMaskRight__osg_Node_NodeMask, - "", - ""); - I_Method0(osg::Node::NodeMask, getCullMaskRight, - Properties::NON_VIRTUAL, - __osg_Node_NodeMask__getCullMaskRight, - "", - ""); - I_Method1(void, setLODScale, IN, float, scale, - Properties::NON_VIRTUAL, - __void__setLODScale__float, - "Set the LOD bias for the CullVisitor to use. ", - ""); - I_Method0(float, getLODScale, - Properties::NON_VIRTUAL, - __float__getLODScale, - "Get the LOD bias. ", - ""); - I_Method1(void, setSmallFeatureCullingPixelSize, IN, float, value, - Properties::NON_VIRTUAL, - __void__setSmallFeatureCullingPixelSize__float, - "Set the Small Feature Culling Pixel Size. ", - ""); - I_Method0(float, getSmallFeatureCullingPixelSize, - Properties::NON_VIRTUAL, - __float__getSmallFeatureCullingPixelSize, - "Get the Small Feature Culling Pixel Size. ", - ""); - I_Method1(void, setClampProjectionMatrixCallback, IN, osg::CullSettings::ClampProjectionMatrixCallback *, cpmc, - Properties::NON_VIRTUAL, - __void__setClampProjectionMatrixCallback__ClampProjectionMatrixCallback_P1, - "set the ClampProjectionMatrixCallback. ", - ""); - I_Method0(osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback, - Properties::NON_VIRTUAL, - __ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback, - "get the non const ClampProjectionMatrixCallback. ", - ""); - I_Method0(const osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback, - Properties::NON_VIRTUAL, - __C5_ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback, - "get the const ClampProjectionMatrixCallback. ", - ""); - I_Method1(void, write, IN, std::ostream &, out, - Properties::NON_VIRTUAL, - __void__write__std_ostream_R1, - "Write out internal settings of CullSettings. ", - ""); - I_SimpleProperty(osg::CullSettings::ClampProjectionMatrixCallback *, ClampProjectionMatrixCallback, - __ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback, - __void__setClampProjectionMatrixCallback__ClampProjectionMatrixCallback_P1); - I_SimpleProperty(osg::CullSettings::ComputeNearFarMode, ComputeNearFarMode, - __ComputeNearFarMode__getComputeNearFarMode, - __void__setComputeNearFarMode__ComputeNearFarMode); - I_SimpleProperty(osg::Node::NodeMask, CullMask, - __osg_Node_NodeMask__getCullMask, - __void__setCullMask__osg_Node_NodeMask); - I_SimpleProperty(osg::Node::NodeMask, CullMaskLeft, - __osg_Node_NodeMask__getCullMaskLeft, - __void__setCullMaskLeft__osg_Node_NodeMask); - I_SimpleProperty(osg::Node::NodeMask, CullMaskRight, - __osg_Node_NodeMask__getCullMaskRight, - __void__setCullMaskRight__osg_Node_NodeMask); - I_SimpleProperty(const osg::CullSettings &, CullSettings, - 0, - __void__setCullSettings__C5_CullSettings_R1); - I_SimpleProperty(osg::CullSettings::CullingMode, CullingMode, - __CullingMode__getCullingMode, - __void__setCullingMode__CullingMode); - I_SimpleProperty(bool, DepthSortImpostorSprites, - __bool__getDepthSortImpostorSprites, - __void__setDepthSortImpostorSprites__bool); - I_SimpleProperty(float, ImpostorPixelErrorThreshold, - __float__getImpostorPixelErrorThreshold, - __void__setImpostorPixelErrorThreshold__float); - I_SimpleProperty(bool, ImpostorsActive, - __bool__getImpostorsActive, - __void__setImpostorsActive__bool); - I_SimpleProperty(osg::CullSettings::InheritanceMask, InheritanceMask, - __InheritanceMask__getInheritanceMask, - __void__setInheritanceMask__InheritanceMask); - I_SimpleProperty(osg::CullSettings::InheritanceMaskActionOnAttributeSetting, InheritanceMaskActionOnAttributeSetting, - __InheritanceMaskActionOnAttributeSetting__getInheritanceMaskActionOnAttributeSetting, - __void__setInheritanceMaskActionOnAttributeSetting__InheritanceMaskActionOnAttributeSetting); - I_SimpleProperty(float, LODScale, - __float__getLODScale, - __void__setLODScale__float); - I_SimpleProperty(double, NearFarRatio, - __double__getNearFarRatio, - __void__setNearFarRatio__double); - I_SimpleProperty(int, NumberOfFrameToKeepImpostorSprites, - __int__getNumberOfFrameToKeepImpostorSprites, - __void__setNumberOfFrameToKeepImpostorSprites__int); - I_SimpleProperty(float, SmallFeatureCullingPixelSize, - __float__getSmallFeatureCullingPixelSize, - __void__setSmallFeatureCullingPixelSize__float); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::CullSettings::ClampProjectionMatrixCallback) - I_DeclaringFile("osg/CullSettings"); - I_BaseType(osg::Referenced); - I_Constructor0(____ClampProjectionMatrixCallback, - "", - ""); - I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixf &, projection, IN, double &, znear, IN, double &, zfar, - Properties::PURE_VIRTUAL, - __bool__clampProjectionMatrixImplementation__osg_Matrixf_R1__double_R1__double_R1, - "", - ""); - I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixd &, projection, IN, double &, znear, IN, double &, zfar, - Properties::PURE_VIRTUAL, - __bool__clampProjectionMatrixImplementation__osg_Matrixd_R1__double_R1__double_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/CullStack.cpp b/src/osgWrappers/introspection/osg/CullStack.cpp deleted file mode 100644 index a3003287d..000000000 --- a/src/osgWrappers/introspection/osg/CullStack.cpp +++ /dev/null @@ -1,324 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::ShadowVolumeOccluder >, osg::CullStack::OccluderList) - -TYPE_NAME_ALIAS(std::vector< osg::CullingSet >, osg::CullStack::CullingStack) - -BEGIN_OBJECT_REFLECTOR(osg::CullStack) - I_DeclaringFile("osg/CullStack"); - I_BaseType(osg::CullSettings); - I_Constructor0(____CullStack, - "", - ""); - I_Constructor1(IN, const osg::CullStack &, cs, - Properties::NON_EXPLICIT, - ____CullStack__C5_CullStack_R1, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(void, pushCullingSet, - Properties::NON_VIRTUAL, - __void__pushCullingSet, - "", - ""); - I_Method0(void, popCullingSet, - Properties::NON_VIRTUAL, - __void__popCullingSet, - "", - ""); - I_Method1(void, setOccluderList, IN, const osg::ShadowVolumeOccluderList &, svol, - Properties::NON_VIRTUAL, - __void__setOccluderList__C5_ShadowVolumeOccluderList_R1, - "", - ""); - I_Method0(osg::ShadowVolumeOccluderList &, getOccluderList, - Properties::NON_VIRTUAL, - __ShadowVolumeOccluderList_R1__getOccluderList, - "", - ""); - I_Method0(const osg::ShadowVolumeOccluderList &, getOccluderList, - Properties::NON_VIRTUAL, - __C5_ShadowVolumeOccluderList_R1__getOccluderList, - "", - ""); - I_Method1(void, pushViewport, IN, osg::Viewport *, viewport, - Properties::NON_VIRTUAL, - __void__pushViewport__osg_Viewport_P1, - "", - ""); - I_Method0(void, popViewport, - Properties::NON_VIRTUAL, - __void__popViewport, - "", - ""); - I_Method1(void, pushProjectionMatrix, IN, osg::RefMatrix *, matrix, - Properties::NON_VIRTUAL, - __void__pushProjectionMatrix__osg_RefMatrix_P1, - "", - ""); - I_Method0(void, popProjectionMatrix, - Properties::NON_VIRTUAL, - __void__popProjectionMatrix, - "", - ""); - I_Method2(void, pushModelViewMatrix, IN, osg::RefMatrix *, matrix, IN, osg::Transform::ReferenceFrame, referenceFrame, - Properties::NON_VIRTUAL, - __void__pushModelViewMatrix__osg_RefMatrix_P1__Transform_ReferenceFrame, - "", - ""); - I_Method0(void, popModelViewMatrix, - Properties::NON_VIRTUAL, - __void__popModelViewMatrix, - "", - ""); - I_Method0(float, getFrustumVolume, - Properties::NON_VIRTUAL, - __float__getFrustumVolume, - "", - ""); - I_Method2(float, pixelSize, IN, const osg::Vec3 &, v, IN, float, radius, - Properties::NON_VIRTUAL, - __float__pixelSize__C5_Vec3_R1__float, - "Compute the pixel size of an object at position v, with specified radius. ", - ""); - I_Method1(float, pixelSize, IN, const osg::BoundingSphere &, bs, - Properties::NON_VIRTUAL, - __float__pixelSize__C5_BoundingSphere_R1, - "Compute the pixel size of the bounding sphere. ", - ""); - I_Method2(float, clampedPixelSize, IN, const osg::Vec3 &, v, IN, float, radius, - Properties::NON_VIRTUAL, - __float__clampedPixelSize__C5_Vec3_R1__float, - "Compute the pixel size of an object at position v, with specified radius. ", - "fabs()ed to always be positive. "); - I_Method1(float, clampedPixelSize, IN, const osg::BoundingSphere &, bs, - Properties::NON_VIRTUAL, - __float__clampedPixelSize__C5_BoundingSphere_R1, - "Compute the pixel size of the bounding sphere. ", - "fabs()ed to always be positive. "); - I_Method1(void, disableAndPushOccludersCurrentMask, IN, osg::NodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__disableAndPushOccludersCurrentMask__NodePath_R1, - "", - ""); - I_Method1(void, popOccludersCurrentMask, IN, osg::NodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__popOccludersCurrentMask__NodePath_R1, - "", - ""); - I_Method1(bool, isCulled, IN, const std::vector< osg::Vec3 > &, vertices, - Properties::NON_VIRTUAL, - __bool__isCulled__C5_std_vectorT1_Vec3__R1, - "", - ""); - I_Method1(bool, isCulled, IN, const osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - __bool__isCulled__C5_BoundingBox_R1, - "", - ""); - I_Method1(bool, isCulled, IN, const osg::BoundingSphere &, bs, - Properties::NON_VIRTUAL, - __bool__isCulled__C5_BoundingSphere_R1, - "", - ""); - I_Method1(bool, isCulled, IN, const osg::Node &, node, - Properties::NON_VIRTUAL, - __bool__isCulled__C5_osg_Node_R1, - "", - ""); - I_Method0(void, pushCurrentMask, - Properties::NON_VIRTUAL, - __void__pushCurrentMask, - "", - ""); - I_Method0(void, popCurrentMask, - Properties::NON_VIRTUAL, - __void__popCurrentMask, - "", - ""); - I_Method0(osg::CullStack::CullingStack &, getClipSpaceCullingStack, - Properties::NON_VIRTUAL, - __CullingStack_R1__getClipSpaceCullingStack, - "", - ""); - I_Method0(osg::CullStack::CullingStack &, getProjectionCullingStack, - Properties::NON_VIRTUAL, - __CullingStack_R1__getProjectionCullingStack, - "", - ""); - I_Method0(osg::CullStack::CullingStack &, getModelViewCullingStack, - Properties::NON_VIRTUAL, - __CullingStack_R1__getModelViewCullingStack, - "", - ""); - I_Method0(osg::CullingSet &, getCurrentCullingSet, - Properties::NON_VIRTUAL, - __CullingSet_R1__getCurrentCullingSet, - "", - ""); - I_Method0(const osg::CullingSet &, getCurrentCullingSet, - Properties::NON_VIRTUAL, - __C5_CullingSet_R1__getCurrentCullingSet, - "", - ""); - I_Method0(osg::Viewport *, getViewport, - Properties::NON_VIRTUAL, - __osg_Viewport_P1__getViewport, - "", - ""); - I_Method0(osg::RefMatrix *, getModelViewMatrix, - Properties::NON_VIRTUAL, - __osg_RefMatrix_P1__getModelViewMatrix, - "", - ""); - I_Method0(osg::RefMatrix *, getProjectionMatrix, - Properties::NON_VIRTUAL, - __osg_RefMatrix_P1__getProjectionMatrix, - "", - ""); - I_Method0(osg::Matrix, getWindowMatrix, - Properties::NON_VIRTUAL, - __osg_Matrix__getWindowMatrix, - "", - ""); - I_Method0(const osg::RefMatrix *, getMVPW, - Properties::NON_VIRTUAL, - __C5_osg_RefMatrix_P1__getMVPW, - "", - ""); - I_Method0(const osg::Vec3 &, getReferenceViewPoint, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getReferenceViewPoint, - "", - ""); - I_Method1(void, pushReferenceViewPoint, IN, const osg::Vec3 &, viewPoint, - Properties::NON_VIRTUAL, - __void__pushReferenceViewPoint__C5_osg_Vec3_R1, - "", - ""); - I_Method0(void, popReferenceViewPoint, - Properties::NON_VIRTUAL, - __void__popReferenceViewPoint, - "", - ""); - I_Method0(const osg::Vec3 &, getEyeLocal, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getEyeLocal, - "", - ""); - I_Method0(const osg::Vec3 &, getViewPointLocal, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getViewPointLocal, - "", - ""); - I_Method0(const osg::Vec3, getUpLocal, - Properties::NON_VIRTUAL, - __C5_osg_Vec3__getUpLocal, - "", - ""); - I_Method0(const osg::Vec3, getLookVectorLocal, - Properties::NON_VIRTUAL, - __C5_osg_Vec3__getLookVectorLocal, - "", - ""); - I_ProtectedMethod0(void, computeFrustumVolume, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computeFrustumVolume, - "", - ""); - I_ProtectedMethod1(osg::RefMatrix *, createOrReuseMatrix, IN, const osg::Matrix &, value, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_RefMatrix_P1__createOrReuseMatrix__C5_osg_Matrix_R1, - "", - ""); - I_SimpleProperty(osg::CullStack::CullingStack &, ClipSpaceCullingStack, - __CullingStack_R1__getClipSpaceCullingStack, - 0); - I_SimpleProperty(osg::CullingSet &, CurrentCullingSet, - __CullingSet_R1__getCurrentCullingSet, - 0); - I_SimpleProperty(const osg::Vec3 &, EyeLocal, - __C5_osg_Vec3_R1__getEyeLocal, - 0); - I_SimpleProperty(float, FrustumVolume, - __float__getFrustumVolume, - 0); - I_SimpleProperty(const osg::Vec3, LookVectorLocal, - __C5_osg_Vec3__getLookVectorLocal, - 0); - I_SimpleProperty(const osg::RefMatrix *, MVPW, - __C5_osg_RefMatrix_P1__getMVPW, - 0); - I_SimpleProperty(osg::CullStack::CullingStack &, ModelViewCullingStack, - __CullingStack_R1__getModelViewCullingStack, - 0); - I_SimpleProperty(osg::RefMatrix *, ModelViewMatrix, - __osg_RefMatrix_P1__getModelViewMatrix, - 0); - I_SimpleProperty(const osg::ShadowVolumeOccluderList &, OccluderList, - __C5_ShadowVolumeOccluderList_R1__getOccluderList, - __void__setOccluderList__C5_ShadowVolumeOccluderList_R1); - I_SimpleProperty(osg::CullStack::CullingStack &, ProjectionCullingStack, - __CullingStack_R1__getProjectionCullingStack, - 0); - I_SimpleProperty(osg::RefMatrix *, ProjectionMatrix, - __osg_RefMatrix_P1__getProjectionMatrix, - 0); - I_SimpleProperty(const osg::Vec3 &, ReferenceViewPoint, - __C5_osg_Vec3_R1__getReferenceViewPoint, - 0); - I_SimpleProperty(const osg::Vec3, UpLocal, - __C5_osg_Vec3__getUpLocal, - 0); - I_SimpleProperty(const osg::Vec3 &, ViewPointLocal, - __C5_osg_Vec3_R1__getViewPointLocal, - 0); - I_SimpleProperty(osg::Viewport *, Viewport, - __osg_Viewport_P1__getViewport, - 0); - I_SimpleProperty(osg::Matrix, WindowMatrix, - __osg_Matrix__getWindowMatrix, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::CullingSet >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ShadowVolumeOccluder >) - diff --git a/src/osgWrappers/introspection/osg/CullingSet.cpp b/src/osgWrappers/introspection/osg/CullingSet.cpp deleted file mode 100644 index 8293732e2..000000000 --- a/src/osgWrappers/introspection/osg/CullingSet.cpp +++ /dev/null @@ -1,280 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::CullingSet::MaskValues) - I_DeclaringFile("osg/CullingSet"); - I_EnumLabel(osg::CullingSet::NO_CULLING); - I_EnumLabel(osg::CullingSet::VIEW_FRUSTUM_SIDES_CULLING); - I_EnumLabel(osg::CullingSet::NEAR_PLANE_CULLING); - I_EnumLabel(osg::CullingSet::FAR_PLANE_CULLING); - I_EnumLabel(osg::CullingSet::VIEW_FRUSTUM_CULLING); - I_EnumLabel(osg::CullingSet::SMALL_FEATURE_CULLING); - I_EnumLabel(osg::CullingSet::SHADOW_OCCLUSION_CULLING); - I_EnumLabel(osg::CullingSet::DEFAULT_CULLING); - I_EnumLabel(osg::CullingSet::ENABLE_ALL_CULLING); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::pair< osg::ref_ptr< osg::StateSet > COMMA osg::Polytope >, osg::CullingSet::StateFrustumPair) - -TYPE_NAME_ALIAS(std::vector< osg::CullingSet::StateFrustumPair >, osg::CullingSet::StateFrustumList) - -TYPE_NAME_ALIAS(std::vector< osg::ShadowVolumeOccluder >, osg::CullingSet::OccluderList) - -TYPE_NAME_ALIAS(int, osg::CullingSet::Mask) - -BEGIN_OBJECT_REFLECTOR(osg::CullingSet) - I_DeclaringFile("osg/CullingSet"); - I_BaseType(osg::Referenced); - I_Constructor0(____CullingSet, - "", - ""); - I_Constructor1(IN, const osg::CullingSet &, cs, - Properties::NON_EXPLICIT, - ____CullingSet__C5_CullingSet_R1, - "", - ""); - I_Constructor3(IN, const osg::CullingSet &, cs, IN, const osg::Matrix &, matrix, IN, const osg::Vec4 &, pixelSizeVector, - ____CullingSet__C5_CullingSet_R1__C5_Matrix_R1__C5_Vec4_R1, - "", - ""); - I_Method1(void, set, IN, const osg::CullingSet &, cs, - Properties::NON_VIRTUAL, - __void__set__C5_CullingSet_R1, - "", - ""); - I_Method3(void, set, IN, const osg::CullingSet &, cs, IN, const osg::Matrix &, matrix, IN, const osg::Vec4 &, pixelSizeVector, - Properties::NON_VIRTUAL, - __void__set__C5_CullingSet_R1__C5_Matrix_R1__C5_Vec4_R1, - "", - ""); - I_Method1(void, setCullingMask, IN, osg::CullingSet::Mask, mask, - Properties::NON_VIRTUAL, - __void__setCullingMask__Mask, - "", - ""); - I_Method0(osg::CullingSet::Mask, getCullingMask, - Properties::NON_VIRTUAL, - __Mask__getCullingMask, - "", - ""); - I_Method1(void, setFrustum, IN, osg::Polytope &, cv, - Properties::NON_VIRTUAL, - __void__setFrustum__Polytope_R1, - "", - ""); - I_Method0(osg::Polytope &, getFrustum, - Properties::NON_VIRTUAL, - __Polytope_R1__getFrustum, - "", - ""); - I_Method0(const osg::Polytope &, getFrustum, - Properties::NON_VIRTUAL, - __C5_Polytope_R1__getFrustum, - "", - ""); - I_Method2(void, addStateFrustum, IN, osg::StateSet *, stateset, IN, osg::Polytope &, polytope, - Properties::NON_VIRTUAL, - __void__addStateFrustum__StateSet_P1__Polytope_R1, - "", - ""); - I_Method1(void, getStateFrustumList, IN, osg::CullingSet::StateFrustumList &, sfl, - Properties::NON_VIRTUAL, - __void__getStateFrustumList__StateFrustumList_R1, - "", - ""); - I_Method0(osg::CullingSet::StateFrustumList &, getStateFrustumList, - Properties::NON_VIRTUAL, - __StateFrustumList_R1__getStateFrustumList, - "", - ""); - I_Method1(void, addOccluder, IN, osg::ShadowVolumeOccluder &, cv, - Properties::NON_VIRTUAL, - __void__addOccluder__ShadowVolumeOccluder_R1, - "", - ""); - I_Method1(void, setPixelSizeVector, IN, const osg::Vec4 &, v, - Properties::NON_VIRTUAL, - __void__setPixelSizeVector__C5_Vec4_R1, - "", - ""); - I_Method0(osg::Vec4 &, getPixelSizeVector, - Properties::NON_VIRTUAL, - __Vec4_R1__getPixelSizeVector, - "", - ""); - I_Method0(const osg::Vec4 &, getPixelSizeVector, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getPixelSizeVector, - "", - ""); - I_Method1(void, setSmallFeatureCullingPixelSize, IN, float, value, - Properties::NON_VIRTUAL, - __void__setSmallFeatureCullingPixelSize__float, - "", - ""); - I_Method0(float &, getSmallFeatureCullingPixelSize, - Properties::NON_VIRTUAL, - __float_R1__getSmallFeatureCullingPixelSize, - "", - ""); - I_Method0(float, getSmallFeatureCullingPixelSize, - Properties::NON_VIRTUAL, - __float__getSmallFeatureCullingPixelSize, - "", - ""); - I_Method2(float, pixelSize, IN, const osg::Vec3 &, v, IN, float, radius, - Properties::NON_VIRTUAL, - __float__pixelSize__C5_Vec3_R1__float, - "Compute the pixel of an object at position v, with specified radius. ", - ""); - I_Method1(float, pixelSize, IN, const osg::BoundingSphere &, bs, - Properties::NON_VIRTUAL, - __float__pixelSize__C5_BoundingSphere_R1, - "Compute the pixel of a bounding sphere. ", - ""); - I_Method2(float, clampedPixelSize, IN, const osg::Vec3 &, v, IN, float, radius, - Properties::NON_VIRTUAL, - __float__clampedPixelSize__C5_Vec3_R1__float, - "Compute the pixel of an object at position v, with specified radius. ", - "fabs()ed to always be positive. "); - I_Method1(float, clampedPixelSize, IN, const osg::BoundingSphere &, bs, - Properties::NON_VIRTUAL, - __float__clampedPixelSize__C5_BoundingSphere_R1, - "Compute the pixel of a bounding sphere. ", - "fabs()ed to always be positive. "); - I_Method1(bool, isCulled, IN, const std::vector< osg::Vec3 > &, vertices, - Properties::NON_VIRTUAL, - __bool__isCulled__C5_std_vectorT1_Vec3__R1, - "", - ""); - I_Method1(bool, isCulled, IN, const osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - __bool__isCulled__C5_BoundingBox_R1, - "", - ""); - I_Method1(bool, isCulled, IN, const osg::BoundingSphere &, bs, - Properties::NON_VIRTUAL, - __bool__isCulled__C5_BoundingSphere_R1, - "", - ""); - I_Method0(void, pushCurrentMask, - Properties::NON_VIRTUAL, - __void__pushCurrentMask, - "", - ""); - I_Method0(void, popCurrentMask, - Properties::NON_VIRTUAL, - __void__popCurrentMask, - "", - ""); - I_Method1(void, disableAndPushOccludersCurrentMask, IN, osg::NodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__disableAndPushOccludersCurrentMask__NodePath_R1, - "", - ""); - I_Method1(void, popOccludersCurrentMask, IN, osg::NodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__popOccludersCurrentMask__NodePath_R1, - "", - ""); - I_StaticMethod3(osg::Vec4, computePixelSizeVector, IN, const osg::Viewport &, W, IN, const osg::Matrix &, P, IN, const osg::Matrix &, M, - __osg_Vec4__computePixelSizeVector__C5_Viewport_R1__C5_Matrix_R1__C5_Matrix_R1_S, - "", - ""); - I_SimpleProperty(osg::CullingSet::Mask, CullingMask, - __Mask__getCullingMask, - __void__setCullingMask__Mask); - I_SimpleProperty(osg::Polytope &, Frustum, - __Polytope_R1__getFrustum, - __void__setFrustum__Polytope_R1); - I_SimpleProperty(const osg::Vec4 &, PixelSizeVector, - __C5_Vec4_R1__getPixelSizeVector, - __void__setPixelSizeVector__C5_Vec4_R1); - I_SimpleProperty(float, SmallFeatureCullingPixelSize, - __float__getSmallFeatureCullingPixelSize, - __void__setSmallFeatureCullingPixelSize__float); - I_SimpleProperty(osg::CullingSet::StateFrustumList &, StateFrustumList, - __StateFrustumList_R1__getStateFrustumList, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::StateSet >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::StateSet *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::StateSet > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::StateSet > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::StateSet *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::StateSet *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::StateSet > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::StateSet *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_PAIR_REFLECTOR(std::pair< osg::ref_ptr< osg::StateSet > COMMA osg::Polytope >) - -STD_VECTOR_REFLECTOR(std::vector< osg::CullingSet::StateFrustumPair >) - diff --git a/src/osgWrappers/introspection/osg/DeleteHandler.cpp b/src/osgWrappers/introspection/osg/DeleteHandler.cpp deleted file mode 100644 index f38b8d597..000000000 --- a/src/osgWrappers/introspection/osg/DeleteHandler.cpp +++ /dev/null @@ -1,93 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::pair< int COMMA const osg::Referenced * >, osg::DeleteHandler::FrameNumberObjectPair) - -TYPE_NAME_ALIAS(std::list< osg::DeleteHandler::FrameNumberObjectPair >, osg::DeleteHandler::ObjectsToDeleteList) - -BEGIN_OBJECT_REFLECTOR(osg::DeleteHandler) - I_DeclaringFile("osg/DeleteHandler"); - I_ConstructorWithDefaults1(IN, int, numberOfFramesToRetainObjects, 0, - Properties::NON_EXPLICIT, - ____DeleteHandler__int, - "", - ""); - I_Method1(void, setNumFramesToRetainObjects, IN, int, numberOfFramesToRetainObjects, - Properties::NON_VIRTUAL, - __void__setNumFramesToRetainObjects__int, - "Set the number of frames to retain objects that are have been requested for deletion. ", - "When set to zero objects are deleted immediately, by set to 1 there are kept around for an extra frame etc. The ability to retain objects for several frames is useful to prevent premature deletion when objects are still be used the graphics threads that are using double buffering of rendering data structures with non ref_ptr<> pointers to scene graph elements. "); - I_Method0(int, getNumFramesToRetainObjects, - Properties::NON_VIRTUAL, - __int__getNumFramesToRetainObjects, - "", - ""); - I_Method1(void, setFrameNumber, IN, int, frameNumber, - Properties::NON_VIRTUAL, - __void__setFrameNumber__int, - "Set the current frame number so that subsequent deletes get tagged as associated with this frame. ", - ""); - I_Method0(int, getFrameNumber, - Properties::NON_VIRTUAL, - __int__getFrameNumber, - "Get the current frame number. ", - ""); - I_Method1(void, doDelete, IN, const osg::Referenced *, object, - Properties::NON_VIRTUAL, - __void__doDelete__C5_Referenced_P1, - "", - ""); - I_Method0(void, flush, - Properties::VIRTUAL, - __void__flush, - "Flush objects that ready to be fully deleted. ", - ""); - I_Method0(void, flushAll, - Properties::VIRTUAL, - __void__flushAll, - "Flush all objects that the DeleteHandler holds. ", - "Note, this should only be called if there are no threads running with non ref_ptr<> pointers, such as graphics threads. "); - I_Method1(void, requestDelete, IN, const osg::Referenced *, object, - Properties::VIRTUAL, - __void__requestDelete__C5_osg_Referenced_P1, - "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. "); - I_ProtectedConstructor1(IN, const osg::DeleteHandler &, x, - Properties::NON_EXPLICIT, - ____DeleteHandler__C5_DeleteHandler_R1, - "", - ""); - I_SimpleProperty(int, FrameNumber, - __int__getFrameNumber, - __void__setFrameNumber__int); - I_SimpleProperty(int, NumFramesToRetainObjects, - 0, - __void__setNumFramesToRetainObjects__int); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::DeleteHandler::FrameNumberObjectPair >) - -STD_PAIR_REFLECTOR(std::pair< int COMMA const osg::Referenced * >) - diff --git a/src/osgWrappers/introspection/osg/Depth.cpp b/src/osgWrappers/introspection/osg/Depth.cpp deleted file mode 100644 index 540a596cc..000000000 --- a/src/osgWrappers/introspection/osg/Depth.cpp +++ /dev/null @@ -1,158 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Depth::Function) - I_DeclaringFile("osg/Depth"); - I_EnumLabel(osg::Depth::NEVER); - I_EnumLabel(osg::Depth::LESS); - I_EnumLabel(osg::Depth::EQUAL); - I_EnumLabel(osg::Depth::LEQUAL); - I_EnumLabel(osg::Depth::GREATER); - I_EnumLabel(osg::Depth::NOTEQUAL); - I_EnumLabel(osg::Depth::GEQUAL); - I_EnumLabel(osg::Depth::ALWAYS); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Depth) - I_DeclaringFile("osg/Depth"); - I_BaseType(osg::StateAttribute); - I_ConstructorWithDefaults4(IN, osg::Depth::Function, func, osg::Depth::LESS, IN, double, zNear, 0.0, IN, double, zFar, 1.0, IN, bool, writeMask, true, - ____Depth__Function__double__double__bool, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Depth &, dp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Depth__C5_Depth_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setFunction, IN, osg::Depth::Function, func, - Properties::NON_VIRTUAL, - __void__setFunction__Function, - "", - ""); - I_Method0(osg::Depth::Function, getFunction, - Properties::NON_VIRTUAL, - __Function__getFunction, - "", - ""); - I_Method2(void, setRange, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__setRange__double__double, - "", - ""); - I_Method1(void, setZNear, IN, double, zNear, - Properties::NON_VIRTUAL, - __void__setZNear__double, - "", - ""); - I_Method0(double, getZNear, - Properties::NON_VIRTUAL, - __double__getZNear, - "", - ""); - I_Method1(void, setZFar, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__setZFar__double, - "", - ""); - I_Method0(double, getZFar, - Properties::NON_VIRTUAL, - __double__getZFar, - "", - ""); - I_Method1(void, setWriteMask, IN, bool, mask, - Properties::NON_VIRTUAL, - __void__setWriteMask__bool, - "", - ""); - I_Method0(bool, getWriteMask, - Properties::NON_VIRTUAL, - __bool__getWriteMask, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(osg::Depth::Function, Function, - __Function__getFunction, - __void__setFunction__Function); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); - I_SimpleProperty(bool, WriteMask, - __bool__getWriteMask, - __void__setWriteMask__bool); - I_SimpleProperty(double, ZFar, - __double__getZFar, - __void__setZFar__double); - I_SimpleProperty(double, ZNear, - __double__getZNear, - __void__setZNear__double); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/DisplaySettings.cpp b/src/osgWrappers/introspection/osg/DisplaySettings.cpp deleted file mode 100644 index 3cce494a3..000000000 --- a/src/osgWrappers/introspection/osg/DisplaySettings.cpp +++ /dev/null @@ -1,640 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::DisplayType) - I_DeclaringFile("osg/DisplaySettings"); - I_EnumLabel(osg::DisplaySettings::MONITOR); - I_EnumLabel(osg::DisplaySettings::POWERWALL); - I_EnumLabel(osg::DisplaySettings::REALITY_CENTER); - I_EnumLabel(osg::DisplaySettings::HEAD_MOUNTED_DISPLAY); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::StereoMode) - I_DeclaringFile("osg/DisplaySettings"); - I_EnumLabel(osg::DisplaySettings::QUAD_BUFFER); - I_EnumLabel(osg::DisplaySettings::ANAGLYPHIC); - I_EnumLabel(osg::DisplaySettings::HORIZONTAL_SPLIT); - I_EnumLabel(osg::DisplaySettings::VERTICAL_SPLIT); - I_EnumLabel(osg::DisplaySettings::LEFT_EYE); - I_EnumLabel(osg::DisplaySettings::RIGHT_EYE); - I_EnumLabel(osg::DisplaySettings::HORIZONTAL_INTERLACE); - I_EnumLabel(osg::DisplaySettings::VERTICAL_INTERLACE); - I_EnumLabel(osg::DisplaySettings::CHECKERBOARD); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::SplitStereoHorizontalEyeMapping) - I_DeclaringFile("osg/DisplaySettings"); - I_EnumLabel(osg::DisplaySettings::LEFT_EYE_LEFT_VIEWPORT); - I_EnumLabel(osg::DisplaySettings::LEFT_EYE_RIGHT_VIEWPORT); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::SplitStereoVerticalEyeMapping) - I_DeclaringFile("osg/DisplaySettings"); - I_EnumLabel(osg::DisplaySettings::LEFT_EYE_TOP_VIEWPORT); - I_EnumLabel(osg::DisplaySettings::LEFT_EYE_BOTTOM_VIEWPORT); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::ImplicitBufferAttachment) - I_DeclaringFile("osg/DisplaySettings"); - I_EnumLabel(osg::DisplaySettings::IMPLICIT_DEPTH_BUFFER_ATTACHMENT); - I_EnumLabel(osg::DisplaySettings::IMPLICIT_STENCIL_BUFFER_ATTACHMENT); - I_EnumLabel(osg::DisplaySettings::IMPLICIT_COLOR_BUFFER_ATTACHMENT); - I_EnumLabel(osg::DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT); -END_REFLECTOR - -TYPE_NAME_ALIAS(int, osg::DisplaySettings::ImplicitBufferAttachmentMask) - -BEGIN_OBJECT_REFLECTOR(osg::DisplaySettings) - I_DeclaringFile("osg/DisplaySettings"); - I_BaseType(osg::Referenced); - I_StaticMethod0(osg::ref_ptr< osg::DisplaySettings > &, instance, - __ref_ptrT1_DisplaySettings__R1__instance_S, - "Maintain a DisplaySettings singleton for objects to query at runtime. ", - ""); - I_Constructor0(____DisplaySettings, - "", - ""); - I_Constructor1(IN, osg::ArgumentParser &, arguments, - Properties::NON_EXPLICIT, - ____DisplaySettings__ArgumentParser_R1, - "", - ""); - I_Constructor1(IN, const osg::DisplaySettings &, vs, - Properties::NON_EXPLICIT, - ____DisplaySettings__C5_DisplaySettings_R1, - "", - ""); - I_Method1(void, setDisplaySettings, IN, const osg::DisplaySettings &, vs, - Properties::NON_VIRTUAL, - __void__setDisplaySettings__C5_DisplaySettings_R1, - "", - ""); - I_Method1(void, merge, IN, const osg::DisplaySettings &, vs, - Properties::NON_VIRTUAL, - __void__merge__C5_DisplaySettings_R1, - "", - ""); - I_Method0(void, setDefaults, - Properties::NON_VIRTUAL, - __void__setDefaults, - "", - ""); - I_Method0(void, readEnvironmentalVariables, - Properties::NON_VIRTUAL, - __void__readEnvironmentalVariables, - "read the environmental variables. ", - ""); - I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments, - Properties::NON_VIRTUAL, - __void__readCommandLine__ArgumentParser_R1, - "read the commandline arguments. ", - ""); - I_Method1(void, setDisplayType, IN, osg::DisplaySettings::DisplayType, type, - Properties::NON_VIRTUAL, - __void__setDisplayType__DisplayType, - "", - ""); - I_Method0(osg::DisplaySettings::DisplayType, getDisplayType, - Properties::NON_VIRTUAL, - __DisplayType__getDisplayType, - "", - ""); - I_Method1(void, setStereo, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setStereo__bool, - "", - ""); - I_Method0(bool, getStereo, - Properties::NON_VIRTUAL, - __bool__getStereo, - "", - ""); - I_Method1(void, setStereoMode, IN, osg::DisplaySettings::StereoMode, mode, - Properties::NON_VIRTUAL, - __void__setStereoMode__StereoMode, - "", - ""); - I_Method0(osg::DisplaySettings::StereoMode, getStereoMode, - Properties::NON_VIRTUAL, - __StereoMode__getStereoMode, - "", - ""); - I_Method1(void, setEyeSeparation, IN, float, eyeSeparation, - Properties::NON_VIRTUAL, - __void__setEyeSeparation__float, - "", - ""); - I_Method0(float, getEyeSeparation, - Properties::NON_VIRTUAL, - __float__getEyeSeparation, - "", - ""); - I_Method1(void, setSplitStereoHorizontalEyeMapping, IN, osg::DisplaySettings::SplitStereoHorizontalEyeMapping, m, - Properties::NON_VIRTUAL, - __void__setSplitStereoHorizontalEyeMapping__SplitStereoHorizontalEyeMapping, - "", - ""); - I_Method0(osg::DisplaySettings::SplitStereoHorizontalEyeMapping, getSplitStereoHorizontalEyeMapping, - Properties::NON_VIRTUAL, - __SplitStereoHorizontalEyeMapping__getSplitStereoHorizontalEyeMapping, - "", - ""); - I_Method1(void, setSplitStereoHorizontalSeparation, IN, int, s, - Properties::NON_VIRTUAL, - __void__setSplitStereoHorizontalSeparation__int, - "", - ""); - I_Method0(int, getSplitStereoHorizontalSeparation, - Properties::NON_VIRTUAL, - __int__getSplitStereoHorizontalSeparation, - "", - ""); - I_Method1(void, setSplitStereoVerticalEyeMapping, IN, osg::DisplaySettings::SplitStereoVerticalEyeMapping, m, - Properties::NON_VIRTUAL, - __void__setSplitStereoVerticalEyeMapping__SplitStereoVerticalEyeMapping, - "", - ""); - I_Method0(osg::DisplaySettings::SplitStereoVerticalEyeMapping, getSplitStereoVerticalEyeMapping, - Properties::NON_VIRTUAL, - __SplitStereoVerticalEyeMapping__getSplitStereoVerticalEyeMapping, - "", - ""); - I_Method1(void, setSplitStereoVerticalSeparation, IN, int, s, - Properties::NON_VIRTUAL, - __void__setSplitStereoVerticalSeparation__int, - "", - ""); - I_Method0(int, getSplitStereoVerticalSeparation, - Properties::NON_VIRTUAL, - __int__getSplitStereoVerticalSeparation, - "", - ""); - I_Method1(void, setSplitStereoAutoAdjustAspectRatio, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setSplitStereoAutoAdjustAspectRatio__bool, - "", - ""); - I_Method0(bool, getSplitStereoAutoAdjustAspectRatio, - Properties::NON_VIRTUAL, - __bool__getSplitStereoAutoAdjustAspectRatio, - "", - ""); - I_Method1(void, setScreenWidth, IN, float, width, - Properties::NON_VIRTUAL, - __void__setScreenWidth__float, - "", - ""); - I_Method0(float, getScreenWidth, - Properties::NON_VIRTUAL, - __float__getScreenWidth, - "", - ""); - I_Method1(void, setScreenHeight, IN, float, height, - Properties::NON_VIRTUAL, - __void__setScreenHeight__float, - "", - ""); - I_Method0(float, getScreenHeight, - Properties::NON_VIRTUAL, - __float__getScreenHeight, - "", - ""); - I_Method1(void, setScreenDistance, IN, float, distance, - Properties::NON_VIRTUAL, - __void__setScreenDistance__float, - "", - ""); - I_Method0(float, getScreenDistance, - Properties::NON_VIRTUAL, - __float__getScreenDistance, - "", - ""); - I_Method1(void, setDoubleBuffer, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setDoubleBuffer__bool, - "", - ""); - I_Method0(bool, getDoubleBuffer, - Properties::NON_VIRTUAL, - __bool__getDoubleBuffer, - "", - ""); - I_Method1(void, setRGB, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setRGB__bool, - "", - ""); - I_Method0(bool, getRGB, - Properties::NON_VIRTUAL, - __bool__getRGB, - "", - ""); - I_Method1(void, setDepthBuffer, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setDepthBuffer__bool, - "", - ""); - I_Method0(bool, getDepthBuffer, - Properties::NON_VIRTUAL, - __bool__getDepthBuffer, - "", - ""); - I_Method1(void, setMinimumNumAlphaBits, IN, unsigned int, bits, - Properties::NON_VIRTUAL, - __void__setMinimumNumAlphaBits__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMinimumNumAlphaBits, - Properties::NON_VIRTUAL, - __unsigned_int__getMinimumNumAlphaBits, - "", - ""); - I_Method0(bool, getAlphaBuffer, - Properties::NON_VIRTUAL, - __bool__getAlphaBuffer, - "", - ""); - I_Method1(void, setMinimumNumStencilBits, IN, unsigned int, bits, - Properties::NON_VIRTUAL, - __void__setMinimumNumStencilBits__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMinimumNumStencilBits, - Properties::NON_VIRTUAL, - __unsigned_int__getMinimumNumStencilBits, - "", - ""); - I_Method0(bool, getStencilBuffer, - Properties::NON_VIRTUAL, - __bool__getStencilBuffer, - "", - ""); - I_Method4(void, setMinimumNumAccumBits, IN, unsigned int, red, IN, unsigned int, green, IN, unsigned int, blue, IN, unsigned int, alpha, - Properties::NON_VIRTUAL, - __void__setMinimumNumAccumBits__unsigned_int__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMinimumNumAccumRedBits, - Properties::NON_VIRTUAL, - __unsigned_int__getMinimumNumAccumRedBits, - "", - ""); - I_Method0(unsigned int, getMinimumNumAccumGreenBits, - Properties::NON_VIRTUAL, - __unsigned_int__getMinimumNumAccumGreenBits, - "", - ""); - I_Method0(unsigned int, getMinimumNumAccumBlueBits, - Properties::NON_VIRTUAL, - __unsigned_int__getMinimumNumAccumBlueBits, - "", - ""); - I_Method0(unsigned int, getMinimumNumAccumAlphaBits, - Properties::NON_VIRTUAL, - __unsigned_int__getMinimumNumAccumAlphaBits, - "", - ""); - I_Method0(bool, getAccumBuffer, - Properties::NON_VIRTUAL, - __bool__getAccumBuffer, - "", - ""); - I_Method1(void, setMaxNumberOfGraphicsContexts, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setMaxNumberOfGraphicsContexts__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaxNumberOfGraphicsContexts, - Properties::NON_VIRTUAL, - __unsigned_int__getMaxNumberOfGraphicsContexts, - "", - ""); - I_Method1(void, setNumMultiSamples, IN, unsigned int, samples, - Properties::NON_VIRTUAL, - __void__setNumMultiSamples__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumMultiSamples, - Properties::NON_VIRTUAL, - __unsigned_int__getNumMultiSamples, - "", - ""); - I_Method0(bool, getMultiSamples, - Properties::NON_VIRTUAL, - __bool__getMultiSamples, - "", - ""); - I_Method1(void, setCompileContextsHint, IN, bool, useCompileContexts, - Properties::NON_VIRTUAL, - __void__setCompileContextsHint__bool, - "", - ""); - I_Method0(bool, getCompileContextsHint, - Properties::NON_VIRTUAL, - __bool__getCompileContextsHint, - "", - ""); - I_Method1(void, setSerializeDrawDispatch, IN, bool, serializeDrawDispatch, - Properties::NON_VIRTUAL, - __void__setSerializeDrawDispatch__bool, - "", - ""); - I_Method0(bool, getSerializeDrawDispatch, - Properties::NON_VIRTUAL, - __bool__getSerializeDrawDispatch, - "", - ""); - I_Method1(void, setNumOfDatabaseThreadsHint, IN, unsigned int, numThreads, - Properties::NON_VIRTUAL, - __void__setNumOfDatabaseThreadsHint__unsigned_int, - "Set the hint for the total number of threads in the DatbasePager set up, inclusive of the number of http dedicated threads. ", - ""); - I_Method0(unsigned int, getNumOfDatabaseThreadsHint, - Properties::NON_VIRTUAL, - __unsigned_int__getNumOfDatabaseThreadsHint, - "Get the hint for total number of threads in the DatbasePager set up, inclusive of the number of http dedicated threads. ", - ""); - I_Method1(void, setNumOfHttpDatabaseThreadsHint, IN, unsigned int, numThreads, - Properties::NON_VIRTUAL, - __void__setNumOfHttpDatabaseThreadsHint__unsigned_int, - "Set the hint for number of threads in the DatbasePager to dedicate to reading http requests. ", - ""); - I_Method0(unsigned int, getNumOfHttpDatabaseThreadsHint, - Properties::NON_VIRTUAL, - __unsigned_int__getNumOfHttpDatabaseThreadsHint, - "Get the hint for number of threads in the DatbasePager dedicated to reading http requests. ", - ""); - I_Method1(void, setApplication, IN, const std::string &, application, - Properties::NON_VIRTUAL, - __void__setApplication__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getApplication, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getApplication, - "", - ""); - I_Method1(void, setMaxTexturePoolSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setMaxTexturePoolSize__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaxTexturePoolSize, - Properties::NON_VIRTUAL, - __unsigned_int__getMaxTexturePoolSize, - "", - ""); - I_Method1(void, setMaxBufferObjectPoolSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setMaxBufferObjectPoolSize__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaxBufferObjectPoolSize, - Properties::NON_VIRTUAL, - __unsigned_int__getMaxBufferObjectPoolSize, - "", - ""); - I_MethodWithDefaults2(void, setImplicitBufferAttachmentMask, IN, osg::DisplaySettings::ImplicitBufferAttachmentMask, renderMask, osg::DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT, IN, osg::DisplaySettings::ImplicitBufferAttachmentMask, resolveMask, osg::DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT, - Properties::NON_VIRTUAL, - __void__setImplicitBufferAttachmentMask__ImplicitBufferAttachmentMask__ImplicitBufferAttachmentMask, - "", - ""); - I_Method1(void, setImplicitBufferAttachmentRenderMask, IN, osg::DisplaySettings::ImplicitBufferAttachmentMask, implicitBufferAttachmentRenderMask, - Properties::NON_VIRTUAL, - __void__setImplicitBufferAttachmentRenderMask__ImplicitBufferAttachmentMask, - "", - ""); - I_Method1(void, setImplicitBufferAttachmentResolveMask, IN, osg::DisplaySettings::ImplicitBufferAttachmentMask, implicitBufferAttachmentResolveMask, - Properties::NON_VIRTUAL, - __void__setImplicitBufferAttachmentResolveMask__ImplicitBufferAttachmentMask, - "", - ""); - I_Method0(osg::DisplaySettings::ImplicitBufferAttachmentMask, getImplicitBufferAttachmentRenderMask, - Properties::NON_VIRTUAL, - __ImplicitBufferAttachmentMask__getImplicitBufferAttachmentRenderMask, - "Get mask selecting default implict buffer attachments for Cameras primary FBOs. ", - ""); - I_Method0(osg::DisplaySettings::ImplicitBufferAttachmentMask, getImplicitBufferAttachmentResolveMask, - Properties::NON_VIRTUAL, - __ImplicitBufferAttachmentMask__getImplicitBufferAttachmentResolveMask, - "Get mask selecting default implict buffer attachments for Cameras secondary MULTISAMPLE FBOs. ", - ""); - I_Method1(void, setGLContextVersion, IN, const std::string &, version, - Properties::NON_VIRTUAL, - __void__setGLContextVersion__C5_std_string_R1, - "Set the hint of which OpenGL version to attempt to create a graphics context for. ", - ""); - I_Method0(const std::string, getGLContextVersion, - Properties::NON_VIRTUAL, - __C5_std_string__getGLContextVersion, - "Get the hint of which OpenGL version to attempt to create a graphics context for. ", - ""); - I_Method1(void, setGLContextFlags, IN, unsigned int, flags, - Properties::NON_VIRTUAL, - __void__setGLContextFlags__unsigned_int, - "Set the hint of the flags to use in when creating graphic contexts. ", - ""); - I_Method0(unsigned int, getGLContextFlags, - Properties::NON_VIRTUAL, - __unsigned_int__getGLContextFlags, - "Get the hint of the flags to use in when creating graphic contexts. ", - ""); - I_Method1(void, setGLContextProfileMask, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setGLContextProfileMask__unsigned_int, - "Set the hint of the profile mask to use in when creating graphic contexts. ", - ""); - I_Method0(unsigned int, getGLContextProfileMask, - Properties::NON_VIRTUAL, - __unsigned_int__getGLContextProfileMask, - "Get the hint of the profile mask to use in when creating graphic contexts. ", - ""); - I_SimpleProperty(bool, AccumBuffer, - __bool__getAccumBuffer, - 0); - I_SimpleProperty(bool, AlphaBuffer, - __bool__getAlphaBuffer, - 0); - I_SimpleProperty(const std::string &, Application, - __C5_std_string_R1__getApplication, - __void__setApplication__C5_std_string_R1); - I_SimpleProperty(bool, CompileContextsHint, - __bool__getCompileContextsHint, - __void__setCompileContextsHint__bool); - I_SimpleProperty(bool, DepthBuffer, - __bool__getDepthBuffer, - __void__setDepthBuffer__bool); - I_SimpleProperty(const osg::DisplaySettings &, DisplaySettings, - 0, - __void__setDisplaySettings__C5_DisplaySettings_R1); - I_SimpleProperty(osg::DisplaySettings::DisplayType, DisplayType, - __DisplayType__getDisplayType, - __void__setDisplayType__DisplayType); - I_SimpleProperty(bool, DoubleBuffer, - __bool__getDoubleBuffer, - __void__setDoubleBuffer__bool); - I_SimpleProperty(float, EyeSeparation, - __float__getEyeSeparation, - __void__setEyeSeparation__float); - I_SimpleProperty(unsigned int, GLContextFlags, - __unsigned_int__getGLContextFlags, - __void__setGLContextFlags__unsigned_int); - I_SimpleProperty(unsigned int, GLContextProfileMask, - __unsigned_int__getGLContextProfileMask, - __void__setGLContextProfileMask__unsigned_int); - I_SimpleProperty(const std::string &, GLContextVersion, - 0, - __void__setGLContextVersion__C5_std_string_R1); - I_SimpleProperty(osg::DisplaySettings::ImplicitBufferAttachmentMask, ImplicitBufferAttachmentRenderMask, - __ImplicitBufferAttachmentMask__getImplicitBufferAttachmentRenderMask, - __void__setImplicitBufferAttachmentRenderMask__ImplicitBufferAttachmentMask); - I_SimpleProperty(osg::DisplaySettings::ImplicitBufferAttachmentMask, ImplicitBufferAttachmentResolveMask, - __ImplicitBufferAttachmentMask__getImplicitBufferAttachmentResolveMask, - __void__setImplicitBufferAttachmentResolveMask__ImplicitBufferAttachmentMask); - I_SimpleProperty(unsigned int, MaxBufferObjectPoolSize, - __unsigned_int__getMaxBufferObjectPoolSize, - __void__setMaxBufferObjectPoolSize__unsigned_int); - I_SimpleProperty(unsigned int, MaxNumberOfGraphicsContexts, - __unsigned_int__getMaxNumberOfGraphicsContexts, - __void__setMaxNumberOfGraphicsContexts__unsigned_int); - I_SimpleProperty(unsigned int, MaxTexturePoolSize, - __unsigned_int__getMaxTexturePoolSize, - __void__setMaxTexturePoolSize__unsigned_int); - I_SimpleProperty(unsigned int, MinimumNumAccumAlphaBits, - __unsigned_int__getMinimumNumAccumAlphaBits, - 0); - I_SimpleProperty(unsigned int, MinimumNumAccumBlueBits, - __unsigned_int__getMinimumNumAccumBlueBits, - 0); - I_SimpleProperty(unsigned int, MinimumNumAccumGreenBits, - __unsigned_int__getMinimumNumAccumGreenBits, - 0); - I_SimpleProperty(unsigned int, MinimumNumAccumRedBits, - __unsigned_int__getMinimumNumAccumRedBits, - 0); - I_SimpleProperty(unsigned int, MinimumNumAlphaBits, - __unsigned_int__getMinimumNumAlphaBits, - __void__setMinimumNumAlphaBits__unsigned_int); - I_SimpleProperty(unsigned int, MinimumNumStencilBits, - __unsigned_int__getMinimumNumStencilBits, - __void__setMinimumNumStencilBits__unsigned_int); - I_SimpleProperty(bool, MultiSamples, - __bool__getMultiSamples, - 0); - I_SimpleProperty(unsigned int, NumMultiSamples, - 0, - __void__setNumMultiSamples__unsigned_int); - I_SimpleProperty(unsigned int, NumOfDatabaseThreadsHint, - 0, - __void__setNumOfDatabaseThreadsHint__unsigned_int); - I_SimpleProperty(unsigned int, NumOfHttpDatabaseThreadsHint, - 0, - __void__setNumOfHttpDatabaseThreadsHint__unsigned_int); - I_SimpleProperty(bool, RGB, - __bool__getRGB, - __void__setRGB__bool); - I_SimpleProperty(float, ScreenDistance, - __float__getScreenDistance, - __void__setScreenDistance__float); - I_SimpleProperty(float, ScreenHeight, - __float__getScreenHeight, - __void__setScreenHeight__float); - I_SimpleProperty(float, ScreenWidth, - __float__getScreenWidth, - __void__setScreenWidth__float); - I_SimpleProperty(bool, SerializeDrawDispatch, - __bool__getSerializeDrawDispatch, - __void__setSerializeDrawDispatch__bool); - I_SimpleProperty(bool, SplitStereoAutoAdjustAspectRatio, - __bool__getSplitStereoAutoAdjustAspectRatio, - __void__setSplitStereoAutoAdjustAspectRatio__bool); - I_SimpleProperty(osg::DisplaySettings::SplitStereoHorizontalEyeMapping, SplitStereoHorizontalEyeMapping, - __SplitStereoHorizontalEyeMapping__getSplitStereoHorizontalEyeMapping, - __void__setSplitStereoHorizontalEyeMapping__SplitStereoHorizontalEyeMapping); - I_SimpleProperty(int, SplitStereoHorizontalSeparation, - __int__getSplitStereoHorizontalSeparation, - __void__setSplitStereoHorizontalSeparation__int); - I_SimpleProperty(osg::DisplaySettings::SplitStereoVerticalEyeMapping, SplitStereoVerticalEyeMapping, - __SplitStereoVerticalEyeMapping__getSplitStereoVerticalEyeMapping, - __void__setSplitStereoVerticalEyeMapping__SplitStereoVerticalEyeMapping); - I_SimpleProperty(int, SplitStereoVerticalSeparation, - __int__getSplitStereoVerticalSeparation, - __void__setSplitStereoVerticalSeparation__int); - I_SimpleProperty(bool, StencilBuffer, - __bool__getStencilBuffer, - 0); - I_SimpleProperty(bool, Stereo, - __bool__getStereo, - __void__setStereo__bool); - I_SimpleProperty(osg::DisplaySettings::StereoMode, StereoMode, - __StereoMode__getStereoMode, - __void__setStereoMode__StereoMode); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::DisplaySettings >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::DisplaySettings *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::DisplaySettings > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::DisplaySettings > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::DisplaySettings *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::DisplaySettings *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::DisplaySettings > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::DisplaySettings *, , - __T_P1__get, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/DrawPixels.cpp b/src/osgWrappers/introspection/osg/DrawPixels.cpp deleted file mode 100644 index 69c3b2309..000000000 --- a/src/osgWrappers/introspection/osg/DrawPixels.cpp +++ /dev/null @@ -1,136 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::DrawPixels) - I_DeclaringFile("osg/DrawPixels"); - I_BaseType(osg::Drawable); - I_Constructor0(____DrawPixels, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::DrawPixels &, drawimage, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____DrawPixels__C5_DrawPixels_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setPosition, IN, const osg::Vec3 &, position, - Properties::NON_VIRTUAL, - __void__setPosition__C5_osg_Vec3_R1, - "", - ""); - I_Method0(osg::Vec3 &, getPosition, - Properties::NON_VIRTUAL, - __osg_Vec3_R1__getPosition, - "", - ""); - I_Method0(const osg::Vec3 &, getPosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getPosition, - "", - ""); - I_Method1(void, setImage, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__setImage__osg_Image_P1, - "", - ""); - I_Method0(osg::Image *, getImage, - Properties::NON_VIRTUAL, - __osg_Image_P1__getImage, - "", - ""); - I_Method0(const osg::Image *, getImage, - Properties::NON_VIRTUAL, - __C5_osg_Image_P1__getImage, - "", - ""); - I_Method1(void, setUseSubImage, IN, bool, useSubImage, - Properties::NON_VIRTUAL, - __void__setUseSubImage__bool, - "", - ""); - I_Method0(bool, getUseSubImage, - Properties::NON_VIRTUAL, - __bool__getUseSubImage, - "", - ""); - I_Method4(void, setSubImageDimensions, IN, unsigned int, offsetX, IN, unsigned int, offsetY, IN, unsigned int, width, IN, unsigned int, height, - Properties::NON_VIRTUAL, - __void__setSubImageDimensions__unsigned_int__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_Method4(void, getSubImageDimensions, IN, unsigned int &, offsetX, IN, unsigned int &, offsetY, IN, unsigned int &, width, IN, unsigned int &, height, - Properties::NON_VIRTUAL, - __void__getSubImageDimensions__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1, - "", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__RenderInfo_R1, - "drawImplementation(RenderInfo&) is a pure virtual method for the actual implementation of OpenGL drawing calls, such as vertex arrays and primitives, that must be implemented in concrete subclasses of the Drawable base class, examples include osg::Geometry and osg::ShapeDrawable. ", - " param renderInfo The osg::RenderInfo object that encapsulates the current rendering information including the osg::State OpenGL state for the current graphics context. "); - I_Method0(osg::BoundingBox, computeBound, - Properties::VIRTUAL, - __BoundingBox__computeBound, - "Compute the bounding box around Drawables's geometry. ", - ""); - I_SimpleProperty(osg::Image *, Image, - __osg_Image_P1__getImage, - __void__setImage__osg_Image_P1); - I_SimpleProperty(const osg::Vec3 &, Position, - __C5_osg_Vec3_R1__getPosition, - __void__setPosition__C5_osg_Vec3_R1); - I_SimpleProperty(bool, UseSubImage, - __bool__getUseSubImage, - __void__setUseSubImage__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Drawable.cpp b/src/osgWrappers/introspection/osg/Drawable.cpp deleted file mode 100644 index ba07c0db4..000000000 --- a/src/osgWrappers/introspection/osg/Drawable.cpp +++ /dev/null @@ -1,910 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Drawable::AttributeTypes) - I_DeclaringFile("osg/Drawable"); - I_EnumLabel(osg::Drawable::VERTICES); - I_EnumLabel(osg::Drawable::WEIGHTS); - I_EnumLabel(osg::Drawable::NORMALS); - I_EnumLabel(osg::Drawable::COLORS); - I_EnumLabel(osg::Drawable::SECONDARY_COLORS); - I_EnumLabel(osg::Drawable::FOG_COORDS); - I_EnumLabel(osg::Drawable::ATTRIBUTE_6); - I_EnumLabel(osg::Drawable::ATTRIBUTE_7); - I_EnumLabel(osg::Drawable::TEXTURE_COORDS); - I_EnumLabel(osg::Drawable::TEXTURE_COORDS_0); - I_EnumLabel(osg::Drawable::TEXTURE_COORDS_1); - I_EnumLabel(osg::Drawable::TEXTURE_COORDS_2); - I_EnumLabel(osg::Drawable::TEXTURE_COORDS_3); - I_EnumLabel(osg::Drawable::TEXTURE_COORDS_4); - I_EnumLabel(osg::Drawable::TEXTURE_COORDS_5); - I_EnumLabel(osg::Drawable::TEXTURE_COORDS_6); - I_EnumLabel(osg::Drawable::TEXTURE_COORDS_7); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::Node * >, osg::Drawable::ParentList) - -TYPE_NAME_ALIAS(unsigned int, osg::Drawable::AttributeType) - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable) - I_DeclaringFile("osg/Drawable"); - I_BaseType(osg::Object); - I_Constructor0(____Drawable, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Drawable &, drawable, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Drawable__C5_Drawable_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osg::Geometry *, asGeometry, - Properties::VIRTUAL, - __Geometry_P1__asGeometry, - "Convert 'this' into a Geometry pointer if Drawable is a Geometry, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(const osg::Geometry *, asGeometry, - Properties::VIRTUAL, - __C5_Geometry_P1__asGeometry, - "Convert 'const this' into a const Geometry pointer if Drawable is a Geometry, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(void, computeDataVariance, - Properties::VIRTUAL, - __void__computeDataVariance, - "Compute the DataVariance based on an assessment of callback etc. ", - ""); - I_Method0(const osg::Drawable::ParentList &, getParents, - Properties::NON_VIRTUAL, - __C5_ParentList_R1__getParents, - "Get the parent list of drawable. ", - ""); - I_Method0(osg::Drawable::ParentList, getParents, - Properties::NON_VIRTUAL, - __ParentList__getParents, - "Get the a copy of parent list of node. ", - "A copy is returned to prevent modification of the parent list. "); - I_Method1(osg::Node *, getParent, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Node_P1__getParent__unsigned_int, - "Get a single parent of Drawable. ", - " param i index of the parent to get. return the parent i. "); - I_Method1(const osg::Node *, getParent, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Node_P1__getParent__unsigned_int, - "Get a single const parent of Drawable. ", - " param i index of the parent to get. return the parent i. "); - I_Method0(unsigned int, getNumParents, - Properties::NON_VIRTUAL, - __unsigned_int__getNumParents, - "Get the number of parents of node. ", - "the number of parents of this node. "); - I_MethodWithDefaults1(osg::MatrixList, getWorldMatrices, IN, const osg::Node *, haltTraversalAtNode, 0, - Properties::NON_VIRTUAL, - __MatrixList__getWorldMatrices__C5_osg_Node_P1, - "Get the list of matrices that transform this node from local coordinates to world coordinates. ", - "The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. "); - I_Method1(void, setStateSet, IN, osg::StateSet *, stateset, - Properties::NON_VIRTUAL, - __void__setStateSet__StateSet_P1, - "Set the StateSet attached to the Drawable. ", - "Previously attached StateSet are automatically unreferenced on assignment of a new drawstate. "); - I_Method0(osg::StateSet *, getStateSet, - Properties::NON_VIRTUAL, - __StateSet_P1__getStateSet, - "Get the attached StateSet. ", - ""); - I_Method0(const osg::StateSet *, getStateSet, - Properties::NON_VIRTUAL, - __C5_StateSet_P1__getStateSet, - "Get the attached const StateSet. ", - ""); - I_Method0(osg::StateSet *, getOrCreateStateSet, - Properties::NON_VIRTUAL, - __StateSet_P1__getOrCreateStateSet, - "Get the attached const StateSet, if one is not already attached create one, attach it to the drawable and return a pointer to it. ", - ""); - I_Method1(void, setInitialBound, IN, const osg::BoundingBox &, bbox, - Properties::NON_VIRTUAL, - __void__setInitialBound__C5_osg_BoundingBox_R1, - "Set the initial bounding volume to use when computing the overall bounding volume. ", - ""); - I_Method0(const osg::BoundingBox &, getInitialBound, - Properties::NON_VIRTUAL, - __C5_BoundingBox_R1__getInitialBound, - "Set the initial bounding volume to use when computing the overall bounding volume. ", - ""); - I_Method0(void, dirtyBound, - Properties::NON_VIRTUAL, - __void__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. "); - I_Method0(const osg::BoundingBox &, getBound, - Properties::NON_VIRTUAL, - __C5_BoundingBox_R1__getBound, - "Get BoundingBox of Drawable. ", - "If the BoundingBox is not up to date then its updated via an internal call to computeBond(). "); - I_Method0(osg::BoundingBox, computeBound, - Properties::VIRTUAL, - __BoundingBox__computeBound, - "Compute the bounding box around Drawables's geometry. ", - ""); - I_Method1(void, setComputeBoundingBoxCallback, IN, osg::Drawable::ComputeBoundingBoxCallback *, callback, - Properties::NON_VIRTUAL, - __void__setComputeBoundingBoxCallback__ComputeBoundingBoxCallback_P1, - "Set the compute bound callback to override the default computeBound. ", - ""); - I_Method0(osg::Drawable::ComputeBoundingBoxCallback *, getComputeBoundingBoxCallback, - Properties::NON_VIRTUAL, - __ComputeBoundingBoxCallback_P1__getComputeBoundingBoxCallback, - "Get the compute bound callback. ", - ""); - I_Method0(const osg::Drawable::ComputeBoundingBoxCallback *, getComputeBoundingBoxCallback, - Properties::NON_VIRTUAL, - __C5_ComputeBoundingBoxCallback_P1__getComputeBoundingBoxCallback, - "Get the const compute bound callback. ", - ""); - I_Method1(void, setShape, IN, osg::Shape *, shape, - Properties::NON_VIRTUAL, - __void__setShape__Shape_P1, - "Set the Shape of the Drawable. ", - "The shape can be used to speed up collision detection or as a guide for procedural geometry generation. osg::Shape. "); - I_Method0(osg::Shape *, getShape, - Properties::NON_VIRTUAL, - __Shape_P1__getShape, - "Get the Shape of the Drawable. ", - ""); - I_Method0(const osg::Shape *, getShape, - Properties::NON_VIRTUAL, - __C5_Shape_P1__getShape, - "Get the const Shape of the const Drawable. ", - ""); - I_Method1(void, setSupportsDisplayList, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setSupportsDisplayList__bool, - "Set the drawable so that it can or cannot be used in conjunction with OpenGL display lists. ", - "When set to true, calls to Drawable::setUseDisplayList, whereas when set to false, no display lists can be created and calls to setUseDisplayList are ignored, and a warning is produced. The latter is typically used to guard against the switching on of display lists on objects with dynamic internal data such as continuous Level of Detail algorithms. "); - I_Method0(bool, getSupportsDisplayList, - Properties::NON_VIRTUAL, - __bool__getSupportsDisplayList, - "Get whether display lists are supported for this drawable instance. ", - ""); - I_Method1(void, setUseDisplayList, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setUseDisplayList__bool, - "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 compiled already, the next call to draw will automatically create the display list. "); - I_Method0(bool, getUseDisplayList, - Properties::NON_VIRTUAL, - __bool__getUseDisplayList, - "Return whether OpenGL display lists are being used for rendering. ", - ""); - I_Method1(GLuint &, getDisplayList, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __GLuint_R1__getDisplayList__unsigned_int, - "Return OpenGL display list for specified contextID. ", - ""); - I_Method1(void, setUseVertexBufferObjects, IN, bool, flag, - Properties::VIRTUAL, - __void__setUseVertexBufferObjects__bool, - "When set to true, ignore the setUseDisplayList() settings, and hints to the drawImplementation method to use OpenGL vertex buffer objects for rendering. ", - ""); - I_Method0(bool, getUseVertexBufferObjects, - Properties::NON_VIRTUAL, - __bool__getUseVertexBufferObjects, - "Return whether OpenGL vertex buffer objects should be used when supported by OpenGL driver. ", - ""); - I_Method0(void, dirtyDisplayList, - Properties::VIRTUAL, - __void__dirtyDisplayList, - "Force a recompile on next draw() of any OpenGL display list associated with this geoset. ", - ""); - I_Method0(unsigned int, getGLObjectSizeHint, - Properties::VIRTUAL, - __unsigned_int__getGLObjectSizeHint, - "Return the estimated size of GLObjects (display lists/vertex buffer objects) that are associated with this drawable. ", - "This size is used a hint for reuse of deleted display lists/vertex buffer objects. "); - I_Method1(void, draw, IN, osg::RenderInfo &, renderInfo, - Properties::NON_VIRTUAL, - __void__draw__RenderInfo_R1, - "Draw OpenGL primitives. ", - "If the Drawable has _useDisplayList set to true, then use an OpenGL display list, automatically compiling one if required. Otherwise, call drawImplementation(). This method should not be overridden in subclasses, as it manages the optional display list (notice this is not even virtual). Subclasses should override drawImplementation() instead. "); - I_Method1(void, compileGLObjects, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__compileGLObjects__RenderInfo_R1, - "Immediately compile this Drawable into an OpenGL Display List/VertexBufferObjects. ", - "Operation is ignored if _useDisplayList is false or VertexBufferObjects are not used. "); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__State_P1, - "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_Method1(void, setUpdateCallback, IN, osg::Drawable::UpdateCallback *, ac, - Properties::VIRTUAL, - __void__setUpdateCallback__UpdateCallback_P1, - "Set the UpdateCallback which allows users to attach customize the updating of an object during the update traversal. ", - ""); - I_Method0(osg::Drawable::UpdateCallback *, getUpdateCallback, - Properties::NON_VIRTUAL, - __UpdateCallback_P1__getUpdateCallback, - "Get the non const UpdateCallback. ", - ""); - I_Method0(const osg::Drawable::UpdateCallback *, getUpdateCallback, - Properties::NON_VIRTUAL, - __C5_UpdateCallback_P1__getUpdateCallback, - "Get the const UpdateCallback. ", - ""); - I_Method0(bool, requiresUpdateTraversal, - Properties::NON_VIRTUAL, - __bool__requiresUpdateTraversal, - "Return whether this Drawable has update callbacks associated with it, and therefore must be traversed. ", - ""); - I_Method1(void, setEventCallback, IN, osg::Drawable::EventCallback *, ac, - Properties::VIRTUAL, - __void__setEventCallback__EventCallback_P1, - "Set the EventCallback which allows users to attach customize the updating of an object during the Event traversal. ", - ""); - I_Method0(osg::Drawable::EventCallback *, getEventCallback, - Properties::NON_VIRTUAL, - __EventCallback_P1__getEventCallback, - "Get the non const EventCallback. ", - ""); - I_Method0(const osg::Drawable::EventCallback *, getEventCallback, - Properties::NON_VIRTUAL, - __C5_EventCallback_P1__getEventCallback, - "Get the const EventCallback. ", - ""); - I_Method0(bool, requiresEventTraversal, - Properties::NON_VIRTUAL, - __bool__requiresEventTraversal, - "Return whether this Drawable has event callbacks associated with it, and therefore must be traversed. ", - ""); - I_Method1(void, setCullCallback, IN, osg::Drawable::CullCallback *, cc, - Properties::VIRTUAL, - __void__setCullCallback__CullCallback_P1, - "Set the CullCallback which allows users to customize the culling of Drawable during the cull traversal. ", - ""); - I_Method0(osg::Drawable::CullCallback *, getCullCallback, - Properties::NON_VIRTUAL, - __CullCallback_P1__getCullCallback, - "Get the non const CullCallback. ", - ""); - I_Method0(const osg::Drawable::CullCallback *, getCullCallback, - Properties::NON_VIRTUAL, - __C5_CullCallback_P1__getCullCallback, - "Get the const CullCallback. ", - ""); - I_Method1(void, setDrawCallback, IN, osg::Drawable::DrawCallback *, dc, - Properties::VIRTUAL, - __void__setDrawCallback__DrawCallback_P1, - "Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object. ", - ""); - I_Method0(osg::Drawable::DrawCallback *, getDrawCallback, - Properties::NON_VIRTUAL, - __DrawCallback_P1__getDrawCallback, - "Get the non const DrawCallback. ", - ""); - I_Method0(const osg::Drawable::DrawCallback *, getDrawCallback, - Properties::NON_VIRTUAL, - __C5_DrawCallback_P1__getDrawCallback, - "Get the const DrawCallback. ", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::PURE_VIRTUAL, - __void__drawImplementation__RenderInfo_R1, - "drawImplementation(RenderInfo&) is a pure virtual method for the actual implementation of OpenGL drawing calls, such as vertex arrays and primitives, that must be implemented in concrete subclasses of the Drawable base class, examples include osg::Geometry and osg::ShapeDrawable. ", - " param renderInfo The osg::RenderInfo object that encapsulates the current rendering information including the osg::State OpenGL state for the current graphics context. "); - I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_AttributeFunctor_R1, - "Return true if the Drawable subclass supports accept(AttributeFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, x, - Properties::VIRTUAL, - __void__accept__AttributeFunctor_R1, - "accept an AttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ", - "return true if functor handled by drawable, return false on failure of drawable to generate functor calls. "); - I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_ConstAttributeFunctor_R1, - "Return true if the Drawable subclass supports accept(ConstAttributeFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, x, - Properties::VIRTUAL, - __void__accept__ConstAttributeFunctor_R1, - "Accept an AttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ", - "return true if functor handled by drawable, return false on failure of drawable to generate functor calls. "); - I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_PrimitiveFunctor_R1, - "Return true if the Drawable subclass supports accept(PrimitiveFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, x, - Properties::VIRTUAL, - __void__accept__PrimitiveFunctor_R1, - "Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ", - "return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveFunctor only provides const access of the primitives, as primitives may be procedurally generated so one cannot modify it. "); - I_Method1(bool, supports, IN, const osg::PrimitiveIndexFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_PrimitiveIndexFunctor_R1, - "Return true if the Drawable subclass supports accept(PrimitiveIndexFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, x, - Properties::VIRTUAL, - __void__accept__PrimitiveIndexFunctor_R1, - "Accept a PrimitiveIndexFunctor and call its methods to tell it about the internal primitives that this Drawable has. ", - "return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveIndexFunctor only provide const access of the primitives, as primitives may be procedurally generated so one cannot modify it. "); - I_StaticMethodWithDefaults2(GLuint, generateDisplayList, IN, unsigned int, contextID, , IN, unsigned int, sizeHint, 0, - __GLuint__generateDisplayList__unsigned_int__unsigned_int_S, - "Return a OpenGL display list handle a newly generated or reused from display list cache. ", - ""); - I_StaticMethod1(void, setMinimumNumberOfDisplayListsToRetainInCache, IN, unsigned int, minimum, - __void__setMinimumNumberOfDisplayListsToRetainInCache__unsigned_int_S, - "Set the minimum number of display lists to retain in the deleted display list cache. ", - ""); - I_StaticMethod0(unsigned int, getMinimumNumberOfDisplayListsToRetainInCache, - __unsigned_int__getMinimumNumberOfDisplayListsToRetainInCache_S, - "Get the minimum number of display lists to retain in the deleted display list cache. ", - ""); - I_StaticMethodWithDefaults3(void, deleteDisplayList, IN, unsigned int, contextID, , IN, GLuint, globj, , IN, unsigned int, sizeHint, 0, - __void__deleteDisplayList__unsigned_int__GLuint__unsigned_int_S, - "Use deleteDisplayList instead of glDeleteList to allow OpenGL display list to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ", - ""); - I_StaticMethod1(void, flushAllDeletedDisplayLists, IN, unsigned int, contextID, - __void__flushAllDeletedDisplayLists__unsigned_int_S, - "Flush all the cached display list which need to be deleted in the OpenGL context related to contextID. ", - ""); - I_StaticMethod1(void, discardAllDeletedDisplayLists, IN, unsigned int, contextID, - __void__discardAllDeletedDisplayLists__unsigned_int_S, - "Flush all the cached display list which need to be deleted in the OpenGL context related to contextID. ", - "Note, unlike flush no OpenGL calls are made, instead the handles are all removed. this call is useful for when an OpenGL context has been destroyed. "); - I_StaticMethod2(void, flushDeletedDisplayLists, IN, unsigned int, contextID, IN, double &, availableTime, - __void__flushDeletedDisplayLists__unsigned_int__double_R1_S, - "Flush the cached display list which need to be deleted in the OpenGL context related to contextID. ", - ""); - I_StaticMethod2(osg::Drawable::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Function to call to get the extension of a specified context. ", - "If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object is only created with the graphics context associated with ContextID.. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Drawable::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "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. "); - I_ProtectedMethod1(void, setBound, IN, const osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__setBound__C5_BoundingBox_R1, - "set the bounding box . ", - ""); - I_ProtectedMethod1(void, addParent, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addParent__osg_Node_P1, - "", - ""); - I_ProtectedMethod1(void, removeParent, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__removeParent__osg_Node_P1, - "", - ""); - I_ProtectedMethod1(void, setNumChildrenRequiringUpdateTraversal, IN, unsigned int, num, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setNumChildrenRequiringUpdateTraversal__unsigned_int, - "", - ""); - I_ProtectedMethod0(unsigned int, getNumChildrenRequiringUpdateTraversal, - Properties::NON_VIRTUAL, - Properties::CONST, - __unsigned_int__getNumChildrenRequiringUpdateTraversal, - "", - ""); - I_ProtectedMethod1(void, setNumChildrenRequiringEventTraversal, IN, unsigned int, num, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setNumChildrenRequiringEventTraversal__unsigned_int, - "", - ""); - I_ProtectedMethod0(unsigned int, getNumChildrenRequiringEventTraversal, - Properties::NON_VIRTUAL, - Properties::CONST, - __unsigned_int__getNumChildrenRequiringEventTraversal, - "", - ""); - I_SimpleProperty(const osg::BoundingBox &, Bound, - __C5_BoundingBox_R1__getBound, - 0); - I_SimpleProperty(osg::Drawable::ComputeBoundingBoxCallback *, ComputeBoundingBoxCallback, - __ComputeBoundingBoxCallback_P1__getComputeBoundingBoxCallback, - __void__setComputeBoundingBoxCallback__ComputeBoundingBoxCallback_P1); - I_SimpleProperty(osg::Drawable::CullCallback *, CullCallback, - __CullCallback_P1__getCullCallback, - __void__setCullCallback__CullCallback_P1); - I_SimpleProperty(osg::Drawable::DrawCallback *, DrawCallback, - __DrawCallback_P1__getDrawCallback, - __void__setDrawCallback__DrawCallback_P1); - I_SimpleProperty(osg::Drawable::EventCallback *, EventCallback, - __EventCallback_P1__getEventCallback, - __void__setEventCallback__EventCallback_P1); - I_SimpleProperty(unsigned int, GLObjectSizeHint, - __unsigned_int__getGLObjectSizeHint, - 0); - I_SimpleProperty(const osg::BoundingBox &, InitialBound, - __C5_BoundingBox_R1__getInitialBound, - __void__setInitialBound__C5_osg_BoundingBox_R1); - I_ArrayProperty(osg::Node *, Parent, - __Node_P1__getParent__unsigned_int, - 0, - __unsigned_int__getNumParents, - 0, - 0, - 0); - I_SimpleProperty(osg::Drawable::ParentList, Parents, - __ParentList__getParents, - 0); - I_SimpleProperty(osg::Shape *, Shape, - __Shape_P1__getShape, - __void__setShape__Shape_P1); - I_SimpleProperty(osg::StateSet *, StateSet, - __StateSet_P1__getStateSet, - __void__setStateSet__StateSet_P1); - I_SimpleProperty(bool, SupportsDisplayList, - __bool__getSupportsDisplayList, - __void__setSupportsDisplayList__bool); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); - I_SimpleProperty(osg::Drawable::UpdateCallback *, UpdateCallback, - __UpdateCallback_P1__getUpdateCallback, - __void__setUpdateCallback__UpdateCallback_P1); - I_SimpleProperty(bool, UseDisplayList, - __bool__getUseDisplayList, - __void__setUseDisplayList__bool); - I_SimpleProperty(bool, UseVertexBufferObjects, - __bool__getUseVertexBufferObjects, - __void__setUseVertexBufferObjects__bool); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::Drawable::AttributeFunctor) - I_DeclaringFile("osg/Drawable"); - I_Constructor0(____AttributeFunctor, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLbyte *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__GLbyte_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLshort *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__GLshort_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLint *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__GLint_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLubyte *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__GLubyte_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLushort *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__GLushort_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLuint *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__GLuint_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, float *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__float_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec2 *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__Vec2_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec3 *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__Vec3_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec4 *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__Vec4_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec4ub *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__Vec4ub_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, double *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__double_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec2d *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__Vec2d_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec3d *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__Vec3d_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec4d *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__Vec4d_P1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Drawable::ComputeBoundingBoxCallback) - I_DeclaringFile("osg/Drawable"); - I_BaseType(osg::Object); - I_Constructor0(____ComputeBoundingBoxCallback, - "", - ""); - I_Constructor2(IN, const osg::Drawable::ComputeBoundingBoxCallback &, x, IN, const osg::CopyOp &, x, - ____ComputeBoundingBoxCallback__C5_ComputeBoundingBoxCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(osg::BoundingBox, computeBound, IN, const osg::Drawable &, x, - Properties::VIRTUAL, - __BoundingBox__computeBound__C5_osg_Drawable_R1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::Drawable::ConstAttributeFunctor) - I_DeclaringFile("osg/Drawable"); - I_Constructor0(____ConstAttributeFunctor, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLbyte *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_GLbyte_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLshort *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_GLshort_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLint *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_GLint_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLubyte *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_GLubyte_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLushort *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_GLushort_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLuint *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_GLuint_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const float *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_float_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec2 *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_Vec2_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec3 *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_Vec3_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec4 *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_Vec4_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec4ub *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_Vec4ub_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const double *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_double_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec2d *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_Vec2d_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec3d *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_Vec3d_P1, - "", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec4d *, x, - Properties::VIRTUAL, - __void__apply__AttributeType__unsigned__C5_Vec4d_P1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Drawable::CullCallback) - I_DeclaringFile("osg/Drawable"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____CullCallback, - "", - ""); - I_Constructor2(IN, const osg::Drawable::CullCallback &, x, IN, const osg::CopyOp &, x, - ____CullCallback__C5_CullCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method3(bool, cull, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, x, IN, osg::State *, x, - Properties::VIRTUAL, - __bool__cull__osg_NodeVisitor_P1__osg_Drawable_P1__osg_State_P1, - "deprecated. ", - ""); - I_Method3(bool, cull, IN, osg::NodeVisitor *, nv, IN, osg::Drawable *, drawable, IN, osg::RenderInfo *, renderInfo, - Properties::VIRTUAL, - __bool__cull__osg_NodeVisitor_P1__osg_Drawable_P1__osg_RenderInfo_P1, - "do customized cull code, return true if drawable should be culled. ", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Drawable::DrawCallback) - I_DeclaringFile("osg/Drawable"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____DrawCallback, - "", - ""); - I_Constructor2(IN, const osg::Drawable::DrawCallback &, x, IN, const osg::CopyOp &, x, - ____DrawCallback__C5_DrawCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method2(void, drawImplementation, IN, osg::RenderInfo &, x, IN, const osg::Drawable *, x, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1__C5_osg_Drawable_P1, - "do customized draw code. ", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Drawable::EventCallback) - I_DeclaringFile("osg/Drawable"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____EventCallback, - "", - ""); - I_Constructor2(IN, const osg::Drawable::EventCallback &, x, IN, const osg::CopyOp &, x, - ____EventCallback__C5_EventCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method2(void, event, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, x, - Properties::VIRTUAL, - __void__event__osg_NodeVisitor_P1__osg_Drawable_P1, - "do customized Event code. ", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Drawable::UpdateCallback) - I_DeclaringFile("osg/Drawable"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____UpdateCallback, - "", - ""); - I_Constructor2(IN, const osg::Drawable::UpdateCallback &, x, IN, const osg::CopyOp &, x, - ____UpdateCallback__C5_UpdateCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method2(void, update, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, x, - Properties::VIRTUAL, - __void__update__osg_NodeVisitor_P1__osg_Drawable_P1, - "do customized update code. ", - ""); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::Node * >) - diff --git a/src/osgWrappers/introspection/osg/Endian.cpp b/src/osgWrappers/introspection/osg/Endian.cpp deleted file mode 100644 index 3f8d2a786..000000000 --- a/src/osgWrappers/introspection/osg/Endian.cpp +++ /dev/null @@ -1,30 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Endian) - I_DeclaringFile("osg/Endian"); - I_EnumLabel(osg::BigEndian); - I_EnumLabel(osg::LittleEndian); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Fog.cpp b/src/osgWrappers/introspection/osg/Fog.cpp deleted file mode 100644 index efa5f5f24..000000000 --- a/src/osgWrappers/introspection/osg/Fog.cpp +++ /dev/null @@ -1,193 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Fog::Mode) - I_DeclaringFile("osg/Fog"); - I_EnumLabel(osg::Fog::LINEAR); - I_EnumLabel(osg::Fog::EXP); - I_EnumLabel(osg::Fog::EXP2); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Fog::FogCoordinateSource) - I_DeclaringFile("osg/Fog"); - I_EnumLabel(osg::Fog::FOG_COORDINATE); - I_EnumLabel(osg::Fog::FRAGMENT_DEPTH); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Fog) - I_DeclaringFile("osg/Fog"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Fog, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Fog &, fog, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Fog__C5_Fog_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setMode, IN, osg::Fog::Mode, mode, - Properties::NON_VIRTUAL, - __void__setMode__Mode, - "", - ""); - I_Method0(osg::Fog::Mode, getMode, - Properties::NON_VIRTUAL, - __Mode__getMode, - "", - ""); - I_Method1(void, setDensity, IN, float, density, - Properties::NON_VIRTUAL, - __void__setDensity__float, - "", - ""); - I_Method0(float, getDensity, - Properties::NON_VIRTUAL, - __float__getDensity, - "", - ""); - I_Method1(void, setStart, IN, float, start, - Properties::NON_VIRTUAL, - __void__setStart__float, - "", - ""); - I_Method0(float, getStart, - Properties::NON_VIRTUAL, - __float__getStart, - "", - ""); - I_Method1(void, setEnd, IN, float, end, - Properties::NON_VIRTUAL, - __void__setEnd__float, - "", - ""); - I_Method0(float, getEnd, - Properties::NON_VIRTUAL, - __float__getEnd, - "", - ""); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getColor, - "", - ""); - I_Method1(void, setUseRadialFog, IN, bool, useRadialFog, - Properties::NON_VIRTUAL, - __void__setUseRadialFog__bool, - "", - ""); - I_Method0(bool, getUseRadialFog, - Properties::NON_VIRTUAL, - __bool__getUseRadialFog, - "", - ""); - I_Method1(void, setFogCoordinateSource, IN, GLint, source, - Properties::NON_VIRTUAL, - __void__setFogCoordinateSource__GLint, - "", - ""); - I_Method0(GLint, getFogCoordinateSource, - Properties::NON_VIRTUAL, - __GLint__getFogCoordinateSource, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(const osg::Vec4 &, Color, - __C5_Vec4_R1__getColor, - __void__setColor__C5_Vec4_R1); - I_SimpleProperty(float, Density, - __float__getDensity, - __void__setDensity__float); - I_SimpleProperty(float, End, - __float__getEnd, - __void__setEnd__float); - I_SimpleProperty(GLint, FogCoordinateSource, - __GLint__getFogCoordinateSource, - __void__setFogCoordinateSource__GLint); - I_SimpleProperty(osg::Fog::Mode, Mode, - __Mode__getMode, - __void__setMode__Mode); - I_SimpleProperty(float, Start, - __float__getStart, - __void__setStart__float); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); - I_SimpleProperty(bool, UseRadialFog, - __bool__getUseRadialFog, - __void__setUseRadialFog__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/FragmentProgram.cpp b/src/osgWrappers/introspection/osg/FragmentProgram.cpp deleted file mode 100644 index 2f67a6bb4..000000000 --- a/src/osgWrappers/introspection/osg/FragmentProgram.cpp +++ /dev/null @@ -1,207 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::map< GLuint COMMA osg::Vec4 >, osg::FragmentProgram::LocalParamList) - -TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::Matrix >, osg::FragmentProgram::MatrixList) - -BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram) - I_DeclaringFile("osg/FragmentProgram"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____FragmentProgram, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::FragmentProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____FragmentProgram__C5_FragmentProgram_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_osg_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(GLuint &, getFragmentProgramID, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __GLuint_R1__getFragmentProgramID__unsigned_int, - "Get the handle to the fragment program id for the current context. ", - ""); - I_Method1(void, setFragmentProgram, IN, const char *, program, - Properties::NON_VIRTUAL, - __void__setFragmentProgram__C5_char_P1, - "Set the fragment program using a C style string. ", - ""); - I_Method1(void, setFragmentProgram, IN, const std::string &, program, - Properties::NON_VIRTUAL, - __void__setFragmentProgram__C5_std_string_R1, - "Set the fragment program using C++ style string. ", - ""); - I_Method0(const std::string &, getFragmentProgram, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getFragmentProgram, - "Get the fragment program. ", - ""); - I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p, - Properties::NON_VIRTUAL, - __void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1, - "Set Program Parameters. ", - ""); - I_Method1(void, setLocalParameters, IN, const osg::FragmentProgram::LocalParamList &, lpl, - Properties::NON_VIRTUAL, - __void__setLocalParameters__C5_LocalParamList_R1, - "Set list of Program Parameters. ", - ""); - I_Method0(osg::FragmentProgram::LocalParamList &, getLocalParameters, - Properties::NON_VIRTUAL, - __LocalParamList_R1__getLocalParameters, - "Get list of Program Parameters. ", - ""); - I_Method0(const osg::FragmentProgram::LocalParamList &, getLocalParameters, - Properties::NON_VIRTUAL, - __C5_LocalParamList_R1__getLocalParameters, - "Get const list of Program Parameters. ", - ""); - I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__setMatrix__C5_GLenum__C5_Matrix_R1, - "Matrix. ", - ""); - I_Method1(void, setMatrices, IN, const osg::FragmentProgram::MatrixList &, matrices, - Properties::NON_VIRTUAL, - __void__setMatrices__C5_MatrixList_R1, - "Set list of Matrices. ", - ""); - I_Method0(osg::FragmentProgram::MatrixList &, getMatrices, - Properties::NON_VIRTUAL, - __MatrixList_R1__getMatrices, - "Get list of Matrices. ", - ""); - I_Method0(const osg::FragmentProgram::MatrixList &, getMatrices, - Properties::NON_VIRTUAL, - __C5_MatrixList_R1__getMatrices, - "Get list of Matrices. ", - ""); - I_Method0(void, dirtyFragmentProgramObject, - Properties::NON_VIRTUAL, - __void__dirtyFragmentProgramObject, - "Force a recompile on next apply() of associated OpenGL vertex program objects. ", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_Method1(void, compileGLObjects, IN, osg::State &, x, - Properties::VIRTUAL, - __void__compileGLObjects__State_R1, - "Default to nothing to compile - all state is applied immediately. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__State_P1, - "release an OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer == NULL. ", - ""); - I_StaticMethod2(void, deleteFragmentProgramObject, IN, unsigned int, contextID, IN, GLuint, handle, - __void__deleteFragmentProgramObject__unsigned_int__GLuint_S, - "use deleteFragmentProgramObject instead of glDeletePrograms to allow OpenGL Fragment Program objects to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ", - ""); - I_StaticMethod3(void, flushDeletedFragmentProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime, - __void__flushDeletedFragmentProgramObjects__unsigned_int__double__double_R1_S, - "flush all the cached fragment programs which need to be deleted in the OpenGL context related to contextID. ", - ""); - I_StaticMethod1(void, discardDeletedFragmentProgramObjects, IN, unsigned int, contextID, - __void__discardDeletedFragmentProgramObjects__unsigned_int_S, - "discard all the cached fragment programs which need to be deleted in the OpenGL context related to contextID. ", - "Note, unlike flush no OpenGL calls are made, instead the handles are all removed. this call is useful for when an OpenGL context has been destroyed. "); - I_StaticMethod2(osg::FragmentProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Function to call to get the extension of a specified context. ", - "If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag has been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::FragmentProgram::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "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. "); - I_SimpleProperty(const std::string &, FragmentProgram, - __C5_std_string_R1__getFragmentProgram, - __void__setFragmentProgram__C5_std_string_R1); - I_SimpleProperty(const osg::FragmentProgram::LocalParamList &, LocalParameters, - __C5_LocalParamList_R1__getLocalParameters, - __void__setLocalParameters__C5_LocalParamList_R1); - I_SimpleProperty(const osg::FragmentProgram::MatrixList &, Matrices, - __C5_MatrixList_R1__getMatrices, - __void__setMatrices__C5_MatrixList_R1); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< GLenum COMMA osg::Matrix >) - -STD_MAP_REFLECTOR(std::map< GLuint COMMA osg::Vec4 >) - diff --git a/src/osgWrappers/introspection/osg/FrameBufferObject.cpp b/src/osgWrappers/introspection/osg/FrameBufferObject.cpp deleted file mode 100644 index a2773aec7..000000000 --- a/src/osgWrappers/introspection/osg/FrameBufferObject.cpp +++ /dev/null @@ -1,461 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osg::FrameBufferAttachment) - I_DeclaringFile("osg/FrameBufferObject"); - I_Constructor0(____FrameBufferAttachment, - "", - ""); - I_Constructor1(IN, const osg::FrameBufferAttachment &, copy, - Properties::NON_EXPLICIT, - ____FrameBufferAttachment__C5_FrameBufferAttachment_R1, - "", - ""); - I_Constructor1(IN, osg::RenderBuffer *, target, - Properties::EXPLICIT, - ____FrameBufferAttachment__RenderBuffer_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, osg::Texture1D *, target, , IN, unsigned int, level, 0, - ____FrameBufferAttachment__Texture1D_P1__unsigned_int, - "", - ""); - I_ConstructorWithDefaults2(IN, osg::Texture2D *, target, , IN, unsigned int, level, 0, - ____FrameBufferAttachment__Texture2D_P1__unsigned_int, - "", - ""); - I_ConstructorWithDefaults2(IN, osg::Texture2DMultisample *, target, , IN, unsigned int, level, 0, - ____FrameBufferAttachment__Texture2DMultisample_P1__unsigned_int, - "", - ""); - I_ConstructorWithDefaults3(IN, osg::Texture3D *, target, , IN, unsigned int, zoffset, , IN, unsigned int, level, 0, - ____FrameBufferAttachment__Texture3D_P1__unsigned_int__unsigned_int, - "", - ""); - I_ConstructorWithDefaults3(IN, osg::Texture2DArray *, target, , IN, unsigned int, layer, , IN, unsigned int, level, 0, - ____FrameBufferAttachment__Texture2DArray_P1__unsigned_int__unsigned_int, - "", - ""); - I_ConstructorWithDefaults3(IN, osg::TextureCubeMap *, target, , IN, unsigned int, face, , IN, unsigned int, level, 0, - ____FrameBufferAttachment__TextureCubeMap_P1__unsigned_int__unsigned_int, - "", - ""); - I_Constructor1(IN, osg::TextureRectangle *, target, - Properties::EXPLICIT, - ____FrameBufferAttachment__TextureRectangle_P1, - "", - ""); - I_Constructor1(IN, osg::Camera::Attachment &, attachment, - Properties::EXPLICIT, - ____FrameBufferAttachment__Camera_Attachment_R1, - "", - ""); - I_Method0(bool, isMultisample, - Properties::NON_VIRTUAL, - __bool__isMultisample, - "", - ""); - I_Method2(void, createRequiredTexturesAndApplyGenerateMipMap, IN, osg::State &, state, IN, const osg::FBOExtensions *, ext, - Properties::NON_VIRTUAL, - __void__createRequiredTexturesAndApplyGenerateMipMap__State_R1__C5_FBOExtensions_P1, - "", - ""); - I_Method4(void, attach, IN, osg::State &, state, IN, GLenum, target, IN, GLenum, attachment_point, IN, const osg::FBOExtensions *, ext, - Properties::NON_VIRTUAL, - __void__attach__State_R1__GLenum__GLenum__C5_FBOExtensions_P1, - "", - ""); - I_Method1(int, compare, IN, const osg::FrameBufferAttachment &, fa, - Properties::NON_VIRTUAL, - __int__compare__C5_FrameBufferAttachment_R1, - "", - ""); - I_Method0(osg::RenderBuffer *, getRenderBuffer, - Properties::NON_VIRTUAL, - __RenderBuffer_P1__getRenderBuffer, - "", - ""); - I_Method0(const osg::RenderBuffer *, getRenderBuffer, - Properties::NON_VIRTUAL, - __C5_RenderBuffer_P1__getRenderBuffer, - "", - ""); - I_Method0(osg::Texture *, getTexture, - Properties::NON_VIRTUAL, - __Texture_P1__getTexture, - "", - ""); - I_Method0(const osg::Texture *, getTexture, - Properties::NON_VIRTUAL, - __C5_Texture_P1__getTexture, - "", - ""); - I_Method0(unsigned int, getCubeMapFace, - Properties::NON_VIRTUAL, - __unsigned_int__getCubeMapFace, - "", - ""); - I_Method0(unsigned int, getTextureLevel, - Properties::NON_VIRTUAL, - __unsigned_int__getTextureLevel, - "", - ""); - I_Method0(unsigned int, getTexture3DZOffset, - Properties::NON_VIRTUAL, - __unsigned_int__getTexture3DZOffset, - "", - ""); - I_Method0(unsigned int, getTextureArrayLayer, - Properties::NON_VIRTUAL, - __unsigned_int__getTextureArrayLayer, - "", - ""); - I_SimpleProperty(unsigned int, CubeMapFace, - __unsigned_int__getCubeMapFace, - 0); - I_SimpleProperty(osg::RenderBuffer *, RenderBuffer, - __RenderBuffer_P1__getRenderBuffer, - 0); - I_SimpleProperty(osg::Texture *, Texture, - __Texture_P1__getTexture, - 0); - I_SimpleProperty(unsigned int, Texture3DZOffset, - __unsigned_int__getTexture3DZOffset, - 0); - I_SimpleProperty(unsigned int, TextureArrayLayer, - __unsigned_int__getTextureArrayLayer, - 0); - I_SimpleProperty(unsigned int, TextureLevel, - __unsigned_int__getTextureLevel, - 0); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::FrameBufferObject::BindTarget) - I_DeclaringFile("osg/FrameBufferObject"); - I_EnumLabel(osg::FrameBufferObject::READ_FRAMEBUFFER); - I_EnumLabel(osg::FrameBufferObject::DRAW_FRAMEBUFFER); - I_EnumLabel(osg::FrameBufferObject::READ_DRAW_FRAMEBUFFER); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< osg::Camera::BufferComponent COMMA osg::FrameBufferAttachment >, osg::FrameBufferObject::AttachmentMap) - -TYPE_NAME_ALIAS(std::vector< GLenum >, osg::FrameBufferObject::MultipleRenderingTargets) - -TYPE_NAME_ALIAS(osg::Camera::BufferComponent, osg::FrameBufferObject::BufferComponent) - -BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject) - I_DeclaringFile("osg/FrameBufferObject"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____FrameBufferObject, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::FrameBufferObject &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____FrameBufferObject__C5_FrameBufferObject_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method0(const osg::FrameBufferObject::AttachmentMap &, getAttachmentMap, - Properties::NON_VIRTUAL, - __C5_AttachmentMap_R1__getAttachmentMap, - "", - ""); - I_Method2(void, setAttachment, IN, osg::FrameBufferObject::BufferComponent, attachment_point, IN, const osg::FrameBufferAttachment &, attachment, - Properties::NON_VIRTUAL, - __void__setAttachment__BufferComponent__C5_FrameBufferAttachment_R1, - "", - ""); - I_Method1(const osg::FrameBufferAttachment &, getAttachment, IN, osg::FrameBufferObject::BufferComponent, attachment_point, - Properties::NON_VIRTUAL, - __C5_FrameBufferAttachment_R1__getAttachment__BufferComponent, - "", - ""); - I_Method1(bool, hasAttachment, IN, osg::FrameBufferObject::BufferComponent, attachment_point, - Properties::NON_VIRTUAL, - __bool__hasAttachment__BufferComponent, - "", - ""); - I_Method0(bool, hasMultipleRenderingTargets, - Properties::NON_VIRTUAL, - __bool__hasMultipleRenderingTargets, - "", - ""); - I_Method0(const osg::FrameBufferObject::MultipleRenderingTargets &, getMultipleRenderingTargets, - Properties::NON_VIRTUAL, - __C5_MultipleRenderingTargets_R1__getMultipleRenderingTargets, - "", - ""); - I_Method0(bool, isMultisample, - Properties::NON_VIRTUAL, - __bool__isMultisample, - "", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_Method2(void, apply, IN, osg::State &, state, IN, osg::FrameBufferObject::BindTarget, target, - Properties::NON_VIRTUAL, - __void__apply__State_R1__BindTarget, - "Bind the FBO as either the read or draw target, or both. ", - ""); - I_StaticMethod2(void, deleteFrameBufferObject, IN, unsigned int, contextID, IN, GLuint, program, - __void__deleteFrameBufferObject__unsigned_int__GLuint_S, - "Mark internal FBO for deletion. ", - "Deletion requests are queued until they can be executed in the proper GL context. "); - I_StaticMethod3(void, flushDeletedFrameBufferObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime, - __void__flushDeletedFrameBufferObjects__unsigned_int__double__double_R1_S, - "flush all the cached FBOs which need to be deleted in the OpenGL context related to contextID. ", - ""); - I_StaticMethod1(void, discardDeletedFrameBufferObjects, IN, unsigned int, contextID, - __void__discardDeletedFrameBufferObjects__unsigned_int_S, - "discard all the cached FBOs which need to be deleted in the OpenGL context related to contextID. ", - ""); - I_ProtectedMethod0(void, updateDrawBuffers, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__updateDrawBuffers, - "", - ""); - I_ProtectedMethod0(void, dirtyAll, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__dirtyAll, - "", - ""); - I_ProtectedMethod1(GLenum, convertBufferComponentToGLenum, IN, osg::FrameBufferObject::BufferComponent, attachment_point, - Properties::NON_VIRTUAL, - Properties::CONST, - __GLenum__convertBufferComponentToGLenum__BufferComponent, - "", - ""); - I_IndexedProperty(const osg::FrameBufferAttachment &, Attachment, - __C5_FrameBufferAttachment_R1__getAttachment__BufferComponent, - __void__setAttachment__BufferComponent__C5_FrameBufferAttachment_R1, - 0); - I_SimpleProperty(const osg::FrameBufferObject::AttachmentMap &, AttachmentMap, - __C5_AttachmentMap_R1__getAttachmentMap, - 0); - I_SimpleProperty(const osg::FrameBufferObject::MultipleRenderingTargets &, MultipleRenderingTargets, - __C5_MultipleRenderingTargets_R1__getMultipleRenderingTargets, - 0); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer) - I_DeclaringFile("osg/FrameBufferObject"); - I_BaseType(osg::Object); - I_Constructor0(____RenderBuffer, - "", - ""); - I_ConstructorWithDefaults5(IN, int, width, , IN, int, height, , IN, GLenum, internalFormat, , IN, int, samples, 0, IN, int, colorSamples, 0, - ____RenderBuffer__int__int__GLenum__int__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____RenderBuffer__C5_RenderBuffer_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(int, getWidth, - Properties::NON_VIRTUAL, - __int__getWidth, - "", - ""); - I_Method0(int, getHeight, - Properties::NON_VIRTUAL, - __int__getHeight, - "", - ""); - I_Method1(void, setWidth, IN, int, w, - Properties::NON_VIRTUAL, - __void__setWidth__int, - "", - ""); - I_Method1(void, setHeight, IN, int, h, - Properties::NON_VIRTUAL, - __void__setHeight__int, - "", - ""); - I_Method2(void, setSize, IN, int, w, IN, int, h, - Properties::NON_VIRTUAL, - __void__setSize__int__int, - "", - ""); - I_Method0(GLenum, getInternalFormat, - Properties::NON_VIRTUAL, - __GLenum__getInternalFormat, - "", - ""); - I_Method1(void, setInternalFormat, IN, GLenum, format, - Properties::NON_VIRTUAL, - __void__setInternalFormat__GLenum, - "", - ""); - I_Method0(int, getSamples, - Properties::NON_VIRTUAL, - __int__getSamples, - "", - ""); - I_Method0(int, getColorSamples, - Properties::NON_VIRTUAL, - __int__getColorSamples, - "", - ""); - I_Method1(void, setSamples, IN, int, samples, - Properties::NON_VIRTUAL, - __void__setSamples__int, - "", - ""); - I_Method1(void, setColorSamples, IN, int, colorSamples, - Properties::NON_VIRTUAL, - __void__setColorSamples__int, - "", - ""); - I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext, - Properties::NON_VIRTUAL, - __GLuint__getObjectID__unsigned_int__C5_FBOExtensions_P1, - "", - ""); - I_Method1(int, compare, IN, const osg::RenderBuffer &, rb, - Properties::NON_VIRTUAL, - __int__compare__C5_RenderBuffer_R1, - "", - ""); - I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb, - __void__deleteRenderBuffer__unsigned_int__GLuint_S, - "Mark internal RenderBuffer for deletion. ", - "Deletion requests are queued until they can be executed in the proper GL context. "); - I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime, - __void__flushDeletedRenderBuffers__unsigned_int__double__double_R1_S, - "flush all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ", - ""); - I_StaticMethod1(void, discardDeletedRenderBuffers, IN, unsigned int, contextID, - __void__discardDeletedRenderBuffers__unsigned_int_S, - "discard all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ", - "Note, unlike flush no OpenGL calls are made, instead the handles are all removed. this call is useful for when an OpenGL context has been destroyed. "); - I_StaticMethod2(int, getMaxSamples, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext, - __int__getMaxSamples__unsigned_int__C5_FBOExtensions_P1_S, - "", - ""); - I_ProtectedMethod0(void, dirtyAll, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__dirtyAll, - "", - ""); - I_SimpleProperty(int, ColorSamples, - __int__getColorSamples, - __void__setColorSamples__int); - I_SimpleProperty(int, Height, - __int__getHeight, - __void__setHeight__int); - I_SimpleProperty(GLenum, InternalFormat, - __GLenum__getInternalFormat, - __void__setInternalFormat__GLenum); - I_SimpleProperty(int, Samples, - __int__getSamples, - __void__setSamples__int); - I_SimpleProperty(int, Width, - __int__getWidth, - __void__setWidth__int); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< osg::Camera::BufferComponent COMMA osg::FrameBufferAttachment >) - -STD_VECTOR_REFLECTOR(std::vector< GLenum >) - diff --git a/src/osgWrappers/introspection/osg/FrameStamp.cpp b/src/osgWrappers/introspection/osg/FrameStamp.cpp deleted file mode 100644 index b1b7353d7..000000000 --- a/src/osgWrappers/introspection/osg/FrameStamp.cpp +++ /dev/null @@ -1,89 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::FrameStamp) - I_DeclaringFile("osg/FrameStamp"); - I_BaseType(osg::Referenced); - I_Constructor0(____FrameStamp, - "", - ""); - I_Constructor1(IN, const osg::FrameStamp &, fs, - Properties::NON_EXPLICIT, - ____FrameStamp__C5_FrameStamp_R1, - "", - ""); - I_Method1(void, setFrameNumber, IN, int, fnum, - Properties::NON_VIRTUAL, - __void__setFrameNumber__int, - "", - ""); - I_Method0(int, getFrameNumber, - Properties::NON_VIRTUAL, - __int__getFrameNumber, - "", - ""); - I_Method1(void, setReferenceTime, IN, double, refTime, - Properties::NON_VIRTUAL, - __void__setReferenceTime__double, - "", - ""); - I_Method0(double, getReferenceTime, - Properties::NON_VIRTUAL, - __double__getReferenceTime, - "", - ""); - I_Method1(void, setSimulationTime, IN, double, refTime, - Properties::NON_VIRTUAL, - __void__setSimulationTime__double, - "", - ""); - I_Method0(double, getSimulationTime, - Properties::NON_VIRTUAL, - __double__getSimulationTime, - "", - ""); - I_Method1(void, setCalendarTime, IN, const tm &, calendarTime, - Properties::NON_VIRTUAL, - __void__setCalendarTime__C5_tm_R1, - "", - ""); - I_Method1(void, getCalendarTime, IN, tm &, calendarTime, - Properties::NON_VIRTUAL, - __void__getCalendarTime__tm_R1, - "", - ""); - I_SimpleProperty(const tm &, CalendarTime, - 0, - __void__setCalendarTime__C5_tm_R1); - I_SimpleProperty(int, FrameNumber, - __int__getFrameNumber, - __void__setFrameNumber__int); - I_SimpleProperty(double, ReferenceTime, - __double__getReferenceTime, - __void__setReferenceTime__double); - I_SimpleProperty(double, SimulationTime, - __double__getSimulationTime, - __void__setSimulationTime__double); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/FrontFace.cpp b/src/osgWrappers/introspection/osg/FrontFace.cpp deleted file mode 100644 index 20c76e065..000000000 --- a/src/osgWrappers/introspection/osg/FrontFace.cpp +++ /dev/null @@ -1,104 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::FrontFace::Mode) - I_DeclaringFile("osg/FrontFace"); - I_EnumLabel(osg::FrontFace::CLOCKWISE); - I_EnumLabel(osg::FrontFace::COUNTER_CLOCKWISE); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::FrontFace) - I_DeclaringFile("osg/FrontFace"); - I_BaseType(osg::StateAttribute); - I_ConstructorWithDefaults1(IN, osg::FrontFace::Mode, face, osg::FrontFace::COUNTER_CLOCKWISE, - Properties::NON_EXPLICIT, - ____FrontFace__Mode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::FrontFace &, ff, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____FrontFace__C5_FrontFace_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setMode, IN, osg::FrontFace::Mode, mode, - Properties::NON_VIRTUAL, - __void__setMode__Mode, - "", - ""); - I_Method0(osg::FrontFace::Mode, getMode, - Properties::NON_VIRTUAL, - __Mode__getMode, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(osg::FrontFace::Mode, Mode, - __Mode__getMode, - __void__setMode__Mode); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/GL2Extensions.cpp b/src/osgWrappers/introspection/osg/GL2Extensions.cpp deleted file mode 100644 index 9f0bdb1e3..000000000 --- a/src/osgWrappers/introspection/osg/GL2Extensions.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - diff --git a/src/osgWrappers/introspection/osg/GLBeginEndAdapter.cpp b/src/osgWrappers/introspection/osg/GLBeginEndAdapter.cpp deleted file mode 100644 index f4b5927a1..000000000 --- a/src/osgWrappers/introspection/osg/GLBeginEndAdapter.cpp +++ /dev/null @@ -1,291 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::GLBeginEndAdapter::MatrixMode) - I_DeclaringFile("osg/GLBeginEndAdapter"); - I_EnumLabel(osg::GLBeginEndAdapter::APPLY_LOCAL_MATRICES_TO_VERTICES); - I_EnumLabel(osg::GLBeginEndAdapter::APPLY_LOCAL_MATRICES_TO_MODELVIEW); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::GLBeginEndAdapter) - I_DeclaringFile("osg/GLBeginEndAdapter"); - I_ConstructorWithDefaults1(IN, osg::State *, state, 0, - Properties::NON_EXPLICIT, - ____GLBeginEndAdapter__State_P1, - "", - ""); - I_Method1(void, setState, IN, osg::State *, state, - Properties::NON_VIRTUAL, - __void__setState__State_P1, - "", - ""); - I_Method0(osg::State *, getState, - Properties::NON_VIRTUAL, - __State_P1__getState, - "", - ""); - I_Method0(const osg::State *, getState, - Properties::NON_VIRTUAL, - __C5_State_P1__getState, - "", - ""); - I_Method1(void, setMatrixMode, IN, osg::GLBeginEndAdapter::MatrixMode, mode, - Properties::NON_VIRTUAL, - __void__setMatrixMode__MatrixMode, - "", - ""); - I_Method0(osg::GLBeginEndAdapter::MatrixMode, setMatrixMode, - Properties::NON_VIRTUAL, - __MatrixMode__setMatrixMode, - "", - ""); - I_Method0(void, PushMatrix, - Properties::NON_VIRTUAL, - __void__PushMatrix, - "", - ""); - I_Method0(void, PopMatrix, - Properties::NON_VIRTUAL, - __void__PopMatrix, - "", - ""); - I_Method0(void, LoadIdentity, - Properties::NON_VIRTUAL, - __void__LoadIdentity, - "", - ""); - I_Method1(void, LoadMatrixd, IN, const GLdouble *, m, - Properties::NON_VIRTUAL, - __void__LoadMatrixd__C5_GLdouble_P1, - "", - ""); - I_Method1(void, MultMatrixd, IN, const GLdouble *, m, - Properties::NON_VIRTUAL, - __void__MultMatrixd__C5_GLdouble_P1, - "", - ""); - I_Method3(void, Translatef, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, - Properties::NON_VIRTUAL, - __void__Translatef__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method3(void, Scalef, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, - Properties::NON_VIRTUAL, - __void__Scalef__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method4(void, Rotatef, IN, GLfloat, angle, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, - Properties::NON_VIRTUAL, - __void__Rotatef__GLfloat__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method3(void, Translated, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z, - Properties::NON_VIRTUAL, - __void__Translated__GLdouble__GLdouble__GLdouble, - "", - ""); - I_Method3(void, Scaled, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z, - Properties::NON_VIRTUAL, - __void__Scaled__GLdouble__GLdouble__GLdouble, - "", - ""); - I_Method4(void, Rotated, IN, GLdouble, angle, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z, - Properties::NON_VIRTUAL, - __void__Rotated__GLdouble__GLdouble__GLdouble__GLdouble, - "", - ""); - I_Method3(void, Vertex3f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, - Properties::NON_VIRTUAL, - __void__Vertex3f__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method1(void, Vertex3fv, IN, const GLfloat *, v, - Properties::NON_VIRTUAL, - __void__Vertex3fv__C5_GLfloat_P1, - "", - ""); - I_Method4(void, Color4f, IN, GLfloat, red, IN, GLfloat, green, IN, GLfloat, blue, IN, GLfloat, alpha, - Properties::NON_VIRTUAL, - __void__Color4f__GLfloat__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method1(void, Color4fv, IN, const GLfloat *, c, - Properties::NON_VIRTUAL, - __void__Color4fv__C5_GLfloat_P1, - "", - ""); - I_Method1(void, Color4ubv, IN, const GLubyte *, c, - Properties::NON_VIRTUAL, - __void__Color4ubv__C5_GLubyte_P1, - "", - ""); - I_Method3(void, Normal3f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, - Properties::NON_VIRTUAL, - __void__Normal3f__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method1(void, Normal3fv, IN, const GLfloat *, n, - Properties::NON_VIRTUAL, - __void__Normal3fv__C5_GLfloat_P1, - "", - ""); - I_Method1(void, TexCoord1f, IN, GLfloat, x, - Properties::NON_VIRTUAL, - __void__TexCoord1f__GLfloat, - "", - ""); - I_Method1(void, TexCoord1fv, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__TexCoord1fv__C5_GLfloat_P1, - "", - ""); - I_Method2(void, TexCoord2f, IN, GLfloat, x, IN, GLfloat, y, - Properties::NON_VIRTUAL, - __void__TexCoord2f__GLfloat__GLfloat, - "", - ""); - I_Method1(void, TexCoord2fv, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__TexCoord2fv__C5_GLfloat_P1, - "", - ""); - I_Method3(void, TexCoord3f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, - Properties::NON_VIRTUAL, - __void__TexCoord3f__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method1(void, TexCoord3fv, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__TexCoord3fv__C5_GLfloat_P1, - "", - ""); - I_Method4(void, TexCoord4f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, IN, GLfloat, w, - Properties::NON_VIRTUAL, - __void__TexCoord4f__GLfloat__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method1(void, TexCoord4fv, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__TexCoord4fv__C5_GLfloat_P1, - "", - ""); - I_Method2(void, MultiTexCoord1f, IN, GLenum, target, IN, GLfloat, x, - Properties::NON_VIRTUAL, - __void__MultiTexCoord1f__GLenum__GLfloat, - "", - ""); - I_Method2(void, MultiTexCoord1fv, IN, GLenum, target, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__MultiTexCoord1fv__GLenum__C5_GLfloat_P1, - "", - ""); - I_Method3(void, MultiTexCoord2f, IN, GLenum, target, IN, GLfloat, x, IN, GLfloat, y, - Properties::NON_VIRTUAL, - __void__MultiTexCoord2f__GLenum__GLfloat__GLfloat, - "", - ""); - I_Method2(void, MultiTexCoord2fv, IN, GLenum, target, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__MultiTexCoord2fv__GLenum__C5_GLfloat_P1, - "", - ""); - I_Method4(void, MultiTexCoord3f, IN, GLenum, target, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, - Properties::NON_VIRTUAL, - __void__MultiTexCoord3f__GLenum__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method2(void, MultiTexCoord3fv, IN, GLenum, target, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__MultiTexCoord3fv__GLenum__C5_GLfloat_P1, - "", - ""); - I_Method5(void, MultiTexCoord4f, IN, GLenum, target, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, IN, GLfloat, w, - Properties::NON_VIRTUAL, - __void__MultiTexCoord4f__GLenum__GLfloat__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method2(void, MultiTexCoord4fv, IN, GLenum, target, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__MultiTexCoord4fv__GLenum__C5_GLfloat_P1, - "", - ""); - I_Method2(void, VertexAttrib1f, IN, GLuint, unit, IN, GLfloat, x, - Properties::NON_VIRTUAL, - __void__VertexAttrib1f__GLuint__GLfloat, - "", - ""); - I_Method2(void, VertexAttrib1fv, IN, GLuint, unit, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__VertexAttrib1fv__GLuint__C5_GLfloat_P1, - "", - ""); - I_Method3(void, VertexAttrib2f, IN, GLuint, unit, IN, GLfloat, x, IN, GLfloat, y, - Properties::NON_VIRTUAL, - __void__VertexAttrib2f__GLuint__GLfloat__GLfloat, - "", - ""); - I_Method2(void, VertexAttrib2fv, IN, GLuint, unit, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__VertexAttrib2fv__GLuint__C5_GLfloat_P1, - "", - ""); - I_Method4(void, VertexAttrib3f, IN, GLuint, unit, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, - Properties::NON_VIRTUAL, - __void__VertexAttrib3f__GLuint__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method2(void, VertexAttrib3fv, IN, GLuint, unit, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__VertexAttrib3fv__GLuint__C5_GLfloat_P1, - "", - ""); - I_Method5(void, VertexAttrib4f, IN, GLuint, unit, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, IN, GLfloat, w, - Properties::NON_VIRTUAL, - __void__VertexAttrib4f__GLuint__GLfloat__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method2(void, VertexAttrib4fv, IN, GLuint, unit, IN, const GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__VertexAttrib4fv__GLuint__C5_GLfloat_P1, - "", - ""); - I_Method1(void, Begin, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__Begin__GLenum, - "", - ""); - I_Method0(void, End, - Properties::NON_VIRTUAL, - __void__End, - "", - ""); - I_SimpleProperty(osg::GLBeginEndAdapter::MatrixMode, MatrixMode, - 0, - __void__setMatrixMode__MatrixMode); - I_SimpleProperty(osg::State *, State, - __State_P1__getState, - __void__setState__State_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Geode.cpp b/src/osgWrappers/introspection/osg/Geode.cpp deleted file mode 100644 index e17eefb0f..000000000 --- a/src/osgWrappers/introspection/osg/Geode.cpp +++ /dev/null @@ -1,234 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Drawable > >, osg::Geode::DrawableList) - -BEGIN_OBJECT_REFLECTOR(osg::Geode) - I_DeclaringFile("osg/Geode"); - I_BaseType(osg::Node); - I_Constructor0(____Geode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Geode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Geode__C5_Geode_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(osg::Geode *, asGeode, - Properties::VIRTUAL, - __Geode_P1__asGeode, - "Convert 'this' into a Geode pointer if Node is a Geode, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(const osg::Geode *, asGeode, - Properties::VIRTUAL, - __C5_Geode_P1__asGeode, - "convert 'const this' into a const Geode pointer if Node is a Geode, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method1(bool, addDrawable, IN, osg::Drawable *, drawable, - Properties::VIRTUAL, - __bool__addDrawable__Drawable_P1, - "Add a Drawable to the Geode. ", - " param drawable The Drawable to be added to the Geode. return true for success; false otherwise. "); - I_Method1(bool, removeDrawable, IN, osg::Drawable *, drawable, - Properties::VIRTUAL, - __bool__removeDrawable__Drawable_P1, - "Remove a Drawable from the Geode. ", - " param drawable The drawable to be removed. return true if at least one Drawable was removed. false otherwise. "); - I_MethodWithDefaults2(bool, removeDrawables, IN, unsigned int, i, , IN, unsigned int, numDrawablesToRemove, 1, - Properties::VIRTUAL, - __bool__removeDrawables__unsigned_int__unsigned_int, - "Remove Drawable(s) from the specified position in Geode's drawable list. ", - " param i The index of the first Drawable to remove. numDrawablesToRemove The number of Drawable to remove. return true if at least one Drawable was removed. false otherwise. "); - I_Method2(bool, replaceDrawable, IN, osg::Drawable *, origDraw, IN, osg::Drawable *, newDraw, - Properties::VIRTUAL, - __bool__replaceDrawable__Drawable_P1__Drawable_P1, - "Replace specified Drawable with another Drawable. ", - "Equivalent to setDrawable(getDrawableIndex(origDraw),newDraw), see docs for setDrawable() for further details on implementation. "); - I_Method2(bool, setDrawable, IN, unsigned int, i, IN, osg::Drawable *, drawable, - Properties::VIRTUAL, - __bool__setDrawable__unsigned_int__Drawable_P1, - "Set Drawable at position i. ", - "Decrement the reference count origGSet and increments the reference count of newGset, and dirty the bounding sphere to force it to recompute on next getBound() and returns true. If origDrawable is not found then return false and do not add newGset. If newGset is NULL then return false and do not remove origGset. true if set correctly, false on failure (if node==NULL || i is out of range). "); - I_Method0(unsigned int, getNumDrawables, - Properties::NON_VIRTUAL, - __unsigned_int__getNumDrawables, - "Return the number of Drawables currently attached to the Geode. ", - ""); - I_Method1(osg::Drawable *, getDrawable, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Drawable_P1__getDrawable__unsigned_int, - "Return the Drawable at position i. ", - ""); - I_Method1(const osg::Drawable *, getDrawable, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Drawable_P1__getDrawable__unsigned_int, - "Return the Drawable at position i. ", - ""); - I_Method1(bool, containsDrawable, IN, const osg::Drawable *, gset, - Properties::NON_VIRTUAL, - __bool__containsDrawable__C5_Drawable_P1, - "Return true if a given Drawable is contained within Geode. ", - ""); - I_Method1(unsigned int, getDrawableIndex, IN, const osg::Drawable *, drawable, - Properties::NON_VIRTUAL, - __unsigned_int__getDrawableIndex__C5_Drawable_P1, - "Get the index number of drawable. ", - "A value between 0 and getNumDrawables()-1 if drawable is found; if not found, then getNumDrawables() is returned. "); - I_Method0(const osg::Geode::DrawableList &, getDrawableList, - Properties::NON_VIRTUAL, - __C5_DrawableList_R1__getDrawableList, - "Get the list of drawables. ", - ""); - I_Method1(void, compileDrawables, IN, osg::RenderInfo &, renderInfo, - Properties::NON_VIRTUAL, - __void__compileDrawables__RenderInfo_R1, - "Compile OpenGL Display List for each drawable. ", - ""); - I_Method0(const osg::BoundingBox &, getBoundingBox, - Properties::NON_VIRTUAL, - __C5_BoundingBox_R1__getBoundingBox, - "Return the Geode's bounding box, which is the union of all the bounding boxes of the geode's drawables. ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "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(). "); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_SimpleProperty(const osg::BoundingBox &, BoundingBox, - __C5_BoundingBox_R1__getBoundingBox, - 0); - I_ArrayProperty(osg::Drawable *, Drawable, - __Drawable_P1__getDrawable__unsigned_int, - __bool__setDrawable__unsigned_int__Drawable_P1, - __unsigned_int__getNumDrawables, - __bool__addDrawable__Drawable_P1, - 0, - __bool__removeDrawables__unsigned_int__unsigned_int); - I_SimpleProperty(const osg::Geode::DrawableList &, DrawableList, - __C5_DrawableList_R1__getDrawableList, - 0); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Drawable >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Drawable *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Drawable > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Drawable > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Drawable *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Drawable *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Drawable > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Drawable *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Drawable > >) - diff --git a/src/osgWrappers/introspection/osg/Geometry.cpp b/src/osgWrappers/introspection/osg/Geometry.cpp deleted file mode 100644 index 09815806a..000000000 --- a/src/osgWrappers/introspection/osg/Geometry.cpp +++ /dev/null @@ -1,1017 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Geometry::AttributeBinding) - I_DeclaringFile("osg/Geometry"); - I_EnumLabel(osg::Geometry::BIND_OFF); - I_EnumLabel(osg::Geometry::BIND_OVERALL); - I_EnumLabel(osg::Geometry::BIND_PER_PRIMITIVE_SET); - I_EnumLabel(osg::Geometry::BIND_PER_PRIMITIVE); - I_EnumLabel(osg::Geometry::BIND_PER_VERTEX); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::Geometry::ArrayData >, osg::Geometry::ArrayDataList) - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::PrimitiveSet > >, osg::Geometry::PrimitiveSetList) - -TYPE_NAME_ALIAS(std::vector< osg::Array * >, osg::Geometry::ArrayList) - -TYPE_NAME_ALIAS(std::vector< osg::DrawElements * >, osg::Geometry::DrawElementsList) - -BEGIN_OBJECT_REFLECTOR(osg::Geometry) - I_DeclaringFile("osg/Geometry"); - I_BaseType(osg::Drawable); - I_Constructor0(____Geometry, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Geometry &, geometry, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Geometry__C5_Geometry_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osg::Geometry *, asGeometry, - Properties::VIRTUAL, - __Geometry_P1__asGeometry, - "Convert 'this' into a Geometry pointer if Drawable is a Geometry, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(const osg::Geometry *, asGeometry, - Properties::VIRTUAL, - __C5_Geometry_P1__asGeometry, - "Convert 'const this' into a const Geometry pointer if Drawable is a Geometry, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(bool, empty, - Properties::NON_VIRTUAL, - __bool__empty, - "", - ""); - I_Method1(void, setVertexArray, IN, osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setVertexArray__Array_P1, - "", - ""); - I_Method0(osg::Array *, getVertexArray, - Properties::NON_VIRTUAL, - __Array_P1__getVertexArray, - "", - ""); - I_Method0(const osg::Array *, getVertexArray, - Properties::NON_VIRTUAL, - __C5_Array_P1__getVertexArray, - "", - ""); - I_Method1(void, setVertexData, IN, const osg::Geometry::ArrayData &, arrayData, - Properties::NON_VIRTUAL, - __void__setVertexData__C5_ArrayData_R1, - "", - ""); - I_Method0(osg::Geometry::ArrayData &, getVertexData, - Properties::NON_VIRTUAL, - __ArrayData_R1__getVertexData, - "", - ""); - I_Method0(const osg::Geometry::ArrayData &, getVertexData, - Properties::NON_VIRTUAL, - __C5_ArrayData_R1__getVertexData, - "", - ""); - I_Method1(void, setNormalBinding, IN, osg::Geometry::AttributeBinding, ab, - Properties::NON_VIRTUAL, - __void__setNormalBinding__AttributeBinding, - "", - ""); - I_Method0(osg::Geometry::AttributeBinding, getNormalBinding, - Properties::NON_VIRTUAL, - __AttributeBinding__getNormalBinding, - "", - ""); - I_Method1(void, setNormalArray, IN, osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setNormalArray__Array_P1, - "", - ""); - I_Method0(osg::Array *, getNormalArray, - Properties::NON_VIRTUAL, - __Array_P1__getNormalArray, - "", - ""); - I_Method0(const osg::Array *, getNormalArray, - Properties::NON_VIRTUAL, - __C5_Array_P1__getNormalArray, - "", - ""); - I_Method1(void, setNormalData, IN, const osg::Geometry::ArrayData &, arrayData, - Properties::NON_VIRTUAL, - __void__setNormalData__C5_ArrayData_R1, - "", - ""); - I_Method0(osg::Geometry::ArrayData &, getNormalData, - Properties::NON_VIRTUAL, - __ArrayData_R1__getNormalData, - "", - ""); - I_Method0(const osg::Geometry::ArrayData &, getNormalData, - Properties::NON_VIRTUAL, - __C5_ArrayData_R1__getNormalData, - "", - ""); - I_Method1(void, setColorBinding, IN, osg::Geometry::AttributeBinding, ab, - Properties::NON_VIRTUAL, - __void__setColorBinding__AttributeBinding, - "", - ""); - I_Method0(osg::Geometry::AttributeBinding, getColorBinding, - Properties::NON_VIRTUAL, - __AttributeBinding__getColorBinding, - "", - ""); - I_Method1(void, setColorArray, IN, osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setColorArray__Array_P1, - "", - ""); - I_Method0(osg::Array *, getColorArray, - Properties::NON_VIRTUAL, - __Array_P1__getColorArray, - "", - ""); - I_Method0(const osg::Array *, getColorArray, - Properties::NON_VIRTUAL, - __C5_Array_P1__getColorArray, - "", - ""); - I_Method1(void, setColorData, IN, const osg::Geometry::ArrayData &, arrayData, - Properties::NON_VIRTUAL, - __void__setColorData__C5_ArrayData_R1, - "", - ""); - I_Method0(osg::Geometry::ArrayData &, getColorData, - Properties::NON_VIRTUAL, - __ArrayData_R1__getColorData, - "", - ""); - I_Method0(const osg::Geometry::ArrayData &, getColorData, - Properties::NON_VIRTUAL, - __C5_ArrayData_R1__getColorData, - "", - ""); - I_Method1(void, setSecondaryColorBinding, IN, osg::Geometry::AttributeBinding, ab, - Properties::NON_VIRTUAL, - __void__setSecondaryColorBinding__AttributeBinding, - "", - ""); - I_Method0(osg::Geometry::AttributeBinding, getSecondaryColorBinding, - Properties::NON_VIRTUAL, - __AttributeBinding__getSecondaryColorBinding, - "", - ""); - I_Method1(void, setSecondaryColorArray, IN, osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setSecondaryColorArray__Array_P1, - "", - ""); - I_Method0(osg::Array *, getSecondaryColorArray, - Properties::NON_VIRTUAL, - __Array_P1__getSecondaryColorArray, - "", - ""); - I_Method0(const osg::Array *, getSecondaryColorArray, - Properties::NON_VIRTUAL, - __C5_Array_P1__getSecondaryColorArray, - "", - ""); - I_Method1(void, setSecondaryColorData, IN, const osg::Geometry::ArrayData &, arrayData, - Properties::NON_VIRTUAL, - __void__setSecondaryColorData__C5_ArrayData_R1, - "", - ""); - I_Method0(osg::Geometry::ArrayData &, getSecondaryColorData, - Properties::NON_VIRTUAL, - __ArrayData_R1__getSecondaryColorData, - "", - ""); - I_Method0(const osg::Geometry::ArrayData &, getSecondaryColorData, - Properties::NON_VIRTUAL, - __C5_ArrayData_R1__getSecondaryColorData, - "", - ""); - I_Method1(void, setFogCoordBinding, IN, osg::Geometry::AttributeBinding, ab, - Properties::NON_VIRTUAL, - __void__setFogCoordBinding__AttributeBinding, - "", - ""); - I_Method0(osg::Geometry::AttributeBinding, getFogCoordBinding, - Properties::NON_VIRTUAL, - __AttributeBinding__getFogCoordBinding, - "", - ""); - I_Method1(void, setFogCoordArray, IN, osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setFogCoordArray__Array_P1, - "", - ""); - I_Method0(osg::Array *, getFogCoordArray, - Properties::NON_VIRTUAL, - __Array_P1__getFogCoordArray, - "", - ""); - I_Method0(const osg::Array *, getFogCoordArray, - Properties::NON_VIRTUAL, - __C5_Array_P1__getFogCoordArray, - "", - ""); - I_Method1(void, setFogCoordData, IN, const osg::Geometry::ArrayData &, arrayData, - Properties::NON_VIRTUAL, - __void__setFogCoordData__C5_ArrayData_R1, - "", - ""); - I_Method0(osg::Geometry::ArrayData &, getFogCoordData, - Properties::NON_VIRTUAL, - __ArrayData_R1__getFogCoordData, - "", - ""); - I_Method0(const osg::Geometry::ArrayData &, getFogCoordData, - Properties::NON_VIRTUAL, - __C5_ArrayData_R1__getFogCoordData, - "", - ""); - I_Method2(void, setTexCoordArray, IN, unsigned int, unit, IN, osg::Array *, x, - Properties::NON_VIRTUAL, - __void__setTexCoordArray__unsigned_int__Array_P1, - "", - ""); - I_Method1(osg::Array *, getTexCoordArray, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __Array_P1__getTexCoordArray__unsigned_int, - "", - ""); - I_Method1(const osg::Array *, getTexCoordArray, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __C5_Array_P1__getTexCoordArray__unsigned_int, - "", - ""); - I_Method2(void, setTexCoordData, IN, unsigned int, index, IN, const osg::Geometry::ArrayData &, arrayData, - Properties::NON_VIRTUAL, - __void__setTexCoordData__unsigned_int__C5_ArrayData_R1, - "", - ""); - I_Method1(osg::Geometry::ArrayData &, getTexCoordData, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __ArrayData_R1__getTexCoordData__unsigned_int, - "", - ""); - I_Method1(const osg::Geometry::ArrayData &, getTexCoordData, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __C5_ArrayData_R1__getTexCoordData__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumTexCoordArrays, - Properties::NON_VIRTUAL, - __unsigned_int__getNumTexCoordArrays, - "", - ""); - I_Method0(osg::Geometry::ArrayDataList &, getTexCoordArrayList, - Properties::NON_VIRTUAL, - __ArrayDataList_R1__getTexCoordArrayList, - "", - ""); - I_Method0(const osg::Geometry::ArrayDataList &, getTexCoordArrayList, - Properties::NON_VIRTUAL, - __C5_ArrayDataList_R1__getTexCoordArrayList, - "", - ""); - I_Method2(void, setVertexAttribArray, IN, unsigned int, index, IN, osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setVertexAttribArray__unsigned_int__Array_P1, - "", - ""); - I_Method1(osg::Array *, getVertexAttribArray, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __Array_P1__getVertexAttribArray__unsigned_int, - "", - ""); - I_Method1(const osg::Array *, getVertexAttribArray, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __C5_Array_P1__getVertexAttribArray__unsigned_int, - "", - ""); - I_Method2(void, setVertexAttribBinding, IN, unsigned int, index, IN, osg::Geometry::AttributeBinding, ab, - Properties::NON_VIRTUAL, - __void__setVertexAttribBinding__unsigned_int__AttributeBinding, - "", - ""); - I_Method1(osg::Geometry::AttributeBinding, getVertexAttribBinding, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __AttributeBinding__getVertexAttribBinding__unsigned_int, - "", - ""); - I_Method2(void, setVertexAttribNormalize, IN, unsigned int, index, IN, GLboolean, norm, - Properties::NON_VIRTUAL, - __void__setVertexAttribNormalize__unsigned_int__GLboolean, - "", - ""); - I_Method1(GLboolean, getVertexAttribNormalize, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __GLboolean__getVertexAttribNormalize__unsigned_int, - "", - ""); - I_Method2(void, setVertexAttribData, IN, unsigned int, index, IN, const osg::Geometry::ArrayData &, arrayData, - Properties::NON_VIRTUAL, - __void__setVertexAttribData__unsigned_int__C5_ArrayData_R1, - "", - ""); - I_Method1(osg::Geometry::ArrayData &, getVertexAttribData, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __ArrayData_R1__getVertexAttribData__unsigned_int, - "", - ""); - I_Method1(const osg::Geometry::ArrayData &, getVertexAttribData, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __C5_ArrayData_R1__getVertexAttribData__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumVertexAttribArrays, - Properties::NON_VIRTUAL, - __unsigned_int__getNumVertexAttribArrays, - "", - ""); - I_Method0(osg::Geometry::ArrayDataList &, getVertexAttribArrayList, - Properties::NON_VIRTUAL, - __ArrayDataList_R1__getVertexAttribArrayList, - "", - ""); - I_Method0(const osg::Geometry::ArrayDataList &, getVertexAttribArrayList, - Properties::NON_VIRTUAL, - __C5_ArrayDataList_R1__getVertexAttribArrayList, - "", - ""); - I_Method1(void, setPrimitiveSetList, IN, const osg::Geometry::PrimitiveSetList &, primitives, - Properties::NON_VIRTUAL, - __void__setPrimitiveSetList__C5_PrimitiveSetList_R1, - "", - ""); - I_Method0(osg::Geometry::PrimitiveSetList &, getPrimitiveSetList, - Properties::NON_VIRTUAL, - __PrimitiveSetList_R1__getPrimitiveSetList, - "", - ""); - I_Method0(const osg::Geometry::PrimitiveSetList &, getPrimitiveSetList, - Properties::NON_VIRTUAL, - __C5_PrimitiveSetList_R1__getPrimitiveSetList, - "", - ""); - I_Method0(unsigned int, getNumPrimitiveSets, - Properties::NON_VIRTUAL, - __unsigned_int__getNumPrimitiveSets, - "", - ""); - I_Method1(osg::PrimitiveSet *, getPrimitiveSet, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __PrimitiveSet_P1__getPrimitiveSet__unsigned_int, - "", - ""); - I_Method1(const osg::PrimitiveSet *, getPrimitiveSet, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __C5_PrimitiveSet_P1__getPrimitiveSet__unsigned_int, - "", - ""); - I_Method1(bool, addPrimitiveSet, IN, osg::PrimitiveSet *, primitiveset, - Properties::NON_VIRTUAL, - __bool__addPrimitiveSet__PrimitiveSet_P1, - "Add a primitive set to the geometry. ", - ""); - I_Method2(bool, setPrimitiveSet, IN, unsigned int, i, IN, osg::PrimitiveSet *, primitiveset, - Properties::NON_VIRTUAL, - __bool__setPrimitiveSet__unsigned_int__PrimitiveSet_P1, - "Set a primitive set to the specified position in geometry's primitive set list. ", - ""); - I_Method2(bool, insertPrimitiveSet, IN, unsigned int, i, IN, osg::PrimitiveSet *, primitiveset, - Properties::NON_VIRTUAL, - __bool__insertPrimitiveSet__unsigned_int__PrimitiveSet_P1, - "Insert a primitive set to the specified position in geometry's primitive set list. ", - ""); - I_MethodWithDefaults2(bool, removePrimitiveSet, IN, unsigned int, i, , IN, unsigned int, numElementsToRemove, 1, - Properties::NON_VIRTUAL, - __bool__removePrimitiveSet__unsigned_int__unsigned_int, - "Remove primitive set(s) from the specified position in geometry's primitive set list. ", - ""); - I_Method1(unsigned int, getPrimitiveSetIndex, IN, const osg::PrimitiveSet *, primitiveset, - Properties::NON_VIRTUAL, - __unsigned_int__getPrimitiveSetIndex__C5_PrimitiveSet_P1, - "Get the index number of a primitive set, return a value between 0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet(). ", - "When checking for a valid find value use if ((value=geometry->getPrimitiveSetIndex(primitive))!=geometry.getNumPrimitiveSet()) "); - I_Method1(void, setVertexIndices, IN, osg::IndexArray *, array, - Properties::NON_VIRTUAL, - __void__setVertexIndices__IndexArray_P1, - "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", - ""); - I_Method0(osg::IndexArray *, getVertexIndices, - Properties::NON_VIRTUAL, - __IndexArray_P1__getVertexIndices, - "", - ""); - I_Method0(const osg::IndexArray *, getVertexIndices, - Properties::NON_VIRTUAL, - __C5_IndexArray_P1__getVertexIndices, - "", - ""); - I_Method1(void, setNormalIndices, IN, osg::IndexArray *, array, - Properties::NON_VIRTUAL, - __void__setNormalIndices__IndexArray_P1, - "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", - ""); - I_Method0(osg::IndexArray *, getNormalIndices, - Properties::NON_VIRTUAL, - __IndexArray_P1__getNormalIndices, - "", - ""); - I_Method0(const osg::IndexArray *, getNormalIndices, - Properties::NON_VIRTUAL, - __C5_IndexArray_P1__getNormalIndices, - "", - ""); - I_Method1(void, setColorIndices, IN, osg::IndexArray *, array, - Properties::NON_VIRTUAL, - __void__setColorIndices__IndexArray_P1, - "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", - ""); - I_Method0(osg::IndexArray *, getColorIndices, - Properties::NON_VIRTUAL, - __IndexArray_P1__getColorIndices, - "", - ""); - I_Method0(const osg::IndexArray *, getColorIndices, - Properties::NON_VIRTUAL, - __C5_IndexArray_P1__getColorIndices, - "", - ""); - I_Method1(void, setSecondaryColorIndices, IN, osg::IndexArray *, array, - Properties::NON_VIRTUAL, - __void__setSecondaryColorIndices__IndexArray_P1, - "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", - ""); - I_Method0(osg::IndexArray *, getSecondaryColorIndices, - Properties::NON_VIRTUAL, - __IndexArray_P1__getSecondaryColorIndices, - "", - ""); - I_Method0(const osg::IndexArray *, getSecondaryColorIndices, - Properties::NON_VIRTUAL, - __C5_IndexArray_P1__getSecondaryColorIndices, - "", - ""); - I_Method1(void, setFogCoordIndices, IN, osg::IndexArray *, array, - Properties::NON_VIRTUAL, - __void__setFogCoordIndices__IndexArray_P1, - "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", - ""); - I_Method0(osg::IndexArray *, getFogCoordIndices, - Properties::NON_VIRTUAL, - __IndexArray_P1__getFogCoordIndices, - "", - ""); - I_Method0(const osg::IndexArray *, getFogCoordIndices, - Properties::NON_VIRTUAL, - __C5_IndexArray_P1__getFogCoordIndices, - "", - ""); - I_Method2(void, setTexCoordIndices, IN, unsigned int, unit, IN, osg::IndexArray *, x, - Properties::NON_VIRTUAL, - __void__setTexCoordIndices__unsigned_int__IndexArray_P1, - "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", - ""); - I_Method1(osg::IndexArray *, getTexCoordIndices, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __IndexArray_P1__getTexCoordIndices__unsigned_int, - "", - ""); - I_Method1(const osg::IndexArray *, getTexCoordIndices, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __C5_IndexArray_P1__getTexCoordIndices__unsigned_int, - "", - ""); - I_Method2(void, setVertexAttribIndices, IN, unsigned int, index, IN, osg::IndexArray *, array, - Properties::NON_VIRTUAL, - __void__setVertexAttribIndices__unsigned_int__IndexArray_P1, - "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", - ""); - I_Method1(osg::IndexArray *, getVertexAttribIndices, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __IndexArray_P1__getVertexAttribIndices__unsigned_int, - "", - ""); - I_Method1(const osg::IndexArray *, getVertexAttribIndices, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __C5_IndexArray_P1__getVertexAttribIndices__unsigned_int, - "", - ""); - I_Method1(void, setUseVertexBufferObjects, IN, bool, flag, - Properties::VIRTUAL, - __void__setUseVertexBufferObjects__bool, - "When set to true, ignore the setUseDisplayList() settings, and hints to the drawImplementation method to use OpenGL vertex buffer objects for rendering. ", - ""); - I_Method0(void, dirtyDisplayList, - Properties::VIRTUAL, - __void__dirtyDisplayList, - "Force a recompile on next draw() of any OpenGL display list associated with this geoset. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__State_P1, - "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_Method1(bool, getArrayList, IN, osg::Geometry::ArrayList &, arrayList, - Properties::NON_VIRTUAL, - __bool__getArrayList__ArrayList_R1, - "", - ""); - I_Method1(bool, getDrawElementsList, IN, osg::Geometry::DrawElementsList &, drawElementsList, - Properties::NON_VIRTUAL, - __bool__getDrawElementsList__DrawElementsList_R1, - "", - ""); - I_Method0(osg::VertexBufferObject *, getOrCreateVertexBufferObject, - Properties::NON_VIRTUAL, - __osg_VertexBufferObject_P1__getOrCreateVertexBufferObject, - "", - ""); - I_Method0(osg::ElementBufferObject *, getOrCreateElementBufferObject, - Properties::NON_VIRTUAL, - __osg_ElementBufferObject_P1__getOrCreateElementBufferObject, - "", - ""); - I_Method1(void, setFastPathHint, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setFastPathHint__bool, - "Set whether fast paths should be used when supported. ", - ""); - I_Method0(bool, getFastPathHint, - Properties::NON_VIRTUAL, - __bool__getFastPathHint, - "Get whether fast paths should be used when supported. ", - ""); - I_Method0(bool, areFastPathsUsed, - Properties::NON_VIRTUAL, - __bool__areFastPathsUsed, - "Return true if OpenGL fast paths will be used with drawing this Geometry. ", - "Fast paths directly use vertex arrays, and glDrawArrays/glDrawElements so have low CPU overhead. With Slow paths the osg::Geometry::drawImplementation has to dynamically assemble OpenGL compatible vertex arrays from the osg::Geometry arrays data and then dispatch these to OpenGL, so have higher CPU overhead than the Fast paths. Use of per primitive bindings or per vertex indexed arrays will drop the rendering path off the fast path. "); - I_Method0(bool, computeFastPathsUsed, - Properties::NON_VIRTUAL, - __bool__computeFastPathsUsed, - "", - ""); - I_Method0(bool, verifyBindings, - Properties::NON_VIRTUAL, - __bool__verifyBindings, - "", - ""); - I_Method0(void, computeCorrectBindingsAndArraySizes, - Properties::NON_VIRTUAL, - __void__computeCorrectBindingsAndArraySizes, - "", - ""); - I_Method0(bool, suitableForOptimization, - Properties::NON_VIRTUAL, - __bool__suitableForOptimization, - "", - ""); - I_Method1(void, copyToAndOptimize, IN, osg::Geometry &, target, - Properties::NON_VIRTUAL, - __void__copyToAndOptimize__Geometry_R1, - "", - ""); - I_Method0(bool, containsSharedArrays, - Properties::NON_VIRTUAL, - __bool__containsSharedArrays, - "", - ""); - I_Method0(void, duplicateSharedArrays, - Properties::NON_VIRTUAL, - __void__duplicateSharedArrays, - "", - ""); - I_Method0(void, computeInternalOptimizedGeometry, - Properties::NON_VIRTUAL, - __void__computeInternalOptimizedGeometry, - "", - ""); - I_Method0(void, removeInternalOptimizedGeometry, - Properties::NON_VIRTUAL, - __void__removeInternalOptimizedGeometry, - "", - ""); - I_Method1(void, setInternalOptimizedGeometry, IN, osg::Geometry *, geometry, - Properties::NON_VIRTUAL, - __void__setInternalOptimizedGeometry__osg_Geometry_P1, - "", - ""); - I_Method0(osg::Geometry *, getInternalOptimizedGeometry, - Properties::NON_VIRTUAL, - __osg_Geometry_P1__getInternalOptimizedGeometry, - "", - ""); - I_Method0(const osg::Geometry *, getInternalOptimizedGeometry, - Properties::NON_VIRTUAL, - __C5_osg_Geometry_P1__getInternalOptimizedGeometry, - "", - ""); - I_Method0(unsigned int, getGLObjectSizeHint, - Properties::VIRTUAL, - __unsigned_int__getGLObjectSizeHint, - "Return the estimated size of GLObjects (display lists/vertex buffer objects) that are associated with this drawable. ", - "This size is used a hint for reuse of deleted display lists/vertex buffer objects. "); - I_Method1(void, compileGLObjects, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__compileGLObjects__RenderInfo_R1, - "Immediately compile this Drawable into an OpenGL Display List/VertexBufferObjects. ", - "Operation is ignored if _useDisplayList is false or VertexBufferObjects are not used. "); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__RenderInfo_R1, - "Draw Geometry directly ignoring an OpenGL display list which could be attached. ", - "This is the internal draw method which does the drawing itself, and is the method to override when deriving from Geometry for user-drawn objects. "); - I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_Drawable_AttributeFunctor_R1, - "Return true, osg::Geometry does support accept(Drawable::AttributeFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, af, - Properties::VIRTUAL, - __void__accept__Drawable_AttributeFunctor_R1, - "Accept an Drawable::AttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ", - ""); - I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_Drawable_ConstAttributeFunctor_R1, - "Return true, osg::Geometry does support accept(Drawable::ConstAttributeFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af, - Properties::VIRTUAL, - __void__accept__Drawable_ConstAttributeFunctor_R1, - "Accept a Drawable::ConstAttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ", - ""); - I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_PrimitiveFunctor_R1, - "Return true, osg::Geometry does support accept(PrimitiveFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf, - Properties::VIRTUAL, - __void__accept__PrimitiveFunctor_R1, - "Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ", - ""); - I_Method1(bool, supports, IN, const osg::PrimitiveIndexFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_PrimitiveIndexFunctor_R1, - "Return true, osg::Geometry does support accept(PrimitiveIndexFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, pf, - Properties::VIRTUAL, - __void__accept__PrimitiveIndexFunctor_R1, - "Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ", - ""); - I_ProtectedMethod1(bool, verifyBindings, IN, const osg::Geometry::ArrayData &, arrayData, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__verifyBindings__C5_ArrayData_R1, - "", - ""); - I_ProtectedMethod1(bool, verifyBindings, IN, const osg::Geometry::Vec3ArrayData &, arrayData, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__verifyBindings__C5_Vec3ArrayData_R1, - "", - ""); - I_ProtectedMethod2(void, computeCorrectBindingsAndArraySizes, IN, osg::Geometry::ArrayData &, arrayData, IN, const char *, arrayName, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computeCorrectBindingsAndArraySizes__ArrayData_R1__C5_char_P1, - "", - ""); - I_ProtectedMethod2(void, computeCorrectBindingsAndArraySizes, IN, osg::Geometry::Vec3ArrayData &, arrayData, IN, const char *, arrayName, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computeCorrectBindingsAndArraySizes__Vec3ArrayData_R1__C5_char_P1, - "", - ""); - I_ProtectedMethod1(void, addVertexBufferObjectIfRequired, IN, osg::Array *, array, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addVertexBufferObjectIfRequired__osg_Array_P1, - "", - ""); - I_ProtectedMethod1(void, addElementBufferObjectIfRequired, IN, osg::PrimitiveSet *, primitiveSet, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addElementBufferObjectIfRequired__osg_PrimitiveSet_P1, - "", - ""); - I_SimpleProperty(osg::Array *, ColorArray, - __Array_P1__getColorArray, - __void__setColorArray__Array_P1); - I_SimpleProperty(osg::Geometry::AttributeBinding, ColorBinding, - __AttributeBinding__getColorBinding, - __void__setColorBinding__AttributeBinding); - I_SimpleProperty(const osg::Geometry::ArrayData &, ColorData, - __C5_ArrayData_R1__getColorData, - __void__setColorData__C5_ArrayData_R1); - I_SimpleProperty(osg::IndexArray *, ColorIndices, - __IndexArray_P1__getColorIndices, - __void__setColorIndices__IndexArray_P1); - I_SimpleProperty(bool, FastPathHint, - __bool__getFastPathHint, - __void__setFastPathHint__bool); - I_SimpleProperty(osg::Array *, FogCoordArray, - __Array_P1__getFogCoordArray, - __void__setFogCoordArray__Array_P1); - I_SimpleProperty(osg::Geometry::AttributeBinding, FogCoordBinding, - __AttributeBinding__getFogCoordBinding, - __void__setFogCoordBinding__AttributeBinding); - I_SimpleProperty(const osg::Geometry::ArrayData &, FogCoordData, - __C5_ArrayData_R1__getFogCoordData, - __void__setFogCoordData__C5_ArrayData_R1); - I_SimpleProperty(osg::IndexArray *, FogCoordIndices, - __IndexArray_P1__getFogCoordIndices, - __void__setFogCoordIndices__IndexArray_P1); - I_SimpleProperty(unsigned int, GLObjectSizeHint, - __unsigned_int__getGLObjectSizeHint, - 0); - I_SimpleProperty(osg::Geometry *, InternalOptimizedGeometry, - __osg_Geometry_P1__getInternalOptimizedGeometry, - __void__setInternalOptimizedGeometry__osg_Geometry_P1); - I_SimpleProperty(osg::Array *, NormalArray, - __Array_P1__getNormalArray, - __void__setNormalArray__Array_P1); - I_SimpleProperty(osg::Geometry::AttributeBinding, NormalBinding, - __AttributeBinding__getNormalBinding, - __void__setNormalBinding__AttributeBinding); - I_SimpleProperty(const osg::Geometry::ArrayData &, NormalData, - __C5_ArrayData_R1__getNormalData, - __void__setNormalData__C5_ArrayData_R1); - I_SimpleProperty(osg::IndexArray *, NormalIndices, - __IndexArray_P1__getNormalIndices, - __void__setNormalIndices__IndexArray_P1); - I_ArrayProperty(osg::PrimitiveSet *, PrimitiveSet, - __PrimitiveSet_P1__getPrimitiveSet__unsigned_int, - __bool__setPrimitiveSet__unsigned_int__PrimitiveSet_P1, - __unsigned_int__getNumPrimitiveSets, - __bool__addPrimitiveSet__PrimitiveSet_P1, - __bool__insertPrimitiveSet__unsigned_int__PrimitiveSet_P1, - __bool__removePrimitiveSet__unsigned_int__unsigned_int); - I_SimpleProperty(const osg::Geometry::PrimitiveSetList &, PrimitiveSetList, - __C5_PrimitiveSetList_R1__getPrimitiveSetList, - __void__setPrimitiveSetList__C5_PrimitiveSetList_R1); - I_SimpleProperty(osg::Array *, SecondaryColorArray, - __Array_P1__getSecondaryColorArray, - __void__setSecondaryColorArray__Array_P1); - I_SimpleProperty(osg::Geometry::AttributeBinding, SecondaryColorBinding, - __AttributeBinding__getSecondaryColorBinding, - __void__setSecondaryColorBinding__AttributeBinding); - I_SimpleProperty(const osg::Geometry::ArrayData &, SecondaryColorData, - __C5_ArrayData_R1__getSecondaryColorData, - __void__setSecondaryColorData__C5_ArrayData_R1); - I_SimpleProperty(osg::IndexArray *, SecondaryColorIndices, - __IndexArray_P1__getSecondaryColorIndices, - __void__setSecondaryColorIndices__IndexArray_P1); - I_ArrayProperty(osg::Array *, TexCoordArray, - __Array_P1__getTexCoordArray__unsigned_int, - __void__setTexCoordArray__unsigned_int__Array_P1, - __unsigned_int__getNumTexCoordArrays, - 0, - 0, - 0); - I_SimpleProperty(osg::Geometry::ArrayDataList &, TexCoordArrayList, - __ArrayDataList_R1__getTexCoordArrayList, - 0); - I_ArrayProperty(const osg::Geometry::ArrayData &, TexCoordData, - __C5_ArrayData_R1__getTexCoordData__unsigned_int, - __void__setTexCoordData__unsigned_int__C5_ArrayData_R1, - __unsigned_int__getNumTexCoordArrays, - 0, - 0, - 0); - I_ArrayProperty(osg::IndexArray *, TexCoordIndices, - __IndexArray_P1__getTexCoordIndices__unsigned_int, - __void__setTexCoordIndices__unsigned_int__IndexArray_P1, - __unsigned_int__getNumTexCoordArrays, - 0, - 0, - 0); - I_SimpleProperty(bool, UseVertexBufferObjects, - 0, - __void__setUseVertexBufferObjects__bool); - I_SimpleProperty(osg::Array *, VertexArray, - __Array_P1__getVertexArray, - __void__setVertexArray__Array_P1); - I_ArrayProperty(osg::Array *, VertexAttribArray, - __Array_P1__getVertexAttribArray__unsigned_int, - __void__setVertexAttribArray__unsigned_int__Array_P1, - __unsigned_int__getNumVertexAttribArrays, - 0, - 0, - 0); - I_SimpleProperty(osg::Geometry::ArrayDataList &, VertexAttribArrayList, - __ArrayDataList_R1__getVertexAttribArrayList, - 0); - I_ArrayProperty(osg::Geometry::AttributeBinding, VertexAttribBinding, - __AttributeBinding__getVertexAttribBinding__unsigned_int, - __void__setVertexAttribBinding__unsigned_int__AttributeBinding, - __unsigned_int__getNumVertexAttribArrays, - 0, - 0, - 0); - I_ArrayProperty(const osg::Geometry::ArrayData &, VertexAttribData, - __C5_ArrayData_R1__getVertexAttribData__unsigned_int, - __void__setVertexAttribData__unsigned_int__C5_ArrayData_R1, - __unsigned_int__getNumVertexAttribArrays, - 0, - 0, - 0); - I_ArrayProperty(osg::IndexArray *, VertexAttribIndices, - __IndexArray_P1__getVertexAttribIndices__unsigned_int, - __void__setVertexAttribIndices__unsigned_int__IndexArray_P1, - __unsigned_int__getNumVertexAttribArrays, - 0, - 0, - 0); - I_ArrayProperty(GLboolean, VertexAttribNormalize, - __GLboolean__getVertexAttribNormalize__unsigned_int, - __void__setVertexAttribNormalize__unsigned_int__GLboolean, - __unsigned_int__getNumVertexAttribArrays, - 0, - 0, - 0); - I_SimpleProperty(const osg::Geometry::ArrayData &, VertexData, - __C5_ArrayData_R1__getVertexData, - __void__setVertexData__C5_ArrayData_R1); - I_SimpleProperty(osg::IndexArray *, VertexIndices, - __IndexArray_P1__getVertexIndices, - __void__setVertexIndices__IndexArray_P1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::Geometry::ArrayData) - I_DeclaringFile("osg/Geometry"); - I_Constructor0(____ArrayData, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Geometry::ArrayData &, data, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ArrayData__C5_ArrayData_R1__C5_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults3(IN, osg::Array *, a, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE, - ____ArrayData__Array_P1__AttributeBinding__GLboolean, - "", - ""); - I_ConstructorWithDefaults4(IN, osg::Array *, a, , IN, osg::IndexArray *, i, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE, - ____ArrayData__Array_P1__IndexArray_P1__AttributeBinding__GLboolean, - "", - ""); - I_Method0(bool, empty, - Properties::NON_VIRTUAL, - __bool__empty, - "", - ""); - I_PublicMemberProperty(osg::ref_ptr< osg::Array >, array); - I_PublicMemberProperty(osg::ref_ptr< osg::IndexArray >, indices); - I_PublicMemberProperty(osg::Geometry::AttributeBinding, binding); - I_PublicMemberProperty(GLboolean, normalize); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::Geometry::Vec3ArrayData) - I_DeclaringFile("osg/Geometry"); - I_Constructor0(____Vec3ArrayData, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Geometry::Vec3ArrayData &, data, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Vec3ArrayData__C5_Vec3ArrayData_R1__C5_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults3(IN, osg::Vec3Array *, a, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE, - ____Vec3ArrayData__Vec3Array_P1__AttributeBinding__GLboolean, - "", - ""); - I_ConstructorWithDefaults4(IN, osg::Vec3Array *, a, , IN, osg::IndexArray *, i, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE, - ____Vec3ArrayData__Vec3Array_P1__IndexArray_P1__AttributeBinding__GLboolean, - "", - ""); - I_Method0(bool, empty, - Properties::NON_VIRTUAL, - __bool__empty, - "", - ""); - I_PublicMemberProperty(osg::ref_ptr< osg::Vec3Array >, array); - I_PublicMemberProperty(osg::ref_ptr< osg::IndexArray >, indices); - I_PublicMemberProperty(osg::Geometry::AttributeBinding, binding); - I_PublicMemberProperty(GLboolean, normalize); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::PrimitiveSet >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::PrimitiveSet *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::PrimitiveSet > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::PrimitiveSet > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::PrimitiveSet *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::PrimitiveSet *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::PrimitiveSet > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::PrimitiveSet *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::Array * >) - -STD_VECTOR_REFLECTOR(std::vector< osg::DrawElements * >) - -STD_VECTOR_REFLECTOR(std::vector< osg::Geometry::ArrayData >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::PrimitiveSet > >) - diff --git a/src/osgWrappers/introspection/osg/GraphicsContext.cpp b/src/osgWrappers/introspection/osg/GraphicsContext.cpp deleted file mode 100644 index c80c4fd9c..000000000 --- a/src/osgWrappers/introspection/osg/GraphicsContext.cpp +++ /dev/null @@ -1,629 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::GraphicsContext::ScreenSettings >, osg::GraphicsContext::ScreenSettingsList) - -TYPE_NAME_ALIAS(std::vector< osg::GraphicsContext * >, osg::GraphicsContext::GraphicsContexts) - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Operation > >, osg::GraphicsContext::GraphicsOperationQueue) - -TYPE_NAME_ALIAS(std::list< osg::Camera * >, osg::GraphicsContext::Cameras) - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext) - I_DeclaringFile("osg/GraphicsContext"); - I_BaseType(osg::Object); - I_StaticMethod1(void, setWindowingSystemInterface, IN, osg::GraphicsContext::WindowingSystemInterface *, wsInterface, - __void__setWindowingSystemInterface__WindowingSystemInterface_P1_S, - "Set the query the windowing system for screens and create graphics context - this functor should be supplied by the windows toolkit. ", - ""); - I_StaticMethod0(osg::GraphicsContext::WindowingSystemInterface *, getWindowingSystemInterface, - __WindowingSystemInterface_P1__getWindowingSystemInterface_S, - "Get the WindowingSystemInterface. ", - ""); - I_StaticMethod1(osg::GraphicsContext *, createGraphicsContext, IN, osg::GraphicsContext::Traits *, traits, - __GraphicsContext_P1__createGraphicsContext__Traits_P1_S, - "Create a graphics context for a specified set of traits. ", - ""); - I_StaticMethod0(unsigned int, createNewContextID, - __unsigned_int__createNewContextID_S, - "Create a contextID for a new graphics context, this contextID is used to set up the osg::State associate with context. ", - "Automatically increments the usage count of the contextID to 1. "); - I_StaticMethod0(unsigned int, getMaxContextID, - __unsigned_int__getMaxContextID_S, - "Get the current max ContextID. ", - ""); - I_StaticMethod1(void, incrementContextIDUsageCount, IN, unsigned int, contextID, - __void__incrementContextIDUsageCount__unsigned_int_S, - "Increment the usage count associate with a contextID. ", - "The usage count specifies how many graphics contexts a specific contextID is shared between. "); - I_StaticMethod1(void, decrementContextIDUsageCount, IN, unsigned int, contextID, - __void__decrementContextIDUsageCount__unsigned_int_S, - "Decrement the usage count associate with a contextID. ", - "Once the contextID goes to 0 the contextID is then free to be reused. "); - I_StaticMethod0(osg::GraphicsContext::GraphicsContexts, getAllRegisteredGraphicsContexts, - __GraphicsContexts__getAllRegisteredGraphicsContexts_S, - "Get all the registered graphics contexts. ", - ""); - I_StaticMethod1(osg::GraphicsContext::GraphicsContexts, getRegisteredGraphicsContexts, IN, unsigned int, contextID, - __GraphicsContexts__getRegisteredGraphicsContexts__unsigned_int_S, - "Get all the registered graphics contexts associated with a specific contextID. ", - ""); - I_StaticMethod2(void, setCompileContext, IN, unsigned int, contextID, IN, osg::GraphicsContext *, gc, - __void__setCompileContext__unsigned_int__GraphicsContext_P1_S, - "Get the GraphicsContext for doing background compilation for GraphicsContexts associated with specified contextID. ", - ""); - I_StaticMethod1(osg::GraphicsContext *, getOrCreateCompileContext, IN, unsigned int, contextID, - __GraphicsContext_P1__getOrCreateCompileContext__unsigned_int_S, - "Get existing or create a new GraphicsContext to do background compilation for GraphicsContexts associated with specified contextID. ", - ""); - I_StaticMethod1(osg::GraphicsContext *, getCompileContext, IN, unsigned int, contextID, - __GraphicsContext_P1__getCompileContext__unsigned_int_S, - "Get the GraphicsContext for doing background compilation for GraphicsContexts associated with specified contextID. ", - ""); - I_Method1(void, add, IN, osg::Operation *, operation, - Properties::NON_VIRTUAL, - __void__add__Operation_P1, - "Add operation to end of OperationQueue. ", - ""); - I_Method1(void, remove, IN, osg::Operation *, operation, - Properties::NON_VIRTUAL, - __void__remove__Operation_P1, - "Remove operation from OperationQueue. ", - ""); - I_Method1(void, remove, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__remove__C5_std_string_R1, - "Remove named operation from OperationQueue. ", - ""); - I_Method0(void, removeAllOperations, - Properties::NON_VIRTUAL, - __void__removeAllOperations, - "Remove all operations from OperationQueue. ", - ""); - I_Method0(void, runOperations, - Properties::NON_VIRTUAL, - __void__runOperations, - "Run the operations. ", - ""); - I_Method0(osg::GraphicsContext::GraphicsOperationQueue &, getOperationsQueue, - Properties::NON_VIRTUAL, - __GraphicsOperationQueue_R1__getOperationsQueue, - "Get the operations queue, not you must use the OperationsMutex when accessing the queue. ", - ""); - I_Method0(OpenThreads::Mutex *, getOperationsMutex, - Properties::NON_VIRTUAL, - __OpenThreads_Mutex_P1__getOperationsMutex, - "Get the operations queue mutex. ", - ""); - I_Method0(osg::RefBlock *, getOperationsBlock, - Properties::NON_VIRTUAL, - __osg_RefBlock_P1__getOperationsBlock, - "Get the operations queue block used to mark an empty queue, if you end items into the empty queue you must release this block. ", - ""); - I_Method0(osg::Operation *, getCurrentOperation, - Properties::NON_VIRTUAL, - __Operation_P1__getCurrentOperation, - "Get the current operations that is being run. ", - ""); - I_Method0(const osg::GraphicsContext::Traits *, getTraits, - Properties::NON_VIRTUAL, - __C5_Traits_P1__getTraits, - "Get the traits of the GraphicsContext. ", - ""); - I_Method0(bool, valid, - Properties::PURE_VIRTUAL, - __bool__valid, - "Return whether a valid and usable GraphicsContext has been created. ", - ""); - I_Method1(void, setState, IN, osg::State *, state, - Properties::NON_VIRTUAL, - __void__setState__State_P1, - "Set the State object which tracks the current OpenGL state for this graphics context. ", - ""); - I_Method0(osg::State *, getState, - Properties::NON_VIRTUAL, - __State_P1__getState, - "Get the State object which tracks the current OpenGL state for this graphics context. ", - ""); - I_Method0(const osg::State *, getState, - Properties::NON_VIRTUAL, - __C5_State_P1__getState, - "Get the const State object which tracks the current OpenGL state for this graphics context. ", - ""); - I_Method1(void, setClearColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setClearColor__C5_Vec4_R1, - "Sets the clear color. ", - ""); - I_Method0(const osg::Vec4 &, getClearColor, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getClearColor, - "Returns the clear color. ", - ""); - I_Method1(void, setClearMask, IN, GLbitfield, mask, - Properties::NON_VIRTUAL, - __void__setClearMask__GLbitfield, - "Set the clear mask used in glClear(. ", - ".). Defaults to 0 - so no clear is done by default by the GraphicsContext, instead the Camera's attached the GraphicsContext will do the clear. GraphicsContext::setClearMask() is useful for when the Camera's Viewports don't conver the whole context, so the context will fill in the gaps. "); - I_Method0(GLbitfield, getClearMask, - Properties::NON_VIRTUAL, - __GLbitfield__getClearMask, - "Get the clear mask. ", - ""); - I_Method0(void, clear, - Properties::VIRTUAL, - __void__clear, - "Do an OpenGL clear of the full graphics context/window. ", - "Note, must only be called from a thread with this context current. "); - I_Method0(double, getTimeSinceLastClear, - Properties::NON_VIRTUAL, - __double__getTimeSinceLastClear, - "", - ""); - I_Method0(bool, realize, - Properties::NON_VIRTUAL, - __bool__realize, - "Realize the GraphicsContext. ", - ""); - I_MethodWithDefaults1(void, close, IN, bool, callCloseImplementation, true, - Properties::NON_VIRTUAL, - __void__close__bool, - "close the graphics context. ", - "close(bool) stops any associated graphics threads, releases the contextID for the GraphicsContext then optional calls closeImplementation() to do the actual deletion of the graphics. This call is made optional as there are times when the graphics context has already been deleted externally and only the OSG side of the its data need to be closed down. "); - I_Method0(void, swapBuffers, - Properties::NON_VIRTUAL, - __void__swapBuffers, - "swap the front and back buffers. ", - ""); - I_Method0(bool, isRealized, - Properties::NON_VIRTUAL, - __bool__isRealized, - "Return true if the graphics context has been realized and is ready to use. ", - ""); - I_Method0(bool, makeCurrent, - Properties::NON_VIRTUAL, - __bool__makeCurrent, - "Make this graphics context current. ", - "Implemented by calling makeCurrentImplementation(). Returns true on success. "); - I_Method1(bool, makeContextCurrent, IN, osg::GraphicsContext *, readContext, - Properties::NON_VIRTUAL, - __bool__makeContextCurrent__GraphicsContext_P1, - "Make this graphics context current with specified read context. ", - "Implemented by calling makeContextCurrentImplementation(). Returns true on success. "); - I_Method0(bool, releaseContext, - Properties::NON_VIRTUAL, - __bool__releaseContext, - "Release the graphics context. ", - "Returns true on success. "); - I_Method0(bool, isCurrent, - Properties::NON_VIRTUAL, - __bool__isCurrent, - "Return true if the current thread has this OpenGL graphics context. ", - ""); - I_Method1(void, bindPBufferToTexture, IN, GLenum, buffer, - Properties::NON_VIRTUAL, - __void__bindPBufferToTexture__GLenum, - "Bind the graphics context to associated texture. ", - ""); - I_Method0(void, createGraphicsThread, - Properties::NON_VIRTUAL, - __void__createGraphicsThread, - "Create a graphics thread to the graphics context, so that the thread handles all OpenGL operations. ", - ""); - I_Method1(void, setGraphicsThread, IN, osg::GraphicsThread *, gt, - Properties::NON_VIRTUAL, - __void__setGraphicsThread__GraphicsThread_P1, - "Assign a graphics thread to the graphics context, so that the thread handles all OpenGL operations. ", - ""); - I_Method0(osg::GraphicsThread *, getGraphicsThread, - Properties::NON_VIRTUAL, - __GraphicsThread_P1__getGraphicsThread, - "Get the graphics thread assigned the graphics context. ", - ""); - I_Method0(const osg::GraphicsThread *, getGraphicsThread, - Properties::NON_VIRTUAL, - __C5_GraphicsThread_P1__getGraphicsThread, - "Get the const graphics thread assigned the graphics context. ", - ""); - I_Method0(bool, realizeImplementation, - Properties::PURE_VIRTUAL, - __bool__realizeImplementation, - "Realize the GraphicsContext implementation, Pure virtual - must be implemented by concrete implementations of GraphicsContext. ", - ""); - I_Method0(bool, isRealizedImplementation, - Properties::PURE_VIRTUAL, - __bool__isRealizedImplementation, - "Return true if the graphics context has been realized, and is ready to use, implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(void, closeImplementation, - Properties::PURE_VIRTUAL, - __void__closeImplementation, - "Close the graphics context implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(bool, makeCurrentImplementation, - Properties::PURE_VIRTUAL, - __bool__makeCurrentImplementation, - "Make this graphics context current implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method1(bool, makeContextCurrentImplementation, IN, osg::GraphicsContext *, readContext, - Properties::PURE_VIRTUAL, - __bool__makeContextCurrentImplementation__GraphicsContext_P1, - "Make this graphics context current with specified read context implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(bool, releaseContextImplementation, - Properties::PURE_VIRTUAL, - __bool__releaseContextImplementation, - "Release the graphics context implementation. ", - ""); - I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, buffer, - Properties::PURE_VIRTUAL, - __void__bindPBufferToTextureImplementation__GLenum, - "Pure virtual, Bind the graphics context to associated texture implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(void, swapBuffersImplementation, - Properties::PURE_VIRTUAL, - __void__swapBuffersImplementation, - "Swap the front and back buffers implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method4(void, resized, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__resized__int__int__int__int, - "resized method should be called when the underlying window has been resized and the GraphicsWindow and associated Cameras must be updated to keep in sync with the new size. ", - ""); - I_Method1(void, setResizedCallback, IN, osg::GraphicsContext::ResizedCallback *, rc, - Properties::NON_VIRTUAL, - __void__setResizedCallback__ResizedCallback_P1, - "Set the resized callback which overrides the GraphicsConext::realizedImplementation(), allow developers to provide custom behavior in response to a window being resized. ", - ""); - I_Method0(osg::GraphicsContext::ResizedCallback *, getResizedCallback, - Properties::NON_VIRTUAL, - __ResizedCallback_P1__getResizedCallback, - "Get the resized callback which overrides the GraphicsConext::realizedImplementation(). ", - ""); - I_Method0(const osg::GraphicsContext::ResizedCallback *, getResizedCallback, - Properties::NON_VIRTUAL, - __C5_ResizedCallback_P1__getResizedCallback, - "Get the const resized callback which overrides the GraphicsConext::realizedImplementation(). ", - ""); - I_Method4(void, resizedImplementation, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::VIRTUAL, - __void__resizedImplementation__int__int__int__int, - "resized implementation, by default resizes the viewports and aspect ratios the cameras associated with the graphics Window. ", - ""); - I_Method0(osg::GraphicsContext::Cameras &, getCameras, - Properties::NON_VIRTUAL, - __Cameras_R1__getCameras, - "Get the the list of cameras associated with this graphics context. ", - ""); - I_Method0(const osg::GraphicsContext::Cameras &, getCameras, - Properties::NON_VIRTUAL, - __C5_Cameras_R1__getCameras, - "Get the the const list of cameras associated with this graphics context. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, object, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ProtectedConstructor0(____GraphicsContext, - "", - ""); - I_ProtectedConstructor2(IN, const osg::GraphicsContext &, x, IN, const osg::CopyOp &, x, - ____GraphicsContext__C5_GraphicsContext_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ProtectedMethod0(osg::Object *, cloneType, - Properties::VIRTUAL, - Properties::CONST, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_ProtectedMethod1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - Properties::CONST, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_ProtectedMethod1(void, addCamera, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addCamera__osg_Camera_P1, - "", - ""); - I_ProtectedMethod1(void, removeCamera, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__removeCamera__osg_Camera_P1, - "", - ""); - I_SimpleProperty(osg::GraphicsContext::Cameras &, Cameras, - __Cameras_R1__getCameras, - 0); - I_SimpleProperty(const osg::Vec4 &, ClearColor, - __C5_Vec4_R1__getClearColor, - __void__setClearColor__C5_Vec4_R1); - I_SimpleProperty(GLbitfield, ClearMask, - __GLbitfield__getClearMask, - __void__setClearMask__GLbitfield); - I_SimpleProperty(osg::Operation *, CurrentOperation, - __Operation_P1__getCurrentOperation, - 0); - I_SimpleProperty(osg::GraphicsThread *, GraphicsThread, - __GraphicsThread_P1__getGraphicsThread, - __void__setGraphicsThread__GraphicsThread_P1); - I_SimpleProperty(osg::RefBlock *, OperationsBlock, - __osg_RefBlock_P1__getOperationsBlock, - 0); - I_SimpleProperty(OpenThreads::Mutex *, OperationsMutex, - __OpenThreads_Mutex_P1__getOperationsMutex, - 0); - I_SimpleProperty(osg::GraphicsContext::GraphicsOperationQueue &, OperationsQueue, - __GraphicsOperationQueue_R1__getOperationsQueue, - 0); - I_SimpleProperty(osg::GraphicsContext::ResizedCallback *, ResizedCallback, - __ResizedCallback_P1__getResizedCallback, - __void__setResizedCallback__ResizedCallback_P1); - I_SimpleProperty(osg::State *, State, - __State_P1__getState, - __void__setState__State_P1); - I_SimpleProperty(double, TimeSinceLastClear, - __double__getTimeSinceLastClear, - 0); - I_SimpleProperty(const osg::GraphicsContext::Traits *, Traits, - __C5_Traits_P1__getTraits, - 0); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext::ResizedCallback) - I_DeclaringFile("osg/GraphicsContext"); - I_BaseType(osg::Referenced); - I_Constructor0(____ResizedCallback, - "", - ""); - I_Method5(void, resizedImplementation, IN, osg::GraphicsContext *, gc, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::PURE_VIRTUAL, - __void__resizedImplementation__GraphicsContext_P1__int__int__int__int, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::GraphicsContext::ScreenIdentifier) - I_DeclaringFile("osg/GraphicsContext"); - I_Constructor0(____ScreenIdentifier, - "", - ""); - I_Constructor1(IN, int, in_screenNum, - Properties::NON_EXPLICIT, - ____ScreenIdentifier__int, - "", - ""); - I_Constructor3(IN, const std::string &, in_hostName, IN, int, in_displayNum, IN, int, in_screenNum, - ____ScreenIdentifier__C5_std_string_R1__int__int, - "", - ""); - I_Method0(std::string, displayName, - Properties::NON_VIRTUAL, - __std_string__displayName, - "Return the display name in the form hostName::displayNum:screenNum. ", - ""); - I_Method0(void, readDISPLAY, - Properties::NON_VIRTUAL, - __void__readDISPLAY, - "Read the DISPLAY environmental variable, and set the ScreenIdentifier accordingly. ", - "Note, if either of displayNum or screenNum are not defined then -1 is set respectively to signify the this parameter has not been set. When parameters are undefined one can call call setUndefinedScreenDetalstoDefaultScreen() method after readDISPLAY() to ensure valid values. "); - I_Method1(void, setScreenIdentifier, IN, const std::string &, displayName, - Properties::NON_VIRTUAL, - __void__setScreenIdentifier__C5_std_string_R1, - "Set the screenIndentifier from the displayName string. ", - "Note, if either of displayNum or screenNum are not defined then -1 is set respectively to signify the this parameter has not been set. When parameters are undefined one can call call setUndefinedScreenDetalstoDefaultScreen() method after readDISPLAY() to ensure valid values. "); - I_Method0(void, setUndefinedScreenDetailsToDefaultScreen, - Properties::NON_VIRTUAL, - __void__setUndefinedScreenDetailsToDefaultScreen, - "Set any undefined displayNum or screenNum values (i.e. ", - "-1) to the default display & screen of 0 respectively. "); - I_SimpleProperty(const std::string &, ScreenIdentifier, - 0, - __void__setScreenIdentifier__C5_std_string_R1); - I_PublicMemberProperty(std::string, hostName); - I_PublicMemberProperty(int, displayNum); - I_PublicMemberProperty(int, screenNum); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::GraphicsContext::ScreenSettings) - I_DeclaringFile("osg/GraphicsContext"); - I_Constructor0(____ScreenSettings, - "", - ""); - I_ConstructorWithDefaults4(IN, int, width, , IN, int, height, , IN, double, refreshRate, 0, IN, unsigned int, colorDepth, 0, - ____ScreenSettings__int__int__double__unsigned_int, - "", - ""); - I_PublicMemberProperty(int, width); - I_PublicMemberProperty(int, height); - I_PublicMemberProperty(double, refreshRate); - I_PublicMemberProperty(unsigned int, colorDepth); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::GraphicsContext::Traits) - I_DeclaringFile("osg/GraphicsContext"); - I_BaseType(osg::Referenced); - I_BaseType(osg::GraphicsContext::ScreenIdentifier); - I_ConstructorWithDefaults1(IN, osg::DisplaySettings *, ds, 0, - Properties::NON_EXPLICIT, - ____Traits__DisplaySettings_P1, - "", - ""); - I_PublicMemberProperty(int, x); - I_PublicMemberProperty(int, y); - I_PublicMemberProperty(int, width); - I_PublicMemberProperty(int, height); - I_PublicMemberProperty(std::string, windowName); - I_PublicMemberProperty(bool, windowDecoration); - I_PublicMemberProperty(bool, supportsResize); - I_PublicMemberProperty(unsigned int, red); - I_PublicMemberProperty(unsigned int, blue); - I_PublicMemberProperty(unsigned int, green); - I_PublicMemberProperty(unsigned int, alpha); - I_PublicMemberProperty(unsigned int, depth); - I_PublicMemberProperty(unsigned int, stencil); - I_PublicMemberProperty(unsigned int, sampleBuffers); - I_PublicMemberProperty(unsigned int, samples); - I_PublicMemberProperty(bool, pbuffer); - I_PublicMemberProperty(bool, quadBufferStereo); - I_PublicMemberProperty(bool, doubleBuffer); - I_PublicMemberProperty(GLenum, target); - I_PublicMemberProperty(GLenum, format); - I_PublicMemberProperty(unsigned int, level); - I_PublicMemberProperty(unsigned int, face); - I_PublicMemberProperty(unsigned int, mipMapGeneration); - I_PublicMemberProperty(bool, vsync); - I_PublicMemberProperty(bool, useMultiThreadedOpenGLEngine); - I_PublicMemberProperty(bool, useCursor); - I_PublicMemberProperty(std::string, glContextVersion); - I_PublicMemberProperty(unsigned int, glContextFlags); - I_PublicMemberProperty(unsigned int, glContextProfileMask); - I_PublicMemberProperty(osg::GraphicsContext *, sharedContext); - I_PublicMemberProperty(osg::ref_ptr< osg::Referenced >, inheritedWindowData); - I_PublicMemberProperty(bool, setInheritedWindowPixelFormat); - I_PublicMemberProperty(bool, overrideRedirect); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext::WindowingSystemInterface) - I_DeclaringFile("osg/GraphicsContext"); - I_BaseType(osg::Referenced); - I_Constructor0(____WindowingSystemInterface, - "", - ""); - I_MethodWithDefaults1(unsigned int, getNumScreens, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, osg::GraphicsContext::ScreenIdentifier(), - Properties::PURE_VIRTUAL, - __unsigned_int__getNumScreens__C5_ScreenIdentifier_R1, - "", - ""); - I_Method2(void, getScreenSettings, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, IN, osg::GraphicsContext::ScreenSettings &, resolution, - Properties::PURE_VIRTUAL, - __void__getScreenSettings__C5_ScreenIdentifier_R1__ScreenSettings_R1, - "", - ""); - I_Method2(bool, setScreenSettings, IN, const osg::GraphicsContext::ScreenIdentifier &, x, IN, const osg::GraphicsContext::ScreenSettings &, x, - Properties::VIRTUAL, - __bool__setScreenSettings__C5_ScreenIdentifier_R1__C5_ScreenSettings_R1, - "", - ""); - I_Method2(void, enumerateScreenSettings, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, IN, osg::GraphicsContext::ScreenSettingsList &, resolutionList, - Properties::PURE_VIRTUAL, - __void__enumerateScreenSettings__C5_ScreenIdentifier_R1__ScreenSettingsList_R1, - "", - ""); - I_Method1(osg::GraphicsContext *, createGraphicsContext, IN, osg::GraphicsContext::Traits *, traits, - Properties::PURE_VIRTUAL, - __GraphicsContext_P1__createGraphicsContext__Traits_P1, - "", - ""); - I_Method3(void, getScreenResolution, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, IN, unsigned int &, width, IN, unsigned int &, height, - Properties::NON_VIRTUAL, - __void__getScreenResolution__C5_ScreenIdentifier_R1__unsigned_int_R1__unsigned_int_R1, - "Gets screen resolution without using the ScreenResolution structure. ", - ""); - I_Method3(bool, setScreenResolution, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, IN, unsigned int, width, IN, unsigned int, height, - Properties::NON_VIRTUAL, - __bool__setScreenResolution__C5_ScreenIdentifier_R1__unsigned_int__unsigned_int, - "Sets screen resolution without using the ScreenSettings structure. ", - ""); - I_Method2(bool, setScreenRefreshRate, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, IN, double, refreshRate, - Properties::NON_VIRTUAL, - __bool__setScreenRefreshRate__C5_ScreenIdentifier_R1__double, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Operation >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Operation *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Operation > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Operation > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Operation *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Operation *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Operation > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Operation *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::Camera * >) - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::Operation > >) - -STD_VECTOR_REFLECTOR(std::vector< osg::GraphicsContext * >) - -STD_VECTOR_REFLECTOR(std::vector< osg::GraphicsContext::ScreenSettings >) - diff --git a/src/osgWrappers/introspection/osg/GraphicsThread.cpp b/src/osgWrappers/introspection/osg/GraphicsThread.cpp deleted file mode 100644 index ae10c5985..000000000 --- a/src/osgWrappers/introspection/osg/GraphicsThread.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::BarrierOperation::PreBlockOp) - I_DeclaringFile("osg/GraphicsThread"); - I_EnumLabel(osg::BarrierOperation::NO_OPERATION); - I_EnumLabel(osg::BarrierOperation::GL_FLUSH); - I_EnumLabel(osg::BarrierOperation::GL_FINISH); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::BarrierOperation) - I_DeclaringFile("osg/GraphicsThread"); - I_BaseType(osg::Operation); - I_BaseType(OpenThreads::Barrier); - I_ConstructorWithDefaults3(IN, int, numThreads, , IN, osg::BarrierOperation::PreBlockOp, op, osg::BarrierOperation::NO_OPERATION, IN, bool, keep, true, - ____BarrierOperation__int__PreBlockOp__bool, - "", - ""); - I_Method0(void, release, - Properties::VIRTUAL, - __void__release, - "Release the barrier, now. ", - ""); - I_PublicMemberProperty(osg::BarrierOperation::PreBlockOp, _preBlockOp); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::BlockAndFlushOperation) - I_DeclaringFile("osg/GraphicsThread"); - I_BaseType(osg::GraphicsOperation); - I_BaseType(OpenThreads::Block); - I_Constructor0(____BlockAndFlushOperation, - "", - ""); - I_Method0(void, release, - Properties::VIRTUAL, - __void__release, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::EndOfDynamicDrawBlock) - I_DeclaringFile("osg/GraphicsThread"); - I_BaseType(OpenThreads::BlockCount); - I_BaseType(osg::State::DynamicObjectRenderingCompletedCallback); - I_Constructor1(IN, unsigned, int, - Properties::NON_EXPLICIT, - ____EndOfDynamicDrawBlock__unsigned, - "", - ""); - I_Method1(void, completed, IN, osg::State *, state, - Properties::VIRTUAL, - __void__completed__osg_State_P1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::FlushDeletedGLObjectsOperation) - I_DeclaringFile("osg/GraphicsThread"); - I_BaseType(osg::GraphicsOperation); - I_ConstructorWithDefaults2(IN, double, availableTime, , IN, bool, keep, false, - ____FlushDeletedGLObjectsOperation__double__bool, - "", - ""); - I_PublicMemberProperty(double, _availableTime); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsOperation) - I_DeclaringFile("osg/GraphicsThread"); - I_BaseType(osg::Operation); - I_Constructor2(IN, const std::string &, name, IN, bool, keep, - ____GraphicsOperation__C5_std_string_R1__bool, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::GraphicsThread) - I_DeclaringFile("osg/GraphicsThread"); - I_BaseType(osg::OperationThread); - I_Constructor0(____GraphicsThread, - "", - ""); - I_Method0(void, run, - Properties::VIRTUAL, - __void__run, - "Run does the graphics thread run loop. ", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::ReleaseContext_Block_MakeCurrentOperation) - I_DeclaringFile("osg/GraphicsThread"); - I_BaseType(osg::GraphicsOperation); - I_BaseType(osg::RefBlock); - I_Constructor0(____ReleaseContext_Block_MakeCurrentOperation, - "", - ""); - I_Method0(void, release, - Properties::VIRTUAL, - __void__release, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::RunOperations) - I_DeclaringFile("osg/GraphicsThread"); - I_BaseType(osg::GraphicsOperation); - I_Constructor0(____RunOperations, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::SwapBuffersOperation) - I_DeclaringFile("osg/GraphicsThread"); - I_BaseType(osg::GraphicsOperation); - I_Constructor0(____SwapBuffersOperation, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Group.cpp b/src/osgWrappers/introspection/osg/Group.cpp deleted file mode 100644 index 19e218af2..000000000 --- a/src/osgWrappers/introspection/osg/Group.cpp +++ /dev/null @@ -1,238 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Group) - I_DeclaringFile("osg/Group"); - I_BaseType(osg::Node); - I_Constructor0(____Group, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Group &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Group__C5_Group_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(osg::Group *, asGroup, - Properties::VIRTUAL, - __Group_P1__asGroup, - "convert 'this' into a Group pointer if Node is a Group, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(const osg::Group *, asGroup, - Properties::VIRTUAL, - __C5_Group_P1__asGroup, - "convert 'const this' into a const Group pointer if Node is a Group, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(bool, addChild, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__addChild__Node_P1, - "Add Node to Group. ", - "If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. "); - I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__insertChild__unsigned_int__Node_P1, - "Insert Node to Group at specific location. ", - "The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation. "); - I_Method1(bool, removeChild, IN, osg::Node *, child, - Properties::NON_VIRTUAL, - __bool__removeChild__Node_P1, - "Remove Node from Group. ", - "If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required. "); - I_MethodWithDefaults2(bool, removeChild, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1, - Properties::NON_VIRTUAL, - __bool__removeChild__unsigned_int__unsigned_int, - "Remove Node from Group. ", - "If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required. "); - I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove, - Properties::VIRTUAL, - __bool__removeChildren__unsigned_int__unsigned_int, - "Remove children from Group. ", - "Note, must be override by subclasses of Group which add per child attributes. "); - I_Method2(bool, replaceChild, IN, osg::Node *, origChild, IN, osg::Node *, newChild, - Properties::VIRTUAL, - __bool__replaceChild__Node_P1__Node_P1, - "Replace specified Node with another Node. ", - "Equivalent to setChild(getChildIndex(orignChild),node) See docs for setChild for further details on implementation. "); - I_Method0(unsigned int, getNumChildren, - Properties::NON_VIRTUAL, - __unsigned_int__getNumChildren, - "Return the number of children nodes. ", - ""); - I_Method2(bool, setChild, IN, unsigned int, i, IN, osg::Node *, node, - Properties::VIRTUAL, - __bool__setChild__unsigned_int__Node_P1, - "Set child node at position i. ", - "Return true if set correctly, false on failure (if node==NULL || i is out of range). When Set can be successful applied, the algorithm is : decrement the reference count origNode and increment the reference count of newNode, and dirty the bounding sphere to force it to recompute on next getBound() and return true. If origNode is not found then return false and do not add newNode. If newNode is NULL then return false and do not remove origNode. Also returns false if newChild is a Scene node. "); - I_Method1(osg::Node *, getChild, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Node_P1__getChild__unsigned_int, - "Return child node at position i. ", - ""); - I_Method1(const osg::Node *, getChild, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Node_P1__getChild__unsigned_int, - "Return child node at position i. ", - ""); - I_Method1(bool, containsNode, IN, const osg::Node *, node, - Properties::NON_VIRTUAL, - __bool__containsNode__C5_Node_P1, - "Return true if node is contained within Group. ", - ""); - I_Method1(unsigned int, getChildIndex, IN, const osg::Node *, node, - Properties::NON_VIRTUAL, - __unsigned_int__getChildIndex__C5_Node_P1, - "Get the index number of child, return a value between 0 and _children.size()-1 if found, if not found then return _children.size(). ", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "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(). "); - I_ProtectedMethod2(void, childRemoved, IN, unsigned, int, IN, unsigned, int, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__childRemoved__unsigned__unsigned, - "", - ""); - I_ProtectedMethod1(void, childInserted, IN, unsigned, int, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__childInserted__unsigned, - "", - ""); - I_ArrayProperty(osg::Node *, Child, - __Node_P1__getChild__unsigned_int, - __bool__setChild__unsigned_int__Node_P1, - __unsigned_int__getNumChildren, - __bool__addChild__Node_P1, - __bool__insertChild__unsigned_int__Node_P1, - __bool__removeChild__unsigned_int__unsigned_int); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Node > >, osg::NodeList) - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Node >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Node *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Node > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Node > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Node *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Node *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Node > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Node *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Node > >) - diff --git a/src/osgWrappers/introspection/osg/Hint.cpp b/src/osgWrappers/introspection/osg/Hint.cpp deleted file mode 100644 index 1a7bd8d1b..000000000 --- a/src/osgWrappers/introspection/osg/Hint.cpp +++ /dev/null @@ -1,121 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Hint) - I_DeclaringFile("osg/Hint"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Hint, - "", - ""); - I_Constructor2(IN, GLenum, target, IN, GLenum, mode, - ____Hint__GLenum__GLenum, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Hint &, hint, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Hint__C5_Hint_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(unsigned int, getMember, - Properties::VIRTUAL, - __unsigned_int__getMember, - "Return the member identifier within the attribute's class type. ", - "Used for light number/clip plane number etc. "); - I_Method1(void, setTarget, IN, GLenum, target, - Properties::NON_VIRTUAL, - __void__setTarget__GLenum, - "", - ""); - I_Method0(GLenum, getTarget, - Properties::NON_VIRTUAL, - __GLenum__getTarget, - "", - ""); - I_Method1(void, setMode, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__setMode__GLenum, - "", - ""); - I_Method0(GLenum, getMode, - Properties::NON_VIRTUAL, - __GLenum__getMode, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(unsigned int, Member, - __unsigned_int__getMember, - 0); - I_SimpleProperty(GLenum, Mode, - __GLenum__getMode, - __void__setMode__GLenum); - I_SimpleProperty(GLenum, Target, - __GLenum__getTarget, - __void__setTarget__GLenum); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Image.cpp b/src/osgWrappers/introspection/osg/Image.cpp deleted file mode 100644 index 92327f436..000000000 --- a/src/osgWrappers/introspection/osg/Image.cpp +++ /dev/null @@ -1,523 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Image::WriteHint) - I_DeclaringFile("osg/Image"); - I_EnumLabel(osg::Image::NO_PREFERENCE); - I_EnumLabel(osg::Image::STORE_INLINE); - I_EnumLabel(osg::Image::EXTERNAL_FILE); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Image::AllocationMode) - I_DeclaringFile("osg/Image"); - I_EnumLabel(osg::Image::NO_DELETE); - I_EnumLabel(osg::Image::USE_NEW_DELETE); - I_EnumLabel(osg::Image::USE_MALLOC_FREE); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Image::Origin) - I_DeclaringFile("osg/Image"); - I_EnumLabel(osg::Image::BOTTOM_LEFT); - I_EnumLabel(osg::Image::TOP_LEFT); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< unsigned int >, osg::Image::MipmapDataType) - -BEGIN_OBJECT_REFLECTOR(osg::Image) - I_DeclaringFile("osg/Image"); - I_BaseType(osg::BufferData); - I_Constructor0(____Image, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Image &, image, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Image__C5_Image_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method1(int, compare, IN, const osg::Image &, rhs, - Properties::VIRTUAL, - __int__compare__C5_Image_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setFileName, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __void__setFileName__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getFileName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getFileName, - "", - ""); - I_Method1(void, setWriteHint, IN, osg::Image::WriteHint, writeHint, - Properties::NON_VIRTUAL, - __void__setWriteHint__WriteHint, - "", - ""); - I_Method0(osg::Image::WriteHint, getWriteHint, - Properties::NON_VIRTUAL, - __WriteHint__getWriteHint, - "", - ""); - I_Method1(void, setAllocationMode, IN, osg::Image::AllocationMode, mode, - Properties::NON_VIRTUAL, - __void__setAllocationMode__AllocationMode, - "Set the method used for deleting data once it goes out of scope. ", - ""); - I_Method0(osg::Image::AllocationMode, getAllocationMode, - Properties::NON_VIRTUAL, - __AllocationMode__getAllocationMode, - "Get the method used for deleting data once it goes out of scope. ", - ""); - I_MethodWithDefaults6(void, allocateImage, IN, int, s, , IN, int, t, , IN, int, r, , IN, GLenum, pixelFormat, , IN, GLenum, type, , IN, int, packing, 1, - Properties::VIRTUAL, - __void__allocateImage__int__int__int__GLenum__GLenum__int, - "Allocate a pixel block of specified size and type. ", - ""); - I_MethodWithDefaults9(void, setImage, IN, int, s, , IN, int, t, , IN, int, r, , IN, GLint, internalTextureformat, , IN, GLenum, pixelFormat, , IN, GLenum, type, , IN, unsigned char *, data, , IN, osg::Image::AllocationMode, mode, , IN, int, packing, 1, - Properties::VIRTUAL, - __void__setImage__int__int__int__GLint__GLenum__GLenum__unsigned_char_P1__AllocationMode__int, - "Set the image dimensions, format and data. ", - ""); - I_Method6(void, readPixels, IN, int, x, IN, int, y, IN, int, width, IN, int, height, IN, GLenum, pixelFormat, IN, GLenum, type, - Properties::VIRTUAL, - __void__readPixels__int__int__int__int__GLenum__GLenum, - "Read pixels from current frame buffer at specified position and size, using glReadPixels. ", - "Create memory for storage if required, reuse existing pixel coords if possible. "); - I_MethodWithDefaults3(void, readImageFromCurrentTexture, IN, unsigned int, contextID, , IN, bool, copyMipMapsIfAvailable, , IN, GLenum, type, GL_UNSIGNED_BYTE, - Properties::VIRTUAL, - __void__readImageFromCurrentTexture__unsigned_int__bool__GLenum, - "Read the contents of the current bound texture, handling compressed pixelFormats if present. ", - "Create memory for storage if required, reuse existing pixel coords if possible. "); - I_Method3(void, scaleImage, IN, int, s, IN, int, t, IN, int, r, - Properties::NON_VIRTUAL, - __void__scaleImage__int__int__int, - "Scale image to specified size. ", - "The method uses gluScaleImage() and thus needs a valid rendering context. "); - I_Method4(void, scaleImage, IN, int, s, IN, int, t, IN, int, r, IN, GLenum, newDataType, - Properties::VIRTUAL, - __void__scaleImage__int__int__int__GLenum, - "Scale image to specified size and with specified data type. ", - "The method uses gluScaleImage() and thus needs a valid rendering context. "); - I_Method4(void, copySubImage, IN, int, s_offset, IN, int, t_offset, IN, int, r_offset, IN, const osg::Image *, source, - Properties::VIRTUAL, - __void__copySubImage__int__int__int__C5_osg_Image_P1, - "Copy a source Image into a subpart of this Image at specified position. ", - "Typically used to copy to an already allocated image, such as creating a 3D image from a stack 2D images. If this Image is empty then image data is created to accomodate the source image in its offset position. If source is NULL then no operation happens, this Image is left unchanged. "); - I_Method1(void, setOrigin, IN, osg::Image::Origin, origin, - Properties::NON_VIRTUAL, - __void__setOrigin__Origin, - "Set the origin of the image. ", - "The default value is BOTTOM_LEFT and is consistent with OpenGL. TOP_LEFT is used for imagery that follows standard Imagery convention, such as movies, and hasn't been flipped yet. For such images one much flip the t axis of the tex coords. to handle this origin position. "); - I_Method0(osg::Image::Origin, getOrigin, - Properties::NON_VIRTUAL, - __Origin__getOrigin, - "Get the origin of the image. ", - ""); - I_Method0(int, s, - Properties::NON_VIRTUAL, - __int__s, - "Width of image. ", - ""); - I_Method0(int, t, - Properties::NON_VIRTUAL, - __int__t, - "Height of image. ", - ""); - I_Method0(int, r, - Properties::NON_VIRTUAL, - __int__r, - "Depth of image. ", - ""); - I_Method1(void, setInternalTextureFormat, IN, GLint, internalFormat, - Properties::NON_VIRTUAL, - __void__setInternalTextureFormat__GLint, - "", - ""); - I_Method0(GLint, getInternalTextureFormat, - Properties::NON_VIRTUAL, - __GLint__getInternalTextureFormat, - "", - ""); - I_Method1(void, setPixelFormat, IN, GLenum, pixelFormat, - Properties::NON_VIRTUAL, - __void__setPixelFormat__GLenum, - "", - ""); - I_Method0(GLenum, getPixelFormat, - Properties::NON_VIRTUAL, - __GLenum__getPixelFormat, - "", - ""); - I_Method1(void, setDataType, IN, GLenum, dataType, - Properties::NON_VIRTUAL, - __void__setDataType__GLenum, - "", - ""); - I_Method0(GLenum, getDataType, - Properties::NON_VIRTUAL, - __GLenum__getDataType, - "", - ""); - I_Method1(void, setPacking, IN, unsigned int, packing, - Properties::NON_VIRTUAL, - __void__setPacking__unsigned_int, - "", - ""); - I_Method0(unsigned int, getPacking, - Properties::NON_VIRTUAL, - __unsigned_int__getPacking, - "", - ""); - I_Method1(void, setPixelAspectRatio, IN, float, pixelAspectRatio, - Properties::NON_VIRTUAL, - __void__setPixelAspectRatio__float, - "Set the pixel aspect ratio, defined as the pixel width divided by the pixel height. ", - ""); - I_Method0(float, getPixelAspectRatio, - Properties::NON_VIRTUAL, - __float__getPixelAspectRatio, - "Get the pixel aspect ratio. ", - ""); - I_Method0(unsigned int, getPixelSizeInBits, - Properties::NON_VIRTUAL, - __unsigned_int__getPixelSizeInBits, - "Return the number of bits required for each pixel. ", - ""); - I_Method0(unsigned int, getRowSizeInBytes, - Properties::NON_VIRTUAL, - __unsigned_int__getRowSizeInBytes, - "Return the number of bytes each row of pixels occupies once it has been packed. ", - ""); - I_Method0(unsigned int, getImageSizeInBytes, - Properties::NON_VIRTUAL, - __unsigned_int__getImageSizeInBytes, - "Return the number of bytes each image (_s*_t) of pixels occupies. ", - ""); - I_Method0(unsigned int, getTotalSizeInBytes, - Properties::NON_VIRTUAL, - __unsigned_int__getTotalSizeInBytes, - "Return the number of bytes the whole row/image/volume of pixels occupies. ", - ""); - I_Method0(unsigned int, getTotalSizeInBytesIncludingMipmaps, - Properties::NON_VIRTUAL, - __unsigned_int__getTotalSizeInBytesIncludingMipmaps, - "Return the number of bytes the whole row/image/volume of pixels occupies, including all mip maps if included. ", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "Return true if the Image represent a valid and usable imagery. ", - ""); - I_Method0(unsigned char *, data, - Properties::NON_VIRTUAL, - __unsigned_char_P1__data, - "Raw image data. ", - ""); - I_Method0(const unsigned char *, data, - Properties::NON_VIRTUAL, - __C5_unsigned_char_P1__data, - "Raw const image data. ", - ""); - I_MethodWithDefaults3(unsigned char *, data, IN, int, column, , IN, int, row, 0, IN, int, image, 0, - Properties::NON_VIRTUAL, - __unsigned_char_P1__data__int__int__int, - "", - ""); - I_MethodWithDefaults3(const unsigned char *, data, IN, int, column, , IN, int, row, 0, IN, int, image, 0, - Properties::NON_VIRTUAL, - __C5_unsigned_char_P1__data__int__int__int, - "", - ""); - I_MethodWithDefaults3(osg::Vec4, getColor, IN, unsigned int, s, , IN, unsigned, t, 0, IN, unsigned, r, 0, - Properties::NON_VIRTUAL, - __Vec4__getColor__unsigned_int__unsigned__unsigned, - "Get the color value for specified texcoord. ", - ""); - I_Method1(osg::Vec4, getColor, IN, const osg::Vec2 &, texcoord, - Properties::NON_VIRTUAL, - __Vec4__getColor__C5_Vec2_R1, - "Get the color value for specified texcoord. ", - ""); - I_Method1(osg::Vec4, getColor, IN, const osg::Vec3 &, texcoord, - Properties::NON_VIRTUAL, - __Vec4__getColor__C5_Vec3_R1, - "Get the color value for specified texcoord. ", - ""); - I_Method0(void, flipHorizontal, - Properties::NON_VIRTUAL, - __void__flipHorizontal, - "Flip the image horizontally. ", - ""); - I_Method0(void, flipVertical, - Properties::NON_VIRTUAL, - __void__flipVertical, - "Flip the image vertically. ", - ""); - I_Method1(void, ensureValidSizeForTexturing, IN, GLint, maxTextureSize, - Properties::NON_VIRTUAL, - __void__ensureValidSizeForTexturing__GLint, - "Ensure image dimensions are a power of two. ", - "Mipmapped textures require the image dimensions to be power of two and are within the maxiumum texture size for the host machine. "); - I_Method0(bool, isMipmap, - Properties::NON_VIRTUAL, - __bool__isMipmap, - "", - ""); - I_Method0(unsigned int, getNumMipmapLevels, - Properties::NON_VIRTUAL, - __unsigned_int__getNumMipmapLevels, - "", - ""); - I_Method1(void, setMipmapLevels, IN, const osg::Image::MipmapDataType &, mipmapDataVector, - Properties::NON_VIRTUAL, - __void__setMipmapLevels__C5_MipmapDataType_R1, - "Send offsets into data. ", - "It is assumed that first mipmap offset (index 0) is 0. "); - I_Method0(const osg::Image::MipmapDataType &, getMipmapLevels, - Properties::NON_VIRTUAL, - __C5_MipmapDataType_R1__getMipmapLevels, - "", - ""); - I_Method1(unsigned int, getMipmapOffset, IN, unsigned int, mipmapLevel, - Properties::NON_VIRTUAL, - __unsigned_int__getMipmapOffset__unsigned_int, - "", - ""); - I_Method1(unsigned char *, getMipmapData, IN, unsigned int, mipmapLevel, - Properties::NON_VIRTUAL, - __unsigned_char_P1__getMipmapData__unsigned_int, - "", - ""); - I_Method1(const unsigned char *, getMipmapData, IN, unsigned int, mipmapLevel, - Properties::NON_VIRTUAL, - __C5_unsigned_char_P1__getMipmapData__unsigned_int, - "", - ""); - I_Method0(bool, isImageTranslucent, - Properties::VIRTUAL, - __bool__isImageTranslucent, - "Return true if this image is translucent - i.e. ", - "it has alpha values that are less 1.0 (when normalized). "); - I_Method1(void, setPixelBufferObject, IN, osg::PixelBufferObject *, buffer, - Properties::NON_VIRTUAL, - __void__setPixelBufferObject__PixelBufferObject_P1, - "Set the optional PixelBufferObject used to map the image memory efficiently to graphics memory. ", - ""); - I_Method0(osg::PixelBufferObject *, getPixelBufferObject, - Properties::NON_VIRTUAL, - __PixelBufferObject_P1__getPixelBufferObject, - "Get the PixelBufferObject. ", - ""); - I_Method0(const osg::PixelBufferObject *, getPixelBufferObject, - Properties::NON_VIRTUAL, - __C5_PixelBufferObject_P1__getPixelBufferObject, - "Get the const PixelBufferObject. ", - ""); - I_Method0(bool, requiresUpdateCall, - Properties::VIRTUAL, - __bool__requiresUpdateCall, - "return whether the update(NodeVisitor* nv) should be required on each frame to enable proper working of osg::Image. ", - ""); - I_Method1(void, update, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __void__update__NodeVisitor_P1, - "update method for osg::Image subclasses that update themselves during the update traversal. ", - ""); - I_Method1(bool, sendFocusHint, IN, bool, focus, - Properties::VIRTUAL, - __bool__sendFocusHint__bool, - "method for hinting whether to enable or disable focus to images acting as front ends to interactive surfaces such as a vnc or browser window. ", - "Return true if handled. "); - I_Method3(bool, sendPointerEvent, IN, int, x, IN, int, x, IN, int, x, - Properties::VIRTUAL, - __bool__sendPointerEvent__int__int__int, - "method for sending pointer events to images that are acting as front ends to interactive surfaces such as a vnc or browser window. ", - "Return true if handled. "); - I_Method2(bool, sendKeyEvent, IN, int, x, IN, bool, x, - Properties::VIRTUAL, - __bool__sendKeyEvent__int__bool, - "method for sending key events to images that are acting as front ends to interactive surfaces such as a vnc or browser window. ", - "Return true if handled. "); - I_Method1(void, setFrameLastRendered, IN, const osg::FrameStamp *, x, - Properties::VIRTUAL, - __void__setFrameLastRendered__C5_osg_FrameStamp_P1, - "method for passing frame information to the custom Image classes, to be called only when objects associated with imagery are not culled. ", - ""); - I_StaticMethod1(bool, isPackedType, IN, GLenum, type, - __bool__isPackedType__GLenum_S, - "", - ""); - I_StaticMethod1(GLenum, computePixelFormat, IN, GLenum, pixelFormat, - __GLenum__computePixelFormat__GLenum_S, - "", - ""); - I_StaticMethod1(GLenum, computeFormatDataType, IN, GLenum, pixelFormat, - __GLenum__computeFormatDataType__GLenum_S, - "", - ""); - I_StaticMethod1(unsigned int, computeNumComponents, IN, GLenum, pixelFormat, - __unsigned_int__computeNumComponents__GLenum_S, - "", - ""); - I_StaticMethod2(unsigned int, computePixelSizeInBits, IN, GLenum, pixelFormat, IN, GLenum, type, - __unsigned_int__computePixelSizeInBits__GLenum__GLenum_S, - "", - ""); - I_StaticMethod4(unsigned int, computeRowWidthInBytes, IN, int, width, IN, GLenum, pixelFormat, IN, GLenum, type, IN, int, packing, - __unsigned_int__computeRowWidthInBytes__int__GLenum__GLenum__int_S, - "", - ""); - I_StaticMethodWithDefaults2(int, computeNearestPowerOfTwo, IN, int, s, , IN, float, bias, 0.5f, - __int__computeNearestPowerOfTwo__int__float_S, - "", - ""); - I_StaticMethodWithDefaults3(int, computeNumberOfMipmapLevels, IN, int, s, , IN, int, t, 1, IN, int, r, 1, - __int__computeNumberOfMipmapLevels__int__int__int_S, - "", - ""); - I_ProtectedMethod0(void, deallocateData, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__deallocateData, - "", - ""); - I_ProtectedMethod2(void, setData, IN, unsigned char *, data, IN, osg::Image::AllocationMode, allocationMode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setData__unsigned_char_P1__AllocationMode, - "", - ""); - I_SimpleProperty(osg::Image::AllocationMode, AllocationMode, - __AllocationMode__getAllocationMode, - __void__setAllocationMode__AllocationMode); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(GLenum, DataType, - __GLenum__getDataType, - __void__setDataType__GLenum); - I_SimpleProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName, - __void__setFileName__C5_std_string_R1); - I_SimpleProperty(const osg::FrameStamp *, FrameLastRendered, - 0, - __void__setFrameLastRendered__C5_osg_FrameStamp_P1); - I_SimpleProperty(unsigned int, ImageSizeInBytes, - __unsigned_int__getImageSizeInBytes, - 0); - I_SimpleProperty(GLint, InternalTextureFormat, - __GLint__getInternalTextureFormat, - __void__setInternalTextureFormat__GLint); - I_SimpleProperty(const osg::Image::MipmapDataType &, MipmapLevels, - __C5_MipmapDataType_R1__getMipmapLevels, - __void__setMipmapLevels__C5_MipmapDataType_R1); - I_SimpleProperty(osg::Image::Origin, Origin, - __Origin__getOrigin, - __void__setOrigin__Origin); - I_SimpleProperty(unsigned int, Packing, - __unsigned_int__getPacking, - __void__setPacking__unsigned_int); - I_SimpleProperty(float, PixelAspectRatio, - __float__getPixelAspectRatio, - __void__setPixelAspectRatio__float); - I_SimpleProperty(osg::PixelBufferObject *, PixelBufferObject, - __PixelBufferObject_P1__getPixelBufferObject, - __void__setPixelBufferObject__PixelBufferObject_P1); - I_SimpleProperty(GLenum, PixelFormat, - __GLenum__getPixelFormat, - __void__setPixelFormat__GLenum); - I_SimpleProperty(unsigned int, PixelSizeInBits, - __unsigned_int__getPixelSizeInBits, - 0); - I_SimpleProperty(unsigned int, RowSizeInBytes, - __unsigned_int__getRowSizeInBytes, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); - I_SimpleProperty(unsigned int, TotalSizeInBytes, - __unsigned_int__getTotalSizeInBytes, - 0); - I_SimpleProperty(unsigned int, TotalSizeInBytesIncludingMipmaps, - __unsigned_int__getTotalSizeInBytesIncludingMipmaps, - 0); - I_SimpleProperty(osg::Image::WriteHint, WriteHint, - __WriteHint__getWriteHint, - __void__setWriteHint__WriteHint); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Image::UpdateCallback) - I_DeclaringFile("osg/Image"); - I_BaseType(osg::StateAttributeCallback); - I_Constructor0(____UpdateCallback, - "", - ""); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< unsigned int >) - diff --git a/src/osgWrappers/introspection/osg/ImageSequence.cpp b/src/osgWrappers/introspection/osg/ImageSequence.cpp deleted file mode 100644 index fb46179c7..000000000 --- a/src/osgWrappers/introspection/osg/ImageSequence.cpp +++ /dev/null @@ -1,326 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::ImageSequence::Mode) - I_DeclaringFile("osg/ImageSequence"); - I_EnumLabel(osg::ImageSequence::PRE_LOAD_ALL_IMAGES); - I_EnumLabel(osg::ImageSequence::PAGE_AND_RETAIN_IMAGES); - I_EnumLabel(osg::ImageSequence::PAGE_AND_DISCARD_USED_IMAGES); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Image > >, osg::ImageSequence::Images) - -TYPE_NAME_ALIAS(std::vector< std::string >, osg::ImageSequence::FileNames) - -BEGIN_OBJECT_REFLECTOR(osg::ImageSequence) - I_DeclaringFile("osg/ImageSequence"); - I_BaseType(osg::ImageStream); - I_Constructor0(____ImageSequence, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ImageSequence &, ImageSequence, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ImageSequence__C5_ImageSequence_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(int, compare, IN, const osg::Image &, rhs, - Properties::VIRTUAL, - __int__compare__C5_Image_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setReferenceTime, IN, double, t, - Properties::VIRTUAL, - __void__setReferenceTime__double, - "", - ""); - I_Method0(double, getReferenceTime, - Properties::VIRTUAL, - __double__getReferenceTime, - "", - ""); - I_Method1(void, setTimeMultiplier, IN, double, tm, - Properties::VIRTUAL, - __void__setTimeMultiplier__double, - "", - ""); - I_Method0(double, getTimeMultiplier, - Properties::VIRTUAL, - __double__getTimeMultiplier, - "", - ""); - I_Method1(void, seek, IN, double, time, - Properties::VIRTUAL, - __void__seek__double, - "", - ""); - I_Method0(void, play, - Properties::VIRTUAL, - __void__play, - "", - ""); - I_Method0(void, pause, - Properties::VIRTUAL, - __void__pause, - "", - ""); - I_Method0(void, rewind, - Properties::VIRTUAL, - __void__rewind, - "", - ""); - I_Method1(void, setMode, IN, osg::ImageSequence::Mode, mode, - Properties::NON_VIRTUAL, - __void__setMode__Mode, - "", - ""); - I_Method0(osg::ImageSequence::Mode, getMode, - Properties::NON_VIRTUAL, - __Mode__getMode, - "", - ""); - I_Method1(void, setLength, IN, double, length, - Properties::NON_VIRTUAL, - __void__setLength__double, - "", - ""); - I_Method0(double, getLength, - Properties::VIRTUAL, - __double__getLength, - "", - ""); - I_Method1(void, addImageFile, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __void__addImageFile__C5_std_string_R1, - "", - ""); - I_Method2(void, setImageFile, IN, unsigned int, pos, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __void__setImageFile__unsigned_int__C5_std_string_R1, - "", - ""); - I_Method1(std::string, getImageFile, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __std_string__getImageFile__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumImageFiles, - Properties::NON_VIRTUAL, - __unsigned_int__getNumImageFiles, - "", - ""); - I_Method0(osg::ImageSequence::FileNames &, getFileNames, - Properties::NON_VIRTUAL, - __FileNames_R1__getFileNames, - "", - ""); - I_Method0(const osg::ImageSequence::FileNames &, getFileNames, - Properties::NON_VIRTUAL, - __C5_FileNames_R1__getFileNames, - "", - ""); - I_Method1(void, addImage, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__addImage__osg_Image_P1, - "", - ""); - I_MethodWithDefaults9(void, setImage, IN, int, s, , IN, int, t, , IN, int, r, , IN, GLint, internalTextureformat, , IN, GLenum, pixelFormat, , IN, GLenum, type, , IN, unsigned char *, data, , IN, osg::Image::AllocationMode, mode, , IN, int, packing, 1, - Properties::VIRTUAL, - __void__setImage__int__int__int__GLint__GLenum__GLenum__unsigned_char_P1__AllocationMode__int, - "Set the image dimensions, format and data. ", - ""); - I_Method2(void, setImage, IN, unsigned int, pos, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__setImage__unsigned_int__osg_Image_P1, - "", - ""); - I_Method1(osg::Image *, getImage, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __Image_P1__getImage__unsigned_int, - "", - ""); - I_Method1(const osg::Image *, getImage, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __C5_Image_P1__getImage__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumImages, - Properties::NON_VIRTUAL, - __unsigned_int__getNumImages, - "", - ""); - I_Method0(osg::ImageSequence::Images &, getImages, - Properties::NON_VIRTUAL, - __Images_R1__getImages, - "", - ""); - I_Method0(const osg::ImageSequence::Images &, getImages, - Properties::NON_VIRTUAL, - __C5_Images_R1__getImages, - "", - ""); - I_Method0(bool, requiresUpdateCall, - Properties::VIRTUAL, - __bool__requiresUpdateCall, - "ImageSequence requires a call to update(NodeVisitor*) during the update traversal so return true. ", - ""); - I_Method1(void, update, IN, osg::NodeVisitor *, nv, - Properties::VIRTUAL, - __void__update__NodeVisitor_P1, - "update method for osg::Image subclasses that update themselves during the update traversal. ", - ""); - I_ProtectedMethod0(void, applyLoopingMode, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__applyLoopingMode, - "", - ""); - I_ProtectedMethod1(void, setImageToChild, IN, const osg::Image *, image, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setImageToChild__C5_osg_Image_P1, - "", - ""); - I_ProtectedMethod0(void, computeTimePerImage, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computeTimePerImage, - "", - ""); - I_ProtectedMethod1(int, imageIndex, IN, double, time, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __int__imageIndex__double, - "", - ""); - I_SimpleProperty(osg::ImageSequence::FileNames &, FileNames, - __FileNames_R1__getFileNames, - 0); - I_ArrayProperty(osg::Image *, Image, - __Image_P1__getImage__unsigned_int, - __void__setImage__unsigned_int__osg_Image_P1, - __unsigned_int__getNumImages, - __void__addImage__osg_Image_P1, - 0, - 0); - I_ArrayProperty(std::string, ImageFile, - __std_string__getImageFile__unsigned_int, - __void__setImageFile__unsigned_int__C5_std_string_R1, - __unsigned_int__getNumImageFiles, - 0, - 0, - 0); - I_SimpleProperty(osg::ImageSequence::Images &, Images, - __Images_R1__getImages, - 0); - I_SimpleProperty(double, Length, - __double__getLength, - __void__setLength__double); - I_SimpleProperty(osg::ImageSequence::Mode, Mode, - __Mode__getMode, - __void__setMode__Mode); - I_SimpleProperty(double, ReferenceTime, - __double__getReferenceTime, - __void__setReferenceTime__double); - I_SimpleProperty(double, TimeMultiplier, - __double__getTimeMultiplier, - __void__setTimeMultiplier__double); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Image >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Image *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Image > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Image > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Image *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Image *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Image > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Image *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Image > >) - -STD_VECTOR_REFLECTOR(std::vector< std::string >) - diff --git a/src/osgWrappers/introspection/osg/ImageStream.cpp b/src/osgWrappers/introspection/osg/ImageStream.cpp deleted file mode 100644 index 98147aca1..000000000 --- a/src/osgWrappers/introspection/osg/ImageStream.cpp +++ /dev/null @@ -1,258 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::ImageStream::StreamStatus) - I_DeclaringFile("osg/ImageStream"); - I_EnumLabel(osg::ImageStream::INVALID); - I_EnumLabel(osg::ImageStream::PLAYING); - I_EnumLabel(osg::ImageStream::PAUSED); - I_EnumLabel(osg::ImageStream::REWINDING); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::ImageStream::LoopingMode) - I_DeclaringFile("osg/ImageStream"); - I_EnumLabel(osg::ImageStream::NO_LOOPING); - I_EnumLabel(osg::ImageStream::LOOPING); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::AudioStream > >, osg::ImageStream::AudioStreams) - -BEGIN_OBJECT_REFLECTOR(osg::ImageStream) - I_DeclaringFile("osg/ImageStream"); - I_BaseType(osg::Image); - I_Constructor0(____ImageStream, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ImageStream &, image, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ImageStream__C5_ImageStream_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(int, compare, IN, const osg::Image &, rhs, - Properties::VIRTUAL, - __int__compare__C5_Image_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, seek, IN, double, x, - Properties::VIRTUAL, - __void__seek__double, - "", - ""); - I_Method0(void, play, - Properties::VIRTUAL, - __void__play, - "", - ""); - I_Method0(void, pause, - Properties::VIRTUAL, - __void__pause, - "", - ""); - I_Method0(void, rewind, - Properties::VIRTUAL, - __void__rewind, - "", - ""); - I_MethodWithDefaults1(void, quit, IN, bool, x, true, - Properties::VIRTUAL, - __void__quit__bool, - "", - ""); - I_Method0(osg::ImageStream::StreamStatus, getStatus, - Properties::NON_VIRTUAL, - __StreamStatus__getStatus, - "", - ""); - I_Method1(void, setLoopingMode, IN, osg::ImageStream::LoopingMode, mode, - Properties::NON_VIRTUAL, - __void__setLoopingMode__LoopingMode, - "", - ""); - I_Method0(osg::ImageStream::LoopingMode, getLoopingMode, - Properties::NON_VIRTUAL, - __LoopingMode__getLoopingMode, - "", - ""); - I_Method0(double, getLength, - Properties::VIRTUAL, - __double__getLength, - "", - ""); - I_Method0(double, getFrameRate, - Properties::VIRTUAL, - __double__getFrameRate, - "", - ""); - I_Method1(void, setReferenceTime, IN, double, x, - Properties::VIRTUAL, - __void__setReferenceTime__double, - "", - ""); - I_Method0(double, getReferenceTime, - Properties::VIRTUAL, - __double__getReferenceTime, - "", - ""); - I_Method1(void, setTimeMultiplier, IN, double, x, - Properties::VIRTUAL, - __void__setTimeMultiplier__double, - "", - ""); - I_Method0(double, getTimeMultiplier, - Properties::VIRTUAL, - __double__getTimeMultiplier, - "", - ""); - I_Method1(void, setVolume, IN, float, x, - Properties::VIRTUAL, - __void__setVolume__float, - "", - ""); - I_Method0(float, getVolume, - Properties::VIRTUAL, - __float__getVolume, - "", - ""); - I_Method1(void, setAudioStreams, IN, const osg::ImageStream::AudioStreams &, asl, - Properties::NON_VIRTUAL, - __void__setAudioStreams__C5_AudioStreams_R1, - "", - ""); - I_Method0(osg::ImageStream::AudioStreams &, getAudioStreams, - Properties::NON_VIRTUAL, - __AudioStreams_R1__getAudioStreams, - "", - ""); - I_Method0(const osg::ImageStream::AudioStreams &, getAudioStreams, - Properties::NON_VIRTUAL, - __C5_AudioStreams_R1__getAudioStreams, - "", - ""); - I_ProtectedMethod0(void, applyLoopingMode, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__applyLoopingMode, - "", - ""); - I_SimpleProperty(const osg::ImageStream::AudioStreams &, AudioStreams, - __C5_AudioStreams_R1__getAudioStreams, - __void__setAudioStreams__C5_AudioStreams_R1); - I_SimpleProperty(double, FrameRate, - __double__getFrameRate, - 0); - I_SimpleProperty(double, Length, - __double__getLength, - 0); - I_SimpleProperty(osg::ImageStream::LoopingMode, LoopingMode, - __LoopingMode__getLoopingMode, - __void__setLoopingMode__LoopingMode); - I_SimpleProperty(double, ReferenceTime, - __double__getReferenceTime, - __void__setReferenceTime__double); - I_SimpleProperty(osg::ImageStream::StreamStatus, Status, - __StreamStatus__getStatus, - 0); - I_SimpleProperty(double, TimeMultiplier, - __double__getTimeMultiplier, - __void__setTimeMultiplier__double); - I_SimpleProperty(float, Volume, - __float__getVolume, - __void__setVolume__float); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::AudioStream >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::AudioStream *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::AudioStream > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::AudioStream > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::AudioStream *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::AudioStream *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::AudioStream > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::AudioStream *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::AudioStream > >) - diff --git a/src/osgWrappers/introspection/osg/KdTree.cpp b/src/osgWrappers/introspection/osg/KdTree.cpp deleted file mode 100644 index ecd4c59b3..000000000 --- a/src/osgWrappers/introspection/osg/KdTree.cpp +++ /dev/null @@ -1,267 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::KdTree::LineSegmentIntersection >, osg::KdTree::LineSegmentIntersections) - -TYPE_NAME_ALIAS(int, osg::KdTree::value_type) - -TYPE_NAME_ALIAS(std::vector< osg::KdTree::KdNode >, osg::KdTree::KdNodeList) - -TYPE_NAME_ALIAS(std::vector< osg::KdTree::Triangle >, osg::KdTree::TriangleList) - -BEGIN_OBJECT_REFLECTOR(osg::KdTree) - I_DeclaringFile("osg/KdTree"); - I_BaseType(osg::Shape); - I_Constructor0(____KdTree, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::KdTree &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____KdTree__C5_KdTree_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); - I_Method2(bool, build, IN, osg::KdTree::BuildOptions &, buildOptions, IN, osg::Geometry *, geometry, - Properties::VIRTUAL, - __bool__build__BuildOptions_R1__osg_Geometry_P1, - "Build the kdtree from the specified source geometry object. ", - "retun true on success. "); - I_Method3(bool, intersect, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end, IN, osg::KdTree::LineSegmentIntersections &, intersections, - Properties::VIRTUAL, - __bool__intersect__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__LineSegmentIntersections_R1, - "compute the intersection of a line segment and the kdtree, return true if an intersection has been found. ", - ""); - I_Method1(int, addNode, IN, const osg::KdTree::KdNode &, node, - Properties::NON_VIRTUAL, - __int__addNode__C5_KdNode_R1, - "", - ""); - I_Method1(osg::KdTree::KdNode &, getNode, IN, int, nodeNum, - Properties::NON_VIRTUAL, - __KdNode_R1__getNode__int, - "", - ""); - I_Method1(const osg::KdTree::KdNode &, getNode, IN, int, nodeNum, - Properties::NON_VIRTUAL, - __C5_KdNode_R1__getNode__int, - "", - ""); - I_Method0(osg::KdTree::KdNodeList &, getNodes, - Properties::NON_VIRTUAL, - __KdNodeList_R1__getNodes, - "", - ""); - I_Method0(const osg::KdTree::KdNodeList &, getNodes, - Properties::NON_VIRTUAL, - __C5_KdNodeList_R1__getNodes, - "", - ""); - I_Method1(void, setVertices, IN, osg::Vec3Array *, vertices, - Properties::NON_VIRTUAL, - __void__setVertices__osg_Vec3Array_P1, - "", - ""); - I_Method0(const osg::Vec3Array *, getVertices, - Properties::NON_VIRTUAL, - __C5_osg_Vec3Array_P1__getVertices, - "", - ""); - I_Method1(unsigned int, addTriangle, IN, const osg::KdTree::Triangle &, tri, - Properties::NON_VIRTUAL, - __unsigned_int__addTriangle__C5_Triangle_R1, - "", - ""); - I_Method1(osg::KdTree::Triangle &, getTriangle, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Triangle_R1__getTriangle__unsigned_int, - "", - ""); - I_Method1(const osg::KdTree::Triangle &, getTriangle, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Triangle_R1__getTriangle__unsigned_int, - "", - ""); - I_Method0(osg::KdTree::TriangleList &, getTriangles, - Properties::NON_VIRTUAL, - __TriangleList_R1__getTriangles, - "", - ""); - I_Method0(const osg::KdTree::TriangleList &, getTriangles, - Properties::NON_VIRTUAL, - __C5_TriangleList_R1__getTriangles, - "", - ""); - I_SimpleProperty(osg::KdTree::KdNodeList &, Nodes, - __KdNodeList_R1__getNodes, - 0); - I_SimpleProperty(osg::KdTree::TriangleList &, Triangles, - __TriangleList_R1__getTriangles, - 0); - I_SimpleProperty(osg::Vec3Array *, Vertices, - 0, - __void__setVertices__osg_Vec3Array_P1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::KdTree::BuildOptions) - I_DeclaringFile("osg/KdTree"); - I_Constructor0(____BuildOptions, - "", - ""); - I_PublicMemberProperty(unsigned int, _numVerticesProcessed); - I_PublicMemberProperty(unsigned int, _targetNumTrianglesPerLeaf); - I_PublicMemberProperty(unsigned int, _maxNumLevels); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::KdTree::KdNode) - I_DeclaringFile("osg/KdTree"); - I_Constructor0(____KdNode, - "", - ""); - I_Constructor2(IN, osg::KdTree::value_type, f, IN, osg::KdTree::value_type, s, - ____KdNode__value_type__value_type, - "", - ""); - I_PublicMemberProperty(osg::BoundingBox, bb); - I_PublicMemberProperty(osg::KdTree::value_type, first); - I_PublicMemberProperty(osg::KdTree::value_type, second); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< unsigned int >, osg::KdTree::LineSegmentIntersection::IndexList) - -TYPE_NAME_ALIAS(std::vector< double >, osg::KdTree::LineSegmentIntersection::RatioList) - -BEGIN_VALUE_REFLECTOR(osg::KdTree::LineSegmentIntersection) - I_DeclaringFile("osg/KdTree"); - I_Constructor0(____LineSegmentIntersection, - "", - ""); - I_PublicMemberProperty(double, ratio); - I_PublicMemberProperty(osg::Vec3d, intersectionPoint); - I_PublicMemberProperty(osg::Vec3, intersectionNormal); - I_PublicMemberProperty(unsigned int, p0); - I_PublicMemberProperty(unsigned int, p1); - I_PublicMemberProperty(unsigned int, p2); - I_PublicMemberProperty(float, r0); - I_PublicMemberProperty(float, r1); - I_PublicMemberProperty(float, r2); - I_PublicMemberProperty(unsigned int, primitiveIndex); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::KdTree::Triangle) - I_DeclaringFile("osg/KdTree"); - I_Constructor0(____Triangle, - "", - ""); - I_Constructor3(IN, unsigned int, ip0, IN, unsigned int, ip1, IN, unsigned int, ip2, - ____Triangle__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_PublicMemberProperty(unsigned int, p0); - I_PublicMemberProperty(unsigned int, p1); - I_PublicMemberProperty(unsigned int, p2); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::KdTreeBuilder) - I_DeclaringFile("osg/KdTree"); - I_BaseType(osg::NodeVisitor); - I_Constructor0(____KdTreeBuilder, - "", - ""); - I_Constructor1(IN, const osg::KdTreeBuilder &, rhs, - Properties::NON_EXPLICIT, - ____KdTreeBuilder__C5_KdTreeBuilder_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method0(osg::KdTreeBuilder *, clone, - Properties::VIRTUAL, - __KdTreeBuilder_P1__clone, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_PublicMemberProperty(osg::KdTree::BuildOptions, _buildOptions); - I_PublicMemberProperty(osg::ref_ptr< osg::KdTree >, _kdTreePrototype); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< double >) - -STD_VECTOR_REFLECTOR(std::vector< osg::KdTree::KdNode >) - -STD_VECTOR_REFLECTOR(std::vector< osg::KdTree::LineSegmentIntersection >) - -STD_VECTOR_REFLECTOR(std::vector< osg::KdTree::Triangle >) - diff --git a/src/osgWrappers/introspection/osg/LOD.cpp b/src/osgWrappers/introspection/osg/LOD.cpp deleted file mode 100644 index 687210541..000000000 --- a/src/osgWrappers/introspection/osg/LOD.cpp +++ /dev/null @@ -1,205 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::LOD::CenterMode) - I_DeclaringFile("osg/LOD"); - I_EnumLabel(osg::LOD::USE_BOUNDING_SPHERE_CENTER); - I_EnumLabel(osg::LOD::USER_DEFINED_CENTER); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::LOD::RangeMode) - I_DeclaringFile("osg/LOD"); - I_EnumLabel(osg::LOD::DISTANCE_FROM_EYE_POINT); - I_EnumLabel(osg::LOD::PIXEL_SIZE_ON_SCREEN); -END_REFLECTOR - -TYPE_NAME_ALIAS(osg::BoundingSphere::vec_type, osg::LOD::vec_type) - -TYPE_NAME_ALIAS(osg::BoundingSphere::value_type, osg::LOD::value_type) - -TYPE_NAME_ALIAS(std::pair< float COMMA float >, osg::LOD::MinMaxPair) - -TYPE_NAME_ALIAS(std::vector< osg::LOD::MinMaxPair >, osg::LOD::RangeList) - -BEGIN_OBJECT_REFLECTOR(osg::LOD) - I_DeclaringFile("osg/LOD"); - I_BaseType(osg::Group); - I_Constructor0(____LOD, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::LOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LOD__C5_LOD_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(bool, addChild, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__addChild__Node_P1, - "Add Node to Group. ", - "If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. "); - I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max, - Properties::VIRTUAL, - __bool__addChild__Node_P1__float__float, - "", - ""); - I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1, - Properties::VIRTUAL, - __bool__removeChildren__unsigned_int__unsigned_int, - "Remove children from Group. ", - "Note, must be override by subclasses of Group which add per child attributes. "); - I_Method1(void, setCenterMode, IN, osg::LOD::CenterMode, mode, - Properties::NON_VIRTUAL, - __void__setCenterMode__CenterMode, - "Set how the center of object should be determined when computing which child is active. ", - ""); - I_Method0(osg::LOD::CenterMode, getCenterMode, - Properties::NON_VIRTUAL, - __CenterMode__getCenterMode, - "Get how the center of object should be determined when computing which child is active. ", - ""); - I_Method1(void, setCenter, IN, const osg::LOD::vec_type &, center, - Properties::NON_VIRTUAL, - __void__setCenter__C5_vec_type_R1, - "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. "); - I_Method0(const osg::LOD::vec_type &, getCenter, - Properties::NON_VIRTUAL, - __C5_vec_type_R1__getCenter, - "return the LOD center point. ", - ""); - I_Method1(void, setRadius, IN, osg::LOD::value_type, radius, - Properties::NON_VIRTUAL, - __void__setRadius__value_type, - "Set the object-space reference radius of the volume enclosed by the LOD. ", - "Used to determine the bounding sphere of the LOD in the absence of any children. "); - I_Method0(osg::LOD::value_type, getRadius, - Properties::NON_VIRTUAL, - __value_type__getRadius, - "Get the object-space radius of the volume enclosed by the LOD. ", - ""); - I_Method1(void, setRangeMode, IN, osg::LOD::RangeMode, mode, - Properties::NON_VIRTUAL, - __void__setRangeMode__RangeMode, - "Set how the range values should be interpreted when computing which child is active. ", - ""); - I_Method0(osg::LOD::RangeMode, getRangeMode, - Properties::NON_VIRTUAL, - __RangeMode__getRangeMode, - "Get how the range values should be interpreted when computing which child is active. ", - ""); - I_Method3(void, setRange, IN, unsigned int, childNo, IN, float, min, IN, float, max, - Properties::NON_VIRTUAL, - __void__setRange__unsigned_int__float__float, - "Sets the min and max visible ranges of range of specific child. ", - "Values are floating point distance specified in local objects coordinates. "); - I_Method1(float, getMinRange, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __float__getMinRange__unsigned_int, - "returns the min visible range for specified child. ", - ""); - I_Method1(float, getMaxRange, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __float__getMaxRange__unsigned_int, - "returns the max visible range for specified child. ", - ""); - I_Method0(unsigned int, getNumRanges, - Properties::NON_VIRTUAL, - __unsigned_int__getNumRanges, - "returns the number of ranges currently set. ", - "An LOD which has been fully set up will have getNumChildren()==getNumRanges(). "); - I_Method1(void, setRangeList, IN, const osg::LOD::RangeList &, rangeList, - Properties::NON_VIRTUAL, - __void__setRangeList__C5_RangeList_R1, - "set the list of MinMax ranges for each child. ", - ""); - I_Method0(const osg::LOD::RangeList &, getRangeList, - Properties::NON_VIRTUAL, - __C5_RangeList_R1__getRangeList, - "return the list of MinMax ranges for each child. ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "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(). "); - I_SimpleProperty(const osg::LOD::vec_type &, Center, - __C5_vec_type_R1__getCenter, - __void__setCenter__C5_vec_type_R1); - I_SimpleProperty(osg::LOD::CenterMode, CenterMode, - __CenterMode__getCenterMode, - __void__setCenterMode__CenterMode); - I_SimpleProperty(osg::LOD::value_type, Radius, - __value_type__getRadius, - __void__setRadius__value_type); - I_SimpleProperty(const osg::LOD::RangeList &, RangeList, - __C5_RangeList_R1__getRangeList, - __void__setRangeList__C5_RangeList_R1); - I_SimpleProperty(osg::LOD::RangeMode, RangeMode, - __RangeMode__getRangeMode, - __void__setRangeMode__RangeMode); -END_REFLECTOR - -STD_PAIR_REFLECTOR(std::pair< float COMMA float >) - -STD_VECTOR_REFLECTOR(std::vector< osg::LOD::MinMaxPair >) - diff --git a/src/osgWrappers/introspection/osg/Light.cpp b/src/osgWrappers/introspection/osg/Light.cpp deleted file mode 100644 index f3eba5f56..000000000 --- a/src/osgWrappers/introspection/osg/Light.cpp +++ /dev/null @@ -1,257 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Light) - I_DeclaringFile("osg/Light"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Light, - "", - ""); - I_Constructor1(IN, unsigned int, lightnum, - Properties::NON_EXPLICIT, - ____Light__unsigned_int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Light &, light, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Light__C5_Light_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(unsigned int, getMember, - Properties::VIRTUAL, - __unsigned_int__getMember, - "Return the member identifier within the attribute's class type. ", - "Used for light number/clip plane number etc. "); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setLightNum, IN, int, num, - Properties::NON_VIRTUAL, - __void__setLightNum__int, - "Set which OpenGL light to operate on. ", - ""); - I_Method0(int, getLightNum, - Properties::NON_VIRTUAL, - __int__getLightNum, - "Get which OpenGL light this osg::Light operates on. ", - ""); - I_Method1(void, setAmbient, IN, const osg::Vec4 &, ambient, - Properties::NON_VIRTUAL, - __void__setAmbient__C5_Vec4_R1, - "Set the ambient component of the light. ", - ""); - I_Method0(const osg::Vec4 &, getAmbient, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getAmbient, - "Get the ambient component of the light. ", - ""); - I_Method1(void, setDiffuse, IN, const osg::Vec4 &, diffuse, - Properties::NON_VIRTUAL, - __void__setDiffuse__C5_Vec4_R1, - "Set the diffuse component of the light. ", - ""); - I_Method0(const osg::Vec4 &, getDiffuse, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getDiffuse, - "Get the diffuse component of the light. ", - ""); - I_Method1(void, setSpecular, IN, const osg::Vec4 &, specular, - Properties::NON_VIRTUAL, - __void__setSpecular__C5_Vec4_R1, - "Set the specular component of the light. ", - ""); - I_Method0(const osg::Vec4 &, getSpecular, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getSpecular, - "Get the specular component of the light. ", - ""); - I_Method1(void, setPosition, IN, const osg::Vec4 &, position, - Properties::NON_VIRTUAL, - __void__setPosition__C5_Vec4_R1, - "Set the position of the light. ", - ""); - I_Method0(const osg::Vec4 &, getPosition, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getPosition, - "Get the position of the light. ", - ""); - I_Method1(void, setDirection, IN, const osg::Vec3 &, direction, - Properties::NON_VIRTUAL, - __void__setDirection__C5_Vec3_R1, - "Set the direction of the light. ", - ""); - I_Method0(const osg::Vec3 &, getDirection, - Properties::NON_VIRTUAL, - __C5_Vec3_R1__getDirection, - "Get the direction of the light. ", - ""); - I_Method1(void, setConstantAttenuation, IN, float, constant_attenuation, - Properties::NON_VIRTUAL, - __void__setConstantAttenuation__float, - "Set the constant attenuation of the light. ", - ""); - I_Method0(float, getConstantAttenuation, - Properties::NON_VIRTUAL, - __float__getConstantAttenuation, - "Get the constant attenuation of the light. ", - ""); - I_Method1(void, setLinearAttenuation, IN, float, linear_attenuation, - Properties::NON_VIRTUAL, - __void__setLinearAttenuation__float, - "Set the linear attenuation of the light. ", - ""); - I_Method0(float, getLinearAttenuation, - Properties::NON_VIRTUAL, - __float__getLinearAttenuation, - "Get the linear attenuation of the light. ", - ""); - I_Method1(void, setQuadraticAttenuation, IN, float, quadratic_attenuation, - Properties::NON_VIRTUAL, - __void__setQuadraticAttenuation__float, - "Set the quadratic attenuation of the light. ", - ""); - I_Method0(float, getQuadraticAttenuation, - Properties::NON_VIRTUAL, - __float__getQuadraticAttenuation, - "Get the quadratic attenuation of the light. ", - ""); - I_Method1(void, setSpotExponent, IN, float, spot_exponent, - Properties::NON_VIRTUAL, - __void__setSpotExponent__float, - "Set the spot exponent of the light. ", - ""); - I_Method0(float, getSpotExponent, - Properties::NON_VIRTUAL, - __float__getSpotExponent, - "Get the spot exponent of the light. ", - ""); - I_Method1(void, setSpotCutoff, IN, float, spot_cutoff, - Properties::NON_VIRTUAL, - __void__setSpotCutoff__float, - "Set the spot cutoff of the light. ", - ""); - I_Method0(float, getSpotCutoff, - Properties::NON_VIRTUAL, - __float__getSpotCutoff, - "Get the spot cutoff of the light. ", - ""); - I_Method0(void, captureLightState, - Properties::NON_VIRTUAL, - __void__captureLightState, - "Capture the lighting settings of the current OpenGL state and store them in this object. ", - ""); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__State_R1, - "Apply the light's state to the OpenGL state machine. ", - ""); - I_ProtectedMethod0(void, init, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__init, - "Initialize the light's settings with some decent defaults. ", - ""); - I_SimpleProperty(const osg::Vec4 &, Ambient, - __C5_Vec4_R1__getAmbient, - __void__setAmbient__C5_Vec4_R1); - I_SimpleProperty(float, ConstantAttenuation, - __float__getConstantAttenuation, - __void__setConstantAttenuation__float); - I_SimpleProperty(const osg::Vec4 &, Diffuse, - __C5_Vec4_R1__getDiffuse, - __void__setDiffuse__C5_Vec4_R1); - I_SimpleProperty(const osg::Vec3 &, Direction, - __C5_Vec3_R1__getDirection, - __void__setDirection__C5_Vec3_R1); - I_SimpleProperty(int, LightNum, - __int__getLightNum, - __void__setLightNum__int); - I_SimpleProperty(float, LinearAttenuation, - __float__getLinearAttenuation, - __void__setLinearAttenuation__float); - I_SimpleProperty(unsigned int, Member, - __unsigned_int__getMember, - 0); - I_SimpleProperty(const osg::Vec4 &, Position, - __C5_Vec4_R1__getPosition, - __void__setPosition__C5_Vec4_R1); - I_SimpleProperty(float, QuadraticAttenuation, - __float__getQuadraticAttenuation, - __void__setQuadraticAttenuation__float); - I_SimpleProperty(const osg::Vec4 &, Specular, - __C5_Vec4_R1__getSpecular, - __void__setSpecular__C5_Vec4_R1); - I_SimpleProperty(float, SpotCutoff, - __float__getSpotCutoff, - __void__setSpotCutoff__float); - I_SimpleProperty(float, SpotExponent, - __float__getSpotExponent, - __void__setSpotExponent__float); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/LightModel.cpp b/src/osgWrappers/introspection/osg/LightModel.cpp deleted file mode 100644 index 90e7fecdc..000000000 --- a/src/osgWrappers/introspection/osg/LightModel.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::LightModel::ColorControl) - I_DeclaringFile("osg/LightModel"); - I_EnumLabel(osg::LightModel::SEPARATE_SPECULAR_COLOR); - I_EnumLabel(osg::LightModel::SINGLE_COLOR); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::LightModel) - I_DeclaringFile("osg/LightModel"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____LightModel, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::LightModel &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LightModel__C5_LightModel_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setAmbientIntensity, IN, const osg::Vec4 &, ambient, - Properties::NON_VIRTUAL, - __void__setAmbientIntensity__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getAmbientIntensity, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getAmbientIntensity, - "", - ""); - I_Method1(void, setColorControl, IN, osg::LightModel::ColorControl, cc, - Properties::NON_VIRTUAL, - __void__setColorControl__ColorControl, - "", - ""); - I_Method0(osg::LightModel::ColorControl, getColorControl, - Properties::NON_VIRTUAL, - __ColorControl__getColorControl, - "", - ""); - I_Method1(void, setLocalViewer, IN, bool, localViewer, - Properties::NON_VIRTUAL, - __void__setLocalViewer__bool, - "", - ""); - I_Method0(bool, getLocalViewer, - Properties::NON_VIRTUAL, - __bool__getLocalViewer, - "", - ""); - I_Method1(void, setTwoSided, IN, bool, twoSided, - Properties::NON_VIRTUAL, - __void__setTwoSided__bool, - "", - ""); - I_Method0(bool, getTwoSided, - Properties::NON_VIRTUAL, - __bool__getTwoSided, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(const osg::Vec4 &, AmbientIntensity, - __C5_osg_Vec4_R1__getAmbientIntensity, - __void__setAmbientIntensity__C5_osg_Vec4_R1); - I_SimpleProperty(osg::LightModel::ColorControl, ColorControl, - __ColorControl__getColorControl, - __void__setColorControl__ColorControl); - I_SimpleProperty(bool, LocalViewer, - __bool__getLocalViewer, - __void__setLocalViewer__bool); - I_SimpleProperty(bool, TwoSided, - __bool__getTwoSided, - __void__setTwoSided__bool); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/LightSource.cpp b/src/osgWrappers/introspection/osg/LightSource.cpp deleted file mode 100644 index a9e7fa124..000000000 --- a/src/osgWrappers/introspection/osg/LightSource.cpp +++ /dev/null @@ -1,136 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::LightSource::ReferenceFrame) - I_DeclaringFile("osg/LightSource"); - I_EnumLabel(osg::LightSource::RELATIVE_RF); - I_EnumLabel(osg::LightSource::ABSOLUTE_RF); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::LightSource) - I_DeclaringFile("osg/LightSource"); - I_BaseType(osg::Group); - I_Constructor0(____LightSource, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::LightSource &, ls, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LightSource__C5_LightSource_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setReferenceFrame, IN, osg::LightSource::ReferenceFrame, rf, - Properties::NON_VIRTUAL, - __void__setReferenceFrame__ReferenceFrame, - "Set the light sources's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. ", - "RELATIVE_RF is the default. Note: setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the light source, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is necessary to prevent inappropriate culling, but may impact cull times if the absolute light source is deep in the scene graph. It is therefore recommended to only use absolute light source at the top of the scene. "); - I_Method0(osg::LightSource::ReferenceFrame, getReferenceFrame, - Properties::NON_VIRTUAL, - __ReferenceFrame__getReferenceFrame, - "", - ""); - I_Method1(void, setLight, IN, osg::Light *, light, - Properties::NON_VIRTUAL, - __void__setLight__Light_P1, - "Set the attached light. ", - ""); - I_Method0(osg::Light *, getLight, - Properties::NON_VIRTUAL, - __Light_P1__getLight, - "Get the attached light. ", - ""); - I_Method0(const osg::Light *, getLight, - Properties::NON_VIRTUAL, - __C5_Light_P1__getLight, - "Get the const attached light. ", - ""); - I_Method2(void, setStateSetModes, IN, osg::StateSet &, x, IN, osg::StateAttribute::GLModeValue, x, - Properties::NON_VIRTUAL, - __void__setStateSetModes__StateSet_R1__StateAttribute_GLModeValue, - "Set the GLModes on StateSet associated with the LightSource. ", - ""); - I_MethodWithDefaults1(void, setLocalStateSetModes, IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON, - Properties::NON_VIRTUAL, - __void__setLocalStateSetModes__StateAttribute_GLModeValue, - "Set up the local StateSet. ", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "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(). "); - I_SimpleProperty(osg::Light *, Light, - __Light_P1__getLight, - __void__setLight__Light_P1); - I_SimpleProperty(osg::StateAttribute::GLModeValue, LocalStateSetModes, - 0, - __void__setLocalStateSetModes__StateAttribute_GLModeValue); - I_SimpleProperty(osg::LightSource::ReferenceFrame, ReferenceFrame, - __ReferenceFrame__getReferenceFrame, - __void__setReferenceFrame__ReferenceFrame); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/LineSegment.cpp b/src/osgWrappers/introspection/osg/LineSegment.cpp deleted file mode 100644 index fa3524045..000000000 --- a/src/osgWrappers/introspection/osg/LineSegment.cpp +++ /dev/null @@ -1,130 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::Vec3d, osg::LineSegment::vec_type) - -TYPE_NAME_ALIAS(osg::LineSegment::vec_type::value_type, osg::LineSegment::value_type) - -BEGIN_OBJECT_REFLECTOR(osg::LineSegment) - I_DeclaringFile("osg/LineSegment"); - I_BaseType(osg::Referenced); - I_Constructor0(____LineSegment, - "", - ""); - I_Constructor1(IN, const osg::LineSegment &, seg, - Properties::NON_EXPLICIT, - ____LineSegment__C5_LineSegment_R1, - "", - ""); - I_Constructor2(IN, const osg::LineSegment::vec_type &, s, IN, const osg::LineSegment::vec_type &, e, - ____LineSegment__C5_vec_type_R1__C5_vec_type_R1, - "", - ""); - I_Method2(void, set, IN, const osg::LineSegment::vec_type &, s, IN, const osg::LineSegment::vec_type &, e, - Properties::NON_VIRTUAL, - __void__set__C5_vec_type_R1__C5_vec_type_R1, - "", - ""); - I_Method0(osg::LineSegment::vec_type &, start, - Properties::NON_VIRTUAL, - __vec_type_R1__start, - "", - ""); - I_Method0(const osg::LineSegment::vec_type &, start, - Properties::NON_VIRTUAL, - __C5_vec_type_R1__start, - "", - ""); - I_Method0(osg::LineSegment::vec_type &, end, - Properties::NON_VIRTUAL, - __vec_type_R1__end, - "", - ""); - I_Method0(const osg::LineSegment::vec_type &, end, - Properties::NON_VIRTUAL, - __C5_vec_type_R1__end, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method1(bool, intersect, IN, const osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - __bool__intersect__C5_BoundingBox_R1, - "return true if segment intersects BoundingBox. ", - ""); - I_Method3(bool, intersect, IN, const osg::BoundingBox &, bb, IN, float &, r1, IN, float &, r2, - Properties::NON_VIRTUAL, - __bool__intersect__C5_BoundingBox_R1__float_R1__float_R1, - "return true if segment intersects BoundingBox and return the intersection ratios. ", - ""); - I_Method3(bool, intersect, IN, const osg::BoundingBox &, bb, IN, double &, r1, IN, double &, r2, - Properties::NON_VIRTUAL, - __bool__intersect__C5_BoundingBox_R1__double_R1__double_R1, - "return true if segment intersects BoundingBox and return the intersection ratios. ", - ""); - I_Method1(bool, intersect, IN, const osg::BoundingSphere &, bs, - Properties::NON_VIRTUAL, - __bool__intersect__C5_BoundingSphere_R1, - "return true if segment intersects BoundingSphere. ", - ""); - I_Method3(bool, intersect, IN, const osg::BoundingSphere &, bs, IN, float &, r1, IN, float &, r2, - Properties::NON_VIRTUAL, - __bool__intersect__C5_BoundingSphere_R1__float_R1__float_R1, - "return true if segment intersects BoundingSphere and return the intersection ratio. ", - ""); - I_Method3(bool, intersect, IN, const osg::BoundingSphere &, bs, IN, double &, r1, IN, double &, r2, - Properties::NON_VIRTUAL, - __bool__intersect__C5_BoundingSphere_R1__double_R1__double_R1, - "return true if segment intersects BoundingSphere and return the intersection ratio. ", - ""); - I_Method4(bool, intersect, IN, const osg::Vec3f &, v1, IN, const osg::Vec3f &, v2, IN, const osg::Vec3f &, v3, IN, float &, r, - Properties::NON_VIRTUAL, - __bool__intersect__C5_Vec3f_R1__C5_Vec3f_R1__C5_Vec3f_R1__float_R1, - "return true if segment intersects triangle and set ratio long segment. ", - ""); - I_Method4(bool, intersect, IN, const osg::Vec3d &, v1, IN, const osg::Vec3d &, v2, IN, const osg::Vec3d &, v3, IN, double &, r, - Properties::NON_VIRTUAL, - __bool__intersect__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1__double_R1, - "return true if segment intersects triangle and set ratio long segment. ", - ""); - I_Method2(void, mult, IN, const osg::LineSegment &, seg, IN, const osg::Matrix &, m, - Properties::NON_VIRTUAL, - __void__mult__C5_LineSegment_R1__C5_Matrix_R1, - "post multiply a segment by matrix. ", - ""); - I_Method2(void, mult, IN, const osg::Matrix &, m, IN, const osg::LineSegment &, seg, - Properties::NON_VIRTUAL, - __void__mult__C5_Matrix_R1__C5_LineSegment_R1, - "pre multiply a segment by matrix. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/LineStipple.cpp b/src/osgWrappers/introspection/osg/LineStipple.cpp deleted file mode 100644 index fba1772d7..000000000 --- a/src/osgWrappers/introspection/osg/LineStipple.cpp +++ /dev/null @@ -1,118 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::LineStipple) - I_DeclaringFile("osg/LineStipple"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____LineStipple, - "", - ""); - I_Constructor2(IN, GLint, factor, IN, GLushort, pattern, - ____LineStipple__GLint__GLushort, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::LineStipple &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LineStipple__C5_LineStipple_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setFactor, IN, GLint, factor, - Properties::NON_VIRTUAL, - __void__setFactor__GLint, - "", - ""); - I_Method0(GLint, getFactor, - Properties::NON_VIRTUAL, - __GLint__getFactor, - "", - ""); - I_Method1(void, setPattern, IN, GLushort, pattern, - Properties::NON_VIRTUAL, - __void__setPattern__GLushort, - "", - ""); - I_Method0(GLushort, getPattern, - Properties::NON_VIRTUAL, - __GLushort__getPattern, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(GLint, Factor, - __GLint__getFactor, - __void__setFactor__GLint); - I_SimpleProperty(GLushort, Pattern, - __GLushort__getPattern, - __void__setPattern__GLushort); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/LineWidth.cpp b/src/osgWrappers/introspection/osg/LineWidth.cpp deleted file mode 100644 index d9860eb88..000000000 --- a/src/osgWrappers/introspection/osg/LineWidth.cpp +++ /dev/null @@ -1,98 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::LineWidth) - I_DeclaringFile("osg/LineWidth"); - I_BaseType(osg::StateAttribute); - I_ConstructorWithDefaults1(IN, float, width, 1.0f, - Properties::NON_EXPLICIT, - ____LineWidth__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::LineWidth &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LineWidth__C5_LineWidth_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setWidth, IN, float, width, - Properties::NON_VIRTUAL, - __void__setWidth__float, - "", - ""); - I_Method0(float, getWidth, - Properties::NON_VIRTUAL, - __float__getWidth, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); - I_SimpleProperty(float, Width, - __float__getWidth, - __void__setWidth__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/LogicOp.cpp b/src/osgWrappers/introspection/osg/LogicOp.cpp deleted file mode 100644 index 145d941c1..000000000 --- a/src/osgWrappers/introspection/osg/LogicOp.cpp +++ /dev/null @@ -1,126 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::LogicOp::Opcode) - I_DeclaringFile("osg/LogicOp"); - I_EnumLabel(osg::LogicOp::CLEAR); - I_EnumLabel(osg::LogicOp::SET); - I_EnumLabel(osg::LogicOp::COPY); - I_EnumLabel(osg::LogicOp::COPY_INVERTED); - I_EnumLabel(osg::LogicOp::NOOP); - I_EnumLabel(osg::LogicOp::INVERT); - I_EnumLabel(osg::LogicOp::AND); - I_EnumLabel(osg::LogicOp::NAND); - I_EnumLabel(osg::LogicOp::OR); - I_EnumLabel(osg::LogicOp::NOR); - I_EnumLabel(osg::LogicOp::XOR); - I_EnumLabel(osg::LogicOp::EQUIV); - I_EnumLabel(osg::LogicOp::AND_REVERSE); - I_EnumLabel(osg::LogicOp::AND_INVERTED); - I_EnumLabel(osg::LogicOp::OR_REVERSE); - I_EnumLabel(osg::LogicOp::OR_INVERTED); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::LogicOp) - I_DeclaringFile("osg/LogicOp"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____LogicOp, - "", - ""); - I_Constructor1(IN, osg::LogicOp::Opcode, opcode, - Properties::NON_EXPLICIT, - ____LogicOp__Opcode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::LogicOp &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LogicOp__C5_LogicOp_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setOpcode, IN, osg::LogicOp::Opcode, opcode, - Properties::NON_VIRTUAL, - __void__setOpcode__Opcode, - "", - ""); - I_Method0(osg::LogicOp::Opcode, getOpcode, - Properties::NON_VIRTUAL, - __Opcode__getOpcode, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(osg::LogicOp::Opcode, Opcode, - __Opcode__getOpcode, - __void__setOpcode__Opcode); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Material.cpp b/src/osgWrappers/introspection/osg/Material.cpp deleted file mode 100644 index 724928eb1..000000000 --- a/src/osgWrappers/introspection/osg/Material.cpp +++ /dev/null @@ -1,239 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Material::Face) - I_DeclaringFile("osg/Material"); - I_EnumLabel(osg::Material::FRONT); - I_EnumLabel(osg::Material::BACK); - I_EnumLabel(osg::Material::FRONT_AND_BACK); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Material::ColorMode) - I_DeclaringFile("osg/Material"); - I_EnumLabel(osg::Material::AMBIENT); - I_EnumLabel(osg::Material::DIFFUSE); - I_EnumLabel(osg::Material::SPECULAR); - I_EnumLabel(osg::Material::EMISSION); - I_EnumLabel(osg::Material::AMBIENT_AND_DIFFUSE); - I_EnumLabel(osg::Material::OFF); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Material) - I_DeclaringFile("osg/Material"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Material, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Material &, mat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Material__C5_Material_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_Method1(void, setColorMode, IN, osg::Material::ColorMode, mode, - Properties::NON_VIRTUAL, - __void__setColorMode__ColorMode, - "", - ""); - I_Method0(osg::Material::ColorMode, getColorMode, - Properties::NON_VIRTUAL, - __ColorMode__getColorMode, - "", - ""); - I_Method2(void, setAmbient, IN, osg::Material::Face, face, IN, const osg::Vec4 &, ambient, - Properties::NON_VIRTUAL, - __void__setAmbient__Face__C5_Vec4_R1, - "", - ""); - I_Method1(const osg::Vec4 &, getAmbient, IN, osg::Material::Face, face, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getAmbient__Face, - "", - ""); - I_Method0(bool, getAmbientFrontAndBack, - Properties::NON_VIRTUAL, - __bool__getAmbientFrontAndBack, - "", - ""); - I_Method2(void, setDiffuse, IN, osg::Material::Face, face, IN, const osg::Vec4 &, diffuse, - Properties::NON_VIRTUAL, - __void__setDiffuse__Face__C5_Vec4_R1, - "", - ""); - I_Method1(const osg::Vec4 &, getDiffuse, IN, osg::Material::Face, face, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getDiffuse__Face, - "", - ""); - I_Method0(bool, getDiffuseFrontAndBack, - Properties::NON_VIRTUAL, - __bool__getDiffuseFrontAndBack, - "", - ""); - I_Method2(void, setSpecular, IN, osg::Material::Face, face, IN, const osg::Vec4 &, specular, - Properties::NON_VIRTUAL, - __void__setSpecular__Face__C5_Vec4_R1, - "Set specular value of specified face(s) of the material, valid specular[0. ", - ".3] range is 0.0 to 1.0. "); - I_Method1(const osg::Vec4 &, getSpecular, IN, osg::Material::Face, face, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getSpecular__Face, - "Get the specular value for specified face. ", - ""); - I_Method0(bool, getSpecularFrontAndBack, - Properties::NON_VIRTUAL, - __bool__getSpecularFrontAndBack, - "Return whether specular values are equal for front and back faces or not. ", - ""); - I_Method2(void, setEmission, IN, osg::Material::Face, face, IN, const osg::Vec4 &, emission, - Properties::NON_VIRTUAL, - __void__setEmission__Face__C5_Vec4_R1, - "Set emission value of specified face(s) of the material, valid emission[0. ", - ".3] range is 0.0 to 1.0. "); - I_Method1(const osg::Vec4 &, getEmission, IN, osg::Material::Face, face, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getEmission__Face, - "Get the emission value for specified face. ", - ""); - I_Method0(bool, getEmissionFrontAndBack, - Properties::NON_VIRTUAL, - __bool__getEmissionFrontAndBack, - "Return whether emission values are equal for front and back faces or not. ", - ""); - I_Method2(void, setShininess, IN, osg::Material::Face, face, IN, float, shininess, - Properties::NON_VIRTUAL, - __void__setShininess__Face__float, - "Set shininess of specified face(s) of the material. ", - "valid shininess range is 0.0 to 128.0. "); - I_Method1(float, getShininess, IN, osg::Material::Face, face, - Properties::NON_VIRTUAL, - __float__getShininess__Face, - "Get the shininess value for specified face. ", - ""); - I_Method0(bool, getShininessFrontAndBack, - Properties::NON_VIRTUAL, - __bool__getShininessFrontAndBack, - "Return whether shininess values are equal for front and back faces or not. ", - ""); - I_Method2(void, setTransparency, IN, osg::Material::Face, face, IN, float, trans, - Properties::NON_VIRTUAL, - __void__setTransparency__Face__float, - "Set the alpha value of ambient, diffuse, specular and emission colors of specified face, to 1-transparency. ", - "Valid transparency range is 0.0 to 1.0. "); - I_Method2(void, setAlpha, IN, osg::Material::Face, face, IN, float, alpha, - Properties::NON_VIRTUAL, - __void__setAlpha__Face__float, - "Set the alpha value of ambient, diffuse, specular and emission colors. ", - "Valid transparency range is 0.0 to 1.0. "); - I_IndexedProperty(const osg::Vec4 &, Ambient, - __C5_Vec4_R1__getAmbient__Face, - __void__setAmbient__Face__C5_Vec4_R1, - 0); - I_SimpleProperty(bool, AmbientFrontAndBack, - __bool__getAmbientFrontAndBack, - 0); - I_SimpleProperty(osg::Material::ColorMode, ColorMode, - __ColorMode__getColorMode, - __void__setColorMode__ColorMode); - I_IndexedProperty(const osg::Vec4 &, Diffuse, - __C5_Vec4_R1__getDiffuse__Face, - __void__setDiffuse__Face__C5_Vec4_R1, - 0); - I_SimpleProperty(bool, DiffuseFrontAndBack, - __bool__getDiffuseFrontAndBack, - 0); - I_IndexedProperty(const osg::Vec4 &, Emission, - __C5_Vec4_R1__getEmission__Face, - __void__setEmission__Face__C5_Vec4_R1, - 0); - I_SimpleProperty(bool, EmissionFrontAndBack, - __bool__getEmissionFrontAndBack, - 0); - I_IndexedProperty(float, Shininess, - __float__getShininess__Face, - __void__setShininess__Face__float, - 0); - I_SimpleProperty(bool, ShininessFrontAndBack, - __bool__getShininessFrontAndBack, - 0); - I_IndexedProperty(const osg::Vec4 &, Specular, - __C5_Vec4_R1__getSpecular__Face, - __void__setSpecular__Face__C5_Vec4_R1, - 0); - I_SimpleProperty(bool, SpecularFrontAndBack, - __bool__getSpecularFrontAndBack, - 0); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Matrix.cpp b/src/osgWrappers/introspection/osg/Matrix.cpp deleted file mode 100644 index 94c96315e..000000000 --- a/src/osgWrappers/introspection/osg/Matrix.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::Matrixd, osg::Matrix) - -TYPE_NAME_ALIAS(osg::RefMatrixd, osg::RefMatrix) - diff --git a/src/osgWrappers/introspection/osg/MatrixTransform.cpp b/src/osgWrappers/introspection/osg/MatrixTransform.cpp deleted file mode 100644 index dfff3cb2c..000000000 --- a/src/osgWrappers/introspection/osg/MatrixTransform.cpp +++ /dev/null @@ -1,126 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::MatrixTransform) - I_DeclaringFile("osg/MatrixTransform"); - I_BaseType(osg::Transform); - I_Constructor0(____MatrixTransform, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::MatrixTransform &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____MatrixTransform__C5_MatrixTransform_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Constructor1(IN, const osg::Matrix &, matix, - Properties::NON_EXPLICIT, - ____MatrixTransform__C5_Matrix_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(osg::MatrixTransform *, asMatrixTransform, - Properties::VIRTUAL, - __MatrixTransform_P1__asMatrixTransform, - "", - ""); - I_Method0(const osg::MatrixTransform *, asMatrixTransform, - Properties::VIRTUAL, - __C5_MatrixTransform_P1__asMatrixTransform, - "", - ""); - I_Method1(void, setMatrix, IN, const osg::Matrix &, mat, - Properties::NON_VIRTUAL, - __void__setMatrix__C5_Matrix_R1, - "Set the transform's matrix. ", - ""); - I_Method0(const osg::Matrix &, getMatrix, - Properties::NON_VIRTUAL, - __C5_Matrix_R1__getMatrix, - "Get the matrix. ", - ""); - I_Method1(void, preMult, IN, const osg::Matrix &, mat, - Properties::NON_VIRTUAL, - __void__preMult__C5_Matrix_R1, - "pre multiply the transform's matrix. ", - ""); - I_Method1(void, postMult, IN, const osg::Matrix &, mat, - Properties::NON_VIRTUAL, - __void__postMult__C5_Matrix_R1, - "post multiply the transform's matrix. ", - ""); - I_Method0(const osg::Matrix &, getInverseMatrix, - Properties::NON_VIRTUAL, - __C5_Matrix_R1__getInverseMatrix, - "Get the inverse matrix. ", - ""); - I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1, - "", - ""); - I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1, - "", - ""); - I_SimpleProperty(const osg::Matrix &, InverseMatrix, - __C5_Matrix_R1__getInverseMatrix, - 0); - I_SimpleProperty(const osg::Matrix &, Matrix, - __C5_Matrix_R1__getMatrix, - __void__setMatrix__C5_Matrix_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Matrixd.cpp b/src/osgWrappers/introspection/osg/Matrixd.cpp deleted file mode 100644 index d5f6bb910..000000000 --- a/src/osgWrappers/introspection/osg/Matrixd.cpp +++ /dev/null @@ -1,605 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(double, osg::Matrixd::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Matrixd) - I_DeclaringFile("osg/Matrixd"); - I_Constructor0(____Matrixd, - "", - ""); - I_Constructor1(IN, const osg::Matrixd &, mat, - Properties::NON_EXPLICIT, - ____Matrixd__C5_Matrixd_R1, - "", - ""); - I_Constructor1(IN, const osg::Matrixf &, mat, - Properties::NON_EXPLICIT, - ____Matrixd__C5_Matrixf_R1, - "", - ""); - I_Constructor1(IN, float const *const, ptr, - Properties::EXPLICIT, - ____Matrixd__float_C5_P1C5, - "", - ""); - I_Constructor1(IN, double const *const, ptr, - Properties::EXPLICIT, - ____Matrixd__double_C5_P1C5, - "", - ""); - I_Constructor1(IN, const osg::Quat &, quat, - Properties::EXPLICIT, - ____Matrixd__C5_Quat_R1, - "", - ""); - I_Constructor16(IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33, - ____Matrixd__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type, - "", - ""); - I_Method1(int, compare, IN, const osg::Matrixd &, m, - Properties::NON_VIRTUAL, - __int__compare__C5_Matrixd_R1, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(bool, isNaN, - Properties::NON_VIRTUAL, - __bool__isNaN, - "", - ""); - I_Method1(void, set, IN, const osg::Matrixd &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Matrixd_R1, - "", - ""); - I_Method1(void, set, IN, const osg::Matrixf &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Matrixf_R1, - "", - ""); - I_Method1(void, set, IN, float const *const, ptr, - Properties::NON_VIRTUAL, - __void__set__float_C5_P1C5, - "", - ""); - I_Method1(void, set, IN, double const *const, ptr, - Properties::NON_VIRTUAL, - __void__set__double_C5_P1C5, - "", - ""); - I_Method16(void, set, IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Matrixd::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Matrixd::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method0(bool, isIdentity, - Properties::NON_VIRTUAL, - __bool__isIdentity, - "", - ""); - I_Method0(void, makeIdentity, - Properties::NON_VIRTUAL, - __void__makeIdentity, - "", - ""); - I_Method1(void, makeScale, IN, const osg::Vec3f &, x, - Properties::NON_VIRTUAL, - __void__makeScale__C5_Vec3f_R1, - "", - ""); - I_Method1(void, makeScale, IN, const osg::Vec3d &, x, - Properties::NON_VIRTUAL, - __void__makeScale__C5_Vec3d_R1, - "", - ""); - I_Method3(void, makeScale, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x, - Properties::NON_VIRTUAL, - __void__makeScale__value_type__value_type__value_type, - "", - ""); - I_Method1(void, makeTranslate, IN, const osg::Vec3f &, x, - Properties::NON_VIRTUAL, - __void__makeTranslate__C5_Vec3f_R1, - "", - ""); - I_Method1(void, makeTranslate, IN, const osg::Vec3d &, x, - Properties::NON_VIRTUAL, - __void__makeTranslate__C5_Vec3d_R1, - "", - ""); - I_Method3(void, makeTranslate, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x, - Properties::NON_VIRTUAL, - __void__makeTranslate__value_type__value_type__value_type, - "", - ""); - I_Method2(void, makeRotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to, - Properties::NON_VIRTUAL, - __void__makeRotate__C5_Vec3f_R1__C5_Vec3f_R1, - "", - ""); - I_Method2(void, makeRotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to, - Properties::NON_VIRTUAL, - __void__makeRotate__C5_Vec3d_R1__C5_Vec3d_R1, - "", - ""); - I_Method2(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3f &, axis, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3f_R1, - "", - ""); - I_Method2(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3d &, axis, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3d_R1, - "", - ""); - I_Method4(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__value_type__value_type__value_type, - "", - ""); - I_Method1(void, makeRotate, IN, const osg::Quat &, x, - Properties::NON_VIRTUAL, - __void__makeRotate__C5_Quat_R1, - "", - ""); - I_Method6(void, makeRotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3f &, axis3, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1, - "", - ""); - I_Method6(void, makeRotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3d &, axis3, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1, - "", - ""); - I_Method4(void, decompose, IN, osg::Vec3f &, translation, IN, osg::Quat &, rotation, IN, osg::Vec3f &, scale, IN, osg::Quat &, so, - Properties::NON_VIRTUAL, - __void__decompose__osg_Vec3f_R1__osg_Quat_R1__osg_Vec3f_R1__osg_Quat_R1, - "decompose the matrix into translation, rotation, scale and scale orientation. ", - ""); - I_Method4(void, decompose, IN, osg::Vec3d &, translation, IN, osg::Quat &, rotation, IN, osg::Vec3d &, scale, IN, osg::Quat &, so, - Properties::NON_VIRTUAL, - __void__decompose__osg_Vec3d_R1__osg_Quat_R1__osg_Vec3d_R1__osg_Quat_R1, - "decompose the matrix into translation, rotation, scale and scale orientation. ", - ""); - I_Method6(void, makeOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__makeOrtho__double__double__double__double__double__double, - "Set to an orthographic projection. ", - "See glOrtho for further details. "); - I_Method6(bool, getOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1, - "Get the orthographic settings of the orthographic projection matrix. ", - "Note, if matrix is not an orthographic matrix then invalid values will be returned. "); - I_Method4(void, makeOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, - Properties::NON_VIRTUAL, - __void__makeOrtho2D__double__double__double__double, - "Set to a 2D orthographic projection. ", - "See glOrtho2D for further details. "); - I_Method6(void, makeFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__makeFrustum__double__double__double__double__double__double, - "Set to a perspective projection. ", - "See glFrustum for further details. "); - I_Method6(bool, getFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1, - "Get the frustum settings of a perspective projection matrix. ", - "Note, if matrix is not a perspective matrix then invalid values will be returned. "); - I_Method4(void, makePerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__makePerspective__double__double__double__double, - "Set to a symmetrical perspective projection. ", - "See gluPerspective for further details. Aspect ratio is defined as width/height. "); - I_Method4(bool, getPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getPerspective__double_R1__double_R1__double_R1__double_R1, - "Get the frustum settings of a symmetric perspective projection matrix. ", - "Return false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configuration one should use the AsFrustum method instead. "); - I_Method3(void, makeLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up, - Properties::NON_VIRTUAL, - __void__makeLookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1, - "Set the position and orientation to be a view matrix, using the same convention as gluLookAt. ", - ""); - I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3f &, eye, , IN, osg::Vec3f &, center, , IN, osg::Vec3f &, up, , IN, osg::Matrixd::value_type, lookDistance, 1.0f, - Properties::NON_VIRTUAL, - __void__getLookAt__Vec3f_R1__Vec3f_R1__Vec3f_R1__value_type, - "Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ", - ""); - I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3d &, eye, , IN, osg::Vec3d &, center, , IN, osg::Vec3d &, up, , IN, osg::Matrixd::value_type, lookDistance, 1.0f, - Properties::NON_VIRTUAL, - __void__getLookAt__Vec3d_R1__Vec3d_R1__Vec3d_R1__value_type, - "Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ", - ""); - I_Method1(bool, invert, IN, const osg::Matrixd &, rhs, - Properties::NON_VIRTUAL, - __bool__invert__C5_Matrixd_R1, - "invert the matrix rhs, automatically select invert_4x3 or invert_4x4. ", - ""); - I_Method1(bool, invert_4x3, IN, const osg::Matrixd &, rhs, - Properties::NON_VIRTUAL, - __bool__invert_4x3__C5_Matrixd_R1, - "4x3 matrix invert, not right hand column is assumed to be 0,0,0,1. ", - ""); - I_Method1(bool, invert_4x4, IN, const osg::Matrixd &, rhs, - Properties::NON_VIRTUAL, - __bool__invert_4x4__C5_Matrixd_R1, - "full 4x4 matrix invert. ", - ""); - I_Method1(void, orthoNormalize, IN, const osg::Matrixd &, rhs, - Properties::NON_VIRTUAL, - __void__orthoNormalize__C5_Matrixd_R1, - "ortho-normalize the 3x3 rotation & scale matrix ", - ""); - I_Method1(osg::Vec3f, preMult, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __Vec3f__preMult__C5_Vec3f_R1, - "", - ""); - I_Method1(osg::Vec3d, preMult, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __Vec3d__preMult__C5_Vec3d_R1, - "", - ""); - I_Method1(osg::Vec3f, postMult, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __Vec3f__postMult__C5_Vec3f_R1, - "", - ""); - I_Method1(osg::Vec3d, postMult, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __Vec3d__postMult__C5_Vec3d_R1, - "", - ""); - I_Method1(osg::Vec4f, preMult, IN, const osg::Vec4f &, v, - Properties::NON_VIRTUAL, - __Vec4f__preMult__C5_Vec4f_R1, - "", - ""); - I_Method1(osg::Vec4d, preMult, IN, const osg::Vec4d &, v, - Properties::NON_VIRTUAL, - __Vec4d__preMult__C5_Vec4d_R1, - "", - ""); - I_Method1(osg::Vec4f, postMult, IN, const osg::Vec4f &, v, - Properties::NON_VIRTUAL, - __Vec4f__postMult__C5_Vec4f_R1, - "", - ""); - I_Method1(osg::Vec4d, postMult, IN, const osg::Vec4d &, v, - Properties::NON_VIRTUAL, - __Vec4d__postMult__C5_Vec4d_R1, - "", - ""); - I_Method1(void, set, IN, const osg::Quat &, q, - Properties::NON_VIRTUAL, - __void__set__C5_Quat_R1, - "", - ""); - I_Method1(void, get, IN, osg::Quat &, q, - Properties::NON_VIRTUAL, - __void__get__Quat_R1, - "", - ""); - I_Method1(void, setRotate, IN, const osg::Quat &, q, - Properties::NON_VIRTUAL, - __void__setRotate__C5_Quat_R1, - "", - ""); - I_Method0(osg::Quat, getRotate, - Properties::NON_VIRTUAL, - __Quat__getRotate, - "Get the matrix rotation as a Quat. ", - "Note that this function assumes a non-scaled matrix and will return incorrect results for scaled matrixces. Consider decompose() instead. "); - I_Method3(void, setTrans, IN, osg::Matrixd::value_type, tx, IN, osg::Matrixd::value_type, ty, IN, osg::Matrixd::value_type, tz, - Properties::NON_VIRTUAL, - __void__setTrans__value_type__value_type__value_type, - "", - ""); - I_Method1(void, setTrans, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __void__setTrans__C5_Vec3f_R1, - "", - ""); - I_Method1(void, setTrans, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __void__setTrans__C5_Vec3d_R1, - "", - ""); - I_Method0(osg::Vec3d, getTrans, - Properties::NON_VIRTUAL, - __Vec3d__getTrans, - "", - ""); - I_Method0(osg::Vec3d, getScale, - Properties::NON_VIRTUAL, - __Vec3d__getScale, - "", - ""); - I_Method2(void, mult, IN, const osg::Matrixd &, x, IN, const osg::Matrixd &, x, - Properties::NON_VIRTUAL, - __void__mult__C5_Matrixd_R1__C5_Matrixd_R1, - "", - ""); - I_Method1(void, preMult, IN, const osg::Matrixd &, x, - Properties::NON_VIRTUAL, - __void__preMult__C5_Matrixd_R1, - "", - ""); - I_Method1(void, postMult, IN, const osg::Matrixd &, x, - Properties::NON_VIRTUAL, - __void__postMult__C5_Matrixd_R1, - "", - ""); - I_Method1(void, preMultTranslate, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __void__preMultTranslate__C5_Vec3d_R1, - "Optimized version of preMult(translate(v));. ", - ""); - I_Method1(void, preMultTranslate, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __void__preMultTranslate__C5_Vec3f_R1, - "", - ""); - I_Method1(void, postMultTranslate, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __void__postMultTranslate__C5_Vec3d_R1, - "Optimized version of postMult(translate(v));. ", - ""); - I_Method1(void, postMultTranslate, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __void__postMultTranslate__C5_Vec3f_R1, - "", - ""); - I_Method1(void, preMultScale, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __void__preMultScale__C5_Vec3d_R1, - "Optimized version of preMult(scale(v));. ", - ""); - I_Method1(void, preMultScale, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __void__preMultScale__C5_Vec3f_R1, - "", - ""); - I_Method1(void, postMultScale, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __void__postMultScale__C5_Vec3d_R1, - "Optimized version of postMult(scale(v));. ", - ""); - I_Method1(void, postMultScale, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __void__postMultScale__C5_Vec3f_R1, - "", - ""); - I_Method1(void, preMultRotate, IN, const osg::Quat &, q, - Properties::NON_VIRTUAL, - __void__preMultRotate__C5_Quat_R1, - "Optimized version of preMult(rotate(q));. ", - ""); - I_Method1(void, postMultRotate, IN, const osg::Quat &, q, - Properties::NON_VIRTUAL, - __void__postMultRotate__C5_Quat_R1, - "Optimized version of postMult(rotate(q));. ", - ""); - I_StaticMethod0(osg::Matrixd, identity, - __Matrixd__identity_S, - "", - ""); - I_StaticMethod1(osg::Matrixd, scale, IN, const osg::Vec3f &, sv, - __Matrixd__scale__C5_Vec3f_R1_S, - "", - ""); - I_StaticMethod1(osg::Matrixd, scale, IN, const osg::Vec3d &, sv, - __Matrixd__scale__C5_Vec3d_R1_S, - "", - ""); - I_StaticMethod3(osg::Matrixd, scale, IN, osg::Matrixd::value_type, sx, IN, osg::Matrixd::value_type, sy, IN, osg::Matrixd::value_type, sz, - __Matrixd__scale__value_type__value_type__value_type_S, - "", - ""); - I_StaticMethod1(osg::Matrixd, translate, IN, const osg::Vec3f &, dv, - __Matrixd__translate__C5_Vec3f_R1_S, - "", - ""); - I_StaticMethod1(osg::Matrixd, translate, IN, const osg::Vec3d &, dv, - __Matrixd__translate__C5_Vec3d_R1_S, - "", - ""); - I_StaticMethod3(osg::Matrixd, translate, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z, - __Matrixd__translate__value_type__value_type__value_type_S, - "", - ""); - I_StaticMethod2(osg::Matrixd, rotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to, - __Matrixd__rotate__C5_Vec3f_R1__C5_Vec3f_R1_S, - "", - ""); - I_StaticMethod2(osg::Matrixd, rotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to, - __Matrixd__rotate__C5_Vec3d_R1__C5_Vec3d_R1_S, - "", - ""); - I_StaticMethod4(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z, - __Matrixd__rotate__value_type__value_type__value_type__value_type_S, - "", - ""); - I_StaticMethod2(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3f &, axis, - __Matrixd__rotate__value_type__C5_Vec3f_R1_S, - "", - ""); - I_StaticMethod2(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3d &, axis, - __Matrixd__rotate__value_type__C5_Vec3d_R1_S, - "", - ""); - I_StaticMethod6(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3f &, axis3, - __Matrixd__rotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1_S, - "", - ""); - I_StaticMethod6(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3d &, axis3, - __Matrixd__rotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1_S, - "", - ""); - I_StaticMethod1(osg::Matrixd, rotate, IN, const osg::Quat &, quat, - __Matrixd__rotate__C5_Quat_R1_S, - "", - ""); - I_StaticMethod1(osg::Matrixd, inverse, IN, const osg::Matrixd &, matrix, - __Matrixd__inverse__C5_Matrixd_R1_S, - "", - ""); - I_StaticMethod1(osg::Matrixd, orthoNormal, IN, const osg::Matrixd &, matrix, - __Matrixd__orthoNormal__C5_Matrixd_R1_S, - "", - ""); - I_StaticMethod6(osg::Matrixd, ortho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - __Matrixd__ortho__double__double__double__double__double__double_S, - "Create an orthographic projection matrix. ", - "See glOrtho for further details. "); - I_StaticMethod4(osg::Matrixd, ortho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, - __Matrixd__ortho2D__double__double__double__double_S, - "Create a 2D orthographic projection. ", - "See glOrtho for further details. "); - I_StaticMethod6(osg::Matrixd, frustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - __Matrixd__frustum__double__double__double__double__double__double_S, - "Create a perspective projection. ", - "See glFrustum for further details. "); - I_StaticMethod4(osg::Matrixd, perspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar, - __Matrixd__perspective__double__double__double__double_S, - "Create a symmetrical perspective projection. ", - "See gluPerspective for further details. Aspect ratio is defined as width/height. "); - I_StaticMethod3(osg::Matrixd, lookAt, IN, const osg::Vec3f &, eye, IN, const osg::Vec3f &, center, IN, const osg::Vec3f &, up, - __Matrixd__lookAt__C5_Vec3f_R1__C5_Vec3f_R1__C5_Vec3f_R1_S, - "Create the position and orientation as per a camera, using the same convention as gluLookAt. ", - ""); - I_StaticMethod3(osg::Matrixd, lookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up, - __Matrixd__lookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1_S, - "Create the position and orientation as per a camera, using the same convention as gluLookAt. ", - ""); - I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Vec3f &, v, IN, const osg::Matrixd &, m, - __Vec3f__transform3x3__C5_Vec3f_R1__C5_Matrixd_R1_S, - "apply a 3x3 transform of v*M[0. ", - ".2,0..2]. "); - I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Vec3d &, v, IN, const osg::Matrixd &, m, - __Vec3d__transform3x3__C5_Vec3d_R1__C5_Matrixd_R1_S, - "apply a 3x3 transform of v*M[0. ", - ".2,0..2]. "); - I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Matrixd &, m, IN, const osg::Vec3f &, v, - __Vec3f__transform3x3__C5_Matrixd_R1__C5_Vec3f_R1_S, - "apply a 3x3 transform of M[0. ", - ".2,0..2]*v. "); - I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Matrixd &, m, IN, const osg::Vec3d &, v, - __Vec3d__transform3x3__C5_Matrixd_R1__C5_Vec3d_R1_S, - "apply a 3x3 transform of M[0. ", - ".2,0..2]*v. "); - I_SimpleProperty(osg::Quat, Rotate, - __Quat__getRotate, - __void__setRotate__C5_Quat_R1); - I_SimpleProperty(osg::Vec3d, Scale, - __Vec3d__getScale, - 0); - I_SimpleProperty(osg::Vec3d, Trans, - __Vec3d__getTrans, - __void__setTrans__C5_Vec3d_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::RefMatrixd) - I_DeclaringFile("osg/Matrixd"); - I_BaseType(osg::Object); - I_BaseType(osg::Matrixd); - I_Constructor0(____RefMatrixd, - "", - ""); - I_Constructor1(IN, const osg::Matrixd &, other, - Properties::NON_EXPLICIT, - ____RefMatrixd__C5_Matrixd_R1, - "", - ""); - I_Constructor1(IN, const osg::Matrixf &, other, - Properties::NON_EXPLICIT, - ____RefMatrixd__C5_Matrixf_R1, - "", - ""); - I_Constructor1(IN, const osg::RefMatrixd &, other, - Properties::NON_EXPLICIT, - ____RefMatrixd__C5_RefMatrixd_R1, - "", - ""); - I_Constructor1(IN, osg::Matrixd::value_type const *const, def, - Properties::EXPLICIT, - ____RefMatrixd__Matrixd_value_type_C5_P1C5, - "", - ""); - I_Constructor16(IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33, - ____RefMatrixd__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Matrixf.cpp b/src/osgWrappers/introspection/osg/Matrixf.cpp deleted file mode 100644 index ad1171ab7..000000000 --- a/src/osgWrappers/introspection/osg/Matrixf.cpp +++ /dev/null @@ -1,605 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(float, osg::Matrixf::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Matrixf) - I_DeclaringFile("osg/Matrixf"); - I_Constructor0(____Matrixf, - "", - ""); - I_Constructor1(IN, const osg::Matrixf &, mat, - Properties::NON_EXPLICIT, - ____Matrixf__C5_Matrixf_R1, - "", - ""); - I_Constructor1(IN, const osg::Matrixd &, mat, - Properties::NON_EXPLICIT, - ____Matrixf__C5_Matrixd_R1, - "", - ""); - I_Constructor1(IN, float const *const, ptr, - Properties::EXPLICIT, - ____Matrixf__float_C5_P1C5, - "", - ""); - I_Constructor1(IN, double const *const, ptr, - Properties::EXPLICIT, - ____Matrixf__double_C5_P1C5, - "", - ""); - I_Constructor1(IN, const osg::Quat &, quat, - Properties::EXPLICIT, - ____Matrixf__C5_Quat_R1, - "", - ""); - I_Constructor16(IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33, - ____Matrixf__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type, - "", - ""); - I_Method1(int, compare, IN, const osg::Matrixf &, m, - Properties::NON_VIRTUAL, - __int__compare__C5_Matrixf_R1, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(bool, isNaN, - Properties::NON_VIRTUAL, - __bool__isNaN, - "", - ""); - I_Method1(void, set, IN, const osg::Matrixf &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Matrixf_R1, - "", - ""); - I_Method1(void, set, IN, const osg::Matrixd &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Matrixd_R1, - "", - ""); - I_Method1(void, set, IN, float const *const, ptr, - Properties::NON_VIRTUAL, - __void__set__float_C5_P1C5, - "", - ""); - I_Method1(void, set, IN, double const *const, ptr, - Properties::NON_VIRTUAL, - __void__set__double_C5_P1C5, - "", - ""); - I_Method16(void, set, IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Matrixf::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Matrixf::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method0(bool, isIdentity, - Properties::NON_VIRTUAL, - __bool__isIdentity, - "", - ""); - I_Method0(void, makeIdentity, - Properties::NON_VIRTUAL, - __void__makeIdentity, - "", - ""); - I_Method1(void, makeScale, IN, const osg::Vec3f &, x, - Properties::NON_VIRTUAL, - __void__makeScale__C5_Vec3f_R1, - "", - ""); - I_Method1(void, makeScale, IN, const osg::Vec3d &, x, - Properties::NON_VIRTUAL, - __void__makeScale__C5_Vec3d_R1, - "", - ""); - I_Method3(void, makeScale, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x, - Properties::NON_VIRTUAL, - __void__makeScale__value_type__value_type__value_type, - "", - ""); - I_Method1(void, makeTranslate, IN, const osg::Vec3f &, x, - Properties::NON_VIRTUAL, - __void__makeTranslate__C5_Vec3f_R1, - "", - ""); - I_Method1(void, makeTranslate, IN, const osg::Vec3d &, x, - Properties::NON_VIRTUAL, - __void__makeTranslate__C5_Vec3d_R1, - "", - ""); - I_Method3(void, makeTranslate, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x, - Properties::NON_VIRTUAL, - __void__makeTranslate__value_type__value_type__value_type, - "", - ""); - I_Method2(void, makeRotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to, - Properties::NON_VIRTUAL, - __void__makeRotate__C5_Vec3f_R1__C5_Vec3f_R1, - "", - ""); - I_Method2(void, makeRotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to, - Properties::NON_VIRTUAL, - __void__makeRotate__C5_Vec3d_R1__C5_Vec3d_R1, - "", - ""); - I_Method2(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3f &, axis, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3f_R1, - "", - ""); - I_Method2(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3d &, axis, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3d_R1, - "", - ""); - I_Method4(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__value_type__value_type__value_type, - "", - ""); - I_Method1(void, makeRotate, IN, const osg::Quat &, x, - Properties::NON_VIRTUAL, - __void__makeRotate__C5_Quat_R1, - "", - ""); - I_Method6(void, makeRotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3f &, axis3, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1, - "", - ""); - I_Method6(void, makeRotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3d &, axis3, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1, - "", - ""); - I_Method4(void, decompose, IN, osg::Vec3f &, translation, IN, osg::Quat &, rotation, IN, osg::Vec3f &, scale, IN, osg::Quat &, so, - Properties::NON_VIRTUAL, - __void__decompose__osg_Vec3f_R1__osg_Quat_R1__osg_Vec3f_R1__osg_Quat_R1, - "decompose the matrix into translation, rotation, scale and scale orientation. ", - ""); - I_Method4(void, decompose, IN, osg::Vec3d &, translation, IN, osg::Quat &, rotation, IN, osg::Vec3d &, scale, IN, osg::Quat &, so, - Properties::NON_VIRTUAL, - __void__decompose__osg_Vec3d_R1__osg_Quat_R1__osg_Vec3d_R1__osg_Quat_R1, - "decompose the matrix into translation, rotation, scale and scale orientation. ", - ""); - I_Method6(void, makeOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__makeOrtho__double__double__double__double__double__double, - "Set to an orthographic projection. ", - "See glOrtho for further details. "); - I_Method6(bool, getOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1, - "Get the orthographic settings of the orthographic projection matrix. ", - "Note, if matrix is not an orthographic matrix then invalid values will be returned. "); - I_Method4(void, makeOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, - Properties::NON_VIRTUAL, - __void__makeOrtho2D__double__double__double__double, - "Set to a 2D orthographic projection. ", - "See glOrtho2D for further details. "); - I_Method6(void, makeFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__makeFrustum__double__double__double__double__double__double, - "Set to a perspective projection. ", - "See glFrustum for further details. "); - I_Method6(bool, getFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1, - "Get the frustum settings of a perspective projection matrix. ", - "Note, if matrix is not a perspective matrix then invalid values will be returned. "); - I_Method4(void, makePerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__makePerspective__double__double__double__double, - "Set to a symmetrical perspective projection. ", - "See gluPerspective for further details. Aspect ratio is defined as width/height. "); - I_Method4(bool, getPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getPerspective__double_R1__double_R1__double_R1__double_R1, - "Get the frustum settings of a symmetric perspective projection matrix. ", - "Return false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configuration one should use the AsFrustum method instead. "); - I_Method3(void, makeLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up, - Properties::NON_VIRTUAL, - __void__makeLookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1, - "Set the position and orientation to be a view matrix, using the same convention as gluLookAt. ", - ""); - I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3f &, eye, , IN, osg::Vec3f &, center, , IN, osg::Vec3f &, up, , IN, osg::Matrixf::value_type, lookDistance, 1.0f, - Properties::NON_VIRTUAL, - __void__getLookAt__Vec3f_R1__Vec3f_R1__Vec3f_R1__value_type, - "Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ", - ""); - I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3d &, eye, , IN, osg::Vec3d &, center, , IN, osg::Vec3d &, up, , IN, osg::Matrixf::value_type, lookDistance, 1.0f, - Properties::NON_VIRTUAL, - __void__getLookAt__Vec3d_R1__Vec3d_R1__Vec3d_R1__value_type, - "Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ", - ""); - I_Method1(bool, invert, IN, const osg::Matrixf &, rhs, - Properties::NON_VIRTUAL, - __bool__invert__C5_Matrixf_R1, - "invert the matrix rhs, automatically select invert_4x3 or invert_4x4. ", - ""); - I_Method1(bool, invert_4x3, IN, const osg::Matrixf &, rhs, - Properties::NON_VIRTUAL, - __bool__invert_4x3__C5_Matrixf_R1, - "4x3 matrix invert, not right hand column is assumed to be 0,0,0,1. ", - ""); - I_Method1(bool, invert_4x4, IN, const osg::Matrixf &, rhs, - Properties::NON_VIRTUAL, - __bool__invert_4x4__C5_Matrixf_R1, - "full 4x4 matrix invert. ", - ""); - I_Method1(void, orthoNormalize, IN, const osg::Matrixf &, rhs, - Properties::NON_VIRTUAL, - __void__orthoNormalize__C5_Matrixf_R1, - "ortho-normalize the 3x3 rotation & scale matrix ", - ""); - I_Method1(osg::Vec3f, preMult, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __Vec3f__preMult__C5_Vec3f_R1, - "", - ""); - I_Method1(osg::Vec3d, preMult, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __Vec3d__preMult__C5_Vec3d_R1, - "", - ""); - I_Method1(osg::Vec3f, postMult, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __Vec3f__postMult__C5_Vec3f_R1, - "", - ""); - I_Method1(osg::Vec3d, postMult, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __Vec3d__postMult__C5_Vec3d_R1, - "", - ""); - I_Method1(osg::Vec4f, preMult, IN, const osg::Vec4f &, v, - Properties::NON_VIRTUAL, - __Vec4f__preMult__C5_Vec4f_R1, - "", - ""); - I_Method1(osg::Vec4d, preMult, IN, const osg::Vec4d &, v, - Properties::NON_VIRTUAL, - __Vec4d__preMult__C5_Vec4d_R1, - "", - ""); - I_Method1(osg::Vec4f, postMult, IN, const osg::Vec4f &, v, - Properties::NON_VIRTUAL, - __Vec4f__postMult__C5_Vec4f_R1, - "", - ""); - I_Method1(osg::Vec4d, postMult, IN, const osg::Vec4d &, v, - Properties::NON_VIRTUAL, - __Vec4d__postMult__C5_Vec4d_R1, - "", - ""); - I_Method1(void, set, IN, const osg::Quat &, q, - Properties::NON_VIRTUAL, - __void__set__C5_Quat_R1, - "", - ""); - I_Method1(void, get, IN, osg::Quat &, q, - Properties::NON_VIRTUAL, - __void__get__Quat_R1, - "", - ""); - I_Method1(void, setRotate, IN, const osg::Quat &, q, - Properties::NON_VIRTUAL, - __void__setRotate__C5_Quat_R1, - "", - ""); - I_Method0(osg::Quat, getRotate, - Properties::NON_VIRTUAL, - __Quat__getRotate, - "Get the matrix rotation as a Quat. ", - "Note that this function assumes a non-scaled matrix and will return incorrect results for scaled matrixces. Consider decompose() instead. "); - I_Method3(void, setTrans, IN, osg::Matrixf::value_type, tx, IN, osg::Matrixf::value_type, ty, IN, osg::Matrixf::value_type, tz, - Properties::NON_VIRTUAL, - __void__setTrans__value_type__value_type__value_type, - "", - ""); - I_Method1(void, setTrans, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __void__setTrans__C5_Vec3f_R1, - "", - ""); - I_Method1(void, setTrans, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __void__setTrans__C5_Vec3d_R1, - "", - ""); - I_Method0(osg::Vec3d, getTrans, - Properties::NON_VIRTUAL, - __Vec3d__getTrans, - "", - ""); - I_Method0(osg::Vec3d, getScale, - Properties::NON_VIRTUAL, - __Vec3d__getScale, - "", - ""); - I_Method2(void, mult, IN, const osg::Matrixf &, x, IN, const osg::Matrixf &, x, - Properties::NON_VIRTUAL, - __void__mult__C5_Matrixf_R1__C5_Matrixf_R1, - "", - ""); - I_Method1(void, preMult, IN, const osg::Matrixf &, x, - Properties::NON_VIRTUAL, - __void__preMult__C5_Matrixf_R1, - "", - ""); - I_Method1(void, postMult, IN, const osg::Matrixf &, x, - Properties::NON_VIRTUAL, - __void__postMult__C5_Matrixf_R1, - "", - ""); - I_Method1(void, preMultTranslate, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __void__preMultTranslate__C5_Vec3d_R1, - "Optimized version of preMult(translate(v));. ", - ""); - I_Method1(void, preMultTranslate, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __void__preMultTranslate__C5_Vec3f_R1, - "", - ""); - I_Method1(void, postMultTranslate, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __void__postMultTranslate__C5_Vec3d_R1, - "Optimized version of postMult(translate(v));. ", - ""); - I_Method1(void, postMultTranslate, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __void__postMultTranslate__C5_Vec3f_R1, - "", - ""); - I_Method1(void, preMultScale, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __void__preMultScale__C5_Vec3d_R1, - "Optimized version of preMult(scale(v));. ", - ""); - I_Method1(void, preMultScale, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __void__preMultScale__C5_Vec3f_R1, - "", - ""); - I_Method1(void, postMultScale, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __void__postMultScale__C5_Vec3d_R1, - "Optimized version of postMult(scale(v));. ", - ""); - I_Method1(void, postMultScale, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __void__postMultScale__C5_Vec3f_R1, - "", - ""); - I_Method1(void, preMultRotate, IN, const osg::Quat &, q, - Properties::NON_VIRTUAL, - __void__preMultRotate__C5_Quat_R1, - "Optimized version of preMult(rotate(q));. ", - ""); - I_Method1(void, postMultRotate, IN, const osg::Quat &, q, - Properties::NON_VIRTUAL, - __void__postMultRotate__C5_Quat_R1, - "Optimized version of postMult(rotate(q));. ", - ""); - I_StaticMethod0(osg::Matrixf, identity, - __Matrixf__identity_S, - "", - ""); - I_StaticMethod1(osg::Matrixf, scale, IN, const osg::Vec3f &, sv, - __Matrixf__scale__C5_Vec3f_R1_S, - "", - ""); - I_StaticMethod1(osg::Matrixf, scale, IN, const osg::Vec3d &, sv, - __Matrixf__scale__C5_Vec3d_R1_S, - "", - ""); - I_StaticMethod3(osg::Matrixf, scale, IN, osg::Matrixf::value_type, sx, IN, osg::Matrixf::value_type, sy, IN, osg::Matrixf::value_type, sz, - __Matrixf__scale__value_type__value_type__value_type_S, - "", - ""); - I_StaticMethod1(osg::Matrixf, translate, IN, const osg::Vec3f &, dv, - __Matrixf__translate__C5_Vec3f_R1_S, - "", - ""); - I_StaticMethod1(osg::Matrixf, translate, IN, const osg::Vec3d &, dv, - __Matrixf__translate__C5_Vec3d_R1_S, - "", - ""); - I_StaticMethod3(osg::Matrixf, translate, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z, - __Matrixf__translate__value_type__value_type__value_type_S, - "", - ""); - I_StaticMethod2(osg::Matrixf, rotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to, - __Matrixf__rotate__C5_Vec3f_R1__C5_Vec3f_R1_S, - "", - ""); - I_StaticMethod2(osg::Matrixf, rotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to, - __Matrixf__rotate__C5_Vec3d_R1__C5_Vec3d_R1_S, - "", - ""); - I_StaticMethod4(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z, - __Matrixf__rotate__value_type__value_type__value_type__value_type_S, - "", - ""); - I_StaticMethod2(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3f &, axis, - __Matrixf__rotate__value_type__C5_Vec3f_R1_S, - "", - ""); - I_StaticMethod2(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3d &, axis, - __Matrixf__rotate__value_type__C5_Vec3d_R1_S, - "", - ""); - I_StaticMethod6(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3f &, axis3, - __Matrixf__rotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1_S, - "", - ""); - I_StaticMethod6(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3d &, axis3, - __Matrixf__rotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1_S, - "", - ""); - I_StaticMethod1(osg::Matrixf, rotate, IN, const osg::Quat &, quat, - __Matrixf__rotate__C5_Quat_R1_S, - "", - ""); - I_StaticMethod1(osg::Matrixf, inverse, IN, const osg::Matrixf &, matrix, - __Matrixf__inverse__C5_Matrixf_R1_S, - "", - ""); - I_StaticMethod1(osg::Matrixf, orthoNormal, IN, const osg::Matrixf &, matrix, - __Matrixf__orthoNormal__C5_Matrixf_R1_S, - "", - ""); - I_StaticMethod6(osg::Matrixf, ortho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - __Matrixf__ortho__double__double__double__double__double__double_S, - "Create an orthographic projection matrix. ", - "See glOrtho for further details. "); - I_StaticMethod4(osg::Matrixf, ortho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, - __Matrixf__ortho2D__double__double__double__double_S, - "Create a 2D orthographic projection. ", - "See glOrtho for further details. "); - I_StaticMethod6(osg::Matrixf, frustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - __Matrixf__frustum__double__double__double__double__double__double_S, - "Create a perspective projection. ", - "See glFrustum for further details. "); - I_StaticMethod4(osg::Matrixf, perspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar, - __Matrixf__perspective__double__double__double__double_S, - "Create a symmetrical perspective projection. ", - "See gluPerspective for further details. Aspect ratio is defined as width/height. "); - I_StaticMethod3(osg::Matrixf, lookAt, IN, const osg::Vec3f &, eye, IN, const osg::Vec3f &, center, IN, const osg::Vec3f &, up, - __Matrixf__lookAt__C5_Vec3f_R1__C5_Vec3f_R1__C5_Vec3f_R1_S, - "Create the position and orientation as per a camera, using the same convention as gluLookAt. ", - ""); - I_StaticMethod3(osg::Matrixf, lookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up, - __Matrixf__lookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1_S, - "Create the position and orientation as per a camera, using the same convention as gluLookAt. ", - ""); - I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Vec3f &, v, IN, const osg::Matrixf &, m, - __Vec3f__transform3x3__C5_Vec3f_R1__C5_Matrixf_R1_S, - "apply a 3x3 transform of v*M[0. ", - ".2,0..2]. "); - I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Vec3d &, v, IN, const osg::Matrixf &, m, - __Vec3d__transform3x3__C5_Vec3d_R1__C5_Matrixf_R1_S, - "apply a 3x3 transform of v*M[0. ", - ".2,0..2]. "); - I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Matrixf &, m, IN, const osg::Vec3f &, v, - __Vec3f__transform3x3__C5_Matrixf_R1__C5_Vec3f_R1_S, - "apply a 3x3 transform of M[0. ", - ".2,0..2]*v. "); - I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Matrixf &, m, IN, const osg::Vec3d &, v, - __Vec3d__transform3x3__C5_Matrixf_R1__C5_Vec3d_R1_S, - "apply a 3x3 transform of M[0. ", - ".2,0..2]*v. "); - I_SimpleProperty(osg::Quat, Rotate, - __Quat__getRotate, - __void__setRotate__C5_Quat_R1); - I_SimpleProperty(osg::Vec3d, Scale, - __Vec3d__getScale, - 0); - I_SimpleProperty(osg::Vec3d, Trans, - __Vec3d__getTrans, - __void__setTrans__C5_Vec3d_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::RefMatrixf) - I_DeclaringFile("osg/Matrixf"); - I_BaseType(osg::Object); - I_BaseType(osg::Matrixf); - I_Constructor0(____RefMatrixf, - "", - ""); - I_Constructor1(IN, const osg::Matrixf &, other, - Properties::NON_EXPLICIT, - ____RefMatrixf__C5_Matrixf_R1, - "", - ""); - I_Constructor1(IN, const osg::Matrixd &, other, - Properties::NON_EXPLICIT, - ____RefMatrixf__C5_Matrixd_R1, - "", - ""); - I_Constructor1(IN, const osg::RefMatrixf &, other, - Properties::NON_EXPLICIT, - ____RefMatrixf__C5_RefMatrixf_R1, - "", - ""); - I_Constructor1(IN, osg::Matrixf::value_type const *const, def, - Properties::EXPLICIT, - ____RefMatrixf__Matrixf_value_type_C5_P1C5, - "", - ""); - I_Constructor16(IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33, - ____RefMatrixf__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Multisample.cpp b/src/osgWrappers/introspection/osg/Multisample.cpp deleted file mode 100644 index 5f34e3b16..000000000 --- a/src/osgWrappers/introspection/osg/Multisample.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Multisample::Mode) - I_DeclaringFile("osg/Multisample"); - I_EnumLabel(osg::Multisample::FASTEST); - I_EnumLabel(osg::Multisample::NICEST); - I_EnumLabel(osg::Multisample::DONT_CARE); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Multisample) - I_DeclaringFile("osg/Multisample"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Multisample, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Multisample &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Multisample__C5_Multisample_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method2(void, setSampleCoverage, IN, float, coverage, IN, bool, invert, - Properties::NON_VIRTUAL, - __void__setSampleCoverage__float__bool, - "", - ""); - I_Method1(void, setCoverage, IN, float, coverage, - Properties::NON_VIRTUAL, - __void__setCoverage__float, - "", - ""); - I_Method0(float, getCoverage, - Properties::NON_VIRTUAL, - __float__getCoverage, - "", - ""); - I_Method1(void, setInvert, IN, bool, invert, - Properties::NON_VIRTUAL, - __void__setInvert__bool, - "", - ""); - I_Method0(bool, getInvert, - Properties::NON_VIRTUAL, - __bool__getInvert, - "", - ""); - I_Method1(void, setHint, IN, osg::Multisample::Mode, mode, - Properties::NON_VIRTUAL, - __void__setHint__Mode, - "", - ""); - I_Method0(osg::Multisample::Mode, getHint, - Properties::NON_VIRTUAL, - __Mode__getHint, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_StaticMethod2(osg::Multisample::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Function to call to get the extension of a specified context. ", - "If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Multisample::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "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. "); - I_SimpleProperty(float, Coverage, - __float__getCoverage, - __void__setCoverage__float); - I_SimpleProperty(osg::Multisample::Mode, Hint, - __Mode__getHint, - __void__setHint__Mode); - I_SimpleProperty(bool, Invert, - __bool__getInvert, - __void__setInvert__bool); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Node.cpp b/src/osgWrappers/introspection/osg/Node.cpp deleted file mode 100644 index 0be842f6f..000000000 --- a/src/osgWrappers/introspection/osg/Node.cpp +++ /dev/null @@ -1,543 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::Group * >, osg::Node::ParentList) - -TYPE_NAME_ALIAS(unsigned int, osg::Node::NodeMask) - -TYPE_NAME_ALIAS(std::vector< std::string >, osg::Node::DescriptionList) - -BEGIN_OBJECT_REFLECTOR(osg::Node) - I_DeclaringFile("osg/Node"); - I_BaseType(osg::Object); - I_Constructor0(____Node, - "Construct a node. ", - "Initialize the parent list to empty, node name to \"\" and bounding sphere dirty flag to true. "); - I_ConstructorWithDefaults2(IN, const osg::Node &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Node__C5_Node_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(osg::Group *, asGroup, - Properties::VIRTUAL, - __Group_P1__asGroup, - "convert 'this' into a Group pointer if Node is a Group, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(const osg::Group *, asGroup, - Properties::VIRTUAL, - __C5_Group_P1__asGroup, - "convert 'const this' into a const Group pointer if Node is a Group, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(osg::Transform *, asTransform, - Properties::VIRTUAL, - __Transform_P1__asTransform, - "Convert 'this' into a Transform pointer if Node is a Transform, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(const osg::Transform *, asTransform, - Properties::VIRTUAL, - __C5_Transform_P1__asTransform, - "convert 'const this' into a const Transform pointer if Node is a Transform, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(osg::Switch *, asSwitch, - Properties::VIRTUAL, - __Switch_P1__asSwitch, - "Convert 'this' into a Switch pointer if Node is a Switch, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(const osg::Switch *, asSwitch, - Properties::VIRTUAL, - __C5_Switch_P1__asSwitch, - "convert 'const this' into a const Switch pointer if Node is a Switch, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(osg::Geode *, asGeode, - Properties::VIRTUAL, - __Geode_P1__asGeode, - "Convert 'this' into a Geode pointer if Node is a Geode, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(const osg::Geode *, asGeode, - Properties::VIRTUAL, - __C5_Geode_P1__asGeode, - "convert 'const this' into a const Geode pointer if Node is a Geode, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, ascend, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__ascend__NodeVisitor_R1, - "Traverse upwards : calls parents' accept method with NodeVisitor. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method0(const osg::Node::ParentList &, getParents, - Properties::NON_VIRTUAL, - __C5_ParentList_R1__getParents, - "Get the parent list of node. ", - ""); - I_Method0(osg::Node::ParentList, getParents, - Properties::NON_VIRTUAL, - __ParentList__getParents, - "Get the a copy of parent list of node. ", - "A copy is returned to prevent modification of the parent list. "); - I_Method1(osg::Group *, getParent, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Group_P1__getParent__unsigned_int, - "", - ""); - I_Method1(const osg::Group *, getParent, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Group_P1__getParent__unsigned_int, - "Get a single const parent of node. ", - " param i index of the parent to get. return the parent i. "); - I_Method0(unsigned int, getNumParents, - Properties::NON_VIRTUAL, - __unsigned_int__getNumParents, - "Get the number of parents of node. ", - "the number of parents of this node. "); - I_MethodWithDefaults1(osg::NodePathList, getParentalNodePaths, IN, osg::Node *, haltTraversalAtNode, 0, - Properties::NON_VIRTUAL, - __NodePathList__getParentalNodePaths__osg_Node_P1, - "Get the list of node paths parent paths. ", - "The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. "); - I_MethodWithDefaults1(osg::MatrixList, getWorldMatrices, IN, const osg::Node *, haltTraversalAtNode, 0, - Properties::NON_VIRTUAL, - __MatrixList__getWorldMatrices__C5_osg_Node_P1, - "Get the list of matrices that transform this node from local coordinates to world coordinates. ", - "The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. "); - I_Method1(void, setUpdateCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__setUpdateCallback__NodeCallback_P1, - "Set update node callback, called during update traversal. ", - ""); - I_Method0(osg::NodeCallback *, getUpdateCallback, - Properties::NON_VIRTUAL, - __NodeCallback_P1__getUpdateCallback, - "Get update node callback, called during update traversal. ", - ""); - I_Method0(const osg::NodeCallback *, getUpdateCallback, - Properties::NON_VIRTUAL, - __C5_NodeCallback_P1__getUpdateCallback, - "Get const update node callback, called during update traversal. ", - ""); - I_Method1(void, addUpdateCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__addUpdateCallback__NodeCallback_P1, - "Convenience method that sets the update callback of the node if it doesn't exist, or nest it into the existing one. ", - ""); - I_Method1(void, removeUpdateCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__removeUpdateCallback__NodeCallback_P1, - "Convenience method that removes a given callback from a node, even if that callback is nested. ", - "There is no error return in case the given callback is not found. "); - I_Method0(unsigned int, getNumChildrenRequiringUpdateTraversal, - Properties::NON_VIRTUAL, - __unsigned_int__getNumChildrenRequiringUpdateTraversal, - "Get the number of Children of this node which require Update traversal, since they have an Update Callback attached to them or their children. ", - ""); - I_Method1(void, setEventCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__setEventCallback__NodeCallback_P1, - "Set event node callback, called during event traversal. ", - ""); - I_Method0(osg::NodeCallback *, getEventCallback, - Properties::NON_VIRTUAL, - __NodeCallback_P1__getEventCallback, - "Get event node callback, called during event traversal. ", - ""); - I_Method0(const osg::NodeCallback *, getEventCallback, - Properties::NON_VIRTUAL, - __C5_NodeCallback_P1__getEventCallback, - "Get const event node callback, called during event traversal. ", - ""); - I_Method1(void, addEventCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__addEventCallback__NodeCallback_P1, - "Convenience method that sets the event callback of the node if it doesn't exist, or nest it into the existing one. ", - ""); - I_Method1(void, removeEventCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__removeEventCallback__NodeCallback_P1, - "Convenience method that removes a given callback from a node, even if that callback is nested. ", - "There is no error return in case the given callback is not found. "); - I_Method0(unsigned int, getNumChildrenRequiringEventTraversal, - Properties::NON_VIRTUAL, - __unsigned_int__getNumChildrenRequiringEventTraversal, - "Get the number of Children of this node which require Event traversal, since they have an Event Callback attached to them or their children. ", - ""); - I_Method1(void, setCullCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__setCullCallback__NodeCallback_P1, - "Set cull node callback, called during cull traversal. ", - ""); - I_Method0(osg::NodeCallback *, getCullCallback, - Properties::NON_VIRTUAL, - __NodeCallback_P1__getCullCallback, - "Get cull node callback, called during cull traversal. ", - ""); - I_Method0(const osg::NodeCallback *, getCullCallback, - Properties::NON_VIRTUAL, - __C5_NodeCallback_P1__getCullCallback, - "Get const cull node callback, called during cull traversal. ", - ""); - I_Method1(void, addCullCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__addCullCallback__NodeCallback_P1, - "Convenience method that sets the cull callback of the node if it doesn't exist, or nest it into the existing one. ", - ""); - I_Method1(void, removeCullCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__removeCullCallback__NodeCallback_P1, - "Convenience method that removes a given callback from a node, even if that callback is nested. ", - "There is no error return in case the given callback is not found. "); - I_Method1(void, setCullingActive, IN, bool, active, - Properties::NON_VIRTUAL, - __void__setCullingActive__bool, - "Set the view frustum/small feature culling of this node to be active or inactive. ", - "The default value is true for _cullingActive. Used as a guide to the cull traversal. "); - I_Method0(bool, getCullingActive, - Properties::NON_VIRTUAL, - __bool__getCullingActive, - "Get the view frustum/small feature _cullingActive flag for this node. ", - "Used as a guide to the cull traversal. "); - I_Method0(unsigned int, getNumChildrenWithCullingDisabled, - Properties::NON_VIRTUAL, - __unsigned_int__getNumChildrenWithCullingDisabled, - "Get the number of Children of this node which have culling disabled. ", - ""); - I_Method0(bool, isCullingActive, - Properties::NON_VIRTUAL, - __bool__isCullingActive, - "Return true if this node can be culled by view frustum, occlusion or small feature culling during the cull traversal. ", - "Note, returns true only if no children have culling disabled, and the local _cullingActive flag is true. "); - I_Method0(unsigned int, getNumChildrenWithOccluderNodes, - Properties::NON_VIRTUAL, - __unsigned_int__getNumChildrenWithOccluderNodes, - "Get the number of Children of this node which are or have OccluderNode's. ", - ""); - I_Method0(bool, containsOccluderNodes, - Properties::NON_VIRTUAL, - __bool__containsOccluderNodes, - "return true if this node is an OccluderNode or the subgraph below this node are OccluderNodes. ", - ""); - I_Method1(void, setNodeMask, IN, osg::Node::NodeMask, nm, - Properties::NON_VIRTUAL, - __void__setNodeMask__NodeMask, - "Set the node mask. ", - ""); - I_Method0(osg::Node::NodeMask, getNodeMask, - Properties::NON_VIRTUAL, - __NodeMask__getNodeMask, - "Get the node Mask. ", - ""); - I_Method1(void, setDescriptions, IN, const osg::Node::DescriptionList &, descriptions, - Properties::NON_VIRTUAL, - __void__setDescriptions__C5_DescriptionList_R1, - "Set the description list of the node. ", - ""); - I_Method0(osg::Node::DescriptionList &, getDescriptions, - Properties::NON_VIRTUAL, - __DescriptionList_R1__getDescriptions, - "Get the description list of the node. ", - ""); - I_Method0(const osg::Node::DescriptionList &, getDescriptions, - Properties::NON_VIRTUAL, - __C5_DescriptionList_R1__getDescriptions, - "Get the const description list of the const node. ", - ""); - I_Method1(const std::string &, getDescription, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getDescription__unsigned_int, - "Get a single const description of the const node. ", - ""); - I_Method1(std::string &, getDescription, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __std_string_R1__getDescription__unsigned_int, - "Get a single description of the node. ", - ""); - I_Method0(unsigned int, getNumDescriptions, - Properties::NON_VIRTUAL, - __unsigned_int__getNumDescriptions, - "Get the number of descriptions of the node. ", - ""); - I_Method1(void, addDescription, IN, const std::string &, desc, - Properties::NON_VIRTUAL, - __void__addDescription__C5_std_string_R1, - "Add a description string to the node. ", - ""); - I_Method1(void, setStateSet, IN, osg::StateSet *, stateset, - Properties::NON_VIRTUAL, - __void__setStateSet__osg_StateSet_P1, - "Set the node's StateSet. ", - ""); - I_Method0(osg::StateSet *, getOrCreateStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__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. "); - I_Method0(osg::StateSet *, getStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getStateSet, - "Return the node's StateSet. ", - "returns NULL if a stateset is not attached. "); - I_Method0(const osg::StateSet *, getStateSet, - Properties::NON_VIRTUAL, - __C5_osg_StateSet_P1__getStateSet, - "Return the node's const StateSet. ", - "Returns NULL if a stateset is not attached. "); - I_Method1(void, setInitialBound, IN, const osg::BoundingSphere &, bsphere, - Properties::NON_VIRTUAL, - __void__setInitialBound__C5_osg_BoundingSphere_R1, - "Set the initial bounding volume to use when computing the overall bounding volume. ", - ""); - I_Method0(const osg::BoundingSphere &, getInitialBound, - Properties::NON_VIRTUAL, - __C5_BoundingSphere_R1__getInitialBound, - "Set the initial bounding volume to use when computing the overall bounding volume. ", - ""); - I_Method0(void, dirtyBound, - Properties::NON_VIRTUAL, - __void__dirtyBound, - "Mark this node's bounding sphere dirty. ", - "Forcing it to be computed on the next call to getBound(). "); - I_Method0(const osg::BoundingSphere &, getBound, - Properties::NON_VIRTUAL, - __C5_BoundingSphere_R1__getBound, - "Get the bounding sphere of node. ", - "Using lazy evaluation computes the bounding sphere if it is 'dirty'. "); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "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(). "); - I_Method1(void, setComputeBoundingSphereCallback, IN, osg::Node::ComputeBoundingSphereCallback *, callback, - Properties::NON_VIRTUAL, - __void__setComputeBoundingSphereCallback__ComputeBoundingSphereCallback_P1, - "Set the compute bound callback to override the default computeBound. ", - ""); - I_Method0(osg::Node::ComputeBoundingSphereCallback *, getComputeBoundingSphereCallback, - Properties::NON_VIRTUAL, - __ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback, - "Get the compute bound callback. ", - ""); - I_Method0(const osg::Node::ComputeBoundingSphereCallback *, getComputeBoundingSphereCallback, - Properties::NON_VIRTUAL, - __C5_ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback, - "Get the const compute bound callback. ", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_ProtectedMethod1(void, addParent, IN, osg::Group *, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addParent__osg_Group_P1, - "", - ""); - I_ProtectedMethod1(void, removeParent, IN, osg::Group *, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__removeParent__osg_Group_P1, - "", - ""); - I_ProtectedMethod1(void, setNumChildrenRequiringUpdateTraversal, IN, unsigned int, num, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setNumChildrenRequiringUpdateTraversal__unsigned_int, - "", - ""); - I_ProtectedMethod1(void, setNumChildrenRequiringEventTraversal, IN, unsigned int, num, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setNumChildrenRequiringEventTraversal__unsigned_int, - "", - ""); - I_ProtectedMethod1(void, setNumChildrenWithCullingDisabled, IN, unsigned int, num, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setNumChildrenWithCullingDisabled__unsigned_int, - "", - ""); - I_ProtectedMethod1(void, setNumChildrenWithOccluderNodes, IN, unsigned int, num, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setNumChildrenWithOccluderNodes__unsigned_int, - "", - ""); - I_SimpleProperty(const osg::BoundingSphere &, Bound, - __C5_BoundingSphere_R1__getBound, - 0); - I_SimpleProperty(osg::Node::ComputeBoundingSphereCallback *, ComputeBoundingSphereCallback, - __ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback, - __void__setComputeBoundingSphereCallback__ComputeBoundingSphereCallback_P1); - I_SimpleProperty(osg::NodeCallback *, CullCallback, - __NodeCallback_P1__getCullCallback, - __void__setCullCallback__NodeCallback_P1); - I_SimpleProperty(bool, CullingActive, - __bool__getCullingActive, - __void__setCullingActive__bool); - I_ArrayProperty(const std::string &, Description, - __C5_std_string_R1__getDescription__unsigned_int, - 0, - __unsigned_int__getNumDescriptions, - __void__addDescription__C5_std_string_R1, - 0, - 0); - I_SimpleProperty(const osg::Node::DescriptionList &, Descriptions, - __C5_DescriptionList_R1__getDescriptions, - __void__setDescriptions__C5_DescriptionList_R1); - I_SimpleProperty(osg::NodeCallback *, EventCallback, - __NodeCallback_P1__getEventCallback, - __void__setEventCallback__NodeCallback_P1); - I_SimpleProperty(const osg::BoundingSphere &, InitialBound, - __C5_BoundingSphere_R1__getInitialBound, - __void__setInitialBound__C5_osg_BoundingSphere_R1); - I_SimpleProperty(osg::Node::NodeMask, NodeMask, - __NodeMask__getNodeMask, - __void__setNodeMask__NodeMask); - I_ArrayProperty(osg::Group *, Parent, - __Group_P1__getParent__unsigned_int, - 0, - __unsigned_int__getNumParents, - 0, - 0, - 0); - I_SimpleProperty(osg::Node::ParentList, Parents, - __ParentList__getParents, - 0); - I_SimpleProperty(osg::StateSet *, StateSet, - __osg_StateSet_P1__getStateSet, - __void__setStateSet__osg_StateSet_P1); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); - I_SimpleProperty(osg::NodeCallback *, UpdateCallback, - __NodeCallback_P1__getUpdateCallback, - __void__setUpdateCallback__NodeCallback_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Node::ComputeBoundingSphereCallback) - I_DeclaringFile("osg/Node"); - I_BaseType(osg::Object); - I_Constructor0(____ComputeBoundingSphereCallback, - "", - ""); - I_Constructor2(IN, const osg::Node::ComputeBoundingSphereCallback &, x, IN, const osg::CopyOp &, x, - ____ComputeBoundingSphereCallback__C5_ComputeBoundingSphereCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(osg::BoundingSphere, computeBound, IN, const osg::Node &, x, - Properties::VIRTUAL, - __BoundingSphere__computeBound__C5_osg_Node_R1, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::Node * >, osg::NodePath) - -TYPE_NAME_ALIAS(std::vector< osg::NodePath >, osg::NodePathList) - -TYPE_NAME_ALIAS(std::vector< osg::Matrix >, osg::MatrixList) - -STD_VECTOR_REFLECTOR(std::vector< osg::Group * >) - -STD_VECTOR_REFLECTOR(std::vector< osg::Matrix >) - -STD_VECTOR_REFLECTOR(std::vector< osg::NodePath >) - diff --git a/src/osgWrappers/introspection/osg/NodeCallback.cpp b/src/osgWrappers/introspection/osg/NodeCallback.cpp deleted file mode 100644 index b28a67f73..000000000 --- a/src/osgWrappers/introspection/osg/NodeCallback.cpp +++ /dev/null @@ -1,99 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::NodeCallback) - I_DeclaringFile("osg/NodeCallback"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____NodeCallback, - "", - ""); - I_Constructor2(IN, const osg::NodeCallback &, nc, IN, const osg::CopyOp &, x, - ____NodeCallback__C5_NodeCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method2(void, traverse, IN, osg::Node *, node, IN, osg::NodeVisitor *, nv, - Properties::NON_VIRTUAL, - __void__traverse__Node_P1__NodeVisitor_P1, - "Call any nested callbacks and then traverse the scene graph. ", - ""); - I_Method1(void, setNestedCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__setNestedCallback__NodeCallback_P1, - "", - ""); - I_Method0(osg::NodeCallback *, getNestedCallback, - Properties::NON_VIRTUAL, - __NodeCallback_P1__getNestedCallback, - "", - ""); - I_Method0(const osg::NodeCallback *, getNestedCallback, - Properties::NON_VIRTUAL, - __C5_NodeCallback_P1__getNestedCallback, - "", - ""); - I_Method1(void, addNestedCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__addNestedCallback__NodeCallback_P1, - "", - ""); - I_Method1(void, removeNestedCallback, IN, osg::NodeCallback *, nc, - Properties::NON_VIRTUAL, - __void__removeNestedCallback__NodeCallback_P1, - "", - ""); - I_SimpleProperty(osg::NodeCallback *, NestedCallback, - __NodeCallback_P1__getNestedCallback, - __void__setNestedCallback__NodeCallback_P1); - I_PublicMemberProperty(osg::ref_ptr< osg::NodeCallback >, _nestedCallback); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/NodeTrackerCallback.cpp b/src/osgWrappers/introspection/osg/NodeTrackerCallback.cpp deleted file mode 100644 index 2c61dccb7..000000000 --- a/src/osgWrappers/introspection/osg/NodeTrackerCallback.cpp +++ /dev/null @@ -1,76 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::NodeTrackerCallback) - I_DeclaringFile("osg/NodeTrackerCallback"); - I_BaseType(osg::NodeCallback); - I_Constructor0(____NodeTrackerCallback, - "", - ""); - I_Method1(void, setTrackNodePath, IN, const osg::NodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__setTrackNodePath__C5_osg_NodePath_R1, - "", - ""); - I_Method1(void, setTrackNodePath, IN, const osg::ObserverNodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__setTrackNodePath__C5_ObserverNodePath_R1, - "", - ""); - I_Method0(osg::ObserverNodePath &, getTrackNodePath, - Properties::NON_VIRTUAL, - __ObserverNodePath_R1__getTrackNodePath, - "", - ""); - I_Method1(void, setTrackNode, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__setTrackNode__osg_Node_P1, - "", - ""); - I_Method0(osg::Node *, getTrackNode, - Properties::NON_VIRTUAL, - __osg_Node_P1__getTrackNode, - "", - ""); - I_Method0(const osg::Node *, getTrackNode, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getTrackNode, - "", - ""); - I_Method1(void, update, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - __void__update__osg_Node_R1, - "Update the node to track the nodepath. ", - ""); - I_SimpleProperty(osg::Node *, TrackNode, - __osg_Node_P1__getTrackNode, - __void__setTrackNode__osg_Node_P1); - I_SimpleProperty(osg::ObserverNodePath &, TrackNodePath, - __ObserverNodePath_R1__getTrackNodePath, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/NodeVisitor.cpp b/src/osgWrappers/introspection/osg/NodeVisitor.cpp deleted file mode 100644 index 91e02efab..000000000 --- a/src/osgWrappers/introspection/osg/NodeVisitor.cpp +++ /dev/null @@ -1,501 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osg::NodeAcceptOp) - I_DeclaringFile("osg/NodeVisitor"); - I_Constructor1(IN, osg::NodeVisitor &, nv, - Properties::NON_EXPLICIT, - ____NodeAcceptOp__NodeVisitor_R1, - "", - ""); - I_Constructor1(IN, const osg::NodeAcceptOp &, naop, - Properties::NON_EXPLICIT, - ____NodeAcceptOp__C5_NodeAcceptOp_R1, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::NodeVisitor::TraversalMode) - I_DeclaringFile("osg/NodeVisitor"); - I_EnumLabel(osg::NodeVisitor::TRAVERSE_NONE); - I_EnumLabel(osg::NodeVisitor::TRAVERSE_PARENTS); - I_EnumLabel(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN); - I_EnumLabel(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::NodeVisitor::VisitorType) - I_DeclaringFile("osg/NodeVisitor"); - I_EnumLabel(osg::NodeVisitor::NODE_VISITOR); - I_EnumLabel(osg::NodeVisitor::UPDATE_VISITOR); - I_EnumLabel(osg::NodeVisitor::EVENT_VISITOR); - I_EnumLabel(osg::NodeVisitor::COLLECT_OCCLUDER_VISITOR); - I_EnumLabel(osg::NodeVisitor::CULL_VISITOR); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::NodeVisitor) - I_DeclaringFile("osg/NodeVisitor"); - I_VirtualBaseType(osg::Referenced); - I_ConstructorWithDefaults1(IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_NONE, - Properties::NON_EXPLICIT, - ____NodeVisitor__TraversalMode, - "", - ""); - I_ConstructorWithDefaults2(IN, osg::NodeVisitor::VisitorType, type, , IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_NONE, - ____NodeVisitor__VisitorType__TraversalMode, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_Method1(void, setVisitorType, IN, osg::NodeVisitor::VisitorType, type, - Properties::NON_VIRTUAL, - __void__setVisitorType__VisitorType, - "Set the VisitorType, used to distinguish 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. ", - ""); - I_Method0(osg::NodeVisitor::VisitorType, getVisitorType, - Properties::NON_VIRTUAL, - __VisitorType__getVisitorType, - "Get the VisitorType. ", - ""); - I_Method1(void, setTraversalNumber, IN, int, fn, - Properties::NON_VIRTUAL, - __void__setTraversalNumber__int, - "Set the traversal number. ", - "Typically used to denote the frame count. "); - I_Method0(int, getTraversalNumber, - Properties::NON_VIRTUAL, - __int__getTraversalNumber, - "Get the traversal number. ", - "Typically used to denote the frame count. "); - I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs, - Properties::NON_VIRTUAL, - __void__setFrameStamp__FrameStamp_P1, - "Set the FrameStamp that this traversal is associated with. ", - ""); - I_Method0(const osg::FrameStamp *, getFrameStamp, - Properties::NON_VIRTUAL, - __C5_FrameStamp_P1__getFrameStamp, - "Get the FrameStamp that this traversal is associated with. ", - ""); - I_Method1(void, setTraversalMask, IN, osg::Node::NodeMask, mask, - Properties::NON_VIRTUAL, - __void__setTraversalMask__Node_NodeMask, - "Set the TraversalMask of this NodeVisitor. ", - "The TraversalMask is used by the NodeVisitor::validNodeMask() method to determine whether to operate on a node and its subgraph. validNodeMask() is called automatically in the Node::accept() method before any call to NodeVisitor::apply(), apply() is only ever called if validNodeMask returns true. Note, if NodeVisitor::_traversalMask is 0 then all operations will be switched off for all nodes. Whereas setting both _traversalMask and _nodeMaskOverride to 0xffffffff will allow a visitor to work on all nodes regardless of their own Node::_nodeMask state. "); - I_Method0(osg::Node::NodeMask, getTraversalMask, - Properties::NON_VIRTUAL, - __Node_NodeMask__getTraversalMask, - "Get the TraversalMask. ", - ""); - I_Method1(void, setNodeMaskOverride, IN, osg::Node::NodeMask, mask, - Properties::NON_VIRTUAL, - __void__setNodeMaskOverride__Node_NodeMask, - "Set the NodeMaskOverride mask. ", - "Used in validNodeMask() to determine whether to operate on a node or its subgraph, by OR'ing NodeVisitor::_nodeMaskOverride with the Node's own Node::_nodeMask. Typically used to force on nodes which may have been switched off by their own Node::_nodeMask. "); - I_Method0(osg::Node::NodeMask, getNodeMaskOverride, - Properties::NON_VIRTUAL, - __Node_NodeMask__getNodeMaskOverride, - "Get the NodeMaskOverride mask. ", - ""); - I_Method1(bool, validNodeMask, IN, const osg::Node &, node, - Properties::NON_VIRTUAL, - __bool__validNodeMask__C5_osg_Node_R1, - "Method to called by Node and its subclass' Node::accept() method, if the result is true it is used to cull operations of nodes and their subgraphs. ", - "Return true if the result of a bit wise and of the NodeVisitor::_traversalMask with the bit or between NodeVistor::_nodeMaskOverride and the Node::_nodeMask. default values for _traversalMask is 0xffffffff, _nodeMaskOverride is 0x0, and osg::Node::_nodeMask is 0xffffffff. "); - I_Method1(void, setTraversalMode, IN, osg::NodeVisitor::TraversalMode, mode, - Properties::NON_VIRTUAL, - __void__setTraversalMode__TraversalMode, - "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() and the new mode is not TRAVERSE_VISITOR then the attached visitor is detached. Default mode is TRAVERSE_NONE. "); - I_Method0(osg::NodeVisitor::TraversalMode, getTraversalMode, - Properties::NON_VIRTUAL, - __TraversalMode__getTraversalMode, - "Get the traversal mode. ", - ""); - I_Method1(void, setUserData, IN, osg::Referenced *, obj, - Properties::NON_VIRTUAL, - __void__setUserData__Referenced_P1, - "Set user data, data must be subclassed from Referenced to allow automatic memory handling. ", - "If your own data isn't directly subclassed from Referenced then create an adapter object which points to your own objects and handles the memory addressing. "); - I_Method0(osg::Referenced *, getUserData, - Properties::NON_VIRTUAL, - __Referenced_P1__getUserData, - "Get user data. ", - ""); - I_Method0(const osg::Referenced *, getUserData, - Properties::NON_VIRTUAL, - __C5_Referenced_P1__getUserData, - "Get const user data. ", - ""); - I_Method1(void, traverse, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - __void__traverse__Node_R1, - "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. "); - I_Method1(void, pushOntoNodePath, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__pushOntoNodePath__Node_P1, - "Method called by osg::Node::accept() method before a call to the NodeVisitor::apply(. ", - ".). The back of the list will, therefore, be the current node being visited inside the apply(..), and the rest of the list will be the parental sequence of nodes from the top most node applied down the graph to the current node. Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method. "); - I_Method0(void, popFromNodePath, - Properties::NON_VIRTUAL, - __void__popFromNodePath, - "Method called by osg::Node::accept() method after a call to NodeVisitor::apply(. ", - ".). Note, the user does not typically call popFromNodePath() as it will be called automatically by the Node::accept() method. "); - I_Method0(osg::NodePath &, getNodePath, - Properties::NON_VIRTUAL, - __NodePath_R1__getNodePath, - "Get the non const NodePath from the top most node applied down to the current Node being visited. ", - ""); - I_Method0(const osg::NodePath &, getNodePath, - Properties::NON_VIRTUAL, - __C5_NodePath_R1__getNodePath, - "Get the const NodePath from the top most node applied down to the current Node being visited. ", - ""); - I_Method0(osg::Vec3, getEyePoint, - Properties::VIRTUAL, - __osg_Vec3__getEyePoint, - "Get the eye point in local coordinates. ", - "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. "); - I_Method0(osg::Vec3, getViewPoint, - Properties::VIRTUAL, - __osg_Vec3__getViewPoint, - "Get the view point in local coordinates. ", - "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. "); - I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, x, IN, bool, x, - Properties::VIRTUAL, - __float__getDistanceToEyePoint__C5_Vec3_R1__bool, - "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 getDistanceFromEyePoint(pos) is not implemented then a default value of 0.0 is returned. "); - I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, x, IN, bool, x, - Properties::VIRTUAL, - __float__getDistanceFromEyePoint__C5_Vec3_R1__bool, - "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 getDistanceFromEyePoint(pos) is not implemented than a default value of 0.0 is returned. "); - I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, x, IN, bool, x, - Properties::VIRTUAL, - __float__getDistanceToViewPoint__C5_Vec3_R1__bool, - "Get the distance from a point to the view point, distance value in local coordinate system. ", - "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceToViewPoint(pos) is not implemented then a default value of 0.0 is returned. "); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, node, - Properties::VIRTUAL, - __void__apply__Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Billboard &, node, - Properties::VIRTUAL, - __void__apply__Billboard_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Group &, node, - Properties::VIRTUAL, - __void__apply__Group_R1, - "", - ""); - I_Method1(void, apply, IN, osg::ProxyNode &, node, - Properties::VIRTUAL, - __void__apply__ProxyNode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Projection &, node, - Properties::VIRTUAL, - __void__apply__Projection_R1, - "", - ""); - I_Method1(void, apply, IN, osg::CoordinateSystemNode &, node, - Properties::VIRTUAL, - __void__apply__CoordinateSystemNode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::ClipNode &, node, - Properties::VIRTUAL, - __void__apply__ClipNode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::TexGenNode &, node, - Properties::VIRTUAL, - __void__apply__TexGenNode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LightSource &, node, - Properties::VIRTUAL, - __void__apply__LightSource_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, node, - Properties::VIRTUAL, - __void__apply__Transform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Camera &, node, - Properties::VIRTUAL, - __void__apply__Camera_R1, - "", - ""); - I_Method1(void, apply, IN, osg::CameraView &, node, - Properties::VIRTUAL, - __void__apply__CameraView_R1, - "", - ""); - I_Method1(void, apply, IN, osg::MatrixTransform &, node, - Properties::VIRTUAL, - __void__apply__MatrixTransform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::PositionAttitudeTransform &, node, - Properties::VIRTUAL, - __void__apply__PositionAttitudeTransform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Switch &, node, - Properties::VIRTUAL, - __void__apply__Switch_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Sequence &, node, - Properties::VIRTUAL, - __void__apply__Sequence_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LOD &, node, - Properties::VIRTUAL, - __void__apply__LOD_R1, - "", - ""); - I_Method1(void, apply, IN, osg::PagedLOD &, node, - Properties::VIRTUAL, - __void__apply__PagedLOD_R1, - "", - ""); - I_Method1(void, apply, IN, osg::ClearNode &, node, - Properties::VIRTUAL, - __void__apply__ClearNode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::OccluderNode &, node, - Properties::VIRTUAL, - __void__apply__OccluderNode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::OcclusionQueryNode &, node, - Properties::VIRTUAL, - __void__apply__OcclusionQueryNode_R1, - "", - ""); - I_Method1(void, setDatabaseRequestHandler, IN, osg::NodeVisitor::DatabaseRequestHandler *, handler, - Properties::NON_VIRTUAL, - __void__setDatabaseRequestHandler__DatabaseRequestHandler_P1, - "Set the handler for database requests. ", - ""); - I_Method0(osg::NodeVisitor::DatabaseRequestHandler *, getDatabaseRequestHandler, - Properties::NON_VIRTUAL, - __DatabaseRequestHandler_P1__getDatabaseRequestHandler, - "Get the handler for database requests. ", - ""); - I_Method0(const osg::NodeVisitor::DatabaseRequestHandler *, getDatabaseRequestHandler, - Properties::NON_VIRTUAL, - __C5_DatabaseRequestHandler_P1__getDatabaseRequestHandler, - "Get the const handler for database requests. ", - ""); - I_Method1(void, setImageRequestHandler, IN, osg::NodeVisitor::ImageRequestHandler *, handler, - Properties::NON_VIRTUAL, - __void__setImageRequestHandler__ImageRequestHandler_P1, - "Set the handler for image requests. ", - ""); - I_Method0(osg::NodeVisitor::ImageRequestHandler *, getImageRequestHandler, - Properties::NON_VIRTUAL, - __ImageRequestHandler_P1__getImageRequestHandler, - "Get the handler for image requests. ", - ""); - I_Method0(const osg::NodeVisitor::ImageRequestHandler *, getImageRequestHandler, - Properties::NON_VIRTUAL, - __C5_ImageRequestHandler_P1__getImageRequestHandler, - "Get the const handler for image requests. ", - ""); - I_SimpleProperty(osg::NodeVisitor::DatabaseRequestHandler *, DatabaseRequestHandler, - __DatabaseRequestHandler_P1__getDatabaseRequestHandler, - __void__setDatabaseRequestHandler__DatabaseRequestHandler_P1); - I_SimpleProperty(osg::Vec3, EyePoint, - __osg_Vec3__getEyePoint, - 0); - I_SimpleProperty(osg::FrameStamp *, FrameStamp, - 0, - __void__setFrameStamp__FrameStamp_P1); - I_SimpleProperty(osg::NodeVisitor::ImageRequestHandler *, ImageRequestHandler, - __ImageRequestHandler_P1__getImageRequestHandler, - __void__setImageRequestHandler__ImageRequestHandler_P1); - I_SimpleProperty(osg::Node::NodeMask, NodeMaskOverride, - __Node_NodeMask__getNodeMaskOverride, - __void__setNodeMaskOverride__Node_NodeMask); - I_SimpleProperty(osg::NodePath &, NodePath, - __NodePath_R1__getNodePath, - 0); - I_SimpleProperty(osg::Node::NodeMask, TraversalMask, - __Node_NodeMask__getTraversalMask, - __void__setTraversalMask__Node_NodeMask); - I_SimpleProperty(osg::NodeVisitor::TraversalMode, TraversalMode, - __TraversalMode__getTraversalMode, - __void__setTraversalMode__TraversalMode); - I_SimpleProperty(int, TraversalNumber, - __int__getTraversalNumber, - __void__setTraversalNumber__int); - I_SimpleProperty(osg::Referenced *, UserData, - __Referenced_P1__getUserData, - __void__setUserData__Referenced_P1); - I_SimpleProperty(osg::Vec3, ViewPoint, - __osg_Vec3__getViewPoint, - 0); - I_SimpleProperty(osg::NodeVisitor::VisitorType, VisitorType, - __VisitorType__getVisitorType, - __void__setVisitorType__VisitorType); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::NodeVisitor::DatabaseRequestHandler) - I_DeclaringFile("osg/NodeVisitor"); - I_BaseType(osg::Referenced); - I_Constructor0(____DatabaseRequestHandler, - "", - ""); - I_MethodWithDefaults6(void, requestNodeFile, IN, const std::string &, fileName, , IN, osg::Group *, group, , IN, float, priority, , IN, const osg::FrameStamp *, framestamp, , IN, osg::ref_ptr< osg::Referenced > &, databaseRequest, , IN, const osg::Referenced *, options, 0, - Properties::PURE_VIRTUAL, - __void__requestNodeFile__C5_std_string_R1__osg_Group_P1__float__C5_FrameStamp_P1__osg_ref_ptrT1_osg_Referenced__R1__C5_osg_Referenced_P1, - "", - ""); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::NodeVisitor::ImageRequestHandler) - I_DeclaringFile("osg/NodeVisitor"); - I_BaseType(osg::Referenced); - I_Constructor0(____ImageRequestHandler, - "", - ""); - I_Method0(double, getPreLoadTime, - Properties::PURE_VIRTUAL, - __double__getPreLoadTime, - "", - ""); - I_Method1(osg::Image *, readImageFile, IN, const std::string &, fileName, - Properties::PURE_VIRTUAL, - __osg_Image_P1__readImageFile__C5_std_string_R1, - "", - ""); - I_Method5(void, requestImageFile, IN, const std::string &, fileName, IN, osg::Object *, attachmentPoint, IN, int, attachmentIndex, IN, double, timeToMergeBy, IN, const osg::FrameStamp *, framestamp, - Properties::PURE_VIRTUAL, - __void__requestImageFile__C5_std_string_R1__osg_Object_P1__int__double__C5_FrameStamp_P1, - "", - ""); - I_SimpleProperty(double, PreLoadTime, - __double__getPreLoadTime, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Referenced >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Referenced *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Referenced > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Referenced > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Referenced *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Referenced *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Referenced > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Referenced *, , - __T_P1__get, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Notify.cpp b/src/osgWrappers/introspection/osg/Notify.cpp deleted file mode 100644 index 647f60c62..000000000 --- a/src/osgWrappers/introspection/osg/Notify.cpp +++ /dev/null @@ -1,61 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::NotifyHandler) - I_DeclaringFile("osg/Notify"); - I_BaseType(osg::Referenced); - I_Constructor0(____NotifyHandler, - "", - ""); - I_Method2(void, notify, IN, osg::NotifySeverity, severity, IN, const char *, message, - Properties::PURE_VIRTUAL, - __void__notify__osg_NotifySeverity__C5_char_P1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::StandardNotifyHandler) - I_DeclaringFile("osg/Notify"); - I_BaseType(osg::NotifyHandler); - I_Constructor0(____StandardNotifyHandler, - "", - ""); - I_Method2(void, notify, IN, osg::NotifySeverity, severity, IN, const char *, message, - Properties::VIRTUAL, - __void__notify__osg_NotifySeverity__C5_char_P1, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::NotifySeverity) - I_DeclaringFile("osg/Notify"); - I_EnumLabel(osg::ALWAYS); - I_EnumLabel(osg::FATAL); - I_EnumLabel(osg::WARN); - I_EnumLabel(osg::NOTICE); - I_EnumLabel(osg::INFO); - I_EnumLabel(osg::DEBUG_INFO); - I_EnumLabel(osg::DEBUG_FP); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Object.cpp b/src/osgWrappers/introspection/osg/Object.cpp deleted file mode 100644 index 5381264e6..000000000 --- a/src/osgWrappers/introspection/osg/Object.cpp +++ /dev/null @@ -1,140 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Object::DataVariance) - I_DeclaringFile("osg/Object"); - I_EnumLabel(osg::Object::DYNAMIC); - I_EnumLabel(osg::Object::STATIC); - I_EnumLabel(osg::Object::UNSPECIFIED); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Object) - I_DeclaringFile("osg/Object"); - I_BaseType(osg::Referenced); - I_Constructor0(____Object, - "Construct an object. ", - "Note Object is a pure virtual base class and therefore cannot be constructed on its own, only derived classes which override the clone and className methods are concrete classes and can be constructed. "); - I_Constructor1(IN, bool, threadSafeRefUnref, - Properties::EXPLICIT, - ____Object__bool, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Object &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Object__C5_Object_R1__C5_CopyOp_R1, - "Copy constructor, optional CopyOp object can be used to control shallow vs deep copying of dynamic data. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::PURE_VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::PURE_VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, x, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::PURE_VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::PURE_VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setName__C5_std_string_R1, - "Set the name of object using C++ style string. ", - ""); - I_Method1(void, setName, IN, const char *, name, - Properties::NON_VIRTUAL, - __void__setName__C5_char_P1, - "Set the name of object using a C style string. ", - ""); - I_Method0(const std::string &, getName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getName, - "Get the name of object. ", - ""); - I_Method1(void, setDataVariance, IN, osg::Object::DataVariance, dv, - Properties::NON_VIRTUAL, - __void__setDataVariance__DataVariance, - "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 by routines such as optimization codes that wish to share static data. UNSPECIFIED is used to specify that the DataVariance hasn't been set yet. "); - I_Method0(osg::Object::DataVariance, getDataVariance, - Properties::NON_VIRTUAL, - __DataVariance__getDataVariance, - "Get the data variance of this object. ", - ""); - I_Method0(void, computeDataVariance, - Properties::VIRTUAL, - __void__computeDataVariance, - "Compute the DataVariance based on an assessment of callback etc. ", - ""); - I_Method1(void, setUserData, IN, osg::Referenced *, obj, - Properties::NON_VIRTUAL, - __void__setUserData__Referenced_P1, - "Set user data, data must be subclassed from Referenced to allow automatic memory handling. ", - "If your own data isn't directly subclassed from Referenced then create an adapter object which points to your own object and handles the memory addressing. "); - I_Method0(osg::Referenced *, getUserData, - Properties::NON_VIRTUAL, - __Referenced_P1__getUserData, - "Get user data. ", - ""); - I_Method0(const osg::Referenced *, getUserData, - Properties::NON_VIRTUAL, - __C5_Referenced_P1__getUserData, - "Get const user data. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_SimpleProperty(osg::Object::DataVariance, DataVariance, - __DataVariance__getDataVariance, - __void__setDataVariance__DataVariance); - I_SimpleProperty(const std::string &, Name, - __C5_std_string_R1__getName, - __void__setName__C5_std_string_R1); - I_SimpleProperty(osg::Referenced *, UserData, - __Referenced_P1__getUserData, - __void__setUserData__Referenced_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Observer.cpp b/src/osgWrappers/introspection/osg/Observer.cpp deleted file mode 100644 index 5e6a0f06e..000000000 --- a/src/osgWrappers/introspection/osg/Observer.cpp +++ /dev/null @@ -1,30 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::set< osg::Observer * >, osg::ObserverSet::Observers) - -STD_SET_REFLECTOR(std::set< osg::Observer * >) - diff --git a/src/osgWrappers/introspection/osg/ObserverNodePath.cpp b/src/osgWrappers/introspection/osg/ObserverNodePath.cpp deleted file mode 100644 index 5e32f37ae..000000000 --- a/src/osgWrappers/introspection/osg/ObserverNodePath.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osg::ObserverNodePath) - I_DeclaringFile("osg/ObserverNodePath"); - I_Constructor0(____ObserverNodePath, - "", - ""); - I_Constructor1(IN, const osg::ObserverNodePath &, rhs, - Properties::NON_EXPLICIT, - ____ObserverNodePath__C5_ObserverNodePath_R1, - "", - ""); - I_Constructor1(IN, const osg::NodePath &, nodePath, - Properties::NON_EXPLICIT, - ____ObserverNodePath__C5_osg_NodePath_R1, - "", - ""); - I_Method1(void, setNodePathTo, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__setNodePathTo__osg_Node_P1, - "get the NodePath from the first parental chain back to root, plus the specified node. ", - ""); - I_Method1(void, setNodePath, IN, const osg::RefNodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__setNodePath__C5_osg_RefNodePath_R1, - "", - ""); - I_Method1(void, setNodePath, IN, const osg::NodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__setNodePath__C5_osg_NodePath_R1, - "", - ""); - I_Method0(void, clearNodePath, - Properties::NON_VIRTUAL, - __void__clearNodePath, - "", - ""); - I_Method1(bool, getRefNodePath, IN, osg::RefNodePath &, refNodePath, - Properties::NON_VIRTUAL, - __bool__getRefNodePath__RefNodePath_R1, - "Get a thread safe RefNodePath, return true if NodePath is valid. ", - ""); - I_Method1(bool, getNodePath, IN, osg::NodePath &, nodePath, - Properties::NON_VIRTUAL, - __bool__getNodePath__NodePath_R1, - "Get a lightweight NodePath that isn't thread safe but may be safely used in single threaded applications, or when its known that the NodePath won't be invalidated during usage of the NodePath. ", - "return true if NodePath is valid. "); - I_Method0(bool, empty, - Properties::NON_VIRTUAL, - __bool__empty, - "", - ""); - I_ProtectedMethod1(void, _setNodePath, IN, const osg::NodePath &, nodePath, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___setNodePath__C5_osg_NodePath_R1, - "", - ""); - I_ProtectedMethod0(void, _clearNodePath, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___clearNodePath, - "", - ""); - I_SimpleProperty(const osg::RefNodePath &, NodePath, - 0, - __void__setNodePath__C5_osg_RefNodePath_R1); - I_SimpleProperty(osg::Node *, NodePathTo, - 0, - __void__setNodePathTo__osg_Node_P1); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Node > >, osg::RefNodePath) - diff --git a/src/osgWrappers/introspection/osg/OccluderNode.cpp b/src/osgWrappers/introspection/osg/OccluderNode.cpp deleted file mode 100644 index 7f2085bb9..000000000 --- a/src/osgWrappers/introspection/osg/OccluderNode.cpp +++ /dev/null @@ -1,94 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::OccluderNode) - I_DeclaringFile("osg/OccluderNode"); - I_BaseType(osg::Group); - I_Constructor0(____OccluderNode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::OccluderNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____OccluderNode__C5_OccluderNode_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setOccluder, IN, osg::ConvexPlanarOccluder *, occluder, - Properties::NON_VIRTUAL, - __void__setOccluder__ConvexPlanarOccluder_P1, - "Attach a ConvexPlanarOccluder to an OccluderNode. ", - ""); - I_Method0(osg::ConvexPlanarOccluder *, getOccluder, - Properties::NON_VIRTUAL, - __ConvexPlanarOccluder_P1__getOccluder, - "Get the ConvexPlanarOccluder* attached to a OccluderNode. ", - ""); - I_Method0(const osg::ConvexPlanarOccluder *, getOccluder, - Properties::NON_VIRTUAL, - __C5_ConvexPlanarOccluder_P1__getOccluder, - "Get the const ConvexPlanarOccluder* attached to a OccluderNode. ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "Overrides Group's computeBound. ", - ""); - I_SimpleProperty(osg::ConvexPlanarOccluder *, Occluder, - __ConvexPlanarOccluder_P1__getOccluder, - __void__setOccluder__ConvexPlanarOccluder_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/OcclusionQueryNode.cpp b/src/osgWrappers/introspection/osg/OcclusionQueryNode.cpp deleted file mode 100644 index a64188624..000000000 --- a/src/osgWrappers/introspection/osg/OcclusionQueryNode.cpp +++ /dev/null @@ -1,208 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::OcclusionQueryNode) - I_DeclaringFile("osg/OcclusionQueryNode"); - I_BaseType(osg::Group); - I_Constructor0(____OcclusionQueryNode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::OcclusionQueryNode &, oqn, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____OcclusionQueryNode__C5_OcclusionQueryNode_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __osg_BoundingSphere__computeBound, - "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(). "); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_MethodWithDefaults1(void, setQueriesEnabled, IN, bool, enable, true, - Properties::NON_VIRTUAL, - __void__setQueriesEnabled__bool, - "", - ""); - I_Method0(bool, getQueriesEnabled, - Properties::NON_VIRTUAL, - __bool__getQueriesEnabled, - "", - ""); - I_Method1(void, setVisibilityThreshold, IN, unsigned int, pixels, - Properties::NON_VIRTUAL, - __void__setVisibilityThreshold__unsigned_int, - "", - ""); - I_Method0(unsigned int, getVisibilityThreshold, - Properties::NON_VIRTUAL, - __unsigned_int__getVisibilityThreshold, - "", - ""); - I_Method1(void, setQueryFrameCount, IN, int, frames, - Properties::NON_VIRTUAL, - __void__setQueryFrameCount__int, - "", - ""); - I_Method0(int, getQueryFrameCount, - Properties::NON_VIRTUAL, - __int__getQueryFrameCount, - "", - ""); - I_Method1(void, setDebugDisplay, IN, bool, enable, - Properties::NON_VIRTUAL, - __void__setDebugDisplay__bool, - "", - ""); - I_Method0(bool, getDebugDisplay, - Properties::NON_VIRTUAL, - __bool__getDebugDisplay, - "", - ""); - I_Method1(void, setQueryStateSet, IN, osg::StateSet *, ss, - Properties::NON_VIRTUAL, - __void__setQueryStateSet__osg_StateSet_P1, - "", - ""); - I_Method0(osg::StateSet *, getQueryStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getQueryStateSet, - "", - ""); - I_Method0(const osg::StateSet *, getQueryStateSet, - Properties::NON_VIRTUAL, - __C5_osg_StateSet_P1__getQueryStateSet, - "", - ""); - I_Method1(void, setDebugStateSet, IN, osg::StateSet *, ss, - Properties::NON_VIRTUAL, - __void__setDebugStateSet__osg_StateSet_P1, - "", - ""); - I_Method0(osg::StateSet *, getDebugStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getDebugStateSet, - "", - ""); - I_Method0(const osg::StateSet *, getDebugStateSet, - Properties::NON_VIRTUAL, - __C5_osg_StateSet_P1__getDebugStateSet, - "", - ""); - I_Method0(bool, getPassed, - Properties::NON_VIRTUAL, - __bool__getPassed, - "", - ""); - I_Method2(bool, getPassed, IN, const osg::Camera *, camera, IN, osg::NodeVisitor &, nv, - Properties::NON_VIRTUAL, - __bool__getPassed__C5_osg_Camera_P1__osg_NodeVisitor_R1, - "", - ""); - I_Method2(void, traverseQuery, IN, const osg::Camera *, camera, IN, osg::NodeVisitor &, nv, - Properties::NON_VIRTUAL, - __void__traverseQuery__C5_osg_Camera_P1__osg_NodeVisitor_R1, - "", - ""); - I_Method1(void, traverseDebug, IN, osg::NodeVisitor &, nv, - Properties::NON_VIRTUAL, - __void__traverseDebug__osg_NodeVisitor_R1, - "", - ""); - I_StaticMethod3(void, flushDeletedQueryObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime, - __void__flushDeletedQueryObjects__unsigned_int__double__double_R1_S, - "", - ""); - I_StaticMethod1(void, discardDeletedQueryObjects, IN, unsigned int, contextID, - __void__discardDeletedQueryObjects__unsigned_int_S, - "", - ""); - I_ProtectedMethod0(void, createSupportNodes, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__createSupportNodes, - "", - ""); - I_SimpleProperty(bool, DebugDisplay, - __bool__getDebugDisplay, - __void__setDebugDisplay__bool); - I_SimpleProperty(osg::StateSet *, DebugStateSet, - __osg_StateSet_P1__getDebugStateSet, - __void__setDebugStateSet__osg_StateSet_P1); - I_SimpleProperty(bool, Passed, - __bool__getPassed, - 0); - I_SimpleProperty(bool, QueriesEnabled, - __bool__getQueriesEnabled, - __void__setQueriesEnabled__bool); - I_SimpleProperty(int, QueryFrameCount, - __int__getQueryFrameCount, - __void__setQueryFrameCount__int); - I_SimpleProperty(osg::StateSet *, QueryStateSet, - __osg_StateSet_P1__getQueryStateSet, - __void__setQueryStateSet__osg_StateSet_P1); - I_SimpleProperty(unsigned int, VisibilityThreshold, - __unsigned_int__getVisibilityThreshold, - __void__setVisibilityThreshold__unsigned_int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/OperationThread.cpp b/src/osgWrappers/introspection/osg/OperationThread.cpp deleted file mode 100644 index 318209a32..000000000 --- a/src/osgWrappers/introspection/osg/OperationThread.cpp +++ /dev/null @@ -1,273 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Operation) - I_DeclaringFile("osg/OperationThread"); - I_VirtualBaseType(osg::Referenced); - I_Constructor2(IN, const std::string &, name, IN, bool, keep, - ____Operation__C5_std_string_R1__bool, - "", - ""); - I_Method1(void, setName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setName__C5_std_string_R1, - "Set the human readable name of the operation. ", - ""); - I_Method0(const std::string &, getName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getName, - "Get the human readable name of the operation. ", - ""); - I_Method1(void, setKeep, IN, bool, keep, - Properties::NON_VIRTUAL, - __void__setKeep__bool, - "Set whether the operation should be kept once its been applied. ", - ""); - I_Method0(bool, getKeep, - Properties::NON_VIRTUAL, - __bool__getKeep, - "Get whether the operation should be kept once its been applied. ", - ""); - I_Method0(void, release, - Properties::VIRTUAL, - __void__release, - "if this operation is a barrier then release it. ", - ""); - I_ProtectedConstructor0(____Operation, - "", - ""); - I_ProtectedConstructor1(IN, const osg::Operation &, op, - Properties::NON_EXPLICIT, - ____Operation__C5_Operation_R1, - "", - ""); - I_SimpleProperty(bool, Keep, - __bool__getKeep, - __void__setKeep__bool); - I_SimpleProperty(const std::string &, Name, - __C5_std_string_R1__getName, - __void__setName__C5_std_string_R1); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::set< osg::OperationThread * >, osg::OperationQueue::OperationThreads) - -BEGIN_OBJECT_REFLECTOR(osg::OperationQueue) - I_DeclaringFile("osg/OperationThread"); - I_BaseType(osg::Referenced); - I_Constructor0(____OperationQueue, - "", - ""); - I_MethodWithDefaults1(osg::ref_ptr< osg::Operation >, getNextOperation, IN, bool, blockIfEmpty, false, - Properties::NON_VIRTUAL, - __osg_ref_ptrT1_Operation___getNextOperation__bool, - "Get the next operation from the operation queue. ", - "Return null ref_ptr<> if no operations are left in queue. "); - I_Method0(bool, empty, - Properties::NON_VIRTUAL, - __bool__empty, - "Return true if the operation queue is empty. ", - ""); - I_Method0(unsigned int, getNumOperationsInQueue, - Properties::NON_VIRTUAL, - __unsigned_int__getNumOperationsInQueue, - "Return the num of pending operations that are sitting in the OperationQueue. ", - ""); - I_Method1(void, add, IN, osg::Operation *, operation, - Properties::NON_VIRTUAL, - __void__add__Operation_P1, - "Add operation to end of OperationQueue, this will be executed by the operation thread once this operation gets to the head of the queue. ", - ""); - I_Method1(void, remove, IN, osg::Operation *, operation, - Properties::NON_VIRTUAL, - __void__remove__Operation_P1, - "Remove operation from OperationQueue. ", - ""); - I_Method1(void, remove, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__remove__C5_std_string_R1, - "Remove named operation from OperationQueue. ", - ""); - I_Method0(void, removeAllOperations, - Properties::NON_VIRTUAL, - __void__removeAllOperations, - "Remove all operations from OperationQueue. ", - ""); - I_MethodWithDefaults1(void, runOperations, IN, osg::Object *, callingObject, 0, - Properties::NON_VIRTUAL, - __void__runOperations__Object_P1, - "Run the operations. ", - ""); - I_Method0(void, releaseAllOperations, - Properties::NON_VIRTUAL, - __void__releaseAllOperations, - "Call release on all operations. ", - ""); - I_Method0(void, releaseOperationsBlock, - Properties::NON_VIRTUAL, - __void__releaseOperationsBlock, - "Release operations block that is used to block threads that are waiting on an empty operations queue. ", - ""); - I_Method0(const osg::OperationQueue::OperationThreads &, getOperationThreads, - Properties::NON_VIRTUAL, - __C5_OperationThreads_R1__getOperationThreads, - "Get the set of OperationThreads that are sharing this OperationQueue. ", - ""); - I_ProtectedMethod1(void, addOperationThread, IN, osg::OperationThread *, thread, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addOperationThread__OperationThread_P1, - "", - ""); - I_ProtectedMethod1(void, removeOperationThread, IN, osg::OperationThread *, thread, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__removeOperationThread__OperationThread_P1, - "", - ""); - I_SimpleProperty(const osg::OperationQueue::OperationThreads &, OperationThreads, - __C5_OperationThreads_R1__getOperationThreads, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::OperationThread) - I_DeclaringFile("osg/OperationThread"); - I_BaseType(osg::Referenced); - I_BaseType(OpenThreads::Thread); - I_Constructor0(____OperationThread, - "", - ""); - I_Method1(void, setParent, IN, osg::Object *, parent, - Properties::NON_VIRTUAL, - __void__setParent__Object_P1, - "", - ""); - I_Method0(osg::Object *, getParent, - Properties::NON_VIRTUAL, - __Object_P1__getParent, - "", - ""); - I_Method0(const osg::Object *, getParent, - Properties::NON_VIRTUAL, - __C5_Object_P1__getParent, - "", - ""); - I_Method1(void, setOperationQueue, IN, osg::OperationQueue *, opq, - Properties::NON_VIRTUAL, - __void__setOperationQueue__OperationQueue_P1, - "Set the OperationQueue. ", - ""); - I_Method0(osg::OperationQueue *, getOperationQueue, - Properties::NON_VIRTUAL, - __OperationQueue_P1__getOperationQueue, - "Get the OperationQueue. ", - ""); - I_Method0(const osg::OperationQueue *, getOperationQueue, - Properties::NON_VIRTUAL, - __C5_OperationQueue_P1__getOperationQueue, - "Get the const OperationQueue. ", - ""); - I_Method1(void, add, IN, osg::Operation *, operation, - Properties::NON_VIRTUAL, - __void__add__Operation_P1, - "Add operation to end of OperationQueue, this will be executed by the graphics thread once this operation gets to the head of the queue. ", - ""); - I_Method1(void, remove, IN, osg::Operation *, operation, - Properties::NON_VIRTUAL, - __void__remove__Operation_P1, - "Remove operation from OperationQueue. ", - ""); - I_Method1(void, remove, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__remove__C5_std_string_R1, - "Remove named operation from OperationQueue. ", - ""); - I_Method0(void, removeAllOperations, - Properties::NON_VIRTUAL, - __void__removeAllOperations, - "Remove all operations from OperationQueue. ", - ""); - I_Method0(osg::ref_ptr< osg::Operation >, getCurrentOperation, - Properties::NON_VIRTUAL, - __osg_ref_ptrT1_Operation___getCurrentOperation, - "Get the operation currently being run. ", - ""); - I_Method0(void, run, - Properties::VIRTUAL, - __void__run, - "Run does the opertion thread run loop. ", - ""); - I_Method1(void, setDone, IN, bool, done, - Properties::NON_VIRTUAL, - __void__setDone__bool, - "", - ""); - I_Method0(bool, getDone, - Properties::NON_VIRTUAL, - __bool__getDone, - "", - ""); - I_Method0(int, cancel, - Properties::VIRTUAL, - __int__cancel, - "Cancel this graphics thread. ", - ""); - I_SimpleProperty(osg::ref_ptr< osg::Operation >, CurrentOperation, - __osg_ref_ptrT1_Operation___getCurrentOperation, - 0); - I_SimpleProperty(bool, Done, - __bool__getDone, - __void__setDone__bool); - I_SimpleProperty(osg::OperationQueue *, OperationQueue, - __OperationQueue_P1__getOperationQueue, - __void__setOperationQueue__OperationQueue_P1); - I_SimpleProperty(osg::Object *, Parent, - __Object_P1__getParent, - __void__setParent__Object_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::RefBlock) - I_DeclaringFile("osg/OperationThread"); - I_VirtualBaseType(osg::Referenced); - I_BaseType(OpenThreads::Block); - I_Constructor0(____RefBlock, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::RefBlockCount) - I_DeclaringFile("osg/OperationThread"); - I_VirtualBaseType(osg::Referenced); - I_BaseType(OpenThreads::BlockCount); - I_Constructor1(IN, unsigned, blockCount, - Properties::NON_EXPLICIT, - ____RefBlockCount__unsigned, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(osg::OperationThread, osg::OperationsThread) - -STD_SET_REFLECTOR(std::set< osg::OperationThread * >) - diff --git a/src/osgWrappers/introspection/osg/PagedLOD.cpp b/src/osgWrappers/introspection/osg/PagedLOD.cpp deleted file mode 100644 index b8e0259f9..000000000 --- a/src/osgWrappers/introspection/osg/PagedLOD.cpp +++ /dev/null @@ -1,326 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::PagedLOD::PerRangeData >, osg::PagedLOD::PerRangeDataList) - -BEGIN_OBJECT_REFLECTOR(osg::PagedLOD) - I_DeclaringFile("osg/PagedLOD"); - I_BaseType(osg::LOD); - I_Constructor0(____PagedLOD, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::PagedLOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PagedLOD__C5_PagedLOD_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(bool, addChild, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__addChild__Node_P1, - "Add Node to Group. ", - "If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. "); - I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max, - Properties::VIRTUAL, - __bool__addChild__Node_P1__float__float, - "", - ""); - I_MethodWithDefaults6(bool, addChild, IN, osg::Node *, child, , IN, float, min, , IN, float, max, , IN, const std::string &, filename, , IN, float, priorityOffset, 0.0f, IN, float, priorityScale, 1.0f, - Properties::VIRTUAL, - __bool__addChild__Node_P1__float__float__C5_std_string_R1__float__float, - "", - ""); - I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1, - Properties::VIRTUAL, - __bool__removeChildren__unsigned_int__unsigned_int, - "Remove children from Group. ", - "Note, must be override by subclasses of Group which add per child attributes. "); - I_Method1(void, setDatabaseOptions, IN, osg::Referenced *, options, - Properties::NON_VIRTUAL, - __void__setDatabaseOptions__osg_Referenced_P1, - "Set the optional database osgDB::Options object to use when loaded children. ", - ""); - I_Method0(osg::Referenced *, getDatabaseOptions, - Properties::NON_VIRTUAL, - __osg_Referenced_P1__getDatabaseOptions, - "Get the optional database osgDB::Options object used when loaded children. ", - ""); - I_Method0(const osg::Referenced *, getDatabaseOptions, - Properties::NON_VIRTUAL, - __C5_osg_Referenced_P1__getDatabaseOptions, - "Get the optional database osgDB::Options object used when loaded children. ", - ""); - I_Method1(void, setDatabasePath, IN, const std::string &, path, - Properties::NON_VIRTUAL, - __void__setDatabasePath__C5_std_string_R1, - "Set the database path to prepend to children's filenames. ", - ""); - I_Method0(const std::string &, getDatabasePath, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getDatabasePath, - "Get the database path used to prepend to children's filenames. ", - ""); - I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __void__setFileName__unsigned_int__C5_std_string_R1, - "", - ""); - I_Method1(const std::string &, getFileName, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getFileName__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumFileNames, - Properties::NON_VIRTUAL, - __unsigned_int__getNumFileNames, - "", - ""); - I_Method2(void, setPriorityOffset, IN, unsigned int, childNo, IN, float, priorityOffset, - Properties::NON_VIRTUAL, - __void__setPriorityOffset__unsigned_int__float, - "", - ""); - I_Method1(float, getPriorityOffset, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __float__getPriorityOffset__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumPriorityOffsets, - Properties::NON_VIRTUAL, - __unsigned_int__getNumPriorityOffsets, - "", - ""); - I_Method2(void, setPriorityScale, IN, unsigned int, childNo, IN, float, priorityScale, - Properties::NON_VIRTUAL, - __void__setPriorityScale__unsigned_int__float, - "", - ""); - I_Method1(float, getPriorityScale, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __float__getPriorityScale__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumPriorityScales, - Properties::NON_VIRTUAL, - __unsigned_int__getNumPriorityScales, - "", - ""); - I_Method2(void, setTimeStamp, IN, unsigned int, childNo, IN, double, timeStamp, - Properties::NON_VIRTUAL, - __void__setTimeStamp__unsigned_int__double, - "", - ""); - I_Method1(double, getTimeStamp, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __double__getTimeStamp__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumTimeStamps, - Properties::NON_VIRTUAL, - __unsigned_int__getNumTimeStamps, - "", - ""); - I_Method2(void, setFrameNumber, IN, unsigned int, childNo, IN, int, frameNumber, - Properties::NON_VIRTUAL, - __void__setFrameNumber__unsigned_int__int, - "", - ""); - I_Method1(double, getFrameNumber, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __double__getFrameNumber__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumFrameNumbers, - Properties::NON_VIRTUAL, - __unsigned_int__getNumFrameNumbers, - "", - ""); - I_Method1(osg::ref_ptr< osg::Referenced > &, getDatabaseRequest, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __osg_ref_ptrT1_osg_Referenced__R1__getDatabaseRequest__unsigned_int, - "Return the DatabaseRequest object used by the DatabasePager to keep track of file load requests being carried on behalf of the DatabasePager. ", - "Note, in normal OSG usage you should not set this value yourself, as this will be managed by the osgDB::DatabasePager. "); - I_Method1(const osg::ref_ptr< osg::Referenced > &, getDatabaseRequest, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __C5_osg_ref_ptrT1_osg_Referenced__R1__getDatabaseRequest__unsigned_int, - "Return the const DatabaseRequest object. ", - ""); - I_Method1(void, setFrameNumberOfLastTraversal, IN, int, frameNumber, - Properties::NON_VIRTUAL, - __void__setFrameNumberOfLastTraversal__int, - "Set the frame number of the last time that this PageLOD node was traversed. ", - "Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.). "); - I_Method0(int, getFrameNumberOfLastTraversal, - Properties::NON_VIRTUAL, - __int__getFrameNumberOfLastTraversal, - "Get the frame number of the last time that this PageLOD node was traversed. ", - ""); - I_Method1(void, setNumChildrenThatCannotBeExpired, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setNumChildrenThatCannotBeExpired__unsigned_int, - "Set the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ", - ""); - I_Method0(unsigned int, getNumChildrenThatCannotBeExpired, - Properties::NON_VIRTUAL, - __unsigned_int__getNumChildrenThatCannotBeExpired, - "Get the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ", - ""); - I_Method1(void, setDisableExternalChildrenPaging, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setDisableExternalChildrenPaging__bool, - "Set wether you want to disable the paging in of external nodes. ", - ""); - I_Method0(bool, getDisableExternalChildrenPaging, - Properties::NON_VIRTUAL, - __bool__getDisableExternalChildrenPaging, - "", - ""); - I_Method3(bool, removeExpiredChildren, IN, double, expiryTime, IN, int, expiryFrame, IN, osg::NodeList &, removedChildren, - Properties::VIRTUAL, - __bool__removeExpiredChildren__double__int__NodeList_R1, - "Remove the children from the PagedLOD which haven't been visited since specified expiry time and expiry frame number. ", - "The removed children are added to the removeChildren list passed into the method, this allows the children to be deleted later at the caller's discretion. Return true if children are removed, false otherwise. "); - I_Method2(bool, releaseGLObjectsOnExpiredChildren, IN, double, releaseTime, IN, int, releaseFrame, - Properties::VIRTUAL, - __bool__releaseGLObjectsOnExpiredChildren__double__int, - "Release the GL Objects of the children from the PagedLOD which haven't been visited since specified expiry time and expiry frame number. ", - "Return true if any children have release called upon them, false otherwise. "); - I_ProtectedMethod1(void, expandPerRangeDataTo, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__expandPerRangeDataTo__unsigned_int, - "", - ""); - I_SimpleProperty(osg::Referenced *, DatabaseOptions, - __osg_Referenced_P1__getDatabaseOptions, - __void__setDatabaseOptions__osg_Referenced_P1); - I_SimpleProperty(const std::string &, DatabasePath, - __C5_std_string_R1__getDatabasePath, - __void__setDatabasePath__C5_std_string_R1); - I_SimpleProperty(bool, DisableExternalChildrenPaging, - __bool__getDisableExternalChildrenPaging, - __void__setDisableExternalChildrenPaging__bool); - I_ArrayProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName__unsigned_int, - __void__setFileName__unsigned_int__C5_std_string_R1, - __unsigned_int__getNumFileNames, - 0, - 0, - 0); - I_ArrayProperty(double, FrameNumber, - __double__getFrameNumber__unsigned_int, - 0, - __unsigned_int__getNumFrameNumbers, - 0, - 0, - 0); - I_SimpleProperty(int, FrameNumberOfLastTraversal, - __int__getFrameNumberOfLastTraversal, - __void__setFrameNumberOfLastTraversal__int); - I_SimpleProperty(unsigned int, NumChildrenThatCannotBeExpired, - 0, - __void__setNumChildrenThatCannotBeExpired__unsigned_int); - I_ArrayProperty(float, PriorityOffset, - __float__getPriorityOffset__unsigned_int, - __void__setPriorityOffset__unsigned_int__float, - __unsigned_int__getNumPriorityOffsets, - 0, - 0, - 0); - I_ArrayProperty(float, PriorityScale, - __float__getPriorityScale__unsigned_int, - __void__setPriorityScale__unsigned_int__float, - __unsigned_int__getNumPriorityScales, - 0, - 0, - 0); - I_ArrayProperty(double, TimeStamp, - __double__getTimeStamp__unsigned_int, - __void__setTimeStamp__unsigned_int__double, - __unsigned_int__getNumTimeStamps, - 0, - 0, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::PagedLOD::PerRangeData) - I_DeclaringFile("osg/PagedLOD"); - I_Constructor0(____PerRangeData, - "", - ""); - I_Constructor1(IN, const osg::PagedLOD::PerRangeData &, prd, - Properties::NON_EXPLICIT, - ____PerRangeData__C5_PerRangeData_R1, - "", - ""); - I_PublicMemberProperty(std::string, _filename); - I_PublicMemberProperty(float, _priorityOffset); - I_PublicMemberProperty(float, _priorityScale); - I_PublicMemberProperty(double, _timeStamp); - I_PublicMemberProperty(int, _frameNumber); - I_PublicMemberProperty(int, _frameNumberOfLastReleaseGLObjects); - I_PublicMemberProperty(osg::ref_ptr< osg::Referenced >, _databaseRequest); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::PagedLOD::PerRangeData >) - diff --git a/src/osgWrappers/introspection/osg/Plane.cpp b/src/osgWrappers/introspection/osg/Plane.cpp deleted file mode 100644 index e4ded7e7f..000000000 --- a/src/osgWrappers/introspection/osg/Plane.cpp +++ /dev/null @@ -1,214 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(double, osg::Plane::value_type) - -TYPE_NAME_ALIAS(osg::Vec3d, osg::Plane::Vec3_type) - -TYPE_NAME_ALIAS(osg::Vec4d, osg::Plane::Vec4_type) - -BEGIN_VALUE_REFLECTOR(osg::Plane) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Plane"); - I_Constructor0(____Plane, - "Default constructor. ", - "The default constructor initializes all values to zero. Although the method osg::Plane::valid() will return true after the default constructors call the plane is mathematically invalid! Default data do not describe a valid plane. "); - I_Constructor1(IN, const osg::Plane &, pl, - Properties::NON_EXPLICIT, - ____Plane__C5_Plane_R1, - "", - ""); - I_Constructor4(IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d, - ____Plane__value_type__value_type__value_type__value_type, - "Constructor. ", - "The plane is described as a*x+b*y+c*z+d = 0. You may call osg::Plane::MakeUnitLength afterwards if the passed values are not normalized. "); - I_Constructor1(IN, const osg::Vec4f &, vec, - Properties::NON_EXPLICIT, - ____Plane__C5_Vec4f_R1, - "Constructor. ", - "The plane can also be described as vec*[x,y,z,1]. You may call osg::Plane::MakeUnitLength afterwards if the passed values are not normalized. "); - I_Constructor1(IN, const osg::Vec4d &, vec, - Properties::NON_EXPLICIT, - ____Plane__C5_Vec4d_R1, - "Constructor. ", - "The plane can also be described as vec*[x,y,z,1]. You may call osg::Plane::MakeUnitLength afterwards if the passed values are not normalized. "); - I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, osg::Plane::value_type, d, - ____Plane__C5_Vec3_type_R1__value_type, - "Constructor. ", - " param norm The normal of the plane. d The negative distance from the point of origin to the plane. remark You may call osg::Plane::MakeUnitLength afterwards if the passed normal was not normalized. "); - I_Constructor3(IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3, - ____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1, - "Constructor. ", - " param v1 Point in the plane. v2 Point in the plane. v3 Point in the plane. remark After this constructor call the plane's normal is normalized in case the three points described a mathematically valid plane. The normal is determined by building the cross product of (v2-v1) ^ (v3-v2). "); - I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point, - ____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1, - "Constructor. ", - " param norm The normal of the plane. point A point of the plane. remark You may call osg::Plane::MakeUnitLength afterwards if the passed normal was not normalized. "); - I_Method1(void, set, IN, const osg::Plane &, pl, - Properties::NON_VIRTUAL, - __void__set__C5_Plane_R1, - "", - ""); - I_Method4(void, set, IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type__value_type, - "", - ""); - I_Method1(void, set, IN, const osg::Vec4f &, vec, - Properties::NON_VIRTUAL, - __void__set__C5_Vec4f_R1, - "", - ""); - I_Method1(void, set, IN, const osg::Vec4d &, vec, - Properties::NON_VIRTUAL, - __void__set__C5_Vec4d_R1, - "", - ""); - I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, double, d, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3_type_R1__double, - "", - ""); - I_Method3(void, set, IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1, - "", - ""); - I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3_type_R1__C5_Vec3_type_R1, - "", - ""); - I_Method0(void, flip, - Properties::NON_VIRTUAL, - __void__flip, - "flip/reverse the orientation of the plane. ", - ""); - I_Method0(void, makeUnitLength, - Properties::NON_VIRTUAL, - __void__makeUnitLength, - "This method multiplies the coefficients of the plane equation with a constant factor so that the equation a^2+b^2+c^2 = 1 holds. ", - ""); - I_Method0(void, calculateUpperLowerBBCorners, - Properties::NON_VIRTUAL, - __void__calculateUpperLowerBBCorners, - "calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations. ", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "Checks if all internal values describing the plane have valid numbers. ", - "This method does not check if the plane is mathematically correctly described! The only case where all elements have valid numbers and the plane description is invalid occurs if the plane's normal is zero. "); - I_Method0(bool, isNaN, - Properties::NON_VIRTUAL, - __bool__isNaN, - "", - ""); - I_Method0(osg::Plane::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Plane::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method0(osg::Plane::Vec4_type, asVec4, - Properties::NON_VIRTUAL, - __Vec4_type__asVec4, - "", - ""); - I_Method0(osg::Plane::Vec3_type, getNormal, - Properties::NON_VIRTUAL, - __Vec3_type__getNormal, - "", - ""); - I_Method1(float, distance, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __float__distance__C5_osg_Vec3f_R1, - "Calculate the distance between a point and the plane. ", - "This method only leads to real distance values if the plane's norm is 1. osg::Plane::makeUnitLength "); - I_Method1(double, distance, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __double__distance__C5_osg_Vec3d_R1, - "Calculate the distance between a point and the plane. ", - "This method only leads to real distance values if the plane's norm is 1. osg::Plane::makeUnitLength "); - I_Method1(float, dotProductNormal, IN, const osg::Vec3f &, v, - Properties::NON_VIRTUAL, - __float__dotProductNormal__C5_osg_Vec3f_R1, - "calculate the dot product of the plane normal and a point. ", - ""); - I_Method1(double, dotProductNormal, IN, const osg::Vec3d &, v, - Properties::NON_VIRTUAL, - __double__dotProductNormal__C5_osg_Vec3d_R1, - "calculate the dot product of the plane normal and a point. ", - ""); - I_Method1(int, intersect, IN, const std::vector< osg::Vec3f > &, vertices, - Properties::NON_VIRTUAL, - __int__intersect__C5_std_vectorT1_Vec3f__R1, - "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. ", - ""); - I_Method1(int, intersect, IN, const std::vector< osg::Vec3d > &, vertices, - Properties::NON_VIRTUAL, - __int__intersect__C5_std_vectorT1_Vec3d__R1, - "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. ", - ""); - I_Method1(int, intersect, IN, const osg::BoundingSphere &, bs, - Properties::NON_VIRTUAL, - __int__intersect__C5_BoundingSphere_R1, - "intersection test between plane and bounding sphere. ", - "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. "); - I_Method1(int, intersect, IN, const osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - __int__intersect__C5_BoundingBox_R1, - "intersection test between plane and bounding sphere. ", - "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. "); - I_Method1(void, transform, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__transform__C5_osg_Matrix_R1, - "Transform the plane by matrix. ", - "Note, this operation carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This make this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf "); - I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__transformProvidingInverse__C5_osg_Matrix_R1, - "Transform the plane by providing a pre inverted matrix. ", - "see transform for details. "); - I_SimpleProperty(osg::Plane::Vec3_type, Normal, - __Vec3_type__getNormal, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::Vec3d >) - -STD_VECTOR_REFLECTOR(std::vector< osg::Vec3f >) - diff --git a/src/osgWrappers/introspection/osg/Point.cpp b/src/osgWrappers/introspection/osg/Point.cpp deleted file mode 100644 index f8e99088a..000000000 --- a/src/osgWrappers/introspection/osg/Point.cpp +++ /dev/null @@ -1,167 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Point) - I_DeclaringFile("osg/Point"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Point, - "", - ""); - I_Constructor1(IN, float, size, - Properties::NON_EXPLICIT, - ____Point__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Point__C5_Point_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setSize, IN, float, size, - Properties::NON_VIRTUAL, - __void__setSize__float, - "", - ""); - I_Method0(float, getSize, - Properties::NON_VIRTUAL, - __float__getSize, - "", - ""); - I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize, - Properties::NON_VIRTUAL, - __void__setFadeThresholdSize__float, - "", - ""); - I_Method0(float, getFadeThresholdSize, - Properties::NON_VIRTUAL, - __float__getFadeThresholdSize, - "", - ""); - I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation, - Properties::NON_VIRTUAL, - __void__setDistanceAttenuation__C5_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getDistanceAttenuation, - Properties::NON_VIRTUAL, - __C5_Vec3_R1__getDistanceAttenuation, - "", - ""); - I_Method1(void, setMinSize, IN, float, minSize, - Properties::NON_VIRTUAL, - __void__setMinSize__float, - "", - ""); - I_Method0(float, getMinSize, - Properties::NON_VIRTUAL, - __float__getMinSize, - "", - ""); - I_Method1(void, setMaxSize, IN, float, maxSize, - Properties::NON_VIRTUAL, - __void__setMaxSize__float, - "", - ""); - I_Method0(float, getMaxSize, - Properties::NON_VIRTUAL, - __float__getMaxSize, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Returns the Extensions object for the given context. ", - "If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "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. "); - I_SimpleProperty(const osg::Vec3 &, DistanceAttenuation, - __C5_Vec3_R1__getDistanceAttenuation, - __void__setDistanceAttenuation__C5_Vec3_R1); - I_SimpleProperty(float, FadeThresholdSize, - __float__getFadeThresholdSize, - __void__setFadeThresholdSize__float); - I_SimpleProperty(float, MaxSize, - __float__getMaxSize, - __void__setMaxSize__float); - I_SimpleProperty(float, MinSize, - __float__getMinSize, - __void__setMinSize__float); - I_SimpleProperty(float, Size, - __float__getSize, - __void__setSize__float); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/PointSprite.cpp b/src/osgWrappers/introspection/osg/PointSprite.cpp deleted file mode 100644 index f7df4811e..000000000 --- a/src/osgWrappers/introspection/osg/PointSprite.cpp +++ /dev/null @@ -1,121 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::PointSprite::CoordOriginMode) - I_DeclaringFile("osg/PointSprite"); - I_EnumLabel(osg::PointSprite::UPPER_LEFT); - I_EnumLabel(osg::PointSprite::LOWER_LEFT); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::PointSprite) - I_DeclaringFile("osg/PointSprite"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____PointSprite, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::PointSprite &, ps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PointSprite__C5_PointSprite_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x, - Properties::VIRTUAL, - __bool__checkValidityOfAssociatedModes__osg_State_R1, - "Check the modes associated with this StateAttribute are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. ", - "Return true if all associated modes are valid. "); - I_Method0(bool, isTextureAttribute, - Properties::VIRTUAL, - __bool__isTextureAttribute, - "Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__osg_State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_Method1(void, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode, - Properties::NON_VIRTUAL, - __void__setCoordOriginMode__CoordOriginMode, - "", - ""); - I_Method0(osg::PointSprite::CoordOriginMode, getCoordOriginMode, - Properties::NON_VIRTUAL, - __CoordOriginMode__getCoordOriginMode, - "", - ""); - I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context, - __bool__isPointSpriteSupported__unsigned_int_S, - "", - ""); - I_SimpleProperty(osg::PointSprite::CoordOriginMode, CoordOriginMode, - __CoordOriginMode__getCoordOriginMode, - __void__setCoordOriginMode__CoordOriginMode); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/PolygonMode.cpp b/src/osgWrappers/introspection/osg/PolygonMode.cpp deleted file mode 100644 index 381997260..000000000 --- a/src/osgWrappers/introspection/osg/PolygonMode.cpp +++ /dev/null @@ -1,123 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::PolygonMode::Mode) - I_DeclaringFile("osg/PolygonMode"); - I_EnumLabel(osg::PolygonMode::POINT); - I_EnumLabel(osg::PolygonMode::LINE); - I_EnumLabel(osg::PolygonMode::FILL); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::PolygonMode::Face) - I_DeclaringFile("osg/PolygonMode"); - I_EnumLabel(osg::PolygonMode::FRONT_AND_BACK); - I_EnumLabel(osg::PolygonMode::FRONT); - I_EnumLabel(osg::PolygonMode::BACK); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::PolygonMode) - I_DeclaringFile("osg/PolygonMode"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____PolygonMode, - "", - ""); - I_Constructor2(IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode, - ____PolygonMode__Face__Mode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::PolygonMode &, pm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PolygonMode__C5_PolygonMode_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method2(void, setMode, IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode, - Properties::NON_VIRTUAL, - __void__setMode__Face__Mode, - "", - ""); - I_Method1(osg::PolygonMode::Mode, getMode, IN, osg::PolygonMode::Face, face, - Properties::NON_VIRTUAL, - __Mode__getMode__Face, - "", - ""); - I_Method0(bool, getFrontAndBack, - Properties::NON_VIRTUAL, - __bool__getFrontAndBack, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(bool, FrontAndBack, - __bool__getFrontAndBack, - 0); - I_IndexedProperty(osg::PolygonMode::Mode, Mode, - __Mode__getMode__Face, - __void__setMode__Face__Mode, - 0); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/PolygonOffset.cpp b/src/osgWrappers/introspection/osg/PolygonOffset.cpp deleted file mode 100644 index 5774a95a1..000000000 --- a/src/osgWrappers/introspection/osg/PolygonOffset.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset) - I_DeclaringFile("osg/PolygonOffset"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____PolygonOffset, - "", - ""); - I_Constructor2(IN, float, factor, IN, float, units, - ____PolygonOffset__float__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::PolygonOffset &, po, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PolygonOffset__C5_PolygonOffset_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setFactor, IN, float, factor, - Properties::NON_VIRTUAL, - __void__setFactor__float, - "", - ""); - I_Method0(float, getFactor, - Properties::NON_VIRTUAL, - __float__getFactor, - "", - ""); - I_Method1(void, setUnits, IN, float, units, - Properties::NON_VIRTUAL, - __void__setUnits__float, - "", - ""); - I_Method0(float, getUnits, - Properties::NON_VIRTUAL, - __float__getUnits, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_StaticMethod1(void, setFactorMultiplier, IN, float, multiplier, - __void__setFactorMultiplier__float_S, - "", - ""); - I_StaticMethod0(float, getFactorMultiplier, - __float__getFactorMultiplier_S, - "", - ""); - I_StaticMethod1(void, setUnitsMultiplier, IN, float, multiplier, - __void__setUnitsMultiplier__float_S, - "", - ""); - I_StaticMethod0(float, getUnitsMultiplier, - __float__getUnitsMultiplier_S, - "", - ""); - I_StaticMethod0(bool, areFactorAndUnitsMultipliersSet, - __bool__areFactorAndUnitsMultipliersSet_S, - "", - ""); - I_StaticMethod0(void, setFactorAndUnitsMultipliersUsingBestGuessForDriver, - __void__setFactorAndUnitsMultipliersUsingBestGuessForDriver_S, - "Checks with the OpenGL driver to try and pick multiplier appropriate for the hardware. ", - "note, requires a valid graphics context to be current. "); - I_SimpleProperty(float, Factor, - __float__getFactor, - __void__setFactor__float); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); - I_SimpleProperty(float, Units, - __float__getUnits, - __void__setUnits__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/PolygonStipple.cpp b/src/osgWrappers/introspection/osg/PolygonStipple.cpp deleted file mode 100644 index 0e54dd213..000000000 --- a/src/osgWrappers/introspection/osg/PolygonStipple.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::PolygonStipple) - I_DeclaringFile("osg/PolygonStipple"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____PolygonStipple, - "", - ""); - I_Constructor1(IN, const GLubyte *, mask, - Properties::NON_EXPLICIT, - ____PolygonStipple__C5_GLubyte_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::PolygonStipple &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PolygonStipple__C5_PolygonStipple_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, setMask, IN, const GLubyte *, mask, - Properties::NON_VIRTUAL, - __void__setMask__C5_GLubyte_P1, - "set the mask up, copying 128 bytes (32x32 bitfield) from mask into the local _mask. ", - ""); - I_Method0(const GLubyte *, getMask, - Properties::NON_VIRTUAL, - __C5_GLubyte_P1__getMask, - "get a pointer to the mask. ", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(const GLubyte *, Mask, - __C5_GLubyte_P1__getMask, - __void__setMask__C5_GLubyte_P1); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Polytope.cpp b/src/osgWrappers/introspection/osg/Polytope.cpp deleted file mode 100644 index 0c79b3bf5..000000000 --- a/src/osgWrappers/introspection/osg/Polytope.cpp +++ /dev/null @@ -1,284 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(unsigned int, osg::Polytope::ClippingMask) - -TYPE_NAME_ALIAS(std::vector< osg::Plane >, osg::Polytope::PlaneList) - -TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osg::Polytope::VertexList) - -TYPE_NAME_ALIAS(osg::fast_back_stack< osg::Polytope::ClippingMask >, osg::Polytope::MaskStack) - -BEGIN_VALUE_REFLECTOR(osg::Polytope) - I_DeclaringFile("osg/Polytope"); - I_Constructor0(____Polytope, - "", - ""); - I_Constructor1(IN, const osg::Polytope &, cv, - Properties::NON_EXPLICIT, - ____Polytope__C5_Polytope_R1, - "", - ""); - I_Constructor1(IN, const osg::Polytope::PlaneList &, pl, - Properties::NON_EXPLICIT, - ____Polytope__C5_PlaneList_R1, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_MethodWithDefaults2(void, setToUnitFrustum, IN, bool, withNear, true, IN, bool, withFar, true, - Properties::NON_VIRTUAL, - __void__setToUnitFrustum__bool__bool, - "Create a Polytope which is a cube, centered at 0,0,0, with sides of 2 units. ", - ""); - I_Method1(void, setToBoundingBox, IN, const osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - __void__setToBoundingBox__C5_BoundingBox_R1, - "Create a Polytope which is a equivalent to BoundingBox. ", - ""); - I_Method2(void, setAndTransformProvidingInverse, IN, const osg::Polytope &, pt, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__setAndTransformProvidingInverse__C5_Polytope_R1__C5_osg_Matrix_R1, - "", - ""); - I_Method1(void, set, IN, const osg::Polytope::PlaneList &, pl, - Properties::NON_VIRTUAL, - __void__set__C5_PlaneList_R1, - "", - ""); - I_Method1(void, add, IN, const osg::Plane &, pl, - Properties::NON_VIRTUAL, - __void__add__C5_osg_Plane_R1, - "", - ""); - I_Method0(void, flip, - Properties::NON_VIRTUAL, - __void__flip, - "flip/reverse the orientation of all the planes. ", - ""); - I_Method0(osg::Polytope::PlaneList &, getPlaneList, - Properties::NON_VIRTUAL, - __PlaneList_R1__getPlaneList, - "", - ""); - I_Method0(const osg::Polytope::PlaneList &, getPlaneList, - Properties::NON_VIRTUAL, - __C5_PlaneList_R1__getPlaneList, - "", - ""); - I_Method1(void, setReferenceVertexList, IN, osg::Polytope::VertexList &, vertices, - Properties::NON_VIRTUAL, - __void__setReferenceVertexList__VertexList_R1, - "", - ""); - I_Method0(osg::Polytope::VertexList &, getReferenceVertexList, - Properties::NON_VIRTUAL, - __VertexList_R1__getReferenceVertexList, - "", - ""); - I_Method0(const osg::Polytope::VertexList &, getReferenceVertexList, - Properties::NON_VIRTUAL, - __C5_VertexList_R1__getReferenceVertexList, - "", - ""); - I_Method0(void, setupMask, - Properties::NON_VIRTUAL, - __void__setupMask, - "", - ""); - I_Method0(osg::Polytope::ClippingMask &, getCurrentMask, - Properties::NON_VIRTUAL, - __ClippingMask_R1__getCurrentMask, - "", - ""); - I_Method0(osg::Polytope::ClippingMask, getCurrentMask, - Properties::NON_VIRTUAL, - __ClippingMask__getCurrentMask, - "", - ""); - I_Method1(void, setResultMask, IN, osg::Polytope::ClippingMask, mask, - Properties::NON_VIRTUAL, - __void__setResultMask__ClippingMask, - "", - ""); - I_Method0(osg::Polytope::ClippingMask, getResultMask, - Properties::NON_VIRTUAL, - __ClippingMask__getResultMask, - "", - ""); - I_Method0(osg::Polytope::MaskStack &, getMaskStack, - Properties::NON_VIRTUAL, - __MaskStack_R1__getMaskStack, - "", - ""); - I_Method0(const osg::Polytope::MaskStack &, getMaskStack, - Properties::NON_VIRTUAL, - __C5_MaskStack_R1__getMaskStack, - "", - ""); - I_Method0(void, pushCurrentMask, - Properties::NON_VIRTUAL, - __void__pushCurrentMask, - "", - ""); - I_Method0(void, popCurrentMask, - Properties::NON_VIRTUAL, - __void__popCurrentMask, - "", - ""); - I_Method1(bool, contains, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __bool__contains__C5_osg_Vec3_R1, - "Check whether a vertex is contained within clipping set. ", - ""); - I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices, - Properties::NON_VIRTUAL, - __bool__contains__C5_std_vectorT1_Vec3__R1, - "Check whether any part of vertex list is contained within clipping set. ", - ""); - I_Method1(bool, contains, IN, const osg::BoundingSphere &, bs, - Properties::NON_VIRTUAL, - __bool__contains__C5_osg_BoundingSphere_R1, - "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 modifying the mask to turn off planes which wouldn't contribute to clipping of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking. "); - I_Method1(bool, contains, IN, const osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - __bool__contains__C5_osg_BoundingBox_R1, - "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 modifying the mask to turn off planes which wouldn't contribute to clipping of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking. "); - I_Method1(bool, containsAllOf, IN, const std::vector< osg::Vec3 > &, vertices, - Properties::NON_VIRTUAL, - __bool__containsAllOf__C5_std_vectorT1_Vec3__R1, - "Check whether all of vertex list is contained with clipping set. ", - ""); - I_Method1(bool, containsAllOf, IN, const osg::BoundingSphere &, bs, - Properties::NON_VIRTUAL, - __bool__containsAllOf__C5_osg_BoundingSphere_R1, - "Check whether the entire bounding sphere is contained within clipping set. ", - ""); - I_Method1(bool, containsAllOf, IN, const osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - __bool__containsAllOf__C5_osg_BoundingBox_R1, - "Check whether the entire bounding box is contained within clipping set. ", - ""); - I_Method1(void, transform, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__transform__C5_osg_Matrix_R1, - "Transform the clipping set by matrix. ", - "Note, this operations carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This makes this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf "); - I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__transformProvidingInverse__C5_osg_Matrix_R1, - "Transform the clipping set by provide a pre inverted matrix. ", - "see transform for details. "); - I_SimpleProperty(osg::Polytope::ClippingMask, CurrentMask, - __ClippingMask__getCurrentMask, - 0); - I_SimpleProperty(osg::Polytope::MaskStack &, MaskStack, - __MaskStack_R1__getMaskStack, - 0); - I_SimpleProperty(osg::Polytope::PlaneList &, PlaneList, - __PlaneList_R1__getPlaneList, - 0); - I_SimpleProperty(osg::Polytope::VertexList &, ReferenceVertexList, - __VertexList_R1__getReferenceVertexList, - __void__setReferenceVertexList__VertexList_R1); - I_SimpleProperty(osg::Polytope::ClippingMask, ResultMask, - __ClippingMask__getResultMask, - __void__setResultMask__ClippingMask); - I_SimpleProperty(const osg::BoundingBox &, ToBoundingBox, - 0, - __void__setToBoundingBox__C5_BoundingBox_R1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::fast_back_stack< osg::Polytope::ClippingMask >) - I_DeclaringFile("osg/fast_back_stack"); - I_Constructor0(____fast_back_stack, - "", - ""); - I_Constructor1(IN, const osg::fast_back_stack< osg::Polytope::ClippingMask > &, fbs, - Properties::NON_EXPLICIT, - ____fast_back_stack__C5_fast_back_stack_R1, - "", - ""); - I_Constructor1(IN, const osg::Polytope::ClippingMask &, value, - Properties::NON_EXPLICIT, - ____fast_back_stack__C5_T_R1, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_Method0(bool, empty, - Properties::NON_VIRTUAL, - __bool__empty, - "", - ""); - I_Method0(unsigned int, size, - Properties::NON_VIRTUAL, - __unsigned_int__size, - "", - ""); - I_Method0(osg::Polytope::ClippingMask &, back, - Properties::NON_VIRTUAL, - __T_R1__back, - "", - ""); - I_Method0(const osg::Polytope::ClippingMask &, back, - Properties::NON_VIRTUAL, - __C5_T_R1__back, - "", - ""); - I_Method0(void, push_back, - Properties::NON_VIRTUAL, - __void__push_back, - "", - ""); - I_Method1(void, push_back, IN, const osg::Polytope::ClippingMask &, value, - Properties::NON_VIRTUAL, - __void__push_back__C5_T_R1, - "", - ""); - I_Method0(void, pop_back, - Properties::NON_VIRTUAL, - __void__pop_back, - "", - ""); - I_PublicMemberProperty(osg::Polytope::ClippingMask, _value); - I_PublicMemberProperty(std::vector< osg::Polytope::ClippingMask >, _stack); - I_PublicMemberProperty(unsigned int, _size); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::Plane >) - diff --git a/src/osgWrappers/introspection/osg/PositionAttitudeTransform.cpp b/src/osgWrappers/introspection/osg/PositionAttitudeTransform.cpp deleted file mode 100644 index adc4bda5a..000000000 --- a/src/osgWrappers/introspection/osg/PositionAttitudeTransform.cpp +++ /dev/null @@ -1,144 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::PositionAttitudeTransform) - I_DeclaringFile("osg/PositionAttitudeTransform"); - I_BaseType(osg::Transform); - I_Constructor0(____PositionAttitudeTransform, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::PositionAttitudeTransform &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PositionAttitudeTransform__C5_PositionAttitudeTransform_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(osg::PositionAttitudeTransform *, asPositionAttitudeTransform, - Properties::VIRTUAL, - __PositionAttitudeTransform_P1__asPositionAttitudeTransform, - "", - ""); - I_Method0(const osg::PositionAttitudeTransform *, asPositionAttitudeTransform, - Properties::VIRTUAL, - __C5_PositionAttitudeTransform_P1__asPositionAttitudeTransform, - "", - ""); - I_Method1(void, setPosition, IN, const osg::Vec3d &, pos, - Properties::NON_VIRTUAL, - __void__setPosition__C5_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getPosition, - Properties::NON_VIRTUAL, - __C5_Vec3d_R1__getPosition, - "", - ""); - I_Method1(void, setAttitude, IN, const osg::Quat &, quat, - Properties::NON_VIRTUAL, - __void__setAttitude__C5_Quat_R1, - "", - ""); - I_Method0(const osg::Quat &, getAttitude, - Properties::NON_VIRTUAL, - __C5_Quat_R1__getAttitude, - "", - ""); - I_Method1(void, setScale, IN, const osg::Vec3d &, scale, - Properties::NON_VIRTUAL, - __void__setScale__C5_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getScale, - Properties::NON_VIRTUAL, - __C5_Vec3d_R1__getScale, - "", - ""); - I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot, - Properties::NON_VIRTUAL, - __void__setPivotPoint__C5_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getPivotPoint, - Properties::NON_VIRTUAL, - __C5_Vec3d_R1__getPivotPoint, - "", - ""); - I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv, - Properties::VIRTUAL, - __bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1, - "", - ""); - I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv, - Properties::VIRTUAL, - __bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1, - "", - ""); - I_SimpleProperty(const osg::Quat &, Attitude, - __C5_Quat_R1__getAttitude, - __void__setAttitude__C5_Quat_R1); - I_SimpleProperty(const osg::Vec3d &, PivotPoint, - __C5_Vec3d_R1__getPivotPoint, - __void__setPivotPoint__C5_Vec3d_R1); - I_SimpleProperty(const osg::Vec3d &, Position, - __C5_Vec3d_R1__getPosition, - __void__setPosition__C5_Vec3d_R1); - I_SimpleProperty(const osg::Vec3d &, Scale, - __C5_Vec3d_R1__getScale, - __void__setScale__C5_Vec3d_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/PrimitiveSet.cpp b/src/osgWrappers/introspection/osg/PrimitiveSet.cpp deleted file mode 100644 index 9c6092ba5..000000000 --- a/src/osgWrappers/introspection/osg/PrimitiveSet.cpp +++ /dev/null @@ -1,543 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::VectorGLsizei, osg::DrawArrayLengths::vector_type) - -BEGIN_OBJECT_REFLECTOR(osg::DrawArrays) - I_DeclaringFile("osg/PrimitiveSet"); - I_BaseType(osg::PrimitiveSet); - I_ConstructorWithDefaults1(IN, GLenum, mode, 0, - Properties::NON_EXPLICIT, - ____DrawArrays__GLenum, - "", - ""); - I_ConstructorWithDefaults4(IN, GLenum, mode, , IN, GLint, first, , IN, GLsizei, count, , IN, int, numInstances, 0, - ____DrawArrays__GLenum__GLint__GLsizei__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::DrawArrays &, da, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____DrawArrays__C5_DrawArrays_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method3(void, set, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, - Properties::NON_VIRTUAL, - __void__set__GLenum__GLint__GLsizei, - "", - ""); - I_Method1(void, setFirst, IN, GLint, first, - Properties::NON_VIRTUAL, - __void__setFirst__GLint, - "", - ""); - I_Method0(GLint, getFirst, - Properties::NON_VIRTUAL, - __GLint__getFirst, - "", - ""); - I_Method1(void, setCount, IN, GLsizei, count, - Properties::NON_VIRTUAL, - __void__setCount__GLsizei, - "", - ""); - I_Method0(GLsizei, getCount, - Properties::NON_VIRTUAL, - __GLsizei__getCount, - "", - ""); - I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects, - Properties::VIRTUAL, - __void__draw__State_R1__bool, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor, - Properties::VIRTUAL, - __void__accept__PrimitiveFunctor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor, - Properties::VIRTUAL, - __void__accept__PrimitiveIndexFunctor_R1, - "", - ""); - I_Method0(unsigned int, getNumIndices, - Properties::VIRTUAL, - __unsigned_int__getNumIndices, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_Method1(void, offsetIndices, IN, int, offset, - Properties::VIRTUAL, - __void__offsetIndices__int, - "", - ""); - I_SimpleProperty(GLsizei, Count, - __GLsizei__getCount, - __void__setCount__GLsizei); - I_SimpleProperty(GLint, First, - __GLint__getFirst, - __void__setFirst__GLint); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::DrawElements) - I_DeclaringFile("osg/PrimitiveSet"); - I_BaseType(osg::PrimitiveSet); - I_ConstructorWithDefaults3(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0, IN, int, numInstances, 0, - ____DrawElements__Type__GLenum__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::DrawElements &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____DrawElements__C5_DrawElements_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::DrawElements *, getDrawElements, - Properties::VIRTUAL, - __DrawElements_P1__getDrawElements, - "", - ""); - I_Method0(const osg::DrawElements *, getDrawElements, - Properties::VIRTUAL, - __C5_DrawElements_P1__getDrawElements, - "", - ""); - I_Method1(void, setElementBufferObject, IN, osg::ElementBufferObject *, ebo, - Properties::NON_VIRTUAL, - __void__setElementBufferObject__osg_ElementBufferObject_P1, - "Set the ElementBufferObject. ", - ""); - I_Method0(osg::ElementBufferObject *, getElementBufferObject, - Properties::NON_VIRTUAL, - __osg_ElementBufferObject_P1__getElementBufferObject, - "Get the ElementBufferObject. ", - "If no EBO is assigned returns NULL "); - I_Method0(const osg::ElementBufferObject *, getElementBufferObject, - Properties::NON_VIRTUAL, - __C5_osg_ElementBufferObject_P1__getElementBufferObject, - "Get the const ElementBufferObject. ", - "If no EBO is assigned returns NULL "); - I_Method1(void, reserveElements, IN, unsigned int, numIndices, - Properties::PURE_VIRTUAL, - __void__reserveElements__unsigned_int, - "", - ""); - I_Method2(void, setElement, IN, unsigned, int, IN, unsigned, int, - Properties::PURE_VIRTUAL, - __void__setElement__unsigned__unsigned, - "", - ""); - I_Method1(unsigned int, getElement, IN, unsigned, int, - Properties::PURE_VIRTUAL, - __unsigned_int__getElement__unsigned, - "", - ""); - I_Method1(void, addElement, IN, unsigned, int, - Properties::PURE_VIRTUAL, - __void__addElement__unsigned, - "", - ""); - I_SimpleProperty(osg::DrawElements *, DrawElements, - __DrawElements_P1__getDrawElements, - 0); - I_SimpleProperty(osg::ElementBufferObject *, ElementBufferObject, - __osg_ElementBufferObject_P1__getElementBufferObject, - __void__setElementBufferObject__osg_ElementBufferObject_P1); -END_REFLECTOR - -TYPE_NAME_ALIAS(osg::VectorGLubyte, osg::DrawElementsUByte::vector_type) - -TYPE_NAME_ALIAS(osg::VectorGLuint, osg::DrawElementsUInt::vector_type) - -TYPE_NAME_ALIAS(osg::VectorGLushort, osg::DrawElementsUShort::vector_type) - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveFunctor) - I_DeclaringFile("osg/PrimitiveSet"); - I_Constructor0(____PrimitiveFunctor, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec2_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec3_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec4_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2d *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec2d_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3d *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec3d_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4d *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec4d_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, - Properties::PURE_VIRTUAL, - __void__drawArrays__GLenum__GLint__GLsizei, - "Mimics the OpenGL glDrawArrays() function. ", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices, - Properties::PURE_VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLubyte_P1, - "Mimics the OpenGL glDrawElements() function. ", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices, - Properties::PURE_VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLushort_P1, - "Mimics the OpenGL glDrawElements() function. ", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices, - Properties::PURE_VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLuint_P1, - "Mimics the OpenGL glDrawElements() function. ", - ""); - I_Method1(void, begin, IN, GLenum, mode, - Properties::PURE_VIRTUAL, - __void__begin__GLenum, - "Mimics the OpenGL glBegin() function. ", - ""); - I_Method1(void, vertex, IN, const osg::Vec2 &, vert, - Properties::PURE_VIRTUAL, - __void__vertex__C5_Vec2_R1, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method1(void, vertex, IN, const osg::Vec3 &, vert, - Properties::PURE_VIRTUAL, - __void__vertex__C5_Vec3_R1, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method1(void, vertex, IN, const osg::Vec4 &, vert, - Properties::PURE_VIRTUAL, - __void__vertex__C5_Vec4_R1, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method2(void, vertex, IN, float, x, IN, float, y, - Properties::PURE_VIRTUAL, - __void__vertex__float__float, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method3(void, vertex, IN, float, x, IN, float, y, IN, float, z, - Properties::PURE_VIRTUAL, - __void__vertex__float__float__float, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method4(void, vertex, IN, float, x, IN, float, y, IN, float, z, IN, float, w, - Properties::PURE_VIRTUAL, - __void__vertex__float__float__float__float, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method0(void, end, - Properties::PURE_VIRTUAL, - __void__end, - "Mimics the OpenGL glEnd() function. ", - ""); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveIndexFunctor) - I_DeclaringFile("osg/PrimitiveSet"); - I_Constructor0(____PrimitiveIndexFunctor, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec2_P1, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec3_P1, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec4_P1, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2d *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec2d_P1, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3d *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec3d_P1, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4d *, vertices, - Properties::PURE_VIRTUAL, - __void__setVertexArray__unsigned_int__C5_Vec4d_P1, - "", - ""); - I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, - Properties::PURE_VIRTUAL, - __void__drawArrays__GLenum__GLint__GLsizei, - "", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices, - Properties::PURE_VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLubyte_P1, - "", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices, - Properties::PURE_VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLushort_P1, - "", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices, - Properties::PURE_VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLuint_P1, - "", - ""); - I_Method1(void, begin, IN, GLenum, mode, - Properties::PURE_VIRTUAL, - __void__begin__GLenum, - "", - ""); - I_Method1(void, vertex, IN, unsigned int, pos, - Properties::PURE_VIRTUAL, - __void__vertex__unsigned_int, - "", - ""); - I_Method0(void, end, - Properties::PURE_VIRTUAL, - __void__end, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::PrimitiveSet::Type) - I_DeclaringFile("osg/PrimitiveSet"); - I_EnumLabel(osg::PrimitiveSet::PrimitiveType); - I_EnumLabel(osg::PrimitiveSet::DrawArraysPrimitiveType); - I_EnumLabel(osg::PrimitiveSet::DrawArrayLengthsPrimitiveType); - I_EnumLabel(osg::PrimitiveSet::DrawElementsUBytePrimitiveType); - I_EnumLabel(osg::PrimitiveSet::DrawElementsUShortPrimitiveType); - I_EnumLabel(osg::PrimitiveSet::DrawElementsUIntPrimitiveType); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::PrimitiveSet::Mode) - I_DeclaringFile("osg/PrimitiveSet"); - I_EnumLabel(osg::PrimitiveSet::POINTS); - I_EnumLabel(osg::PrimitiveSet::LINES); - I_EnumLabel(osg::PrimitiveSet::LINE_STRIP); - I_EnumLabel(osg::PrimitiveSet::LINE_LOOP); - I_EnumLabel(osg::PrimitiveSet::TRIANGLES); - I_EnumLabel(osg::PrimitiveSet::TRIANGLE_STRIP); - I_EnumLabel(osg::PrimitiveSet::TRIANGLE_FAN); - I_EnumLabel(osg::PrimitiveSet::QUADS); - I_EnumLabel(osg::PrimitiveSet::QUAD_STRIP); - I_EnumLabel(osg::PrimitiveSet::POLYGON); - I_EnumLabel(osg::PrimitiveSet::LINES_ADJACENCY); - I_EnumLabel(osg::PrimitiveSet::LINE_STRIP_ADJACENCY); - I_EnumLabel(osg::PrimitiveSet::TRIANGLES_ADJACENCY); - I_EnumLabel(osg::PrimitiveSet::TRIANGLE_STRIP_ADJACENCY); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveSet) - I_DeclaringFile("osg/PrimitiveSet"); - I_BaseType(osg::BufferData); - I_ConstructorWithDefaults3(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0, IN, int, numInstances, 0, - ____PrimitiveSet__Type__GLenum__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::PrimitiveSet &, prim, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PrimitiveSet__C5_PrimitiveSet_R1__C5_CopyOp_R1, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osg::PrimitiveSet::Type, getType, - Properties::NON_VIRTUAL, - __Type__getType, - "", - ""); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(bool, supportsBufferObject, - Properties::VIRTUAL, - __bool__supportsBufferObject, - "", - ""); - I_Method0(osg::DrawElements *, getDrawElements, - Properties::VIRTUAL, - __DrawElements_P1__getDrawElements, - "", - ""); - I_Method0(const osg::DrawElements *, getDrawElements, - Properties::VIRTUAL, - __C5_DrawElements_P1__getDrawElements, - "", - ""); - I_Method1(void, setNumInstances, IN, int, n, - Properties::NON_VIRTUAL, - __void__setNumInstances__int, - "", - ""); - I_Method0(int, getNumInstances, - Properties::NON_VIRTUAL, - __int__getNumInstances, - "", - ""); - I_Method1(void, setMode, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__setMode__GLenum, - "", - ""); - I_Method0(GLenum, getMode, - Properties::NON_VIRTUAL, - __GLenum__getMode, - "", - ""); - I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects, - Properties::PURE_VIRTUAL, - __void__draw__State_R1__bool, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor, - Properties::PURE_VIRTUAL, - __void__accept__PrimitiveFunctor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor, - Properties::PURE_VIRTUAL, - __void__accept__PrimitiveIndexFunctor_R1, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::PURE_VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumIndices, - Properties::PURE_VIRTUAL, - __unsigned_int__getNumIndices, - "", - ""); - I_Method1(void, offsetIndices, IN, int, offset, - Properties::PURE_VIRTUAL, - __void__offsetIndices__int, - "", - ""); - I_Method0(unsigned int, getNumPrimitives, - Properties::VIRTUAL, - __unsigned_int__getNumPrimitives, - "", - ""); - I_Method0(void, computeRange, - Properties::VIRTUAL, - __void__computeRange, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(osg::DrawElements *, DrawElements, - __DrawElements_P1__getDrawElements, - 0); - I_SimpleProperty(GLenum, Mode, - __GLenum__getMode, - __void__setMode__GLenum); - I_SimpleProperty(int, NumInstances, - 0, - __void__setNumInstances__int); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); - I_SimpleProperty(osg::PrimitiveSet::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Program.cpp b/src/osgWrappers/introspection/osg/Program.cpp deleted file mode 100644 index c76411de3..000000000 --- a/src/osgWrappers/introspection/osg/Program.cpp +++ /dev/null @@ -1,354 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::map< std::string COMMA GLuint >, osg::Program::AttribBindingList) - -TYPE_NAME_ALIAS(std::map< std::string COMMA GLuint >, osg::Program::FragDataBindingList) - -TYPE_NAME_ALIAS(std::map< std::string COMMA osg::Program::ActiveVarInfo >, osg::Program::ActiveVarInfoMap) - -BEGIN_OBJECT_REFLECTOR(osg::Program) - I_DeclaringFile("osg/Program"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Program, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Program &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Program__C5_Program_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_osg_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__osg_State_R1, - "If enabled, activate our program in the GL pipeline, performing any rebuild operations that might be pending. ", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, compileGLObjects, IN, osg::State &, state, - Properties::VIRTUAL, - __void__compileGLObjects__osg_State_R1, - "Compile program and associated shaders. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ", - ""); - I_Method0(void, dirtyProgram, - Properties::NON_VIRTUAL, - __void__dirtyProgram, - "Mark our PCSOs as needing relink. ", - ""); - I_Method1(bool, addShader, IN, osg::Shader *, shader, - Properties::NON_VIRTUAL, - __bool__addShader__Shader_P1, - "Attach an osg::Shader to this osg::Program. ", - "Mark Program as needing relink. Return true for success "); - I_Method0(unsigned int, getNumShaders, - Properties::NON_VIRTUAL, - __unsigned_int__getNumShaders, - "", - ""); - I_Method1(osg::Shader *, getShader, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Shader_P1__getShader__unsigned_int, - "", - ""); - I_Method1(const osg::Shader *, getShader, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Shader_P1__getShader__unsigned_int, - "", - ""); - I_Method1(bool, removeShader, IN, osg::Shader *, shader, - Properties::NON_VIRTUAL, - __bool__removeShader__Shader_P1, - "Remove osg::Shader from this osg::Program. ", - "Mark Program as needing relink. Return true for success "); - I_Method2(void, setParameter, IN, GLenum, pname, IN, GLint, value, - Properties::NON_VIRTUAL, - __void__setParameter__GLenum__GLint, - "Set/get GL program parameters. ", - ""); - I_Method1(GLint, getParameter, IN, GLenum, pname, - Properties::NON_VIRTUAL, - __GLint__getParameter__GLenum, - "", - ""); - I_Method2(void, addBindAttribLocation, IN, const std::string &, name, IN, GLuint, index, - Properties::NON_VIRTUAL, - __void__addBindAttribLocation__C5_std_string_R1__GLuint, - "Add an attribute location binding. ", - ""); - I_Method1(void, removeBindAttribLocation, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__removeBindAttribLocation__C5_std_string_R1, - "Remove an attribute location binding. ", - ""); - I_Method2(void, addBindFragDataLocation, IN, const std::string &, name, IN, GLuint, index, - Properties::NON_VIRTUAL, - __void__addBindFragDataLocation__C5_std_string_R1__GLuint, - "Add an frag data location binding. ", - "See EXT_gpu_shader4 for BindFragDataLocationEXT "); - I_Method1(void, removeBindFragDataLocation, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__removeBindFragDataLocation__C5_std_string_R1, - "Remove an frag data location binding. ", - ""); - I_Method0(const osg::Program::AttribBindingList &, getAttribBindingList, - Properties::NON_VIRTUAL, - __C5_AttribBindingList_R1__getAttribBindingList, - "", - ""); - I_Method0(const osg::Program::FragDataBindingList &, getFragDataBindingList, - Properties::NON_VIRTUAL, - __C5_FragDataBindingList_R1__getFragDataBindingList, - "", - ""); - I_Method0(bool, isFixedFunction, - Properties::NON_VIRTUAL, - __bool__isFixedFunction, - "Return true if this Program represents \"fixed-functionality\" rendering. ", - ""); - I_Method2(bool, getGlProgramInfoLog, IN, unsigned int, contextID, IN, std::string &, log, - Properties::NON_VIRTUAL, - __bool__getGlProgramInfoLog__unsigned_int__std_string_R1, - "Query InfoLog from a glProgram. ", - ""); - I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveUniforms, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __C5_ActiveVarInfoMap_R1__getActiveUniforms__unsigned_int, - "", - ""); - I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveAttribs, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __C5_ActiveVarInfoMap_R1__getActiveAttribs__unsigned_int, - "", - ""); - I_Method1(osg::Program::PerContextProgram *, getPCP, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __PerContextProgram_P1__getPCP__unsigned_int, - "Get the PCP for a particular GL context. ", - ""); - I_StaticMethod2(void, deleteGlProgram, IN, unsigned int, contextID, IN, GLuint, program, - __void__deleteGlProgram__unsigned_int__GLuint_S, - "Mark internal glProgram for deletion. ", - "Deletion requests are queued until they can be executed in the proper GL context. "); - I_StaticMethod3(void, flushDeletedGlPrograms, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime, - __void__flushDeletedGlPrograms__unsigned_int__double__double_R1_S, - "flush all the cached glPrograms which need to be deleted in the OpenGL context related to contextID. ", - ""); - I_StaticMethod1(void, discardDeletedGlPrograms, IN, unsigned int, contextID, - __void__discardDeletedGlPrograms__unsigned_int_S, - "discard all the cached glPrograms which need to be deleted in the OpenGL context related to contextID. ", - "Note, unlike flush no OpenGL calls are made, instead the handles are all removed. this call is useful for when an OpenGL context has been destroyed. "); - I_SimpleProperty(const osg::Program::AttribBindingList &, AttribBindingList, - __C5_AttribBindingList_R1__getAttribBindingList, - 0); - I_SimpleProperty(const osg::Program::FragDataBindingList &, FragDataBindingList, - __C5_FragDataBindingList_R1__getFragDataBindingList, - 0); - I_IndexedProperty(GLint, Parameter, - __GLint__getParameter__GLenum, - __void__setParameter__GLenum__GLint, - 0); - I_ArrayProperty(osg::Shader *, Shader, - __Shader_P1__getShader__unsigned_int, - 0, - __unsigned_int__getNumShaders, - __bool__addShader__Shader_P1, - 0, - 0); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::Program::ActiveVarInfo) - I_DeclaringFile("osg/Program"); - I_Constructor0(____ActiveVarInfo, - "", - ""); - I_Constructor3(IN, GLint, loc, IN, GLenum, type, IN, GLint, size, - ____ActiveVarInfo__GLint__GLenum__GLint, - "", - ""); - I_PublicMemberProperty(GLint, _location); - I_PublicMemberProperty(GLenum, _type); - I_PublicMemberProperty(GLint, _size); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Program::PerContextProgram) - I_DeclaringFile("osg/Program"); - I_BaseType(osg::Referenced); - I_Constructor2(IN, const osg::Program *, program, IN, unsigned int, contextID, - ____PerContextProgram__C5_Program_P1__unsigned_int, - "", - ""); - I_Method0(GLuint, getHandle, - Properties::NON_VIRTUAL, - __GLuint__getHandle, - "", - ""); - I_Method0(void, requestLink, - Properties::NON_VIRTUAL, - __void__requestLink, - "", - ""); - I_Method1(void, linkProgram, IN, osg::State &, state, - Properties::NON_VIRTUAL, - __void__linkProgram__osg_State_R1, - "", - ""); - I_Method0(bool, validateProgram, - Properties::NON_VIRTUAL, - __bool__validateProgram, - "", - ""); - I_Method0(bool, needsLink, - Properties::NON_VIRTUAL, - __bool__needsLink, - "", - ""); - I_Method0(bool, isLinked, - Properties::NON_VIRTUAL, - __bool__isLinked, - "", - ""); - I_Method1(bool, getInfoLog, IN, std::string &, infoLog, - Properties::NON_VIRTUAL, - __bool__getInfoLog__std_string_R1, - "", - ""); - I_Method0(void, useProgram, - Properties::NON_VIRTUAL, - __void__useProgram, - "", - ""); - I_Method0(void, resetAppliedUniforms, - Properties::NON_VIRTUAL, - __void__resetAppliedUniforms, - "", - ""); - I_Method1(void, apply, IN, const osg::Uniform &, uniform, - Properties::NON_VIRTUAL, - __void__apply__C5_Uniform_R1, - "", - ""); - I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveUniforms, - Properties::NON_VIRTUAL, - __C5_ActiveVarInfoMap_R1__getActiveUniforms, - "", - ""); - I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveAttribs, - Properties::NON_VIRTUAL, - __C5_ActiveVarInfoMap_R1__getActiveAttribs, - "", - ""); - I_Method1(GLint, getUniformLocation, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __GLint__getUniformLocation__C5_std_string_R1, - "", - ""); - I_Method1(GLint, getAttribLocation, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __GLint__getAttribLocation__C5_std_string_R1, - "", - ""); - I_Method1(void, addShaderToAttach, IN, osg::Shader *, shader, - Properties::NON_VIRTUAL, - __void__addShaderToAttach__Shader_P1, - "", - ""); - I_Method1(void, addShaderToDetach, IN, osg::Shader *, shader, - Properties::NON_VIRTUAL, - __void__addShaderToDetach__Shader_P1, - "", - ""); - I_SimpleProperty(const osg::Program::ActiveVarInfoMap &, ActiveAttribs, - __C5_ActiveVarInfoMap_R1__getActiveAttribs, - 0); - I_SimpleProperty(const osg::Program::ActiveVarInfoMap &, ActiveUniforms, - __C5_ActiveVarInfoMap_R1__getActiveUniforms, - 0); - I_SimpleProperty(GLuint, Handle, - __GLuint__getHandle, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< std::string COMMA GLuint >) - -STD_MAP_REFLECTOR(std::map< std::string COMMA osg::Program::ActiveVarInfo >) - diff --git a/src/osgWrappers/introspection/osg/Projection.cpp b/src/osgWrappers/introspection/osg/Projection.cpp deleted file mode 100644 index 25375def9..000000000 --- a/src/osgWrappers/introspection/osg/Projection.cpp +++ /dev/null @@ -1,98 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Projection) - I_DeclaringFile("osg/Projection"); - I_BaseType(osg::Group); - I_Constructor0(____Projection, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Projection &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Projection__C5_Projection_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Constructor1(IN, const osg::Matrix &, matix, - Properties::NON_EXPLICIT, - ____Projection__C5_Matrix_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setMatrix, IN, const osg::Matrix &, mat, - Properties::NON_VIRTUAL, - __void__setMatrix__C5_Matrix_R1, - "Set the transform's matrix. ", - ""); - I_Method0(const osg::Matrix &, getMatrix, - Properties::NON_VIRTUAL, - __C5_Matrix_R1__getMatrix, - "Get the transform's matrix. ", - ""); - I_Method1(void, preMult, IN, const osg::Matrix &, mat, - Properties::NON_VIRTUAL, - __void__preMult__C5_Matrix_R1, - "preMult transform. ", - ""); - I_Method1(void, postMult, IN, const osg::Matrix &, mat, - Properties::NON_VIRTUAL, - __void__postMult__C5_Matrix_R1, - "postMult transform. ", - ""); - I_SimpleProperty(const osg::Matrix &, Matrix, - __C5_Matrix_R1__getMatrix, - __void__setMatrix__C5_Matrix_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/ProxyNode.cpp b/src/osgWrappers/introspection/osg/ProxyNode.cpp deleted file mode 100644 index bf6f1b154..000000000 --- a/src/osgWrappers/introspection/osg/ProxyNode.cpp +++ /dev/null @@ -1,236 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::ProxyNode::CenterMode) - I_DeclaringFile("osg/ProxyNode"); - I_EnumLabel(osg::ProxyNode::USE_BOUNDING_SPHERE_CENTER); - I_EnumLabel(osg::ProxyNode::USER_DEFINED_CENTER); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::ProxyNode::LoadingExternalReferenceMode) - I_DeclaringFile("osg/ProxyNode"); - I_EnumLabel(osg::ProxyNode::LOAD_IMMEDIATELY); - I_EnumLabel(osg::ProxyNode::DEFER_LOADING_TO_DATABASE_PAGER); - I_EnumLabel(osg::ProxyNode::NO_AUTOMATIC_LOADING); -END_REFLECTOR - -TYPE_NAME_ALIAS(osg::BoundingSphere::vec_type, osg::ProxyNode::vec_type) - -TYPE_NAME_ALIAS(osg::BoundingSphere::value_type, osg::ProxyNode::value_type) - -BEGIN_OBJECT_REFLECTOR(osg::ProxyNode) - I_DeclaringFile("osg/ProxyNode"); - I_BaseType(osg::Group); - I_Constructor0(____ProxyNode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ProxyNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ProxyNode__C5_ProxyNode_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(bool, addChild, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__addChild__Node_P1, - "Add Node to Group. ", - "If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. "); - I_Method2(bool, addChild, IN, osg::Node *, child, IN, const std::string &, filename, - Properties::VIRTUAL, - __bool__addChild__Node_P1__C5_std_string_R1, - "", - ""); - I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove, - Properties::VIRTUAL, - __bool__removeChildren__unsigned_int__unsigned_int, - "Remove children from Group. ", - "Note, must be override by subclasses of Group which add per child attributes. "); - I_Method1(void, setDatabaseOptions, IN, osg::Referenced *, options, - Properties::NON_VIRTUAL, - __void__setDatabaseOptions__osg_Referenced_P1, - "Set the optional database osgDB::Options object to use when loaded children. ", - ""); - I_Method0(osg::Referenced *, getDatabaseOptions, - Properties::NON_VIRTUAL, - __osg_Referenced_P1__getDatabaseOptions, - "Get the optional database osgDB::Options object used when loaded children. ", - ""); - I_Method0(const osg::Referenced *, getDatabaseOptions, - Properties::NON_VIRTUAL, - __C5_osg_Referenced_P1__getDatabaseOptions, - "Get the optional database osgDB::Options object used when loaded children. ", - ""); - I_Method1(void, setDatabasePath, IN, const std::string &, path, - Properties::NON_VIRTUAL, - __void__setDatabasePath__C5_std_string_R1, - "Set the database path to prepend to children's filenames. ", - ""); - I_Method0(const std::string &, getDatabasePath, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getDatabasePath, - "Get the database path used to prepend to children's filenames. ", - ""); - I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __void__setFileName__unsigned_int__C5_std_string_R1, - "", - ""); - I_Method1(const std::string &, getFileName, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getFileName__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumFileNames, - Properties::NON_VIRTUAL, - __unsigned_int__getNumFileNames, - "", - ""); - I_Method1(osg::ref_ptr< osg::Referenced > &, getDatabaseRequest, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __osg_ref_ptrT1_osg_Referenced__R1__getDatabaseRequest__unsigned_int, - "Return the DatabaseRequest object used by the DatabasePager to keep track of file load requests being carried on behalf of the DatabasePager. ", - "Note, in normal OSG usage you should not set this value yourself, as this will be managed by the osgDB::DatabasePager. "); - I_Method1(const osg::ref_ptr< osg::Referenced > &, getDatabaseRequest, IN, unsigned int, childNo, - Properties::NON_VIRTUAL, - __C5_osg_ref_ptrT1_osg_Referenced__R1__getDatabaseRequest__unsigned_int, - "Return the const DatabaseRequest object. ", - ""); - I_Method1(void, setCenterMode, IN, osg::ProxyNode::CenterMode, mode, - Properties::NON_VIRTUAL, - __void__setCenterMode__CenterMode, - "Set how the center of object should be determined when computed which child is active. ", - ""); - I_Method0(osg::ProxyNode::CenterMode, getCenterMode, - Properties::NON_VIRTUAL, - __CenterMode__getCenterMode, - "Get how the center of object should be determined when computed which child is active. ", - ""); - I_Method1(void, setLoadingExternalReferenceMode, IN, osg::ProxyNode::LoadingExternalReferenceMode, mode, - Properties::NON_VIRTUAL, - __void__setLoadingExternalReferenceMode__LoadingExternalReferenceMode, - "Set how the child loading is done. ", - ""); - I_Method0(osg::ProxyNode::LoadingExternalReferenceMode, getLoadingExternalReferenceMode, - Properties::NON_VIRTUAL, - __LoadingExternalReferenceMode__getLoadingExternalReferenceMode, - "Get the setted mode of loading. ", - ""); - I_Method1(void, setCenter, IN, const osg::Vec3 &, center, - Properties::NON_VIRTUAL, - __void__setCenter__C5_Vec3_R1, - "Sets the object-space point which defines the center of the osg::ProxyNode. ", - "center is affected by any transforms in the hierarchy above the osg::ProxyNode. "); - I_Method0(const osg::ProxyNode::vec_type &, getCenter, - Properties::NON_VIRTUAL, - __C5_vec_type_R1__getCenter, - "return the ProxyNode center point. ", - ""); - I_Method1(void, setRadius, IN, osg::ProxyNode::value_type, radius, - Properties::NON_VIRTUAL, - __void__setRadius__value_type, - "Set the object-space reference radius of the volume enclosed by the ProxyNode. ", - "Used to determine the bounding sphere of the ProxyNode in the absence of any children. "); - I_Method0(osg::ProxyNode::value_type, getRadius, - Properties::NON_VIRTUAL, - __value_type__getRadius, - "Get the object-space radius of the volume enclosed by the ProxyNode. ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "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(). "); - I_ProtectedMethod1(void, expandFileNameListTo, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__expandFileNameListTo__unsigned_int, - "", - ""); - I_SimpleProperty(const osg::Vec3 &, Center, - 0, - __void__setCenter__C5_Vec3_R1); - I_SimpleProperty(osg::ProxyNode::CenterMode, CenterMode, - __CenterMode__getCenterMode, - __void__setCenterMode__CenterMode); - I_SimpleProperty(osg::Referenced *, DatabaseOptions, - __osg_Referenced_P1__getDatabaseOptions, - __void__setDatabaseOptions__osg_Referenced_P1); - I_SimpleProperty(const std::string &, DatabasePath, - __C5_std_string_R1__getDatabasePath, - __void__setDatabasePath__C5_std_string_R1); - I_ArrayProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName__unsigned_int, - __void__setFileName__unsigned_int__C5_std_string_R1, - __unsigned_int__getNumFileNames, - 0, - 0, - 0); - I_SimpleProperty(osg::ProxyNode::LoadingExternalReferenceMode, LoadingExternalReferenceMode, - __LoadingExternalReferenceMode__getLoadingExternalReferenceMode, - __void__setLoadingExternalReferenceMode__LoadingExternalReferenceMode); - I_SimpleProperty(osg::ProxyNode::value_type, Radius, - __value_type__getRadius, - __void__setRadius__value_type); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Quat.cpp b/src/osgWrappers/introspection/osg/Quat.cpp deleted file mode 100644 index 79e5df94f..000000000 --- a/src/osgWrappers/introspection/osg/Quat.cpp +++ /dev/null @@ -1,241 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(double, osg::Quat::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Quat) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Quat"); - I_Constructor0(____Quat, - "", - ""); - I_Constructor4(IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w, - ____Quat__value_type__value_type__value_type__value_type, - "", - ""); - I_Constructor1(IN, const osg::Vec4f &, v, - Properties::NON_EXPLICIT, - ____Quat__C5_Vec4f_R1, - "", - ""); - I_Constructor1(IN, const osg::Vec4d &, v, - Properties::NON_EXPLICIT, - ____Quat__C5_Vec4d_R1, - "", - ""); - I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, axis, - ____Quat__value_type__C5_Vec3f_R1, - "", - ""); - I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, axis, - ____Quat__value_type__C5_Vec3d_R1, - "", - ""); - I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3, - ____Quat__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1, - "", - ""); - I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3, - ____Quat__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1, - "", - ""); - I_Method0(osg::Vec4d, asVec4, - Properties::NON_VIRTUAL, - __Vec4d__asVec4, - "", - ""); - I_Method0(osg::Vec3d, asVec3, - Properties::NON_VIRTUAL, - __Vec3d__asVec3, - "", - ""); - I_Method4(void, set, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type__value_type, - "", - ""); - I_Method1(void, set, IN, const osg::Vec4f &, v, - Properties::NON_VIRTUAL, - __void__set__C5_osg_Vec4f_R1, - "", - ""); - I_Method1(void, set, IN, const osg::Vec4d &, v, - Properties::NON_VIRTUAL, - __void__set__C5_osg_Vec4d_R1, - "", - ""); - I_Method1(void, set, IN, const osg::Matrixf &, matrix, - Properties::NON_VIRTUAL, - __void__set__C5_Matrixf_R1, - "", - ""); - I_Method1(void, set, IN, const osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __void__set__C5_Matrixd_R1, - "", - ""); - I_Method1(void, get, IN, osg::Matrixf &, matrix, - Properties::NON_VIRTUAL, - __void__get__Matrixf_R1, - "", - ""); - I_Method1(void, get, IN, osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __void__get__Matrixd_R1, - "", - ""); - I_Method0(osg::Quat::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Quat::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Quat::value_type &, z, - Properties::NON_VIRTUAL, - __value_type_R1__z, - "", - ""); - I_Method0(osg::Quat::value_type &, w, - Properties::NON_VIRTUAL, - __value_type_R1__w, - "", - ""); - I_Method0(osg::Quat::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Quat::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Quat::value_type, z, - Properties::NON_VIRTUAL, - __value_type__z, - "", - ""); - I_Method0(osg::Quat::value_type, w, - Properties::NON_VIRTUAL, - __value_type__w, - "", - ""); - I_Method0(bool, zeroRotation, - Properties::NON_VIRTUAL, - __bool__zeroRotation, - "return true if the Quat represents a zero rotation, and therefore can be ignored in computations. ", - ""); - I_Method0(osg::Quat::value_type, length, - Properties::NON_VIRTUAL, - __value_type__length, - "Length of the quaternion = sqrt( vec . vec ). ", - ""); - I_Method0(osg::Quat::value_type, length2, - Properties::NON_VIRTUAL, - __value_type__length2, - "Length of the quaternion = vec . vec. ", - ""); - I_Method0(osg::Quat, conj, - Properties::NON_VIRTUAL, - __Quat__conj, - "Conjugate. ", - ""); - I_Method0(const osg::Quat, inverse, - Properties::NON_VIRTUAL, - __C5_Quat__inverse, - "Multiplicative inverse method: q^(-1) = q^*/(q.q^*). ", - ""); - I_Method4(void, makeRotate, IN, osg::Quat::value_type, angle, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__value_type__value_type__value_type, - "", - ""); - I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, vec, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3f_R1, - "", - ""); - I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, vec, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3d_R1, - "", - ""); - I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1, - "", - ""); - I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3, - Properties::NON_VIRTUAL, - __void__makeRotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1, - "", - ""); - I_Method2(void, makeRotate, IN, const osg::Vec3f &, vec1, IN, const osg::Vec3f &, vec2, - Properties::NON_VIRTUAL, - __void__makeRotate__C5_Vec3f_R1__C5_Vec3f_R1, - "Make a rotation Quat which will rotate vec1 to vec2. ", - "Generally take a dot product to get the angle between these and then use a cross product to get the rotation axis Watch out for the two special cases when the vectors are co-incident or opposite in direction. "); - I_Method2(void, makeRotate, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2, - Properties::NON_VIRTUAL, - __void__makeRotate__C5_Vec3d_R1__C5_Vec3d_R1, - "Make a rotation Quat which will rotate vec1 to vec2. ", - "Generally take a dot product to get the angle between these and then use a cross product to get the rotation axis Watch out for the two special cases of when the vectors are co-incident or opposite in direction. "); - I_Method2(void, makeRotate_original, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2, - Properties::NON_VIRTUAL, - __void__makeRotate_original__C5_Vec3d_R1__C5_Vec3d_R1, - "", - ""); - I_Method4(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Quat::value_type &, x, IN, osg::Quat::value_type &, y, IN, osg::Quat::value_type &, z, - Properties::NON_VIRTUAL, - __void__getRotate__value_type_R1__value_type_R1__value_type_R1__value_type_R1, - "Return the angle and vector components represented by the quaternion. ", - ""); - I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3f &, vec, - Properties::NON_VIRTUAL, - __void__getRotate__value_type_R1__Vec3f_R1, - "Return the angle and vector represented by the quaternion. ", - ""); - I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3d &, vec, - Properties::NON_VIRTUAL, - __void__getRotate__value_type_R1__Vec3d_R1, - "Return the angle and vector represented by the quaternion. ", - ""); - I_Method3(void, slerp, IN, osg::Quat::value_type, t, IN, const osg::Quat &, from, IN, const osg::Quat &, to, - Properties::NON_VIRTUAL, - __void__slerp__value_type__C5_Quat_R1__C5_Quat_R1, - "Spherical Linear Interpolation. ", - "As t goes from 0 to 1, the Quat object goes from \"from\" to \"to\". "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Referenced.cpp b/src/osgWrappers/introspection/osg/Referenced.cpp deleted file mode 100644 index 33591d9ab..000000000 --- a/src/osgWrappers/introspection/osg/Referenced.cpp +++ /dev/null @@ -1,140 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Referenced) - I_DeclaringFile("osg/Referenced"); - I_Constructor0(____Referenced, - "", - ""); - I_Constructor1(IN, bool, threadSafeRefUnref, - Properties::EXPLICIT, - ____Referenced__bool, - "", - ""); - I_Constructor1(IN, const osg::Referenced &, x, - Properties::NON_EXPLICIT, - ____Referenced__C5_Referenced_R1, - "", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method0(bool, getThreadSafeRefUnref, - Properties::NON_VIRTUAL, - __bool__getThreadSafeRefUnref, - "Get whether a mutex is used to ensure ref() and unref() are thread safe. ", - ""); - I_Method0(OpenThreads::Mutex *, getRefMutex, - Properties::NON_VIRTUAL, - __OpenThreads_Mutex_P1__getRefMutex, - "Get the mutex used to ensure thread safety of ref()/unref(). ", - ""); - I_Method0(int, ref, - Properties::NON_VIRTUAL, - __int__ref, - "Increment the reference count by one, indicating that this object has another pointer which is referencing it. ", - ""); - I_Method0(int, unref, - Properties::NON_VIRTUAL, - __int__unref, - "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. "); - I_Method0(int, unref_nodelete, - Properties::NON_VIRTUAL, - __int__unref_nodelete, - "Decrement the reference count by one, indicating that a pointer to this object is referencing it. ", - "However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks. "); - I_Method0(int, referenceCount, - Properties::NON_VIRTUAL, - __int__referenceCount, - "Return the number pointers currently referencing this object. ", - ""); - I_Method0(osg::ObserverSet *, getObserverSet, - Properties::NON_VIRTUAL, - __ObserverSet_P1__getObserverSet, - "Get the ObserverSet if one is attached, otherwise return NULL. ", - ""); - I_Method0(osg::ObserverSet *, getOrCreateObserverSet, - Properties::NON_VIRTUAL, - __ObserverSet_P1__getOrCreateObserverSet, - "Get the ObserverSet if one is attached, otherwise create an ObserverSet, attach it, then return this newly created ObserverSet. ", - ""); - I_Method1(void, addObserver, IN, osg::Observer *, observer, - Properties::NON_VIRTUAL, - __void__addObserver__Observer_P1, - "Add a Observer that is observing this object, notify the Observer when this object gets deleted. ", - ""); - I_Method1(void, removeObserver, IN, osg::Observer *, observer, - Properties::NON_VIRTUAL, - __void__removeObserver__Observer_P1, - "remove Observer that is observing this object. ", - ""); - I_StaticMethod0(OpenThreads::Mutex *, getGlobalReferencedMutex, - __OpenThreads_Mutex_P1__getGlobalReferencedMutex_S, - "Get the optional global Referenced mutex, this can be shared between all osg::Referenced. ", - ""); - I_StaticMethod1(void, setThreadSafeReferenceCounting, IN, bool, enableThreadSafeReferenceCounting, - __void__setThreadSafeReferenceCounting__bool_S, - "Set whether reference counting should be use a mutex to create thread reference counting. ", - ""); - I_StaticMethod0(bool, getThreadSafeReferenceCounting, - __bool__getThreadSafeReferenceCounting_S, - "Get whether reference counting is active. ", - ""); - I_StaticMethod1(void, setDeleteHandler, IN, osg::DeleteHandler *, handler, - __void__setDeleteHandler__DeleteHandler_P1_S, - "Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. ", - ""); - I_StaticMethod0(osg::DeleteHandler *, getDeleteHandler, - __DeleteHandler_P1__getDeleteHandler_S, - "Get a DeleteHandler. ", - ""); - I_ProtectedMethod2(void, signalObserversAndDelete, IN, bool, signalDelete, IN, bool, doDelete, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__signalObserversAndDelete__bool__bool, - "", - ""); - I_ProtectedMethod0(void, deleteUsingDeleteHandler, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__deleteUsingDeleteHandler, - "", - ""); - I_SimpleProperty(osg::ObserverSet *, ObserverSet, - __ObserverSet_P1__getObserverSet, - 0); - I_SimpleProperty(OpenThreads::Mutex *, RefMutex, - __OpenThreads_Mutex_P1__getRefMutex, - 0); - I_SimpleProperty(bool, ThreadSafeRefUnref, - __bool__getThreadSafeRefUnref, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/RenderInfo.cpp b/src/osgWrappers/introspection/osg/RenderInfo.cpp deleted file mode 100644 index 1c00baad0..000000000 --- a/src/osgWrappers/introspection/osg/RenderInfo.cpp +++ /dev/null @@ -1,124 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osg::RenderInfo) - I_DeclaringFile("osg/RenderInfo"); - I_Constructor0(____RenderInfo, - "", - ""); - I_Constructor1(IN, const osg::RenderInfo &, rhs, - Properties::NON_EXPLICIT, - ____RenderInfo__C5_RenderInfo_R1, - "", - ""); - I_Constructor2(IN, osg::State *, state, IN, osg::View *, view, - ____RenderInfo__State_P1__View_P1, - "", - ""); - I_Method0(unsigned int, getContextID, - Properties::NON_VIRTUAL, - __unsigned_int__getContextID, - "", - ""); - I_Method1(void, setState, IN, osg::State *, state, - Properties::NON_VIRTUAL, - __void__setState__State_P1, - "", - ""); - I_Method0(osg::State *, getState, - Properties::NON_VIRTUAL, - __State_P1__getState, - "", - ""); - I_Method0(const osg::State *, getState, - Properties::NON_VIRTUAL, - __C5_State_P1__getState, - "", - ""); - I_Method1(void, setView, IN, osg::View *, view, - Properties::NON_VIRTUAL, - __void__setView__View_P1, - "", - ""); - I_Method0(osg::View *, getView, - Properties::NON_VIRTUAL, - __View_P1__getView, - "", - ""); - I_Method0(const osg::View *, getView, - Properties::NON_VIRTUAL, - __C5_View_P1__getView, - "", - ""); - I_Method1(void, pushCamera, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - __void__pushCamera__Camera_P1, - "", - ""); - I_Method0(void, popCamera, - Properties::NON_VIRTUAL, - __void__popCamera, - "", - ""); - I_Method0(osg::Camera *, getCurrentCamera, - Properties::NON_VIRTUAL, - __Camera_P1__getCurrentCamera, - "", - ""); - I_Method1(void, setUserData, IN, osg::Referenced *, userData, - Properties::NON_VIRTUAL, - __void__setUserData__Referenced_P1, - "", - ""); - I_Method0(osg::Referenced *, getUserData, - Properties::NON_VIRTUAL, - __Referenced_P1__getUserData, - "", - ""); - I_Method0(const osg::Referenced *, getUserData, - Properties::NON_VIRTUAL, - __C5_Referenced_P1__getUserData, - "", - ""); - I_SimpleProperty(unsigned int, ContextID, - __unsigned_int__getContextID, - 0); - I_SimpleProperty(osg::Camera *, CurrentCamera, - __Camera_P1__getCurrentCamera, - 0); - I_SimpleProperty(osg::State *, State, - __State_P1__getState, - __void__setState__State_P1); - I_SimpleProperty(osg::Referenced *, UserData, - __Referenced_P1__getUserData, - __void__setUserData__Referenced_P1); - I_SimpleProperty(osg::View *, View, - __View_P1__getView, - __void__setView__View_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Scissor.cpp b/src/osgWrappers/introspection/osg/Scissor.cpp deleted file mode 100644 index a25efb76c..000000000 --- a/src/osgWrappers/introspection/osg/Scissor.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Scissor) - I_DeclaringFile("osg/Scissor"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Scissor, - "", - ""); - I_Constructor4(IN, int, x, IN, int, y, IN, int, width, IN, int, height, - ____Scissor__int__int__int__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Scissor &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Scissor__C5_Scissor_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method4(void, setScissor, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__setScissor__int__int__int__int, - "", - ""); - I_Method4(void, getScissor, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height, - Properties::NON_VIRTUAL, - __void__getScissor__int_R1__int_R1__int_R1__int_R1, - "", - ""); - I_Method0(int &, x, - Properties::NON_VIRTUAL, - __int_R1__x, - "", - ""); - I_Method0(int, x, - Properties::NON_VIRTUAL, - __int__x, - "", - ""); - I_Method0(int &, y, - Properties::NON_VIRTUAL, - __int_R1__y, - "", - ""); - I_Method0(int, y, - Properties::NON_VIRTUAL, - __int__y, - "", - ""); - I_Method0(int &, width, - Properties::NON_VIRTUAL, - __int_R1__width, - "", - ""); - I_Method0(int, width, - Properties::NON_VIRTUAL, - __int__width, - "", - ""); - I_Method0(int &, height, - Properties::NON_VIRTUAL, - __int_R1__height, - "", - ""); - I_Method0(int, height, - Properties::NON_VIRTUAL, - __int__height, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Sequence.cpp b/src/osgWrappers/introspection/osg/Sequence.cpp deleted file mode 100644 index 1f3251280..000000000 --- a/src/osgWrappers/introspection/osg/Sequence.cpp +++ /dev/null @@ -1,326 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Sequence::LoopMode) - I_DeclaringFile("osg/Sequence"); - I_EnumLabel(osg::Sequence::LOOP); - I_EnumLabel(osg::Sequence::SWING); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Sequence::SequenceMode) - I_DeclaringFile("osg/Sequence"); - I_EnumLabel(osg::Sequence::START); - I_EnumLabel(osg::Sequence::STOP); - I_EnumLabel(osg::Sequence::PAUSE); - I_EnumLabel(osg::Sequence::RESUME); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Sequence) - I_DeclaringFile("osg/Sequence"); - I_BaseType(osg::Group); - I_Constructor0(____Sequence, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Sequence &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Sequence__C5_Sequence_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(bool, addChild, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__addChild__Node_P1, - "Add Node to Group. ", - "If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. "); - I_Method2(bool, addChild, IN, osg::Node *, child, IN, double, t, - Properties::VIRTUAL, - __bool__addChild__Node_P1__double, - "", - ""); - I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__insertChild__unsigned_int__Node_P1, - "Insert Node to Group at specific location. ", - "The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation. "); - I_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, double, t, - Properties::VIRTUAL, - __bool__insertChild__unsigned_int__Node_P1__double, - "", - ""); - I_Method1(bool, removeChild, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__removeChild__Node_P1, - "Remove Node from Group. ", - "If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required. "); - I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove, - Properties::VIRTUAL, - __bool__removeChildren__unsigned_int__unsigned_int, - "Remove children from Group. ", - "Note, must be override by subclasses of Group which add per child attributes. "); - I_Method1(void, setValue, IN, int, value, - Properties::NON_VIRTUAL, - __void__setValue__int, - "value is which child node is to be displayed ", - ""); - I_Method0(int, getValue, - Properties::NON_VIRTUAL, - __int__getValue, - "", - ""); - I_Method2(void, setTime, IN, unsigned int, frame, IN, double, t, - Properties::NON_VIRTUAL, - __void__setTime__unsigned_int__double, - "Set time in seconds for child. ", - ""); - I_Method1(double, getTime, IN, unsigned int, frame, - Properties::NON_VIRTUAL, - __double__getTime__unsigned_int, - "Get time for child. ", - ""); - I_Method1(void, setTimeList, IN, const std::vector< double > &, timeList, - Properties::NON_VIRTUAL, - __void__setTimeList__C5_std_vectorT1_double__R1, - "Set the time list for children. ", - ""); - I_Method0(const std::vector< double > &, getTimeList, - Properties::NON_VIRTUAL, - __C5_std_vectorT1_double__R1__getTimeList, - "Get the time list for children. ", - ""); - I_Method1(void, setDefaultTime, IN, double, t, - Properties::NON_VIRTUAL, - __void__setDefaultTime__double, - "Set default time in seconds for new child. ", - "if t<0, t=0 "); - I_Method0(double, getDefaultTime, - Properties::NON_VIRTUAL, - __double__getDefaultTime, - "Get default time in seconds for new child. ", - ""); - I_Method1(void, setLastFrameTime, IN, double, t, - Properties::NON_VIRTUAL, - __void__setLastFrameTime__double, - "Set time of last frame of last loop, in seconds. ", - "if t<= 0, then ignored "); - I_Method0(double, getLastFrameTime, - Properties::NON_VIRTUAL, - __double__getLastFrameTime, - "Get last frame time in seconds. ", - ""); - I_Method0(unsigned int, getNumFrames, - Properties::NON_VIRTUAL, - __unsigned_int__getNumFrames, - "Get number of frames. ", - ""); - I_Method1(void, setLoopMode, IN, osg::Sequence::LoopMode, mode, - Properties::NON_VIRTUAL, - __void__setLoopMode__LoopMode, - "Set sequence mode. ", - ""); - I_Method0(osg::Sequence::LoopMode, getLoopMode, - Properties::NON_VIRTUAL, - __LoopMode__getLoopMode, - "Get sequence mode. ", - ""); - I_Method1(void, setBegin, IN, int, begin, - Properties::NON_VIRTUAL, - __void__setBegin__int, - "Set interval beginning. ", - ""); - I_Method0(int, getBegin, - Properties::NON_VIRTUAL, - __int__getBegin, - "Get interval beginning. ", - ""); - I_Method1(void, setEnd, IN, int, end, - Properties::NON_VIRTUAL, - __void__setEnd__int, - "Set interval ending. ", - ""); - I_Method0(int, getEnd, - Properties::NON_VIRTUAL, - __int__getEnd, - "Get interval ending. ", - ""); - I_Method3(void, setInterval, IN, osg::Sequence::LoopMode, mode, IN, int, begin, IN, int, end, - Properties::NON_VIRTUAL, - __void__setInterval__LoopMode__int__int, - "Set sequence mode & interval (range of children to be displayed). ", - ""); - I_Method3(void, getInterval, IN, osg::Sequence::LoopMode &, mode, IN, int &, begin, IN, int &, end, - Properties::NON_VIRTUAL, - __void__getInterval__LoopMode_R1__int_R1__int_R1, - "Get sequence mode & interval. ", - ""); - I_Method1(void, setSpeed, IN, float, speed, - Properties::NON_VIRTUAL, - __void__setSpeed__float, - "Set speed. ", - ""); - I_Method0(float, getSpeed, - Properties::NON_VIRTUAL, - __float__getSpeed, - "Get speed. ", - ""); - I_Method1(void, setNumRepeats, IN, int, nreps, - Properties::NON_VIRTUAL, - __void__setNumRepeats__int, - "Set number of repeats. ", - ""); - I_Method0(int, getNumRepeats, - Properties::NON_VIRTUAL, - __int__getNumRepeats, - "Get number of repeats. ", - ""); - I_MethodWithDefaults2(void, setDuration, IN, float, speed, , IN, int, nreps, -1, - Properties::NON_VIRTUAL, - __void__setDuration__float__int, - "Set duration: speed-up & number of repeats. ", - ""); - I_Method2(void, getDuration, IN, float &, speed, IN, int &, nreps, - Properties::NON_VIRTUAL, - __void__getDuration__float_R1__int_R1, - "Get duration & number of repeats. ", - ""); - I_Method1(void, setMode, IN, osg::Sequence::SequenceMode, mode, - Properties::NON_VIRTUAL, - __void__setMode__SequenceMode, - "Set sequence mode. ", - "Start/stop & pause/resume. "); - I_Method0(osg::Sequence::SequenceMode, getMode, - Properties::NON_VIRTUAL, - __SequenceMode__getMode, - "Get sequence mode. ", - ""); - I_Method1(void, setSync, IN, bool, sync, - Properties::NON_VIRTUAL, - __void__setSync__bool, - "If false (default), frames will not be sync'd to frameTime. ", - "If true, frames will be sync'd to frameTime. "); - I_Method0(bool, getSync, - Properties::NON_VIRTUAL, - __bool__getSync, - "Get sync value. ", - ""); - I_Method1(void, setClearOnStop, IN, bool, clearOnStop, - Properties::NON_VIRTUAL, - __void__setClearOnStop__bool, - "If true, show no child nodes after stopping. ", - ""); - I_Method0(bool, getClearOnStop, - Properties::NON_VIRTUAL, - __bool__getClearOnStop, - "Get whether to show no child nodes after stopping. ", - ""); - I_ProtectedMethod0(int, _getNextValue, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __int___getNextValue, - "", - ""); - I_ProtectedMethod0(void, _update, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___update, - "", - ""); - I_SimpleProperty(int, Begin, - __int__getBegin, - __void__setBegin__int); - I_SimpleProperty(bool, ClearOnStop, - __bool__getClearOnStop, - __void__setClearOnStop__bool); - I_SimpleProperty(double, DefaultTime, - __double__getDefaultTime, - __void__setDefaultTime__double); - I_SimpleProperty(int, End, - __int__getEnd, - __void__setEnd__int); - I_SimpleProperty(double, LastFrameTime, - __double__getLastFrameTime, - __void__setLastFrameTime__double); - I_SimpleProperty(osg::Sequence::LoopMode, LoopMode, - __LoopMode__getLoopMode, - __void__setLoopMode__LoopMode); - I_SimpleProperty(osg::Sequence::SequenceMode, Mode, - __SequenceMode__getMode, - __void__setMode__SequenceMode); - I_SimpleProperty(int, NumRepeats, - 0, - __void__setNumRepeats__int); - I_SimpleProperty(float, Speed, - __float__getSpeed, - __void__setSpeed__float); - I_SimpleProperty(bool, Sync, - __bool__getSync, - __void__setSync__bool); - I_IndexedProperty(double, Time, - __double__getTime__unsigned_int, - __void__setTime__unsigned_int__double, - 0); - I_SimpleProperty(const std::vector< double > &, TimeList, - __C5_std_vectorT1_double__R1__getTimeList, - __void__setTimeList__C5_std_vectorT1_double__R1); - I_SimpleProperty(int, Value, - __int__getValue, - __void__setValue__int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/ShadeModel.cpp b/src/osgWrappers/introspection/osg/ShadeModel.cpp deleted file mode 100644 index fcd3ceb9c..000000000 --- a/src/osgWrappers/introspection/osg/ShadeModel.cpp +++ /dev/null @@ -1,104 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::ShadeModel::Mode) - I_DeclaringFile("osg/ShadeModel"); - I_EnumLabel(osg::ShadeModel::FLAT); - I_EnumLabel(osg::ShadeModel::SMOOTH); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::ShadeModel) - I_DeclaringFile("osg/ShadeModel"); - I_BaseType(osg::StateAttribute); - I_ConstructorWithDefaults1(IN, osg::ShadeModel::Mode, mode, osg::ShadeModel::SMOOTH, - Properties::NON_EXPLICIT, - ____ShadeModel__Mode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ShadeModel &, sm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ShadeModel__C5_ShadeModel_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setMode, IN, osg::ShadeModel::Mode, mode, - Properties::NON_VIRTUAL, - __void__setMode__Mode, - "", - ""); - I_Method0(osg::ShadeModel::Mode, getMode, - Properties::NON_VIRTUAL, - __Mode__getMode, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(osg::ShadeModel::Mode, Mode, - __Mode__getMode, - __void__setMode__Mode); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Shader.cpp b/src/osgWrappers/introspection/osg/Shader.cpp deleted file mode 100644 index 0462ccbab..000000000 --- a/src/osgWrappers/introspection/osg/Shader.cpp +++ /dev/null @@ -1,344 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Shader::Type) - I_DeclaringFile("osg/Shader"); - I_EnumLabel(osg::Shader::VERTEX); - I_EnumLabel(osg::Shader::FRAGMENT); - I_EnumLabel(osg::Shader::GEOMETRY); - I_EnumLabel(osg::Shader::UNDEFINED); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Shader) - I_DeclaringFile("osg/Shader"); - I_BaseType(osg::Object); - I_ConstructorWithDefaults1(IN, osg::Shader::Type, type, osg::Shader::UNDEFINED, - Properties::NON_EXPLICIT, - ____Shader__Type, - "", - ""); - I_Constructor2(IN, osg::Shader::Type, type, IN, const std::string &, source, - ____Shader__Type__C5_std_string_R1, - "", - ""); - I_Constructor2(IN, osg::Shader::Type, type, IN, osg::ShaderBinary *, shaderBinary, - ____Shader__Type__ShaderBinary_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Shader &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Shader__C5_Shader_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(int, compare, IN, const osg::Shader &, rhs, - Properties::NON_VIRTUAL, - __int__compare__C5_Shader_R1, - "", - ""); - I_Method1(bool, setType, IN, osg::Shader::Type, t, - Properties::NON_VIRTUAL, - __bool__setType__Type, - "Set the Shader type as an enum. ", - ""); - I_Method0(osg::Shader::Type, getType, - Properties::NON_VIRTUAL, - __Type__getType, - "Get the Shader type as an enum. ", - ""); - I_Method0(const char *, getTypename, - Properties::NON_VIRTUAL, - __C5_char_P1__getTypename, - "Get the Shader type as a descriptive string. ", - ""); - I_Method1(void, setFileName, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __void__setFileName__C5_std_string_R1, - "Set file name for the shader source code. ", - ""); - I_Method0(const std::string &, getFileName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getFileName, - "Get filename to which the shader source code belongs. ", - ""); - I_Method1(void, setShaderSource, IN, const std::string &, sourceText, - Properties::NON_VIRTUAL, - __void__setShaderSource__C5_std_string_R1, - "Set the Shader's source code text from a string. ", - ""); - I_Method0(const std::string &, getShaderSource, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getShaderSource, - "Query the shader's source code text. ", - ""); - I_Method1(void, setShaderBinary, IN, osg::ShaderBinary *, shaderBinary, - Properties::NON_VIRTUAL, - __void__setShaderBinary__ShaderBinary_P1, - "Set the Shader using a ShaderBinary. ", - ""); - I_Method0(osg::ShaderBinary *, getShaderBinary, - Properties::NON_VIRTUAL, - __ShaderBinary_P1__getShaderBinary, - "Get the Shader's ShaderBinary, return NULL if none is assigned. ", - ""); - I_Method0(const osg::ShaderBinary *, getShaderBinary, - Properties::NON_VIRTUAL, - __C5_ShaderBinary_P1__getShaderBinary, - "Get the const Shader's ShaderBinary, return NULL if none is assigned. ", - ""); - I_Method1(bool, loadShaderSourceFromFile, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __bool__loadShaderSourceFromFile__C5_std_string_R1, - "Load the Shader's source code text from a file. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ", - ""); - I_Method0(void, dirtyShader, - Properties::NON_VIRTUAL, - __void__dirtyShader, - "Mark our PCSs as needing recompilation. ", - "Also mark Programs that depend on us as needing relink "); - I_Method1(void, compileShader, IN, osg::State &, state, - Properties::NON_VIRTUAL, - __void__compileShader__osg_State_R1, - "If needed, compile the PCS's glShader. ", - ""); - I_Method2(void, attachShader, IN, unsigned int, contextID, IN, GLuint, program, - Properties::NON_VIRTUAL, - __void__attachShader__unsigned_int__GLuint, - "For a given GL context, attach a glShader to a glProgram. ", - ""); - I_Method2(void, detachShader, IN, unsigned int, contextID, IN, GLuint, program, - Properties::NON_VIRTUAL, - __void__detachShader__unsigned_int__GLuint, - "For a given GL context, detach a glShader to a glProgram. ", - ""); - I_Method2(bool, getGlShaderInfoLog, IN, unsigned int, contextID, IN, std::string &, log, - Properties::NON_VIRTUAL, - __bool__getGlShaderInfoLog__unsigned_int__std_string_R1, - "Query InfoLog from a glShader. ", - ""); - - I_StaticMethod2(osg::Shader *, readShaderFile, IN, osg::Shader::Type, type, IN, const std::string &, fileName, - __Shader_P1__readShaderFile__Type__C5_std_string_R1_S, - "Read shader source from file and then constructor shader of specified type. ", - "Return the resulting Shader or 0 if no valid shader source could be read. "); - I_StaticMethod2(void, deleteGlShader, IN, unsigned int, contextID, IN, GLuint, shader, - __void__deleteGlShader__unsigned_int__GLuint_S, - "Mark internal glShader for deletion. ", - "Deletion requests are queued until they can be executed in the proper GL context. "); - I_StaticMethod3(void, flushDeletedGlShaders, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime, - __void__flushDeletedGlShaders__unsigned_int__double__double_R1_S, - "flush all the cached glShaders which need to be deleted in the OpenGL context related to contextID. ", - ""); - I_StaticMethod1(void, discardDeletedGlShaders, IN, unsigned int, contextID, - __void__discardDeletedGlShaders__unsigned_int_S, - "discard all the cached glShaders which need to be deleted in the OpenGL context related to contextID. ", - "Note, unlike flush no OpenGL calls are made, instead the handles are all removed. this call is useful for when an OpenGL context has been destroyed. "); - I_StaticMethod1(osg::Shader::Type, getTypeId, IN, const std::string &, tname, - __Shader_Type__getTypeId__C5_std_string_R1_S, - "", - ""); - I_ProtectedMethod1(bool, addProgramRef, IN, osg::Program *, program, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__addProgramRef__osg_Program_P1, - "", - ""); - I_ProtectedMethod1(bool, removeProgramRef, IN, osg::Program *, program, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__removeProgramRef__osg_Program_P1, - "", - ""); - I_SimpleProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName, - __void__setFileName__C5_std_string_R1); - I_SimpleProperty(osg::ShaderBinary *, ShaderBinary, - __ShaderBinary_P1__getShaderBinary, - __void__setShaderBinary__ShaderBinary_P1); - I_SimpleProperty(const std::string &, ShaderSource, - __C5_std_string_R1__getShaderSource, - __void__setShaderSource__C5_std_string_R1); - I_SimpleProperty(osg::Shader::Type, Type, - __Type__getType, - __bool__setType__Type); - I_SimpleProperty(const char *, Typename, - __C5_char_P1__getTypename, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Shader::PerContextShader) - I_DeclaringFile("osg/Shader"); - I_BaseType(osg::Referenced); - I_Constructor2(IN, const osg::Shader *, shader, IN, unsigned int, contextID, - ____PerContextShader__C5_Shader_P1__unsigned_int, - "", - ""); - I_Method0(GLuint, getHandle, - Properties::NON_VIRTUAL, - __GLuint__getHandle, - "", - ""); - I_Method0(void, requestCompile, - Properties::NON_VIRTUAL, - __void__requestCompile, - "", - ""); - I_Method1(void, compileShader, IN, osg::State &, state, - Properties::NON_VIRTUAL, - __void__compileShader__osg_State_R1, - "", - ""); - I_Method0(bool, needsCompile, - Properties::NON_VIRTUAL, - __bool__needsCompile, - "", - ""); - I_Method0(bool, isCompiled, - Properties::NON_VIRTUAL, - __bool__isCompiled, - "", - ""); - I_Method1(bool, getInfoLog, IN, std::string &, infoLog, - Properties::NON_VIRTUAL, - __bool__getInfoLog__std_string_R1, - "", - ""); - I_Method1(void, attachShader, IN, GLuint, program, - Properties::NON_VIRTUAL, - __void__attachShader__GLuint, - "Attach our glShader to a glProgram. ", - ""); - I_Method1(void, detachShader, IN, GLuint, program, - Properties::NON_VIRTUAL, - __void__detachShader__GLuint, - "Detach our glShader from a glProgram. ", - ""); - I_SimpleProperty(GLuint, Handle, - __GLuint__getHandle, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::ShaderBinary) - I_DeclaringFile("osg/Shader"); - I_BaseType(osg::Object); - I_Constructor0(____ShaderBinary, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ShaderBinary &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ShaderBinary__C5_ShaderBinary_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method2(void, assign, IN, unsigned int, size, IN, const unsigned char *, data, - Properties::NON_VIRTUAL, - __void__assign__unsigned_int__C5_unsigned_char_P1, - "Allocated a data buffer of specified size/*/ void allocate(unsigned int size);. ", - "/** Assign shader binary data, copying the specified data into locally stored data buffer, the original data can then be deleted. "); - I_Method0(unsigned int, getSize, - Properties::NON_VIRTUAL, - __unsigned_int__getSize, - "Get the size of the shader binary data. ", - ""); - I_Method0(unsigned char *, getData, - Properties::NON_VIRTUAL, - __unsigned_char_P1__getData, - "Get a ptr to the shader binary data. ", - ""); - I_Method0(const unsigned char *, getData, - Properties::NON_VIRTUAL, - __C5_unsigned_char_P1__getData, - "Get a const ptr to the shader binary data. ", - ""); - I_StaticMethod1(osg::ShaderBinary *, readShaderBinaryFile, IN, const std::string &, fileName, - __ShaderBinary_P1__readShaderBinaryFile__C5_std_string_R1_S, - "Read shader binary from file. ", - "Return the resulting Shader or 0 if no valid shader binary could be read. "); - I_SimpleProperty(unsigned char *, Data, - __unsigned_char_P1__getData, - 0); - I_SimpleProperty(unsigned int, Size, - __unsigned_int__getSize, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/ShadowVolumeOccluder.cpp b/src/osgWrappers/introspection/osg/ShadowVolumeOccluder.cpp deleted file mode 100644 index 29773ccac..000000000 --- a/src/osgWrappers/introspection/osg/ShadowVolumeOccluder.cpp +++ /dev/null @@ -1,147 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::Polytope >, osg::ShadowVolumeOccluder::HoleList) - -BEGIN_VALUE_REFLECTOR(osg::ShadowVolumeOccluder) - I_DeclaringFile("osg/ShadowVolumeOccluder"); - I_Constructor1(IN, const osg::ShadowVolumeOccluder &, svo, - Properties::NON_EXPLICIT, - ____ShadowVolumeOccluder__C5_ShadowVolumeOccluder_R1, - "", - ""); - I_Constructor0(____ShadowVolumeOccluder, - "", - ""); - I_MethodWithDefaults4(bool, computeOccluder, IN, const osg::NodePath &, nodePath, , IN, const osg::ConvexPlanarOccluder &, occluder, , IN, osg::CullStack &, cullStack, , IN, bool, createDrawables, false, - Properties::NON_VIRTUAL, - __bool__computeOccluder__C5_NodePath_R1__C5_ConvexPlanarOccluder_R1__CullStack_R1__bool, - "compute the shadow volume occluder. ", - ""); - I_Method0(void, disableResultMasks, - Properties::NON_VIRTUAL, - __void__disableResultMasks, - "", - ""); - I_Method0(void, pushCurrentMask, - Properties::NON_VIRTUAL, - __void__pushCurrentMask, - "", - ""); - I_Method0(void, popCurrentMask, - Properties::NON_VIRTUAL, - __void__popCurrentMask, - "", - ""); - I_Method1(bool, matchProjectionMatrix, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __bool__matchProjectionMatrix__C5_osg_Matrix_R1, - "return true if the matrix passed in matches the projection matrix that this ShadowVolumeOccluder is associated with. ", - ""); - I_Method1(void, setNodePath, IN, osg::NodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__setNodePath__NodePath_R1, - "Set the NodePath which describes which node in the scene graph that this occluder is attached to. ", - ""); - I_Method0(osg::NodePath &, getNodePath, - Properties::NON_VIRTUAL, - __NodePath_R1__getNodePath, - "", - ""); - I_Method0(const osg::NodePath &, getNodePath, - Properties::NON_VIRTUAL, - __C5_NodePath_R1__getNodePath, - "", - ""); - I_Method0(float, getVolume, - Properties::NON_VIRTUAL, - __float__getVolume, - "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. ", - ""); - I_Method0(osg::Polytope &, getOccluder, - Properties::NON_VIRTUAL, - __Polytope_R1__getOccluder, - "return the occluder polytope. ", - ""); - I_Method0(const osg::Polytope &, getOccluder, - Properties::NON_VIRTUAL, - __C5_Polytope_R1__getOccluder, - "return the const occluder polytope. ", - ""); - I_Method0(osg::ShadowVolumeOccluder::HoleList &, getHoleList, - Properties::NON_VIRTUAL, - __HoleList_R1__getHoleList, - "return the list of holes. ", - ""); - I_Method0(const osg::ShadowVolumeOccluder::HoleList &, getHoleList, - Properties::NON_VIRTUAL, - __C5_HoleList_R1__getHoleList, - "return the const list of holes. ", - ""); - I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices, - Properties::NON_VIRTUAL, - __bool__contains__C5_std_vectorT1_Vec3__R1, - "return true if the specified vertex list is contained entirely within this shadow occluder volume. ", - ""); - I_Method1(bool, contains, IN, const osg::BoundingSphere &, bound, - Properties::NON_VIRTUAL, - __bool__contains__C5_BoundingSphere_R1, - "return true if the specified bounding sphere is contained entirely within this shadow occluder volume. ", - ""); - I_Method1(bool, contains, IN, const osg::BoundingBox &, bound, - Properties::NON_VIRTUAL, - __bool__contains__C5_BoundingBox_R1, - "return true if the specified bounding box is contained entirely within this shadow occluder volume. ", - ""); - I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__transformProvidingInverse__C5_osg_Matrix_R1, - "", - ""); - I_SimpleProperty(osg::ShadowVolumeOccluder::HoleList &, HoleList, - __HoleList_R1__getHoleList, - 0); - I_SimpleProperty(osg::NodePath &, NodePath, - __NodePath_R1__getNodePath, - __void__setNodePath__NodePath_R1); - I_SimpleProperty(osg::Polytope &, Occluder, - __Polytope_R1__getOccluder, - 0); - I_SimpleProperty(float, Volume, - __float__getVolume, - 0); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ShadowVolumeOccluder >, osg::ShadowVolumeOccluderList) - -STD_VECTOR_REFLECTOR(std::vector< osg::Polytope >) - diff --git a/src/osgWrappers/introspection/osg/Shape.cpp b/src/osgWrappers/introspection/osg/Shape.cpp deleted file mode 100644 index c4948b3b4..000000000 --- a/src/osgWrappers/introspection/osg/Shape.cpp +++ /dev/null @@ -1,1333 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Box) - I_DeclaringFile("osg/Shape"); - I_BaseType(osg::Shape); - I_Constructor0(____Box, - "", - ""); - I_Constructor2(IN, const osg::Vec3 &, center, IN, float, width, - ____Box__C5_osg_Vec3_R1__float, - "", - ""); - I_Constructor4(IN, const osg::Vec3 &, center, IN, float, lengthX, IN, float, lengthY, IN, float, lengthZ, - ____Box__C5_osg_Vec3_R1__float__float__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Box &, box, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Box__C5_Box_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method2(void, set, IN, const osg::Vec3 &, center, IN, const osg::Vec3 &, halfLengths, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3_R1__C5_Vec3_R1, - "", - ""); - I_Method1(void, setCenter, IN, const osg::Vec3 &, center, - Properties::NON_VIRTUAL, - __void__setCenter__C5_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getCenter, - Properties::NON_VIRTUAL, - __C5_Vec3_R1__getCenter, - "", - ""); - I_Method1(void, setHalfLengths, IN, const osg::Vec3 &, halfLengths, - Properties::NON_VIRTUAL, - __void__setHalfLengths__C5_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getHalfLengths, - Properties::NON_VIRTUAL, - __C5_Vec3_R1__getHalfLengths, - "", - ""); - I_Method1(void, setRotation, IN, const osg::Quat &, quat, - Properties::NON_VIRTUAL, - __void__setRotation__C5_Quat_R1, - "", - ""); - I_Method0(const osg::Quat &, getRotation, - Properties::NON_VIRTUAL, - __C5_Quat_R1__getRotation, - "", - ""); - I_Method0(osg::Matrix, computeRotationMatrix, - Properties::NON_VIRTUAL, - __Matrix__computeRotationMatrix, - "", - ""); - I_Method0(bool, zeroRotation, - Properties::NON_VIRTUAL, - __bool__zeroRotation, - "", - ""); - I_SimpleProperty(const osg::Vec3 &, Center, - __C5_Vec3_R1__getCenter, - __void__setCenter__C5_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, HalfLengths, - __C5_Vec3_R1__getHalfLengths, - __void__setHalfLengths__C5_Vec3_R1); - I_SimpleProperty(const osg::Quat &, Rotation, - __C5_Quat_R1__getRotation, - __void__setRotation__C5_Quat_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Capsule) - I_DeclaringFile("osg/Shape"); - I_BaseType(osg::Shape); - I_Constructor0(____Capsule, - "", - ""); - I_Constructor3(IN, const osg::Vec3 &, center, IN, float, radius, IN, float, height, - ____Capsule__C5_osg_Vec3_R1__float__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Capsule &, capsule, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Capsule__C5_Capsule_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method3(void, set, IN, const osg::Vec3 &, center, IN, float, radius, IN, float, height, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3_R1__float__float, - "", - ""); - I_Method1(void, setCenter, IN, const osg::Vec3 &, center, - Properties::NON_VIRTUAL, - __void__setCenter__C5_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getCenter, - Properties::NON_VIRTUAL, - __C5_Vec3_R1__getCenter, - "", - ""); - I_Method1(void, setRadius, IN, float, radius, - Properties::NON_VIRTUAL, - __void__setRadius__float, - "", - ""); - I_Method0(float, getRadius, - Properties::NON_VIRTUAL, - __float__getRadius, - "", - ""); - I_Method1(void, setHeight, IN, float, height, - Properties::NON_VIRTUAL, - __void__setHeight__float, - "", - ""); - I_Method0(float, getHeight, - Properties::NON_VIRTUAL, - __float__getHeight, - "", - ""); - I_Method1(void, setRotation, IN, const osg::Quat &, quat, - Properties::NON_VIRTUAL, - __void__setRotation__C5_Quat_R1, - "", - ""); - I_Method0(const osg::Quat &, getRotation, - Properties::NON_VIRTUAL, - __C5_Quat_R1__getRotation, - "", - ""); - I_Method0(osg::Matrix, computeRotationMatrix, - Properties::NON_VIRTUAL, - __Matrix__computeRotationMatrix, - "", - ""); - I_Method0(bool, zeroRotation, - Properties::NON_VIRTUAL, - __bool__zeroRotation, - "", - ""); - I_SimpleProperty(const osg::Vec3 &, Center, - __C5_Vec3_R1__getCenter, - __void__setCenter__C5_Vec3_R1); - I_SimpleProperty(float, Height, - __float__getHeight, - __void__setHeight__float); - I_SimpleProperty(float, Radius, - __float__getRadius, - __void__setRadius__float); - I_SimpleProperty(const osg::Quat &, Rotation, - __C5_Quat_R1__getRotation, - __void__setRotation__C5_Quat_R1); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Shape > >, osg::CompositeShape::ChildList) - -BEGIN_OBJECT_REFLECTOR(osg::CompositeShape) - I_DeclaringFile("osg/Shape"); - I_BaseType(osg::Shape); - I_Constructor0(____CompositeShape, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::CompositeShape &, cs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____CompositeShape__C5_CompositeShape_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, setShape, IN, osg::Shape *, shape, - Properties::NON_VIRTUAL, - __void__setShape__Shape_P1, - "Set the shape that encloses all of the children. ", - ""); - I_Method0(osg::Shape *, getShape, - Properties::NON_VIRTUAL, - __Shape_P1__getShape, - "Get the shape that encloses all of the children. ", - ""); - I_Method0(const osg::Shape *, getShape, - Properties::NON_VIRTUAL, - __C5_Shape_P1__getShape, - "Get the const shape that encloses all of the children. ", - ""); - I_Method0(unsigned int, getNumChildren, - Properties::NON_VIRTUAL, - __unsigned_int__getNumChildren, - "Get the number of children of this composite shape. ", - ""); - I_Method1(osg::Shape *, getChild, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Shape_P1__getChild__unsigned_int, - "Get a child. ", - ""); - I_Method1(const osg::Shape *, getChild, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Shape_P1__getChild__unsigned_int, - "Get a const child. ", - ""); - I_Method1(void, addChild, IN, osg::Shape *, shape, - Properties::NON_VIRTUAL, - __void__addChild__Shape_P1, - "Add a child to the list. ", - ""); - I_Method1(void, removeChild, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __void__removeChild__unsigned_int, - "remove a child from the list. ", - ""); - I_Method1(unsigned int, findChildNo, IN, osg::Shape *, shape, - Properties::NON_VIRTUAL, - __unsigned_int__findChildNo__Shape_P1, - "find the index number of child, if child is not found then it returns getNumChildren(), so should be used in similar style to STL's result!=end(). ", - ""); - I_ArrayProperty(osg::Shape *, Child, - __Shape_P1__getChild__unsigned_int, - 0, - __unsigned_int__getNumChildren, - __void__addChild__Shape_P1, - 0, - __void__removeChild__unsigned_int); - I_SimpleProperty(osg::Shape *, Shape, - __Shape_P1__getShape, - __void__setShape__Shape_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Cone) - I_DeclaringFile("osg/Shape"); - I_BaseType(osg::Shape); - I_Constructor0(____Cone, - "", - ""); - I_Constructor3(IN, const osg::Vec3 &, center, IN, float, radius, IN, float, height, - ____Cone__C5_osg_Vec3_R1__float__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Cone &, cone, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Cone__C5_Cone_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method3(void, set, IN, const osg::Vec3 &, center, IN, float, radius, IN, float, height, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3_R1__float__float, - "", - ""); - I_Method1(void, setCenter, IN, const osg::Vec3 &, center, - Properties::NON_VIRTUAL, - __void__setCenter__C5_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getCenter, - Properties::NON_VIRTUAL, - __C5_Vec3_R1__getCenter, - "", - ""); - I_Method1(void, setRadius, IN, float, radius, - Properties::NON_VIRTUAL, - __void__setRadius__float, - "", - ""); - I_Method0(float, getRadius, - Properties::NON_VIRTUAL, - __float__getRadius, - "", - ""); - I_Method1(void, setHeight, IN, float, height, - Properties::NON_VIRTUAL, - __void__setHeight__float, - "", - ""); - I_Method0(float, getHeight, - Properties::NON_VIRTUAL, - __float__getHeight, - "", - ""); - I_Method1(void, setRotation, IN, const osg::Quat &, quat, - Properties::NON_VIRTUAL, - __void__setRotation__C5_Quat_R1, - "", - ""); - I_Method0(const osg::Quat &, getRotation, - Properties::NON_VIRTUAL, - __C5_Quat_R1__getRotation, - "", - ""); - I_Method0(osg::Matrix, computeRotationMatrix, - Properties::NON_VIRTUAL, - __Matrix__computeRotationMatrix, - "", - ""); - I_Method0(bool, zeroRotation, - Properties::NON_VIRTUAL, - __bool__zeroRotation, - "", - ""); - I_Method0(float, getBaseOffsetFactor, - Properties::NON_VIRTUAL, - __float__getBaseOffsetFactor, - "", - ""); - I_Method0(float, getBaseOffset, - Properties::NON_VIRTUAL, - __float__getBaseOffset, - "", - ""); - I_SimpleProperty(float, BaseOffset, - __float__getBaseOffset, - 0); - I_SimpleProperty(float, BaseOffsetFactor, - __float__getBaseOffsetFactor, - 0); - I_SimpleProperty(const osg::Vec3 &, Center, - __C5_Vec3_R1__getCenter, - __void__setCenter__C5_Vec3_R1); - I_SimpleProperty(float, Height, - __float__getHeight, - __void__setHeight__float); - I_SimpleProperty(float, Radius, - __float__getRadius, - __void__setRadius__float); - I_SimpleProperty(const osg::Quat &, Rotation, - __C5_Quat_R1__getRotation, - __void__setRotation__C5_Quat_R1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ConstShapeVisitor) - I_DeclaringFile("osg/Shape"); - I_Constructor0(____ConstShapeVisitor, - "", - ""); - I_Method1(void, apply, IN, const osg::Shape &, x, - Properties::VIRTUAL, - __void__apply__C5_Shape_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Sphere &, x, - Properties::VIRTUAL, - __void__apply__C5_Sphere_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Box &, x, - Properties::VIRTUAL, - __void__apply__C5_Box_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Cone &, x, - Properties::VIRTUAL, - __void__apply__C5_Cone_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Cylinder &, x, - Properties::VIRTUAL, - __void__apply__C5_Cylinder_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::Capsule &, x, - Properties::VIRTUAL, - __void__apply__C5_Capsule_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::InfinitePlane &, x, - Properties::VIRTUAL, - __void__apply__C5_InfinitePlane_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::TriangleMesh &, x, - Properties::VIRTUAL, - __void__apply__C5_TriangleMesh_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::ConvexHull &, x, - Properties::VIRTUAL, - __void__apply__C5_ConvexHull_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::HeightField &, x, - Properties::VIRTUAL, - __void__apply__C5_HeightField_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::CompositeShape &, x, - Properties::VIRTUAL, - __void__apply__C5_CompositeShape_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::ConvexHull) - I_DeclaringFile("osg/Shape"); - I_BaseType(osg::TriangleMesh); - I_Constructor0(____ConvexHull, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ConvexHull &, hull, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ConvexHull__C5_ConvexHull_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Cylinder) - I_DeclaringFile("osg/Shape"); - I_BaseType(osg::Shape); - I_Constructor0(____Cylinder, - "", - ""); - I_Constructor3(IN, const osg::Vec3 &, center, IN, float, radius, IN, float, height, - ____Cylinder__C5_osg_Vec3_R1__float__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Cylinder &, cylinder, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Cylinder__C5_Cylinder_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method3(void, set, IN, const osg::Vec3 &, center, IN, float, radius, IN, float, height, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3_R1__float__float, - "", - ""); - I_Method1(void, setCenter, IN, const osg::Vec3 &, center, - Properties::NON_VIRTUAL, - __void__setCenter__C5_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getCenter, - Properties::NON_VIRTUAL, - __C5_Vec3_R1__getCenter, - "", - ""); - I_Method1(void, setRadius, IN, float, radius, - Properties::NON_VIRTUAL, - __void__setRadius__float, - "", - ""); - I_Method0(float, getRadius, - Properties::NON_VIRTUAL, - __float__getRadius, - "", - ""); - I_Method1(void, setHeight, IN, float, height, - Properties::NON_VIRTUAL, - __void__setHeight__float, - "", - ""); - I_Method0(float, getHeight, - Properties::NON_VIRTUAL, - __float__getHeight, - "", - ""); - I_Method1(void, setRotation, IN, const osg::Quat &, quat, - Properties::NON_VIRTUAL, - __void__setRotation__C5_Quat_R1, - "", - ""); - I_Method0(const osg::Quat &, getRotation, - Properties::NON_VIRTUAL, - __C5_Quat_R1__getRotation, - "", - ""); - I_Method0(osg::Matrix, computeRotationMatrix, - Properties::NON_VIRTUAL, - __Matrix__computeRotationMatrix, - "", - ""); - I_Method0(bool, zeroRotation, - Properties::NON_VIRTUAL, - __bool__zeroRotation, - "", - ""); - I_SimpleProperty(const osg::Vec3 &, Center, - __C5_Vec3_R1__getCenter, - __void__setCenter__C5_Vec3_R1); - I_SimpleProperty(float, Height, - __float__getHeight, - __void__setHeight__float); - I_SimpleProperty(float, Radius, - __float__getRadius, - __void__setRadius__float); - I_SimpleProperty(const osg::Quat &, Rotation, - __C5_Quat_R1__getRotation, - __void__setRotation__C5_Quat_R1); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< float >, osg::HeightField::HeightList) - -BEGIN_OBJECT_REFLECTOR(osg::HeightField) - I_DeclaringFile("osg/Shape"); - I_BaseType(osg::Shape); - I_Constructor0(____HeightField, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::HeightField &, mesh, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____HeightField__C5_HeightField_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); - I_Method2(void, allocate, IN, unsigned int, numColumns, IN, unsigned int, numRows, - Properties::NON_VIRTUAL, - __void__allocate__unsigned_int__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumColumns, - Properties::NON_VIRTUAL, - __unsigned_int__getNumColumns, - "", - ""); - I_Method0(unsigned int, getNumRows, - Properties::NON_VIRTUAL, - __unsigned_int__getNumRows, - "", - ""); - I_Method1(void, setOrigin, IN, const osg::Vec3 &, origin, - Properties::NON_VIRTUAL, - __void__setOrigin__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getOrigin, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getOrigin, - "", - ""); - I_Method1(void, setXInterval, IN, float, dx, - Properties::NON_VIRTUAL, - __void__setXInterval__float, - "", - ""); - I_Method0(float, getXInterval, - Properties::NON_VIRTUAL, - __float__getXInterval, - "", - ""); - I_Method1(void, setYInterval, IN, float, dy, - Properties::NON_VIRTUAL, - __void__setYInterval__float, - "", - ""); - I_Method0(float, getYInterval, - Properties::NON_VIRTUAL, - __float__getYInterval, - "", - ""); - I_Method0(osg::FloatArray *, getFloatArray, - Properties::NON_VIRTUAL, - __osg_FloatArray_P1__getFloatArray, - "Get the FloatArray height data. ", - ""); - I_Method0(const osg::FloatArray *, getFloatArray, - Properties::NON_VIRTUAL, - __C5_osg_FloatArray_P1__getFloatArray, - "Get the const FloatArray height data. ", - ""); - I_Method0(osg::HeightField::HeightList &, getHeightList, - Properties::NON_VIRTUAL, - __HeightList_R1__getHeightList, - "", - ""); - I_Method0(const osg::HeightField::HeightList &, getHeightList, - Properties::NON_VIRTUAL, - __C5_HeightList_R1__getHeightList, - "", - ""); - I_Method1(void, setSkirtHeight, IN, float, skirtHeight, - Properties::NON_VIRTUAL, - __void__setSkirtHeight__float, - "Set the height of the skirt to render around the edge of HeightField. ", - "The skirt is used as a means of disguising edge boundaries between adjacent HeightField, particularly of ones with different resolutions. "); - I_Method0(float, getSkirtHeight, - Properties::NON_VIRTUAL, - __float__getSkirtHeight, - "Get the height of the skirt to render around the edge of HeightField. ", - ""); - I_Method1(void, setBorderWidth, IN, unsigned int, borderWidth, - Properties::NON_VIRTUAL, - __void__setBorderWidth__unsigned_int, - "Set the width in number of cells in from the edge that the height field should be rendered from. ", - "This exists to allow gradient and curvature continutity to be maintained between adjacent HeightField, where the border cells will overlap adjacent HeightField. "); - I_Method0(unsigned int, getBorderWidth, - Properties::NON_VIRTUAL, - __unsigned_int__getBorderWidth, - "Get the width in number of cells in from the edge that the height field should be rendered from. ", - ""); - I_Method1(void, setRotation, IN, const osg::Quat &, quat, - Properties::NON_VIRTUAL, - __void__setRotation__C5_Quat_R1, - "", - ""); - I_Method0(const osg::Quat &, getRotation, - Properties::NON_VIRTUAL, - __C5_Quat_R1__getRotation, - "", - ""); - I_Method0(osg::Matrix, computeRotationMatrix, - Properties::NON_VIRTUAL, - __Matrix__computeRotationMatrix, - "", - ""); - I_Method0(bool, zeroRotation, - Properties::NON_VIRTUAL, - __bool__zeroRotation, - "", - ""); - I_Method3(void, setHeight, IN, unsigned int, c, IN, unsigned int, r, IN, float, value, - Properties::NON_VIRTUAL, - __void__setHeight__unsigned_int__unsigned_int__float, - "", - ""); - I_Method2(float &, getHeight, IN, unsigned int, c, IN, unsigned int, r, - Properties::NON_VIRTUAL, - __float_R1__getHeight__unsigned_int__unsigned_int, - "", - ""); - I_Method2(float, getHeight, IN, unsigned int, c, IN, unsigned int, r, - Properties::NON_VIRTUAL, - __float__getHeight__unsigned_int__unsigned_int, - "", - ""); - I_Method2(osg::Vec3, getVertex, IN, unsigned int, c, IN, unsigned int, r, - Properties::NON_VIRTUAL, - __Vec3__getVertex__unsigned_int__unsigned_int, - "", - ""); - I_Method2(osg::Vec3, getNormal, IN, unsigned int, c, IN, unsigned int, r, - Properties::NON_VIRTUAL, - __Vec3__getNormal__unsigned_int__unsigned_int, - "", - ""); - I_Method2(osg::Vec2, getHeightDelta, IN, unsigned int, c, IN, unsigned int, r, - Properties::NON_VIRTUAL, - __Vec2__getHeightDelta__unsigned_int__unsigned_int, - "", - ""); - I_SimpleProperty(unsigned int, BorderWidth, - __unsigned_int__getBorderWidth, - __void__setBorderWidth__unsigned_int); - I_SimpleProperty(osg::FloatArray *, FloatArray, - __osg_FloatArray_P1__getFloatArray, - 0); - I_IndexedProperty(float, Height, - __float__getHeight__unsigned_int__unsigned_int, - __void__setHeight__unsigned_int__unsigned_int__float, - 0); - I_SimpleProperty(osg::HeightField::HeightList &, HeightList, - __HeightList_R1__getHeightList, - 0); - I_SimpleProperty(const osg::Vec3 &, Origin, - __C5_osg_Vec3_R1__getOrigin, - __void__setOrigin__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Quat &, Rotation, - __C5_Quat_R1__getRotation, - __void__setRotation__C5_Quat_R1); - I_SimpleProperty(float, SkirtHeight, - __float__getSkirtHeight, - __void__setSkirtHeight__float); - I_SimpleProperty(float, XInterval, - __float__getXInterval, - __void__setXInterval__float); - I_SimpleProperty(float, YInterval, - __float__getYInterval, - __void__setYInterval__float); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::InfinitePlane) - I_DeclaringFile("osg/Shape"); - I_BaseType(osg::Shape); - I_BaseType(osg::Plane); - I_Constructor0(____InfinitePlane, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::InfinitePlane &, plane, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____InfinitePlane__C5_InfinitePlane_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Shape) - I_DeclaringFile("osg/Shape"); - I_BaseType(osg::Object); - I_Constructor0(____Shape, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Shape &, sa, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Shape__C5_Shape_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::PURE_VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::PURE_VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::PURE_VIRTUAL, - __void__accept__ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::PURE_VIRTUAL, - __void__accept__ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ShapeVisitor) - I_DeclaringFile("osg/Shape"); - I_Constructor0(____ShapeVisitor, - "", - ""); - I_Method1(void, apply, IN, osg::Shape &, x, - Properties::VIRTUAL, - __void__apply__Shape_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Sphere &, x, - Properties::VIRTUAL, - __void__apply__Sphere_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Box &, x, - Properties::VIRTUAL, - __void__apply__Box_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Cone &, x, - Properties::VIRTUAL, - __void__apply__Cone_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Cylinder &, x, - Properties::VIRTUAL, - __void__apply__Cylinder_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Capsule &, x, - Properties::VIRTUAL, - __void__apply__Capsule_R1, - "", - ""); - I_Method1(void, apply, IN, osg::InfinitePlane &, x, - Properties::VIRTUAL, - __void__apply__InfinitePlane_R1, - "", - ""); - I_Method1(void, apply, IN, osg::TriangleMesh &, x, - Properties::VIRTUAL, - __void__apply__TriangleMesh_R1, - "", - ""); - I_Method1(void, apply, IN, osg::ConvexHull &, x, - Properties::VIRTUAL, - __void__apply__ConvexHull_R1, - "", - ""); - I_Method1(void, apply, IN, osg::HeightField &, x, - Properties::VIRTUAL, - __void__apply__HeightField_R1, - "", - ""); - I_Method1(void, apply, IN, osg::CompositeShape &, x, - Properties::VIRTUAL, - __void__apply__CompositeShape_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Sphere) - I_DeclaringFile("osg/Shape"); - I_BaseType(osg::Shape); - I_Constructor0(____Sphere, - "", - ""); - I_Constructor2(IN, const osg::Vec3 &, center, IN, float, radius, - ____Sphere__C5_osg_Vec3_R1__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Sphere &, sphere, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Sphere__C5_Sphere_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method2(void, set, IN, const osg::Vec3 &, center, IN, float, radius, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3_R1__float, - "", - ""); - I_Method1(void, setCenter, IN, const osg::Vec3 &, center, - Properties::NON_VIRTUAL, - __void__setCenter__C5_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getCenter, - Properties::NON_VIRTUAL, - __C5_Vec3_R1__getCenter, - "", - ""); - I_Method1(void, setRadius, IN, float, radius, - Properties::NON_VIRTUAL, - __void__setRadius__float, - "", - ""); - I_Method0(float, getRadius, - Properties::NON_VIRTUAL, - __float__getRadius, - "", - ""); - I_SimpleProperty(const osg::Vec3 &, Center, - __C5_Vec3_R1__getCenter, - __void__setCenter__C5_Vec3_R1); - I_SimpleProperty(float, Radius, - __float__getRadius, - __void__setRadius__float); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TriangleMesh) - I_DeclaringFile("osg/Shape"); - I_BaseType(osg::Shape); - I_Constructor0(____TriangleMesh, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TriangleMesh &, mesh, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TriangleMesh__C5_TriangleMesh_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the attribute's class type. ", - ""); - I_Method1(void, accept, IN, osg::ShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ShapeVisitor_R1, - "accept a non const shape visitor which can be used on non const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x, - Properties::VIRTUAL, - __void__accept__osg_ConstShapeVisitor_R1, - "accept a const shape visitor which can be used on const shape objects. ", - "Must be defined by derived classes. "); - I_Method1(void, setVertices, IN, osg::Vec3Array *, vertices, - Properties::NON_VIRTUAL, - __void__setVertices__Vec3Array_P1, - "", - ""); - I_Method0(osg::Vec3Array *, getVertices, - Properties::NON_VIRTUAL, - __Vec3Array_P1__getVertices, - "", - ""); - I_Method0(const osg::Vec3Array *, getVertices, - Properties::NON_VIRTUAL, - __C5_Vec3Array_P1__getVertices, - "", - ""); - I_Method1(void, setIndices, IN, osg::IndexArray *, indices, - Properties::NON_VIRTUAL, - __void__setIndices__IndexArray_P1, - "", - ""); - I_Method0(osg::IndexArray *, getIndices, - Properties::NON_VIRTUAL, - __IndexArray_P1__getIndices, - "", - ""); - I_Method0(const osg::IndexArray *, getIndices, - Properties::NON_VIRTUAL, - __C5_IndexArray_P1__getIndices, - "", - ""); - I_SimpleProperty(osg::IndexArray *, Indices, - __IndexArray_P1__getIndices, - __void__setIndices__IndexArray_P1); - I_SimpleProperty(osg::Vec3Array *, Vertices, - __Vec3Array_P1__getVertices, - __void__setVertices__Vec3Array_P1); -END_REFLECTOR - -TYPE_NAME_ALIAS(osg::HeightField, osg::Grid) - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Shape >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Shape *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Shape > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Shape > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Shape *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Shape *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Shape > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Shape *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< float >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Shape > >) - diff --git a/src/osgWrappers/introspection/osg/ShapeDrawable.cpp b/src/osgWrappers/introspection/osg/ShapeDrawable.cpp deleted file mode 100644 index 36d0388fa..000000000 --- a/src/osgWrappers/introspection/osg/ShapeDrawable.cpp +++ /dev/null @@ -1,312 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::ShapeDrawable) - I_DeclaringFile("osg/ShapeDrawable"); - I_BaseType(osg::Drawable); - I_Constructor0(____ShapeDrawable, - "", - ""); - I_ConstructorWithDefaults2(IN, osg::Shape *, shape, , IN, osg::TessellationHints *, hints, 0, - ____ShapeDrawable__Shape_P1__TessellationHints_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::ShapeDrawable &, pg, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ShapeDrawable__C5_ShapeDrawable_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_Vec4_R1, - "Set the color of the shape. ", - ""); - I_Method0(const osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getColor, - "Get the color of the shape. ", - ""); - I_Method1(void, setTessellationHints, IN, osg::TessellationHints *, hints, - Properties::NON_VIRTUAL, - __void__setTessellationHints__TessellationHints_P1, - "", - ""); - I_Method0(osg::TessellationHints *, getTessellationHints, - Properties::NON_VIRTUAL, - __TessellationHints_P1__getTessellationHints, - "", - ""); - I_Method0(const osg::TessellationHints *, getTessellationHints, - Properties::NON_VIRTUAL, - __C5_TessellationHints_P1__getTessellationHints, - "", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__RenderInfo_R1, - "Draw ShapeDrawable directly ignoring an OpenGL display list which could be attached. ", - "This is the internal draw method which does the drawing itself, and is the method to override when deriving from ShapeDrawable for user-drawn objects. "); - I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_AttributeFunctor_R1, - "Return false, osg::ShapeDrawable does not support accept(AttributeFunctor&). ", - ""); - I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_Drawable_ConstAttributeFunctor_R1, - "Return true, osg::ShapeDrawable does support accept(Drawable::ConstAttributeFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af, - Properties::VIRTUAL, - __void__accept__Drawable_ConstAttributeFunctor_R1, - "Accept a Drawable::ConstAttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ", - ""); - I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_PrimitiveFunctor_R1, - "Return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&) . ", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf, - Properties::VIRTUAL, - __void__accept__PrimitiveFunctor_R1, - "Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ", - ""); - I_Method0(osg::BoundingBox, computeBound, - Properties::VIRTUAL, - __BoundingBox__computeBound, - "Compute the bounding box around Drawables's geometry. ", - ""); - I_SimpleProperty(const osg::Vec4 &, Color, - __C5_Vec4_R1__getColor, - __void__setColor__C5_Vec4_R1); - I_SimpleProperty(osg::TessellationHints *, TessellationHints, - __TessellationHints_P1__getTessellationHints, - __void__setTessellationHints__TessellationHints_P1); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::TessellationHints::TessellationMode) - I_DeclaringFile("osg/ShapeDrawable"); - I_EnumLabel(osg::TessellationHints::USE_SHAPE_DEFAULTS); - I_EnumLabel(osg::TessellationHints::USE_TARGET_NUM_FACES); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TessellationHints) - I_DeclaringFile("osg/ShapeDrawable"); - I_BaseType(osg::Object); - I_Constructor0(____TessellationHints, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TessellationHints &, tess, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TessellationHints__C5_TessellationHints_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setTessellationMode, IN, osg::TessellationHints::TessellationMode, mode, - Properties::NON_VIRTUAL, - __void__setTessellationMode__TessellationMode, - "", - ""); - I_Method0(osg::TessellationHints::TessellationMode, getTessellationMode, - Properties::NON_VIRTUAL, - __TessellationMode__getTessellationMode, - "", - ""); - I_Method1(void, setDetailRatio, IN, float, ratio, - Properties::NON_VIRTUAL, - __void__setDetailRatio__float, - "", - ""); - I_Method0(float, getDetailRatio, - Properties::NON_VIRTUAL, - __float__getDetailRatio, - "", - ""); - I_Method1(void, setTargetNumFaces, IN, unsigned int, target, - Properties::NON_VIRTUAL, - __void__setTargetNumFaces__unsigned_int, - "", - ""); - I_Method0(unsigned int, getTargetNumFaces, - Properties::NON_VIRTUAL, - __unsigned_int__getTargetNumFaces, - "", - ""); - I_Method1(void, setCreateFrontFace, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setCreateFrontFace__bool, - "", - ""); - I_Method0(bool, getCreateFrontFace, - Properties::NON_VIRTUAL, - __bool__getCreateFrontFace, - "", - ""); - I_Method1(void, setCreateBackFace, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setCreateBackFace__bool, - "", - ""); - I_Method0(bool, getCreateBackFace, - Properties::NON_VIRTUAL, - __bool__getCreateBackFace, - "", - ""); - I_Method1(void, setCreateNormals, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setCreateNormals__bool, - "", - ""); - I_Method0(bool, getCreateNormals, - Properties::NON_VIRTUAL, - __bool__getCreateNormals, - "", - ""); - I_Method1(void, setCreateTextureCoords, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setCreateTextureCoords__bool, - "", - ""); - I_Method0(bool, getCreateTextureCoords, - Properties::NON_VIRTUAL, - __bool__getCreateTextureCoords, - "", - ""); - I_Method1(void, setCreateTop, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setCreateTop__bool, - "", - ""); - I_Method0(bool, getCreateTop, - Properties::NON_VIRTUAL, - __bool__getCreateTop, - "", - ""); - I_Method1(void, setCreateBody, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setCreateBody__bool, - "", - ""); - I_Method0(bool, getCreateBody, - Properties::NON_VIRTUAL, - __bool__getCreateBody, - "", - ""); - I_Method1(void, setCreateBottom, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setCreateBottom__bool, - "", - ""); - I_Method0(bool, getCreateBottom, - Properties::NON_VIRTUAL, - __bool__getCreateBottom, - "", - ""); - I_SimpleProperty(bool, CreateBackFace, - __bool__getCreateBackFace, - __void__setCreateBackFace__bool); - I_SimpleProperty(bool, CreateBody, - __bool__getCreateBody, - __void__setCreateBody__bool); - I_SimpleProperty(bool, CreateBottom, - __bool__getCreateBottom, - __void__setCreateBottom__bool); - I_SimpleProperty(bool, CreateFrontFace, - __bool__getCreateFrontFace, - __void__setCreateFrontFace__bool); - I_SimpleProperty(bool, CreateNormals, - __bool__getCreateNormals, - __void__setCreateNormals__bool); - I_SimpleProperty(bool, CreateTextureCoords, - __bool__getCreateTextureCoords, - __void__setCreateTextureCoords__bool); - I_SimpleProperty(bool, CreateTop, - __bool__getCreateTop, - __void__setCreateTop__bool); - I_SimpleProperty(float, DetailRatio, - __float__getDetailRatio, - __void__setDetailRatio__float); - I_SimpleProperty(unsigned int, TargetNumFaces, - __unsigned_int__getTargetNumFaces, - __void__setTargetNumFaces__unsigned_int); - I_SimpleProperty(osg::TessellationHints::TessellationMode, TessellationMode, - __TessellationMode__getTessellationMode, - __void__setTessellationMode__TessellationMode); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/State.cpp b/src/osgWrappers/introspection/osg/State.cpp deleted file mode 100644 index 4fe42b5a1..000000000 --- a/src/osgWrappers/introspection/osg/State.cpp +++ /dev/null @@ -1,1164 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::State::CheckForGLErrors) - I_DeclaringFile("osg/State"); - I_EnumLabel(osg::State::NEVER_CHECK_GL_ERRORS); - I_EnumLabel(osg::State::ONCE_PER_FRAME); - I_EnumLabel(osg::State::ONCE_PER_ATTRIBUTE); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< const osg::StateSet * >, osg::State::StateSetStack) - -TYPE_NAME_ALIAS(std::vector< osg::VertexAttribAlias >, osg::State::VertexAttribAliasList) - -TYPE_NAME_ALIAS(std::vector< GLushort >, osg::State::Indices) - -TYPE_NAME_ALIAS(std::pair< const osg::StateAttribute * COMMA osg::StateAttribute::OverrideValue >, osg::State::AttributePair) - -TYPE_NAME_ALIAS(std::vector< osg::State::AttributePair >, osg::State::AttributeVec) - -BEGIN_OBJECT_REFLECTOR(osg::State) - I_DeclaringFile("osg/State"); - I_BaseType(osg::Referenced); - I_Constructor0(____State, - "", - ""); - I_Method1(void, setGraphicsContext, IN, osg::GraphicsContext *, context, - Properties::NON_VIRTUAL, - __void__setGraphicsContext__GraphicsContext_P1, - "Set the graphics context associated with that owns this State object. ", - ""); - I_Method0(osg::GraphicsContext *, getGraphicsContext, - Properties::NON_VIRTUAL, - __GraphicsContext_P1__getGraphicsContext, - "Get the graphics context associated with that owns this State object. ", - ""); - I_Method0(const osg::GraphicsContext *, getGraphicsContext, - Properties::NON_VIRTUAL, - __C5_GraphicsContext_P1__getGraphicsContext, - "Get the const graphics context associated with that owns this State object. ", - ""); - I_Method1(void, setContextID, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __void__setContextID__unsigned_int, - "Set the current OpenGL context uniqueID. ", - "Note, it is the application developers responsibility to set up unique ID for each OpenGL context. This value is then used by osg::StateAttribute's and osg::Drawable's to help manage OpenGL display list and texture binds appropriate for each context, the contextID simply acts as an index in local arrays that they maintain for the purpose. Typical settings for contextID are 0,1,2,3... up to the maximum number of graphics contexts you have set up. By default contextID is 0. "); - I_Method0(unsigned int, getContextID, - Properties::NON_VIRTUAL, - __unsigned_int__getContextID, - "Get the current OpenGL context unique ID. ", - ""); - I_Method1(void, pushStateSet, IN, const osg::StateSet *, dstate, - Properties::NON_VIRTUAL, - __void__pushStateSet__C5_StateSet_P1, - "Push stateset onto state stack. ", - ""); - I_Method0(void, popStateSet, - Properties::NON_VIRTUAL, - __void__popStateSet, - "Pop stateset off state stack. ", - ""); - I_Method0(void, popAllStateSets, - Properties::NON_VIRTUAL, - __void__popAllStateSets, - "pop all statesets off state stack, ensuring it is empty ready for the next frame. ", - "Note, to return OpenGL to default state, one should do any state.popAllStatSets(); state.apply(). "); - I_Method2(void, insertStateSet, IN, unsigned int, pos, IN, const osg::StateSet *, dstate, - Properties::NON_VIRTUAL, - __void__insertStateSet__unsigned_int__C5_StateSet_P1, - "Insert stateset onto state stack. ", - ""); - I_Method1(void, removeStateSet, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __void__removeStateSet__unsigned_int, - "Pop stateset off state stack. ", - ""); - I_Method0(unsigned int, getStateSetStackSize, - Properties::NON_VIRTUAL, - __unsigned_int__getStateSetStackSize, - "Get the number of StateSet's on the StateSet stack. ", - ""); - I_Method1(void, popStateSetStackToSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__popStateSetStackToSize__unsigned_int, - "Pop StateSet's for the StateSet stack till its size equals the specified size. ", - ""); - I_Method0(osg::State::StateSetStack &, getStateSetStack, - Properties::NON_VIRTUAL, - __StateSetStack_R1__getStateSetStack, - "Get the StateSet stack. ", - ""); - I_Method1(void, captureCurrentState, IN, osg::StateSet &, stateset, - Properties::NON_VIRTUAL, - __void__captureCurrentState__StateSet_R1, - "Copy the modes and attributes which capture the current state. ", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "reset the state object to an empty stack. ", - ""); - I_Method0(const osg::Viewport *, getCurrentViewport, - Properties::NON_VIRTUAL, - __C5_Viewport_P1__getCurrentViewport, - "", - ""); - I_Method1(void, setInitialViewMatrix, IN, const osg::RefMatrix *, matrix, - Properties::NON_VIRTUAL, - __void__setInitialViewMatrix__C5_osg_RefMatrix_P1, - "", - ""); - I_Method0(const osg::Matrix &, getInitialViewMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getInitialViewMatrix, - "", - ""); - I_Method0(const osg::Matrix &, getInitialInverseViewMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getInitialInverseViewMatrix, - "", - ""); - I_Method1(void, applyProjectionMatrix, IN, const osg::RefMatrix *, matrix, - Properties::NON_VIRTUAL, - __void__applyProjectionMatrix__C5_osg_RefMatrix_P1, - "", - ""); - I_Method0(const osg::Matrix &, getProjectionMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getProjectionMatrix, - "", - ""); - I_Method1(void, applyModelViewMatrix, IN, const osg::RefMatrix *, matrix, - Properties::NON_VIRTUAL, - __void__applyModelViewMatrix__C5_osg_RefMatrix_P1, - "", - ""); - I_Method1(void, applyModelViewMatrix, IN, const osg::Matrix &, x, - Properties::NON_VIRTUAL, - __void__applyModelViewMatrix__C5_osg_Matrix_R1, - "", - ""); - I_Method0(const osg::Matrix &, getModelViewMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getModelViewMatrix, - "", - ""); - I_Method1(void, setUseModelViewAndProjectionUniforms, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setUseModelViewAndProjectionUniforms__bool, - "", - ""); - I_Method0(bool, getUseModelViewAndProjectionUniforms, - Properties::NON_VIRTUAL, - __bool__getUseModelViewAndProjectionUniforms, - "", - ""); - I_Method0(void, updateModelViewAndProjectionMatrixUniforms, - Properties::NON_VIRTUAL, - __void__updateModelViewAndProjectionMatrixUniforms, - "", - ""); - I_Method0(void, applyModelViewAndProjectionUniformsIfRequired, - Properties::NON_VIRTUAL, - __void__applyModelViewAndProjectionUniformsIfRequired, - "", - ""); - I_Method0(osg::Uniform *, getModelViewMatrixUniform, - Properties::NON_VIRTUAL, - __osg_Uniform_P1__getModelViewMatrixUniform, - "", - ""); - I_Method0(osg::Uniform *, getProjectionMatrixUniform, - Properties::NON_VIRTUAL, - __osg_Uniform_P1__getProjectionMatrixUniform, - "", - ""); - I_Method0(osg::Uniform *, getModelViewProjectionMatrixUniform, - Properties::NON_VIRTUAL, - __osg_Uniform_P1__getModelViewProjectionMatrixUniform, - "", - ""); - I_Method0(osg::Uniform *, getNormalMatrixUniform, - Properties::NON_VIRTUAL, - __osg_Uniform_P1__getNormalMatrixUniform, - "", - ""); - I_Method0(osg::Polytope, getViewFrustum, - Properties::NON_VIRTUAL, - __Polytope__getViewFrustum, - "", - ""); - I_Method1(void, setUseVertexAttributeAliasing, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setUseVertexAttributeAliasing__bool, - "", - ""); - I_Method0(bool, getUseVertexAttributeAliasing, - Properties::NON_VIRTUAL, - __bool__getUseVertexAttributeAliasing, - "", - ""); - I_Method0(const osg::VertexAttribAlias &, getVertexAlias, - Properties::NON_VIRTUAL, - __C5_VertexAttribAlias_R1__getVertexAlias, - "", - ""); - I_Method0(const osg::VertexAttribAlias &, getNormalAlias, - Properties::NON_VIRTUAL, - __C5_VertexAttribAlias_R1__getNormalAlias, - "", - ""); - I_Method0(const osg::VertexAttribAlias &, getColorAlias, - Properties::NON_VIRTUAL, - __C5_VertexAttribAlias_R1__getColorAlias, - "", - ""); - I_Method0(const osg::VertexAttribAlias &, getSecondaryColorAlias, - Properties::NON_VIRTUAL, - __C5_VertexAttribAlias_R1__getSecondaryColorAlias, - "", - ""); - I_Method0(const osg::VertexAttribAlias &, getFogCoordAlias, - Properties::NON_VIRTUAL, - __C5_VertexAttribAlias_R1__getFogCoordAlias, - "", - ""); - I_Method0(const osg::State::VertexAttribAliasList &, getTexCoordAliasList, - Properties::NON_VIRTUAL, - __C5_VertexAttribAliasList_R1__getTexCoordAliasList, - "", - ""); - I_Method0(const osg::Program::AttribBindingList &, getAttributeBindingList, - Properties::NON_VIRTUAL, - __C5_Program_AttribBindingList_R1__getAttributeBindingList, - "", - ""); - I_Method1(bool, convertVertexShaderSourceToOsgBuiltIns, IN, std::string &, source, - Properties::NON_VIRTUAL, - __bool__convertVertexShaderSourceToOsgBuiltIns__std_string_R1, - "", - ""); - I_Method1(void, apply, IN, const osg::StateSet *, dstate, - Properties::NON_VIRTUAL, - __void__apply__C5_StateSet_P1, - "Apply stateset. ", - ""); - I_Method0(void, apply, - Properties::NON_VIRTUAL, - __void__apply, - "Updates the OpenGL state so that it matches the StateSet at the top of the stack of StateSets maintained internally by a State. ", - ""); - I_Method2(void, setModeValidity, IN, osg::StateAttribute::GLMode, mode, IN, bool, valid, - Properties::NON_VIRTUAL, - __void__setModeValidity__StateAttribute_GLMode__bool, - "Set whether a particular OpenGL mode is valid in the current graphics context. ", - "Use to disable OpenGL modes that are not supported by current graphics drivers/context. "); - I_Method1(bool, getModeValidity, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __bool__getModeValidity__StateAttribute_GLMode, - "Get whether a particular OpenGL mode is valid in the current graphics context. ", - "Use to disable OpenGL modes that are not supported by current graphics drivers/context. "); - I_Method2(void, setGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled, - Properties::NON_VIRTUAL, - __void__setGlobalDefaultModeValue__StateAttribute_GLMode__bool, - "", - ""); - I_Method1(bool, getGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __bool__getGlobalDefaultModeValue__StateAttribute_GLMode, - "", - ""); - I_Method2(bool, applyMode, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled, - Properties::NON_VIRTUAL, - __bool__applyMode__StateAttribute_GLMode__bool, - "Apply an OpenGL mode if required. ", - "This is a wrapper around glEnable() and glDisable(), that just actually calls these functions if the enabled flag is different than the current state. true if the state was actually changed. false otherwise. Notice that a false return does not indicate an error, it just means that the mode was already set to the same value as the enabled parameter. "); - I_Method3(void, setGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled, - Properties::NON_VIRTUAL, - __void__setGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode__bool, - "", - ""); - I_Method2(bool, getGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __bool__getGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode, - "", - ""); - I_Method3(bool, applyTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled, - Properties::NON_VIRTUAL, - __bool__applyTextureMode__unsigned_int__StateAttribute_GLMode__bool, - "", - ""); - I_Method1(void, setGlobalDefaultAttribute, IN, const osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __void__setGlobalDefaultAttribute__C5_StateAttribute_P1, - "", - ""); - I_MethodWithDefaults2(const osg::StateAttribute *, getGlobalDefaultAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0, - Properties::NON_VIRTUAL, - __C5_StateAttribute_P1__getGlobalDefaultAttribute__StateAttribute_Type__unsigned_int, - "", - ""); - I_Method1(bool, applyAttribute, IN, const osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __bool__applyAttribute__C5_StateAttribute_P1, - "Apply an attribute if required. ", - ""); - I_Method2(void, setGlobalDefaultTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __void__setGlobalDefaultTextureAttribute__unsigned_int__C5_StateAttribute_P1, - "", - ""); - I_MethodWithDefaults3(const osg::StateAttribute *, getGlobalDefaultTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0, - Properties::NON_VIRTUAL, - __C5_StateAttribute_P1__getGlobalDefaultTextureAttribute__unsigned_int__StateAttribute_Type__unsigned_int, - "", - ""); - I_Method2(bool, applyTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __bool__applyTextureAttribute__unsigned_int__C5_StateAttribute_P1, - "", - ""); - I_Method2(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value, - Properties::NON_VIRTUAL, - __void__haveAppliedMode__StateAttribute_GLMode__StateAttribute_GLModeValue, - "Mode has been set externally, update state to reflect this setting. ", - ""); - I_Method1(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __void__haveAppliedMode__StateAttribute_GLMode, - "Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply(. ", - ".) "); - I_Method1(void, haveAppliedAttribute, IN, const osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __void__haveAppliedAttribute__C5_StateAttribute_P1, - "Attribute has been applied externally, update state to reflect this setting. ", - ""); - I_MethodWithDefaults2(void, haveAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0, - Properties::NON_VIRTUAL, - __void__haveAppliedAttribute__StateAttribute_Type__unsigned_int, - "Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-applied on next osg::State.apply(. ", - ".). note, if you have an osg::StateAttribute which you have applied externally then use the have_applied(attribute) method as this will cause the osg::State to track the current state more accurately and enable lazy state updating such that only changed state will be applied. "); - I_Method1(bool, getLastAppliedMode, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __bool__getLastAppliedMode__StateAttribute_GLMode, - "Get whether the current specified mode is enabled (true) or disabled (false). ", - ""); - I_MethodWithDefaults2(const osg::StateAttribute *, getLastAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0, - Properties::NON_VIRTUAL, - __C5_StateAttribute_P1__getLastAppliedAttribute__StateAttribute_Type__unsigned_int, - "Get the current specified attribute, return NULL if one has not yet been applied. ", - ""); - I_Method3(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value, - Properties::NON_VIRTUAL, - __void__haveAppliedTextureMode__unsigned_int__StateAttribute_GLMode__StateAttribute_GLModeValue, - "texture Mode has been set externally, update state to reflect this setting. ", - ""); - I_Method2(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __void__haveAppliedTextureMode__unsigned_int__StateAttribute_GLMode, - "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(. ", - ".) "); - I_Method2(void, haveAppliedTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __void__haveAppliedTextureAttribute__unsigned_int__C5_StateAttribute_P1, - "texture Attribute has been applied externally, update state to reflect this setting. ", - ""); - I_MethodWithDefaults3(void, haveAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0, - Properties::NON_VIRTUAL, - __void__haveAppliedTextureAttribute__unsigned_int__StateAttribute_Type__unsigned_int, - "texture Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-applied on next osg::State.apply(. ", - ".). note, if you have an osg::StateAttribute which you have applied externally then use the have_applied(attribute) method as this will the osg::State to track the current state more accurately and enable lazy state updating such that only changed state will be applied. "); - I_Method2(bool, getLastAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __bool__getLastAppliedTextureMode__unsigned_int__StateAttribute_GLMode, - "Get whether the current specified texture mode is enabled (true) or disabled (false). ", - ""); - I_MethodWithDefaults3(const osg::StateAttribute *, getLastAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0, - Properties::NON_VIRTUAL, - __C5_StateAttribute_P1__getLastAppliedTextureAttribute__unsigned_int__StateAttribute_Type__unsigned_int, - "Get the current specified texture attribute, return NULL if one has not yet been applied. ", - ""); - I_Method0(void, dirtyAllModes, - Properties::NON_VIRTUAL, - __void__dirtyAllModes, - "Dirty the modes previously applied in osg::State. ", - ""); - I_Method0(void, dirtyAllAttributes, - Properties::NON_VIRTUAL, - __void__dirtyAllAttributes, - "Dirty the modes attributes previously applied in osg::State. ", - ""); - I_Method0(void, disableAllVertexArrays, - Properties::NON_VIRTUAL, - __void__disableAllVertexArrays, - "disable the vertex, normal, color, tex coords, secondary color, fog coord and index arrays. ", - ""); - I_Method0(void, dirtyAllVertexArrays, - Properties::NON_VIRTUAL, - __void__dirtyAllVertexArrays, - "dirty the vertex, normal, color, tex coords, secondary color, fog coord and index arrays. ", - ""); - I_Method1(void, setCurrentVertexBufferObject, IN, osg::GLBufferObject *, vbo, - Properties::NON_VIRTUAL, - __void__setCurrentVertexBufferObject__osg_GLBufferObject_P1, - "", - ""); - I_Method0(const osg::GLBufferObject *, getCurrentVertexBufferObject, - Properties::NON_VIRTUAL, - __C5_GLBufferObject_P1__getCurrentVertexBufferObject, - "", - ""); - I_Method1(void, bindVertexBufferObject, IN, osg::GLBufferObject *, vbo, - Properties::NON_VIRTUAL, - __void__bindVertexBufferObject__osg_GLBufferObject_P1, - "", - ""); - I_Method0(void, unbindVertexBufferObject, - Properties::NON_VIRTUAL, - __void__unbindVertexBufferObject, - "", - ""); - I_Method1(void, setCurrentElementBufferObject, IN, osg::GLBufferObject *, ebo, - Properties::NON_VIRTUAL, - __void__setCurrentElementBufferObject__osg_GLBufferObject_P1, - "", - ""); - I_Method0(const osg::GLBufferObject *, getCurrentElementBufferObject, - Properties::NON_VIRTUAL, - __C5_GLBufferObject_P1__getCurrentElementBufferObject, - "", - ""); - I_Method1(void, bindElementBufferObject, IN, osg::GLBufferObject *, ebo, - Properties::NON_VIRTUAL, - __void__bindElementBufferObject__osg_GLBufferObject_P1, - "", - ""); - I_Method0(void, unbindElementBufferObject, - Properties::NON_VIRTUAL, - __void__unbindElementBufferObject, - "", - ""); - I_Method1(void, setCurrentPixelBufferObject, IN, osg::GLBufferObject *, pbo, - Properties::NON_VIRTUAL, - __void__setCurrentPixelBufferObject__osg_GLBufferObject_P1, - "", - ""); - I_Method0(const osg::GLBufferObject *, getCurrentPixelBufferObject, - Properties::NON_VIRTUAL, - __C5_GLBufferObject_P1__getCurrentPixelBufferObject, - "", - ""); - I_Method1(void, bindPixelBufferObject, IN, osg::GLBufferObject *, pbo, - Properties::NON_VIRTUAL, - __void__bindPixelBufferObject__osg_GLBufferObject_P1, - "", - ""); - I_Method0(void, unbindPixelBufferObject, - Properties::NON_VIRTUAL, - __void__unbindPixelBufferObject, - "", - ""); - I_MethodWithDefaults3(void, drawQuads, IN, GLint, first, , IN, GLsizei, count, , IN, GLsizei, primCount, 0, - Properties::NON_VIRTUAL, - __void__drawQuads__GLint__GLsizei__GLsizei, - "", - ""); - I_Method4(void, glDrawArraysInstanced, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, IN, GLsizei, primcount, - Properties::NON_VIRTUAL, - __void__glDrawArraysInstanced__GLenum__GLint__GLsizei__GLsizei, - "", - ""); - I_Method5(void, glDrawElementsInstanced, IN, GLenum, mode, IN, GLsizei, count, IN, GLenum, type, IN, const GLvoid *, indices, IN, GLsizei, primcount, - Properties::NON_VIRTUAL, - __void__glDrawElementsInstanced__GLenum__GLsizei__GLenum__C5_GLvoid_P1__GLsizei, - "", - ""); - I_MethodWithDefaults4(void, Vertex, IN, float, x, , IN, float, y, , IN, float, z, , IN, float, w, 1.0f, - Properties::NON_VIRTUAL, - __void__Vertex__float__float__float__float, - "", - ""); - I_MethodWithDefaults4(void, Color, IN, float, r, , IN, float, g, , IN, float, b, , IN, float, a, 1.0f, - Properties::NON_VIRTUAL, - __void__Color__float__float__float__float, - "", - ""); - I_Method3(void, Normal, IN, float, x, IN, float, y, IN, float, z, - Properties::NON_VIRTUAL, - __void__Normal__float__float__float, - "", - ""); - I_MethodWithDefaults4(void, TexCoord, IN, float, x, , IN, float, y, 0.0f, IN, float, z, 0.0f, IN, float, w, 1.0f, - Properties::NON_VIRTUAL, - __void__TexCoord__float__float__float__float, - "", - ""); - I_MethodWithDefaults5(void, MultiTexCoord, IN, unsigned int, unit, , IN, float, x, , IN, float, y, 0.0f, IN, float, z, 0.0f, IN, float, w, 1.0f, - Properties::NON_VIRTUAL, - __void__MultiTexCoord__unsigned_int__float__float__float__float, - "", - ""); - I_MethodWithDefaults5(void, VerteAttrib, IN, unsigned int, location, , IN, float, x, , IN, float, y, 0.0f, IN, float, z, 0.0f, IN, float, w, 0.0f, - Properties::NON_VIRTUAL, - __void__VerteAttrib__unsigned_int__float__float__float__float, - "", - ""); - I_Method0(void, lazyDisablingOfVertexAttributes, - Properties::NON_VIRTUAL, - __void__lazyDisablingOfVertexAttributes, - "Mark all the vertex attributes as being disabled but leave the disabling till a later call to applyDisablingOfVertexAttributes. ", - ""); - I_Method0(void, applyDisablingOfVertexAttributes, - Properties::NON_VIRTUAL, - __void__applyDisablingOfVertexAttributes, - "Disable all the vertex attributes that have been marked as to be disabled. ", - ""); - I_Method3(void, setInterleavedArrays, IN, GLenum, format, IN, GLsizei, stride, IN, const GLvoid *, pointer, - Properties::NON_VIRTUAL, - __void__setInterleavedArrays__GLenum__GLsizei__C5_GLvoid_P1, - "Wrapper around glInterleavedArrays(. ", - ".). also resets the internal array points and modes within osg::State to keep the other vertex array operations consistent. "); - I_Method1(void, setVertexPointer, IN, const osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setVertexPointer__C5_Array_P1, - "Set the vertex pointer using an osg::Array, and manage any VBO that are required. ", - ""); - I_Method4(void, setVertexPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr, - Properties::NON_VIRTUAL, - __void__setVertexPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1, - "wrapper around glEnableClientState(GL_VERTEX_ARRAY);glVertexPointer(. ", - ".); note, only updates values that change. "); - I_Method0(void, disableVertexPointer, - Properties::NON_VIRTUAL, - __void__disableVertexPointer, - "wrapper around glDisableClientState(GL_VERTEX_ARRAY). ", - "note, only updates values that change. "); - I_Method0(void, dirtyVertexPointer, - Properties::NON_VIRTUAL, - __void__dirtyVertexPointer, - "", - ""); - I_Method1(void, setNormalPointer, IN, const osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setNormalPointer__C5_Array_P1, - "Set the normal pointer using an osg::Array, and manage any VBO that are required. ", - ""); - I_Method3(void, setNormalPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr, - Properties::NON_VIRTUAL, - __void__setNormalPointer__GLenum__GLsizei__C5_GLvoid_P1, - "wrapper around glEnableClientState(GL_NORMAL_ARRAY);glNormalPointer(. ", - ".); note, only updates values that change. "); - I_Method0(void, disableNormalPointer, - Properties::NON_VIRTUAL, - __void__disableNormalPointer, - "wrapper around glDisableClientState(GL_NORMAL_ARRAY); note, only updates values that change. ", - ""); - I_Method0(void, dirtyNormalPointer, - Properties::NON_VIRTUAL, - __void__dirtyNormalPointer, - "", - ""); - I_Method1(void, setColorPointer, IN, const osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setColorPointer__C5_Array_P1, - "Set the color pointer using an osg::Array, and manage any VBO that are required. ", - ""); - I_Method4(void, setColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr, - Properties::NON_VIRTUAL, - __void__setColorPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1, - "wrapper around glEnableClientState(GL_COLOR_ARRAY);glColorPointer(. ", - ".); note, only updates values that change. "); - I_Method0(void, disableColorPointer, - Properties::NON_VIRTUAL, - __void__disableColorPointer, - "wrapper around glDisableClientState(GL_COLOR_ARRAY); note, only updates values that change. ", - ""); - I_Method0(void, dirtyColorPointer, - Properties::NON_VIRTUAL, - __void__dirtyColorPointer, - "", - ""); - I_Method0(bool, isSecondaryColorSupported, - Properties::NON_VIRTUAL, - __bool__isSecondaryColorSupported, - "", - ""); - I_Method1(void, setSecondaryColorPointer, IN, const osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setSecondaryColorPointer__C5_Array_P1, - "Set the secondary color pointer using an osg::Array, and manage any VBO that are required. ", - ""); - I_Method4(void, setSecondaryColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr, - Properties::NON_VIRTUAL, - __void__setSecondaryColorPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1, - "wrapper around glEnableClientState(GL_SECONDARY_COLOR_ARRAY);glSecondayColorPointer(. ", - ".); note, only updates values that change. "); - I_Method0(void, disableSecondaryColorPointer, - Properties::NON_VIRTUAL, - __void__disableSecondaryColorPointer, - "wrapper around glDisableClientState(GL_SECONDARY_COLOR_ARRAY); note, only updates values that change. ", - ""); - I_Method0(void, dirtySecondaryColorPointer, - Properties::NON_VIRTUAL, - __void__dirtySecondaryColorPointer, - "", - ""); - I_Method0(bool, isFogCoordSupported, - Properties::NON_VIRTUAL, - __bool__isFogCoordSupported, - "", - ""); - I_Method1(void, setFogCoordPointer, IN, const osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setFogCoordPointer__C5_Array_P1, - "Set the fog coord pointer using an osg::Array, and manage any VBO that are required. ", - ""); - I_Method3(void, setFogCoordPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr, - Properties::NON_VIRTUAL, - __void__setFogCoordPointer__GLenum__GLsizei__C5_GLvoid_P1, - "wrapper around glEnableClientState(GL_FOG_COORDINATE_ARRAY);glFogCoordPointer(. ", - ".); note, only updates values that change. "); - I_Method0(void, disableFogCoordPointer, - Properties::NON_VIRTUAL, - __void__disableFogCoordPointer, - "wrapper around glDisableClientState(GL_FOG_COORDINATE_ARRAY); note, only updates values that change. ", - ""); - I_Method0(void, dirtyFogCoordPointer, - Properties::NON_VIRTUAL, - __void__dirtyFogCoordPointer, - "", - ""); - I_Method2(void, setTexCoordPointer, IN, unsigned int, unit, IN, const osg::Array *, array, - Properties::NON_VIRTUAL, - __void__setTexCoordPointer__unsigned_int__C5_Array_P1, - "Set the tex coord pointer using an osg::Array, and manage any VBO that are required. ", - ""); - I_Method5(void, setTexCoordPointer, IN, unsigned int, unit, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr, - Properties::NON_VIRTUAL, - __void__setTexCoordPointer__unsigned_int__GLint__GLenum__GLsizei__C5_GLvoid_P1, - "wrapper around glEnableClientState(GL_TEXTURE_COORD_ARRAY);glTexCoordPointer(. ", - ".); note, only updates values that change. "); - I_Method1(void, disableTexCoordPointer, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __void__disableTexCoordPointer__unsigned_int, - "wrapper around glDisableClientState(GL_TEXTURE_COORD_ARRAY); note, only updates values that change. ", - ""); - I_Method1(void, dirtyTexCoordPointer, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __void__dirtyTexCoordPointer__unsigned_int, - "", - ""); - I_Method1(void, disableTexCoordPointersAboveAndIncluding, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __void__disableTexCoordPointersAboveAndIncluding__unsigned_int, - "", - ""); - I_Method1(void, dirtyTexCoordPointersAboveAndIncluding, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __void__dirtyTexCoordPointersAboveAndIncluding__unsigned_int, - "", - ""); - I_Method1(bool, setActiveTextureUnit, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __bool__setActiveTextureUnit__unsigned_int, - "Set the current texture unit, return true if selected, false if selection failed such as when multi texturing is not supported. ", - "note, only updates values that change. "); - I_Method0(unsigned int, getActiveTextureUnit, - Properties::NON_VIRTUAL, - __unsigned_int__getActiveTextureUnit, - "Get the current texture unit. ", - ""); - I_Method1(bool, setClientActiveTextureUnit, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __bool__setClientActiveTextureUnit__unsigned_int, - "Set the current tex coord array texture unit, return true if selected, false if selection failed such as when multi texturing is not supported. ", - "note, only updates values that change. "); - I_Method0(unsigned int, getClientActiveTextureUnit, - Properties::NON_VIRTUAL, - __unsigned_int__getClientActiveTextureUnit, - "Get the current tex coord array texture unit. ", - ""); - I_Method3(void, setVertexAttribPointer, IN, unsigned int, unit, IN, const osg::Array *, array, IN, GLboolean, normalized, - Properties::NON_VIRTUAL, - __void__setVertexAttribPointer__unsigned_int__C5_Array_P1__GLboolean, - "Set the vertex attrib pointer using an osg::Array, and manage any VBO that are required. ", - ""); - I_Method6(void, setVertexAttribPointer, IN, unsigned int, index, IN, GLint, size, IN, GLenum, type, IN, GLboolean, normalized, IN, GLsizei, stride, IN, const GLvoid *, ptr, - Properties::NON_VIRTUAL, - __void__setVertexAttribPointer__unsigned_int__GLint__GLenum__GLboolean__GLsizei__C5_GLvoid_P1, - "wrapper around glEnableVertexAttribArrayARB(index);glVertexAttribPointerARB(. ", - ".); note, only updates values that change. "); - I_Method1(void, disableVertexAttribPointer, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __void__disableVertexAttribPointer__unsigned_int, - "wrapper around DisableVertexAttribArrayARB(index); note, only updates values that change. ", - ""); - I_Method1(void, disableVertexAttribPointersAboveAndIncluding, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __void__disableVertexAttribPointersAboveAndIncluding__unsigned_int, - "", - ""); - I_Method1(void, dirtyVertexAttribPointer, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __void__dirtyVertexAttribPointer__unsigned_int, - "", - ""); - I_Method1(void, dirtyVertexAttribPointersAboveAndIncluding, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __void__dirtyVertexAttribPointersAboveAndIncluding__unsigned_int, - "", - ""); - I_Method0(bool, isVertexBufferObjectSupported, - Properties::NON_VIRTUAL, - __bool__isVertexBufferObjectSupported, - "", - ""); - I_Method1(void, setLastAppliedProgramObject, IN, const osg::Program::PerContextProgram *, program, - Properties::NON_VIRTUAL, - __void__setLastAppliedProgramObject__C5_Program_PerContextProgram_P1, - "", - ""); - I_Method0(const osg::Program::PerContextProgram *, getLastAppliedProgramObject, - Properties::NON_VIRTUAL, - __C5_Program_PerContextProgram_P1__getLastAppliedProgramObject, - "", - ""); - I_Method1(GLint, getUniformLocation, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __GLint__getUniformLocation__C5_std_string_R1, - "", - ""); - I_Method1(GLint, getAttribLocation, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __GLint__getAttribLocation__C5_std_string_R1, - "", - ""); - I_Method1(osg::State::AttributeVec &, getAttributeVec, IN, const osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __AttributeVec_R1__getAttributeVec__C5_osg_StateAttribute_P1, - "", - ""); - I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs, - Properties::NON_VIRTUAL, - __void__setFrameStamp__FrameStamp_P1, - "Set the frame stamp for the current frame. ", - ""); - I_Method0(osg::FrameStamp *, getFrameStamp, - Properties::NON_VIRTUAL, - __FrameStamp_P1__getFrameStamp, - "Get the frame stamp for the current frame. ", - ""); - I_Method0(const osg::FrameStamp *, getFrameStamp, - Properties::NON_VIRTUAL, - __C5_FrameStamp_P1__getFrameStamp, - "Get the const frame stamp for the current frame. ", - ""); - I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, vs, - Properties::NON_VIRTUAL, - __void__setDisplaySettings__DisplaySettings_P1, - "Set the DisplaySettings. ", - "Note, nothing is applied, the visual settings are just used in the State object to pass the current visual settings to Drawables during rendering. "); - I_Method0(const osg::DisplaySettings *, getDisplaySettings, - Properties::NON_VIRTUAL, - __C5_DisplaySettings_P1__getDisplaySettings, - "Get the DisplaySettings. ", - ""); - I_Method1(void, setAbortRenderingPtr, IN, bool *, abortPtr, - Properties::NON_VIRTUAL, - __void__setAbortRenderingPtr__bool_P1, - "Set flag for early termination of the draw traversal. ", - ""); - I_Method0(bool, getAbortRendering, - Properties::NON_VIRTUAL, - __bool__getAbortRendering, - "Get flag for early termination of the draw traversal, if true steps should be taken to complete rendering early. ", - ""); - I_Method1(void, setDynamicObjectRenderingCompletedCallback, IN, osg::State::DynamicObjectRenderingCompletedCallback *, cb, - Properties::NON_VIRTUAL, - __void__setDynamicObjectRenderingCompletedCallback__DynamicObjectRenderingCompletedCallback_P1, - "Set the callback to be called when the dynamic object count hits 0. ", - ""); - I_Method0(osg::State::DynamicObjectRenderingCompletedCallback *, getDynamicObjectRenderingCompletedCallback, - Properties::NON_VIRTUAL, - __DynamicObjectRenderingCompletedCallback_P1__getDynamicObjectRenderingCompletedCallback, - "Get the callback to be called when the dynamic object count hits 0. ", - ""); - I_MethodWithDefaults2(void, setDynamicObjectCount, IN, unsigned int, count, , IN, bool, callCallbackOnZero, false, - Properties::NON_VIRTUAL, - __void__setDynamicObjectCount__unsigned_int__bool, - "Set the number of dynamic objects that will be rendered in this graphics context this frame. ", - ""); - I_Method0(unsigned int, getDynamicObjectCount, - Properties::NON_VIRTUAL, - __unsigned_int__getDynamicObjectCount, - "Get the number of dynamic objects that will be rendered in this graphics context this frame. ", - ""); - I_Method0(void, decrementDynamicObjectCount, - Properties::NON_VIRTUAL, - __void__decrementDynamicObjectCount, - "Decrement the number of dynamic objects left to render this frame, and once the count goes to zero call the DynamicObjectRenderingCompletedCallback to inform of completion. ", - ""); - I_Method1(void, setMaxTexturePoolSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setMaxTexturePoolSize__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaxTexturePoolSize, - Properties::NON_VIRTUAL, - __unsigned_int__getMaxTexturePoolSize, - "", - ""); - I_Method1(void, setMaxBufferObjectPoolSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setMaxBufferObjectPoolSize__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaxBufferObjectPoolSize, - Properties::NON_VIRTUAL, - __unsigned_int__getMaxBufferObjectPoolSize, - "", - ""); - I_Method1(void, setCheckForGLErrors, IN, osg::State::CheckForGLErrors, check, - Properties::NON_VIRTUAL, - __void__setCheckForGLErrors__CheckForGLErrors, - "Set whether and how often OpenGL errors should be checked for. ", - ""); - I_Method0(osg::State::CheckForGLErrors, getCheckForGLErrors, - Properties::NON_VIRTUAL, - __CheckForGLErrors__getCheckForGLErrors, - "Get whether and how often OpenGL errors should be checked for. ", - ""); - I_Method1(bool, checkGLErrors, IN, const char *, str, - Properties::NON_VIRTUAL, - __bool__checkGLErrors__C5_char_P1, - "", - ""); - I_Method1(bool, checkGLErrors, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __bool__checkGLErrors__StateAttribute_GLMode, - "", - ""); - I_Method1(bool, checkGLErrors, IN, const osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __bool__checkGLErrors__C5_StateAttribute_P1, - "", - ""); - I_Method0(void, initializeExtensionProcs, - Properties::NON_VIRTUAL, - __void__initializeExtensionProcs, - "Initialize extension used by osg:State. ", - ""); - I_Method1(void, objectDeleted, IN, void *, x, - Properties::VIRTUAL, - __void__objectDeleted__void_P1, - "objectDeleted is called when the observed object is about to be deleted. ", - "The observer will be automatically removed from the observerd objects observer set so there is no need for the objectDeleted implementation to call removeObserver() on the observed object. "); - I_Method0(osg::GLBeginEndAdapter &, getGLBeginEndAdapter, - Properties::NON_VIRTUAL, - __GLBeginEndAdapter_R1__getGLBeginEndAdapter, - "get the GL adapter object used to map OpenGL 1.0 glBegin/glEnd usage to vertex arrays. ", - ""); - I_Method0(osg::ArrayDispatchers &, getArrayDispatchers, - Properties::NON_VIRTUAL, - __ArrayDispatchers_R1__getArrayDispatchers, - "get the helper class for dispatching osg::Arrays as OpenGL attribute data. ", - ""); - I_ProtectedMethod5(void, setUpVertexAttribAlias, IN, osg::VertexAttribAlias &, alias, IN, GLuint, location, IN, const std::string, glName, IN, const std::string, osgName, IN, const std::string &, declaration, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpVertexAttribAlias__VertexAttribAlias_R1__GLuint__C5_std_string__C5_std_string__C5_std_string_R1, - "", - ""); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I_ProtectedMethod0(void, loadModelViewMatrix, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__loadModelViewMatrix, - "", - ""); - I_ProtectedMethod0(bool, computeSecondaryColorSupported, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__computeSecondaryColorSupported, - "", - ""); - I_ProtectedMethod0(bool, computeFogCoordSupported, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__computeFogCoordSupported, - "", - ""); - I_ProtectedMethod0(bool, computeVertexBufferObjectSupported, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__computeVertexBufferObjectSupported, - "", - ""); - - - - - - - - - I_SimpleProperty(bool, AbortRendering, - __bool__getAbortRendering, - 0); - I_SimpleProperty(bool *, AbortRenderingPtr, - 0, - __void__setAbortRenderingPtr__bool_P1); - I_SimpleProperty(unsigned int, ActiveTextureUnit, - __unsigned_int__getActiveTextureUnit, - __bool__setActiveTextureUnit__unsigned_int); - I_SimpleProperty(osg::ArrayDispatchers &, ArrayDispatchers, - __ArrayDispatchers_R1__getArrayDispatchers, - 0); - I_SimpleProperty(const osg::Program::AttribBindingList &, AttributeBindingList, - __C5_Program_AttribBindingList_R1__getAttributeBindingList, - 0); - I_SimpleProperty(osg::State::CheckForGLErrors, CheckForGLErrors, - __CheckForGLErrors__getCheckForGLErrors, - __void__setCheckForGLErrors__CheckForGLErrors); - I_SimpleProperty(unsigned int, ClientActiveTextureUnit, - __unsigned_int__getClientActiveTextureUnit, - __bool__setClientActiveTextureUnit__unsigned_int); - I_SimpleProperty(const osg::VertexAttribAlias &, ColorAlias, - __C5_VertexAttribAlias_R1__getColorAlias, - 0); - I_SimpleProperty(const osg::Array *, ColorPointer, - 0, - __void__setColorPointer__C5_Array_P1); - I_SimpleProperty(unsigned int, ContextID, - __unsigned_int__getContextID, - __void__setContextID__unsigned_int); - I_SimpleProperty(osg::GLBufferObject *, CurrentElementBufferObject, - 0, - __void__setCurrentElementBufferObject__osg_GLBufferObject_P1); - I_SimpleProperty(osg::GLBufferObject *, CurrentPixelBufferObject, - 0, - __void__setCurrentPixelBufferObject__osg_GLBufferObject_P1); - I_SimpleProperty(osg::GLBufferObject *, CurrentVertexBufferObject, - 0, - __void__setCurrentVertexBufferObject__osg_GLBufferObject_P1); - I_SimpleProperty(const osg::Viewport *, CurrentViewport, - __C5_Viewport_P1__getCurrentViewport, - 0); - I_SimpleProperty(osg::DisplaySettings *, DisplaySettings, - 0, - __void__setDisplaySettings__DisplaySettings_P1); - I_SimpleProperty(unsigned int, DynamicObjectCount, - __unsigned_int__getDynamicObjectCount, - 0); - I_SimpleProperty(osg::State::DynamicObjectRenderingCompletedCallback *, DynamicObjectRenderingCompletedCallback, - __DynamicObjectRenderingCompletedCallback_P1__getDynamicObjectRenderingCompletedCallback, - __void__setDynamicObjectRenderingCompletedCallback__DynamicObjectRenderingCompletedCallback_P1); - I_SimpleProperty(const osg::VertexAttribAlias &, FogCoordAlias, - __C5_VertexAttribAlias_R1__getFogCoordAlias, - 0); - I_SimpleProperty(const osg::Array *, FogCoordPointer, - 0, - __void__setFogCoordPointer__C5_Array_P1); - I_SimpleProperty(osg::FrameStamp *, FrameStamp, - __FrameStamp_P1__getFrameStamp, - __void__setFrameStamp__FrameStamp_P1); - I_SimpleProperty(osg::GLBeginEndAdapter &, GLBeginEndAdapter, - __GLBeginEndAdapter_R1__getGLBeginEndAdapter, - 0); - I_SimpleProperty(const osg::StateAttribute *, GlobalDefaultAttribute, - 0, - __void__setGlobalDefaultAttribute__C5_StateAttribute_P1); - I_IndexedProperty(bool, GlobalDefaultModeValue, - __bool__getGlobalDefaultModeValue__StateAttribute_GLMode, - __void__setGlobalDefaultModeValue__StateAttribute_GLMode__bool, - 0); - I_IndexedProperty(bool, GlobalDefaultTextureModeValue, - __bool__getGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode, - __void__setGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode__bool, - 0); - I_SimpleProperty(osg::GraphicsContext *, GraphicsContext, - __GraphicsContext_P1__getGraphicsContext, - __void__setGraphicsContext__GraphicsContext_P1); - I_SimpleProperty(const osg::Matrix &, InitialInverseViewMatrix, - __C5_osg_Matrix_R1__getInitialInverseViewMatrix, - 0); - I_SimpleProperty(const osg::RefMatrix *, InitialViewMatrix, - 0, - __void__setInitialViewMatrix__C5_osg_RefMatrix_P1); - I_SimpleProperty(const osg::Program::PerContextProgram *, LastAppliedProgramObject, - __C5_Program_PerContextProgram_P1__getLastAppliedProgramObject, - __void__setLastAppliedProgramObject__C5_Program_PerContextProgram_P1); - I_SimpleProperty(unsigned int, MaxBufferObjectPoolSize, - __unsigned_int__getMaxBufferObjectPoolSize, - __void__setMaxBufferObjectPoolSize__unsigned_int); - I_SimpleProperty(unsigned int, MaxTexturePoolSize, - __unsigned_int__getMaxTexturePoolSize, - __void__setMaxTexturePoolSize__unsigned_int); - I_IndexedProperty(bool, ModeValidity, - __bool__getModeValidity__StateAttribute_GLMode, - __void__setModeValidity__StateAttribute_GLMode__bool, - 0); - I_SimpleProperty(const osg::Matrix &, ModelViewMatrix, - __C5_osg_Matrix_R1__getModelViewMatrix, - 0); - I_SimpleProperty(osg::Uniform *, ModelViewMatrixUniform, - __osg_Uniform_P1__getModelViewMatrixUniform, - 0); - I_SimpleProperty(osg::Uniform *, ModelViewProjectionMatrixUniform, - __osg_Uniform_P1__getModelViewProjectionMatrixUniform, - 0); - I_SimpleProperty(const osg::VertexAttribAlias &, NormalAlias, - __C5_VertexAttribAlias_R1__getNormalAlias, - 0); - I_SimpleProperty(osg::Uniform *, NormalMatrixUniform, - __osg_Uniform_P1__getNormalMatrixUniform, - 0); - I_SimpleProperty(const osg::Array *, NormalPointer, - 0, - __void__setNormalPointer__C5_Array_P1); - I_SimpleProperty(const osg::Matrix &, ProjectionMatrix, - __C5_osg_Matrix_R1__getProjectionMatrix, - 0); - I_SimpleProperty(osg::Uniform *, ProjectionMatrixUniform, - __osg_Uniform_P1__getProjectionMatrixUniform, - 0); - I_SimpleProperty(const osg::VertexAttribAlias &, SecondaryColorAlias, - __C5_VertexAttribAlias_R1__getSecondaryColorAlias, - 0); - I_SimpleProperty(const osg::Array *, SecondaryColorPointer, - 0, - __void__setSecondaryColorPointer__C5_Array_P1); - I_SimpleProperty(osg::State::StateSetStack &, StateSetStack, - __StateSetStack_R1__getStateSetStack, - 0); - I_SimpleProperty(unsigned int, StateSetStackSize, - __unsigned_int__getStateSetStackSize, - 0); - I_SimpleProperty(const osg::State::VertexAttribAliasList &, TexCoordAliasList, - __C5_VertexAttribAliasList_R1__getTexCoordAliasList, - 0); - I_SimpleProperty(bool, UseModelViewAndProjectionUniforms, - __bool__getUseModelViewAndProjectionUniforms, - __void__setUseModelViewAndProjectionUniforms__bool); - I_SimpleProperty(bool, UseVertexAttributeAliasing, - __bool__getUseVertexAttributeAliasing, - __void__setUseVertexAttributeAliasing__bool); - I_SimpleProperty(const osg::VertexAttribAlias &, VertexAlias, - __C5_VertexAttribAlias_R1__getVertexAlias, - 0); - I_SimpleProperty(const osg::Array *, VertexPointer, - 0, - __void__setVertexPointer__C5_Array_P1); - I_SimpleProperty(osg::Polytope, ViewFrustum, - __Polytope__getViewFrustum, - 0); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::State::DynamicObjectRenderingCompletedCallback) - I_DeclaringFile("osg/State"); - I_BaseType(osg::Referenced); - I_Constructor0(____DynamicObjectRenderingCompletedCallback, - "", - ""); - I_Method1(void, completed, IN, osg::State *, x, - Properties::PURE_VIRTUAL, - __void__completed__osg_State_P1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::VertexAttribAlias) - I_DeclaringFile("osg/State"); - I_Constructor0(____VertexAttribAlias, - "", - ""); - I_Constructor1(IN, const osg::VertexAttribAlias &, rhs, - Properties::NON_EXPLICIT, - ____VertexAttribAlias__C5_VertexAttribAlias_R1, - "", - ""); - I_Constructor4(IN, GLuint, location, IN, const std::string, glName, IN, const std::string, osgName, IN, const std::string &, declaration, - ____VertexAttribAlias__GLuint__C5_std_string__C5_std_string__C5_std_string_R1, - "", - ""); - I_PublicMemberProperty(GLuint, _location); - I_PublicMemberProperty(std::string, _glName); - I_PublicMemberProperty(std::string, _osgName); - I_PublicMemberProperty(std::string, _declaration); -END_REFLECTOR - -STD_PAIR_REFLECTOR(std::pair< const osg::StateAttribute * COMMA osg::StateAttribute::OverrideValue >) - -STD_VECTOR_REFLECTOR(std::vector< GLushort >) - -STD_VECTOR_REFLECTOR(std::vector< const osg::StateSet * >) - -STD_VECTOR_REFLECTOR(std::vector< osg::State::AttributePair >) - -STD_VECTOR_REFLECTOR(std::vector< osg::VertexAttribAlias >) - diff --git a/src/osgWrappers/introspection/osg/StateAttribute.cpp b/src/osgWrappers/introspection/osg/StateAttribute.cpp deleted file mode 100644 index 74a457ada..000000000 --- a/src/osgWrappers/introspection/osg/StateAttribute.cpp +++ /dev/null @@ -1,313 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Values) - I_DeclaringFile("osg/StateAttribute"); - I_EnumLabel(osg::StateAttribute::OFF); - I_EnumLabel(osg::StateAttribute::ON); - I_EnumLabel(osg::StateAttribute::OVERRIDE); - I_EnumLabel(osg::StateAttribute::PROTECTED); - I_EnumLabel(osg::StateAttribute::INHERIT); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Type) - I_DeclaringFile("osg/StateAttribute"); - I_EnumLabel(osg::StateAttribute::TEXTURE); - I_EnumLabel(osg::StateAttribute::POLYGONMODE); - I_EnumLabel(osg::StateAttribute::POLYGONOFFSET); - I_EnumLabel(osg::StateAttribute::MATERIAL); - I_EnumLabel(osg::StateAttribute::ALPHAFUNC); - I_EnumLabel(osg::StateAttribute::ANTIALIAS); - I_EnumLabel(osg::StateAttribute::COLORTABLE); - I_EnumLabel(osg::StateAttribute::CULLFACE); - I_EnumLabel(osg::StateAttribute::FOG); - I_EnumLabel(osg::StateAttribute::FRONTFACE); - I_EnumLabel(osg::StateAttribute::LIGHT); - I_EnumLabel(osg::StateAttribute::POINT); - I_EnumLabel(osg::StateAttribute::LINEWIDTH); - I_EnumLabel(osg::StateAttribute::LINESTIPPLE); - I_EnumLabel(osg::StateAttribute::POLYGONSTIPPLE); - I_EnumLabel(osg::StateAttribute::SHADEMODEL); - I_EnumLabel(osg::StateAttribute::TEXENV); - I_EnumLabel(osg::StateAttribute::TEXENVFILTER); - I_EnumLabel(osg::StateAttribute::TEXGEN); - I_EnumLabel(osg::StateAttribute::TEXMAT); - I_EnumLabel(osg::StateAttribute::LIGHTMODEL); - I_EnumLabel(osg::StateAttribute::BLENDFUNC); - I_EnumLabel(osg::StateAttribute::BLENDEQUATION); - I_EnumLabel(osg::StateAttribute::LOGICOP); - I_EnumLabel(osg::StateAttribute::STENCIL); - I_EnumLabel(osg::StateAttribute::COLORMASK); - I_EnumLabel(osg::StateAttribute::DEPTH); - I_EnumLabel(osg::StateAttribute::VIEWPORT); - I_EnumLabel(osg::StateAttribute::SCISSOR); - I_EnumLabel(osg::StateAttribute::BLENDCOLOR); - I_EnumLabel(osg::StateAttribute::MULTISAMPLE); - I_EnumLabel(osg::StateAttribute::CLIPPLANE); - I_EnumLabel(osg::StateAttribute::COLORMATRIX); - I_EnumLabel(osg::StateAttribute::VERTEXPROGRAM); - I_EnumLabel(osg::StateAttribute::FRAGMENTPROGRAM); - I_EnumLabel(osg::StateAttribute::POINTSPRITE); - I_EnumLabel(osg::StateAttribute::PROGRAM); - I_EnumLabel(osg::StateAttribute::CLAMPCOLOR); - I_EnumLabel(osg::StateAttribute::HINT); - I_EnumLabel(osg::StateAttribute::VALIDATOR); - I_EnumLabel(osg::StateAttribute::VIEWMATRIXEXTRACTOR); - I_EnumLabel(osg::StateAttribute::OSGNV_PARAMETER_BLOCK); - I_EnumLabel(osg::StateAttribute::OSGNVEXT_TEXTURE_SHADER); - I_EnumLabel(osg::StateAttribute::OSGNVEXT_VERTEX_PROGRAM); - I_EnumLabel(osg::StateAttribute::OSGNVEXT_REGISTER_COMBINERS); - I_EnumLabel(osg::StateAttribute::OSGNVCG_PROGRAM); - I_EnumLabel(osg::StateAttribute::OSGNVSLANG_PROGRAM); - I_EnumLabel(osg::StateAttribute::OSGNVPARSE_PROGRAM_PARSER); -END_REFLECTOR - -TYPE_NAME_ALIAS(GLenum, osg::StateAttribute::GLMode) - -TYPE_NAME_ALIAS(unsigned int, osg::StateAttribute::GLModeValue) - -TYPE_NAME_ALIAS(unsigned int, osg::StateAttribute::OverrideValue) - -TYPE_NAME_ALIAS(std::pair< osg::StateAttribute::Type COMMA unsigned int >, osg::StateAttribute::TypeMemberPair) - -TYPE_NAME_ALIAS(std::vector< osg::StateSet * >, osg::StateAttribute::ParentList) - -TYPE_NAME_ALIAS(osg::StateAttributeCallback, osg::StateAttribute::Callback) - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute) - I_DeclaringFile("osg/StateAttribute"); - I_BaseType(osg::Object); - I_Constructor0(____StateAttribute, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::StateAttribute &, sa, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____StateAttribute__C5_StateAttribute_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::PURE_VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::PURE_VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::Texture *, asTexture, - Properties::VIRTUAL, - __Texture_P1__asTexture, - "Fast alternative to dynamic_cast<> for determining if state attribute is a Texture. ", - ""); - I_Method0(const osg::Texture *, asTexture, - Properties::VIRTUAL, - __C5_Texture_P1__asTexture, - "Fast alternative to dynamic_cast<> for determining if state attribute is a Texture. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::PURE_VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method0(unsigned int, getMember, - Properties::VIRTUAL, - __unsigned_int__getMember, - "Return the member identifier within the attribute's class type. ", - "Used for light number/clip plane number etc. "); - I_Method0(osg::StateAttribute::TypeMemberPair, getTypeMemberPair, - Properties::NON_VIRTUAL, - __TypeMemberPair__getTypeMemberPair, - "Return the TypeMemberPair that uniquely identifies this type member. ", - ""); - I_Method0(bool, isTextureAttribute, - Properties::VIRTUAL, - __bool__isTextureAttribute, - "Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::PURE_VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(const osg::StateAttribute::ParentList &, getParents, - Properties::NON_VIRTUAL, - __C5_ParentList_R1__getParents, - "Get the parent list of this StateAttribute. ", - ""); - I_Method1(osg::StateSet *, getParent, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __StateSet_P1__getParent__unsigned_int, - "", - ""); - I_Method1(const osg::StateSet *, getParent, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_StateSet_P1__getParent__unsigned_int, - "Get a single const parent of this StateAttribute. ", - " param i index of the parent to get. return the parent i. "); - I_Method0(unsigned int, getNumParents, - Properties::NON_VIRTUAL, - __unsigned_int__getNumParents, - "Get the number of parents of this StateAttribute. ", - "the number of parents of this StateAttribute. "); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x, - Properties::VIRTUAL, - __bool__checkValidityOfAssociatedModes__osg_State_R1, - "Check the modes associated with this StateAttribute are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. ", - "Return true if all associated modes are valid. "); - I_Method1(void, setUpdateCallback, IN, osg::StateAttributeCallback *, uc, - Properties::NON_VIRTUAL, - __void__setUpdateCallback__StateAttributeCallback_P1, - "Set the UpdateCallback which allows users to attach customize the updating of an object during the update traversal. ", - ""); - I_Method0(osg::StateAttributeCallback *, getUpdateCallback, - Properties::NON_VIRTUAL, - __StateAttributeCallback_P1__getUpdateCallback, - "Get the non const UpdateCallback. ", - ""); - I_Method0(const osg::StateAttributeCallback *, getUpdateCallback, - Properties::NON_VIRTUAL, - __C5_StateAttributeCallback_P1__getUpdateCallback, - "Get the const UpdateCallback. ", - ""); - I_Method1(void, setEventCallback, IN, osg::StateAttributeCallback *, ec, - Properties::NON_VIRTUAL, - __void__setEventCallback__StateAttributeCallback_P1, - "Set the EventCallback which allows users to attach customize the updating of an object during the Event traversal. ", - ""); - I_Method0(osg::StateAttributeCallback *, getEventCallback, - Properties::NON_VIRTUAL, - __StateAttributeCallback_P1__getEventCallback, - "Get the non const EventCallback. ", - ""); - I_Method0(const osg::StateAttributeCallback *, getEventCallback, - Properties::NON_VIRTUAL, - __C5_StateAttributeCallback_P1__getEventCallback, - "Get the const EventCallback. ", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_Method1(void, compileGLObjects, IN, osg::State &, x, - Properties::VIRTUAL, - __void__compileGLObjects__State_R1, - "Default to nothing to compile - all state is applied immediately. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__State_P1, - "Release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ", - ""); - I_ProtectedMethod1(void, addParent, IN, osg::StateSet *, object, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addParent__osg_StateSet_P1, - "", - ""); - I_ProtectedMethod1(void, removeParent, IN, osg::StateSet *, object, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__removeParent__osg_StateSet_P1, - "", - ""); - I_SimpleProperty(osg::StateAttributeCallback *, EventCallback, - __StateAttributeCallback_P1__getEventCallback, - __void__setEventCallback__StateAttributeCallback_P1); - I_SimpleProperty(unsigned int, Member, - __unsigned_int__getMember, - 0); - I_ArrayProperty(osg::StateSet *, Parent, - __StateSet_P1__getParent__unsigned_int, - 0, - __unsigned_int__getNumParents, - 0, - 0, - 0); - I_SimpleProperty(const osg::StateAttribute::ParentList &, Parents, - __C5_ParentList_R1__getParents, - 0); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); - I_SimpleProperty(osg::StateAttribute::TypeMemberPair, TypeMemberPair, - __TypeMemberPair__getTypeMemberPair, - 0); - I_SimpleProperty(osg::StateAttributeCallback *, UpdateCallback, - __StateAttributeCallback_P1__getUpdateCallback, - __void__setUpdateCallback__StateAttributeCallback_P1); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute::ModeUsage) - I_DeclaringFile("osg/StateAttribute"); - I_Constructor0(____ModeUsage, - "", - ""); - I_Method1(void, usesMode, IN, osg::StateAttribute::GLMode, mode, - Properties::PURE_VIRTUAL, - __void__usesMode__GLMode, - "", - ""); - I_Method1(void, usesTextureMode, IN, osg::StateAttribute::GLMode, mode, - Properties::PURE_VIRTUAL, - __void__usesTextureMode__GLMode, - "", - ""); -END_REFLECTOR - -STD_PAIR_REFLECTOR(std::pair< osg::StateAttribute::Type COMMA unsigned int >) - -STD_VECTOR_REFLECTOR(std::vector< osg::StateSet * >) - diff --git a/src/osgWrappers/introspection/osg/StateAttributeCallback.cpp b/src/osgWrappers/introspection/osg/StateAttributeCallback.cpp deleted file mode 100644 index 891ba51ea..000000000 --- a/src/osgWrappers/introspection/osg/StateAttributeCallback.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::StateAttributeCallback) - I_DeclaringFile("osg/StateAttributeCallback"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____StateAttributeCallback, - "", - ""); - I_Constructor2(IN, const osg::StateAttributeCallback &, x, IN, const osg::CopyOp &, x, - ____StateAttributeCallback__C5_StateAttributeCallback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/StateSet.cpp b/src/osgWrappers/introspection/osg/StateSet.cpp deleted file mode 100644 index 1b7c8826c..000000000 --- a/src/osgWrappers/introspection/osg/StateSet.cpp +++ /dev/null @@ -1,819 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::StateSet::RenderingHint) - I_DeclaringFile("osg/StateSet"); - I_EnumLabel(osg::StateSet::DEFAULT_BIN); - I_EnumLabel(osg::StateSet::OPAQUE_BIN); - I_EnumLabel(osg::StateSet::TRANSPARENT_BIN); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::StateSet::RenderBinMode) - I_DeclaringFile("osg/StateSet"); - I_EnumLabel(osg::StateSet::INHERIT_RENDERBIN_DETAILS); - I_EnumLabel(osg::StateSet::USE_RENDERBIN_DETAILS); - I_EnumLabel(osg::StateSet::OVERRIDE_RENDERBIN_DETAILS); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::Object * >, osg::StateSet::ParentList) - -TYPE_NAME_ALIAS(std::map< osg::StateAttribute::GLMode COMMA osg::StateAttribute::GLModeValue >, osg::StateSet::ModeList) - -TYPE_NAME_ALIAS(std::pair< osg::ref_ptr< osg::StateAttribute > COMMA osg::StateAttribute::OverrideValue >, osg::StateSet::RefAttributePair) - -TYPE_NAME_ALIAS(std::map< osg::StateAttribute::TypeMemberPair COMMA osg::StateSet::RefAttributePair >, osg::StateSet::AttributeList) - -TYPE_NAME_ALIAS(std::vector< osg::StateSet::ModeList >, osg::StateSet::TextureModeList) - -TYPE_NAME_ALIAS(std::vector< osg::StateSet::AttributeList >, osg::StateSet::TextureAttributeList) - -TYPE_NAME_ALIAS(std::pair< osg::ref_ptr< osg::Uniform > COMMA osg::StateAttribute::OverrideValue >, osg::StateSet::RefUniformPair) - -TYPE_NAME_ALIAS(std::map< std::string COMMA osg::StateSet::RefUniformPair >, osg::StateSet::UniformList) - -BEGIN_OBJECT_REFLECTOR(osg::StateSet) - I_DeclaringFile("osg/StateSet"); - I_BaseType(osg::Object); - I_Constructor0(____StateSet, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::StateSet &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____StateSet__C5_StateSet_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_MethodWithDefaults2(int, compare, IN, const osg::StateSet &, rhs, , IN, bool, compareAttributeContents, false, - Properties::NON_VIRTUAL, - __int__compare__C5_StateSet_R1__bool, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(const osg::StateSet::ParentList &, getParents, - Properties::NON_VIRTUAL, - __C5_ParentList_R1__getParents, - "Get the parent list of this StateSet. ", - ""); - I_Method0(osg::StateSet::ParentList, getParents, - Properties::NON_VIRTUAL, - __ParentList__getParents, - "Get the a copy of parent list of node. ", - "A copy is returned to prevent modification of the parent list. "); - I_Method1(osg::Object *, getParent, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Object_P1__getParent__unsigned_int, - "", - ""); - I_Method1(const osg::Object *, getParent, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Object_P1__getParent__unsigned_int, - "Get a single const parent of this StateSet. ", - " param i index of the parent to get. return the parent i. "); - I_Method0(unsigned int, getNumParents, - Properties::NON_VIRTUAL, - __unsigned_int__getNumParents, - "Get the number of parents of this StateSet. ", - "the number of parents of this StateSet. "); - I_Method0(void, computeDataVariance, - Properties::VIRTUAL, - __void__computeDataVariance, - "Compute the DataVariance based on an assessment of callback etc. ", - ""); - I_Method0(void, setGlobalDefaults, - Properties::NON_VIRTUAL, - __void__setGlobalDefaults, - "Set all the modes to on or off so that it defines a complete state, typically used for a default global state. ", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "Clear the StateSet of all modes and attributes. ", - ""); - I_Method1(void, merge, IN, const osg::StateSet &, rhs, - Properties::NON_VIRTUAL, - __void__merge__C5_StateSet_R1, - "Merge this StateSet with the StateSet passed as parameter. ", - "Every mode and attribute in this StateSet that is marked with StateAttribute::OVERRIDE is replaced with the equivalent mode or attribute from rhs. "); - I_Method2(void, setMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value, - Properties::NON_VIRTUAL, - __void__setMode__StateAttribute_GLMode__StateAttribute_GLModeValue, - "Set this StateSet to contain the specified GLMode with a given value. ", - "Don't use this method to set modes related to textures. For this purpose, use setTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. "); - I_Method1(void, removeMode, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __void__removeMode__StateAttribute_GLMode, - "Remove mode from this StateSet. ", - "Don't use this method to remove modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. "); - I_Method1(osg::StateAttribute::GLModeValue, getMode, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __StateAttribute_GLModeValue__getMode__StateAttribute_GLMode, - "Get the value for a given GLMode. ", - " param mode The GLMode whose value is desired. return If mode is contained within this StateSet, returns the value associated with it. Otherwise, returns StateAttribute::INHERIT. note Don't use this method to get the value of modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. "); - I_Method1(void, setModeList, IN, osg::StateSet::ModeList &, ml, - Properties::NON_VIRTUAL, - __void__setModeList__ModeList_R1, - "Set the list of all GLModes contained in this StateSet. ", - ""); - I_Method0(osg::StateSet::ModeList &, getModeList, - Properties::NON_VIRTUAL, - __ModeList_R1__getModeList, - "Return the list of all GLModes contained in this StateSet. ", - ""); - I_Method0(const osg::StateSet::ModeList &, getModeList, - Properties::NON_VIRTUAL, - __C5_ModeList_R1__getModeList, - "Return the const list of all GLModes contained in this const StateSet. ", - ""); - I_MethodWithDefaults2(void, setAttribute, IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF, - Properties::NON_VIRTUAL, - __void__setAttribute__StateAttribute_P1__StateAttribute_OverrideValue, - "Set this StateSet to contain specified attribute and override flag. ", - ""); - I_MethodWithDefaults2(void, setAttributeAndModes, IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON, - Properties::NON_VIRTUAL, - __void__setAttributeAndModes__StateAttribute_P1__StateAttribute_GLModeValue, - "Set this StateSet to contain specified attribute and set the associated GLMode's to specified value. ", - ""); - I_MethodWithDefaults2(void, removeAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0, - Properties::NON_VIRTUAL, - __void__removeAttribute__StateAttribute_Type__unsigned_int, - "remove attribute of specified type from StateSet. ", - ""); - I_Method1(void, removeAttribute, IN, osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __void__removeAttribute__StateAttribute_P1, - "remove attribute from StateSet. ", - ""); - I_MethodWithDefaults2(osg::StateAttribute *, getAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0, - Properties::NON_VIRTUAL, - __StateAttribute_P1__getAttribute__StateAttribute_Type__unsigned_int, - "Get specified StateAttribute for specified type. ", - "Returns NULL if no type is contained within StateSet. "); - I_MethodWithDefaults2(const osg::StateAttribute *, getAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0, - Properties::NON_VIRTUAL, - __C5_StateAttribute_P1__getAttribute__StateAttribute_Type__unsigned_int, - "Get specified const StateAttribute for specified type. ", - "Returns NULL if no type is contained within const StateSet. "); - I_MethodWithDefaults2(const osg::StateSet::RefAttributePair *, getAttributePair, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0, - Properties::NON_VIRTUAL, - __C5_RefAttributePair_P1__getAttributePair__StateAttribute_Type__unsigned_int, - "Get specified RefAttributePair for specified type. ", - "Returns NULL if no type is contained within StateSet. "); - I_Method1(void, setAttributeList, IN, osg::StateSet::AttributeList &, al, - Properties::NON_VIRTUAL, - __void__setAttributeList__AttributeList_R1, - "set the list of all StateAttributes contained in this StateSet. ", - ""); - I_Method0(osg::StateSet::AttributeList &, getAttributeList, - Properties::NON_VIRTUAL, - __AttributeList_R1__getAttributeList, - "return the list of all StateAttributes contained in this StateSet. ", - ""); - I_Method0(const osg::StateSet::AttributeList &, getAttributeList, - Properties::NON_VIRTUAL, - __C5_AttributeList_R1__getAttributeList, - "return the const list of all StateAttributes contained in this const StateSet. ", - ""); - I_Method3(void, setTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value, - Properties::NON_VIRTUAL, - __void__setTextureMode__unsigned_int__StateAttribute_GLMode__StateAttribute_GLModeValue, - "Set this StateSet to contain specified GLMode with a given value. ", - " param unit The texture unit to be affected (used with multi-texturing). mode The OpenGL mode to be added to the StateSet. value The value to be assigned to mode. "); - I_Method2(void, removeTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __void__removeTextureMode__unsigned_int__StateAttribute_GLMode, - "Remove texture mode from StateSet. ", - ""); - I_Method2(osg::StateAttribute::GLModeValue, getTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - __StateAttribute_GLModeValue__getTextureMode__unsigned_int__StateAttribute_GLMode, - "Get specified GLModeValue for specified GLMode. ", - "returns INHERIT if no GLModeValue is contained within StateSet. "); - I_Method1(void, setTextureModeList, IN, osg::StateSet::TextureModeList &, tml, - Properties::NON_VIRTUAL, - __void__setTextureModeList__TextureModeList_R1, - "set the list of all Texture related GLModes contained in this StateSet. ", - ""); - I_Method0(osg::StateSet::TextureModeList &, getTextureModeList, - Properties::NON_VIRTUAL, - __TextureModeList_R1__getTextureModeList, - "return the list of all Texture related GLModes contained in this StateSet. ", - ""); - I_Method0(const osg::StateSet::TextureModeList &, getTextureModeList, - Properties::NON_VIRTUAL, - __C5_TextureModeList_R1__getTextureModeList, - "return the const list of all Texture related GLModes contained in this const StateSet. ", - ""); - I_MethodWithDefaults3(void, setTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF, - Properties::NON_VIRTUAL, - __void__setTextureAttribute__unsigned_int__StateAttribute_P1__StateAttribute_OverrideValue, - "Set this StateSet to contain specified attribute and override flag. ", - ""); - I_MethodWithDefaults3(void, setTextureAttributeAndModes, IN, unsigned int, unit, , IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON, - Properties::NON_VIRTUAL, - __void__setTextureAttributeAndModes__unsigned_int__StateAttribute_P1__StateAttribute_GLModeValue, - "Set this StateSet to contain specified attribute and set the associated GLMode's to specified value. ", - ""); - I_Method2(void, removeTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type, - Properties::NON_VIRTUAL, - __void__removeTextureAttribute__unsigned_int__StateAttribute_Type, - "remove texture attribute of specified type from StateSet. ", - ""); - I_Method2(void, removeTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __void__removeTextureAttribute__unsigned_int__StateAttribute_P1, - "remove texture attribute from StateSet. ", - ""); - I_Method2(osg::StateAttribute *, getTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type, - Properties::NON_VIRTUAL, - __StateAttribute_P1__getTextureAttribute__unsigned_int__StateAttribute_Type, - "Get specified Texture related StateAttribute for specified type. ", - "Returns NULL if no type is contained within StateSet. "); - I_Method2(const osg::StateAttribute *, getTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type, - Properties::NON_VIRTUAL, - __C5_StateAttribute_P1__getTextureAttribute__unsigned_int__StateAttribute_Type, - "Get specified Texture related const StateAttribute for specified type. ", - "Returns NULL if no type is contained within const StateSet. "); - I_Method2(const osg::StateSet::RefAttributePair *, getTextureAttributePair, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type, - Properties::NON_VIRTUAL, - __C5_RefAttributePair_P1__getTextureAttributePair__unsigned_int__StateAttribute_Type, - "Get specified Texture related RefAttributePair for specified type. ", - "Returns NULL if no type is contained within StateSet. "); - I_Method1(void, setTextureAttributeList, IN, osg::StateSet::TextureAttributeList &, tal, - Properties::NON_VIRTUAL, - __void__setTextureAttributeList__TextureAttributeList_R1, - "Set the list of all Texture related StateAttributes contained in this StateSet. ", - ""); - I_Method0(osg::StateSet::TextureAttributeList &, getTextureAttributeList, - Properties::NON_VIRTUAL, - __TextureAttributeList_R1__getTextureAttributeList, - "Return the list of all Texture related StateAttributes contained in this StateSet. ", - ""); - I_Method0(const osg::StateSet::TextureAttributeList &, getTextureAttributeList, - Properties::NON_VIRTUAL, - __C5_TextureAttributeList_R1__getTextureAttributeList, - "Return the const list of all Texture related StateAttributes contained in this const StateSet. ", - ""); - I_Method2(void, setAssociatedModes, IN, const osg::StateAttribute *, attribute, IN, osg::StateAttribute::GLModeValue, value, - Properties::NON_VIRTUAL, - __void__setAssociatedModes__C5_StateAttribute_P1__StateAttribute_GLModeValue, - "", - ""); - I_Method1(void, removeAssociatedModes, IN, const osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __void__removeAssociatedModes__C5_StateAttribute_P1, - "", - ""); - I_Method3(void, setAssociatedTextureModes, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute, IN, osg::StateAttribute::GLModeValue, value, - Properties::NON_VIRTUAL, - __void__setAssociatedTextureModes__unsigned_int__C5_StateAttribute_P1__StateAttribute_GLModeValue, - "", - ""); - I_Method2(void, removeAssociatedTextureModes, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - __void__removeAssociatedTextureModes__unsigned_int__C5_StateAttribute_P1, - "", - ""); - I_MethodWithDefaults2(void, addUniform, IN, osg::Uniform *, uniform, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::ON, - Properties::NON_VIRTUAL, - __void__addUniform__Uniform_P1__StateAttribute_OverrideValue, - "Set this StateSet to contain specified uniform and override flag. ", - ""); - I_Method1(void, removeUniform, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__removeUniform__C5_std_string_R1, - "remove uniform of specified name from StateSet. ", - ""); - I_Method1(void, removeUniform, IN, osg::Uniform *, uniform, - Properties::NON_VIRTUAL, - __void__removeUniform__Uniform_P1, - "remove Uniform from StateSet. ", - ""); - I_Method1(osg::Uniform *, getUniform, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __Uniform_P1__getUniform__C5_std_string_R1, - "Get Uniform for specified name. ", - "Returns NULL if no matching Uniform is contained within StateSet. "); - I_MethodWithDefaults3(osg::Uniform *, getOrCreateUniform, IN, const std::string &, name, , IN, osg::Uniform::Type, type, , IN, unsigned int, numElements, 1, - Properties::NON_VIRTUAL, - __Uniform_P1__getOrCreateUniform__C5_std_string_R1__Uniform_Type__unsigned_int, - "Get Uniform for specified name, if one is not available create it, add it to this StateSet and return a pointer to it. ", - ""); - I_Method1(const osg::Uniform *, getUniform, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __C5_Uniform_P1__getUniform__C5_std_string_R1, - "Get const Uniform for specified name. ", - "Returns NULL if no matching Uniform is contained within StateSet. "); - I_Method1(const osg::StateSet::RefUniformPair *, getUniformPair, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __C5_RefUniformPair_P1__getUniformPair__C5_std_string_R1, - "Get specified RefUniformPair for specified Uniform name. ", - "Returns NULL if no Uniform is contained within StateSet. "); - I_Method1(void, setUniformList, IN, osg::StateSet::UniformList &, al, - Properties::NON_VIRTUAL, - __void__setUniformList__UniformList_R1, - "set the list of all Uniforms contained in this StateSet. ", - ""); - I_Method0(osg::StateSet::UniformList &, getUniformList, - Properties::NON_VIRTUAL, - __UniformList_R1__getUniformList, - "return the list of all Uniforms contained in this StateSet. ", - ""); - I_Method0(const osg::StateSet::UniformList &, getUniformList, - Properties::NON_VIRTUAL, - __C5_UniformList_R1__getUniformList, - "return the const list of all Uniforms contained in this const StateSet. ", - ""); - I_Method1(void, setRenderingHint, IN, int, hint, - Properties::NON_VIRTUAL, - __void__setRenderingHint__int, - "Set the RenderingHint of this StateSet. ", - "RenderingHint is used by the renderer to determine which draw bin to drop associated osg::Drawables in. Typically, users will set this to either StateSet::OPAQUE_BIN or StateSet::TRANSPARENT_BIN. Drawables in the opaque bin are sorted by their StateSet, so that the number of expensive changes in the OpenGL state is minimized. Drawables in the transparent bin are sorted by depth, so that objects farther from the viewer are rendered first (and hence alpha blending works nicely for translucent objects). "); - I_Method0(int, getRenderingHint, - Properties::NON_VIRTUAL, - __int__getRenderingHint, - "Get the RenderingHint of this StateSet. ", - ""); - I_MethodWithDefaults3(void, setRenderBinDetails, IN, int, binNum, , IN, const std::string &, binName, , IN, osg::StateSet::RenderBinMode, mode, osg::StateSet::USE_RENDERBIN_DETAILS, - Properties::NON_VIRTUAL, - __void__setRenderBinDetails__int__C5_std_string_R1__RenderBinMode, - "Set the render bin details. ", - ""); - I_Method0(void, setRenderBinToInherit, - Properties::NON_VIRTUAL, - __void__setRenderBinToInherit, - "Set the render bin details to inherit. ", - ""); - I_Method0(bool, useRenderBinDetails, - Properties::NON_VIRTUAL, - __bool__useRenderBinDetails, - "Get whether the render bin details are set and should be used. ", - ""); - I_Method1(void, setRenderBinMode, IN, osg::StateSet::RenderBinMode, mode, - Properties::NON_VIRTUAL, - __void__setRenderBinMode__RenderBinMode, - "Set the render bin mode. ", - ""); - I_Method0(osg::StateSet::RenderBinMode, getRenderBinMode, - Properties::NON_VIRTUAL, - __RenderBinMode__getRenderBinMode, - "Get the render bin mode. ", - ""); - I_Method1(void, setBinNumber, IN, int, num, - Properties::NON_VIRTUAL, - __void__setBinNumber__int, - "Set the render bin number. ", - ""); - I_Method0(int, getBinNumber, - Properties::NON_VIRTUAL, - __int__getBinNumber, - "Get the render bin number. ", - ""); - I_Method1(void, setBinName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setBinName__C5_std_string_R1, - "Set the render bin name. ", - ""); - I_Method0(const std::string &, getBinName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getBinName, - "Get the render bin name. ", - ""); - I_Method1(void, setNestRenderBins, IN, bool, val, - Properties::NON_VIRTUAL, - __void__setNestRenderBins__bool, - "By default render bins will be nested within each other dependent upon where they are set in the scene graph. ", - "This can be problematic if a transparent render bin is attached to an opaque render bin which is attached to another transparent render bin as these render bins will be sorted separately, giving the wrong draw ordering for back-to-front transparency. Therefore, to prevent render bins being nested, call setNestRenderBins(false). "); - I_Method0(bool, getNestRenderBins, - Properties::NON_VIRTUAL, - __bool__getNestRenderBins, - "Get whether associated RenderBin should be nested within parents RenderBin. ", - ""); - I_Method1(void, setUpdateCallback, IN, osg::StateSet::Callback *, ac, - Properties::NON_VIRTUAL, - __void__setUpdateCallback__Callback_P1, - "Set the Update Callback which allows users to attach customize the updating of an object during the update traversal. ", - ""); - I_Method0(osg::StateSet::Callback *, getUpdateCallback, - Properties::NON_VIRTUAL, - __Callback_P1__getUpdateCallback, - "Get the non const Update Callback. ", - ""); - I_Method0(const osg::StateSet::Callback *, getUpdateCallback, - Properties::NON_VIRTUAL, - __C5_Callback_P1__getUpdateCallback, - "Get the const Update Callback. ", - ""); - I_Method0(bool, requiresUpdateTraversal, - Properties::NON_VIRTUAL, - __bool__requiresUpdateTraversal, - "Return whether this StateSet has update callbacks associated with it, and therefore must be traversed. ", - ""); - I_Method0(unsigned int, getNumChildrenRequiringUpdateTraversal, - Properties::NON_VIRTUAL, - __unsigned_int__getNumChildrenRequiringUpdateTraversal, - "Get the number of Objects of this StateSet which require Update traversal, since they have an Update Callback attached to them or their children. ", - ""); - I_Method1(void, runUpdateCallbacks, IN, osg::NodeVisitor *, nv, - Properties::NON_VIRTUAL, - __void__runUpdateCallbacks__osg_NodeVisitor_P1, - "Run the update callbacks attached directly to this StateSet or to its children. ", - ""); - I_Method1(void, setEventCallback, IN, osg::StateSet::Callback *, ac, - Properties::NON_VIRTUAL, - __void__setEventCallback__Callback_P1, - "Set the Event Callback which allows users to attach customize the updating of an object during the event traversal. ", - ""); - I_Method0(osg::StateSet::Callback *, getEventCallback, - Properties::NON_VIRTUAL, - __Callback_P1__getEventCallback, - "Get the non const Event Callback. ", - ""); - I_Method0(const osg::StateSet::Callback *, getEventCallback, - Properties::NON_VIRTUAL, - __C5_Callback_P1__getEventCallback, - "Get the const Event Callback. ", - ""); - I_Method0(bool, requiresEventTraversal, - Properties::NON_VIRTUAL, - __bool__requiresEventTraversal, - "Return whether this StateSet has event callbacks associated with it, and therefore must be traversed. ", - ""); - I_Method0(unsigned int, getNumChildrenRequiringEventTraversal, - Properties::NON_VIRTUAL, - __unsigned_int__getNumChildrenRequiringEventTraversal, - "Get the number of Objects of this StateSet which require Event traversal, since they have an Eevnt Callback attached to them or their children. ", - ""); - I_Method1(void, runEventCallbacks, IN, osg::NodeVisitor *, nv, - Properties::NON_VIRTUAL, - __void__runEventCallbacks__osg_NodeVisitor_P1, - "Run the event callbacks attached directly to this StateSet or to its children. ", - ""); - I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, state, - Properties::NON_VIRTUAL, - __bool__checkValidityOfAssociatedModes__State_R1, - "Check the modes associated with this StateSet are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. ", - "Return true if all associated modes are valid. "); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, compileGLObjects, IN, osg::State &, state, - Properties::NON_VIRTUAL, - __void__compileGLObjects__State_R1, - "call compile on all StateAttributes contained within this StateSet. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__State_P1, - "call release on all StateAttributes contained within this StateSet. ", - ""); - I_ProtectedMethod1(void, addParent, IN, osg::Object *, object, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addParent__osg_Object_P1, - "", - ""); - I_ProtectedMethod1(void, removeParent, IN, osg::Object *, object, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__removeParent__osg_Object_P1, - "", - ""); - I_ProtectedMethod1(osg::StateSet::ModeList &, getOrCreateTextureModeList, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __ModeList_R1__getOrCreateTextureModeList__unsigned_int, - "", - ""); - I_ProtectedMethod1(osg::StateSet::AttributeList &, getOrCreateTextureAttributeList, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __AttributeList_R1__getOrCreateTextureAttributeList__unsigned_int, - "", - ""); - I_ProtectedMethod2(int, compareModes, IN, const osg::StateSet::ModeList &, lhs, IN, const osg::StateSet::ModeList &, rhs, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __int__compareModes__C5_ModeList_R1__C5_ModeList_R1, - "", - ""); - I_ProtectedMethod2(int, compareAttributePtrs, IN, const osg::StateSet::AttributeList &, lhs, IN, const osg::StateSet::AttributeList &, rhs, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __int__compareAttributePtrs__C5_AttributeList_R1__C5_AttributeList_R1, - "", - ""); - I_ProtectedMethod2(int, compareAttributeContents, IN, const osg::StateSet::AttributeList &, lhs, IN, const osg::StateSet::AttributeList &, rhs, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __int__compareAttributeContents__C5_AttributeList_R1__C5_AttributeList_R1, - "", - ""); - I_ProtectedMethod3(void, setMode, IN, osg::StateSet::ModeList &, modeList, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setMode__ModeList_R1__StateAttribute_GLMode__StateAttribute_GLModeValue, - "", - ""); - I_ProtectedMethod2(void, setModeToInherit, IN, osg::StateSet::ModeList &, modeList, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setModeToInherit__ModeList_R1__StateAttribute_GLMode, - "", - ""); - I_ProtectedMethod2(osg::StateAttribute::GLModeValue, getMode, IN, const osg::StateSet::ModeList &, modeList, IN, osg::StateAttribute::GLMode, mode, - Properties::NON_VIRTUAL, - Properties::CONST, - __StateAttribute_GLModeValue__getMode__C5_ModeList_R1__StateAttribute_GLMode, - "", - ""); - I_ProtectedMethodWithDefaults3(void, setAttribute, IN, osg::StateSet::AttributeList &, attributeList, , IN, osg::StateAttribute *, attribute, , IN, const osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setAttribute__AttributeList_R1__StateAttribute_P1__C5_StateAttribute_OverrideValue, - "", - ""); - I_ProtectedMethod3(osg::StateAttribute *, getAttribute, IN, osg::StateSet::AttributeList &, attributeList, IN, const osg::StateAttribute::Type, type, IN, unsigned int, member, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __StateAttribute_P1__getAttribute__AttributeList_R1__C5_StateAttribute_Type__unsigned_int, - "", - ""); - I_ProtectedMethod3(const osg::StateAttribute *, getAttribute, IN, const osg::StateSet::AttributeList &, attributeList, IN, const osg::StateAttribute::Type, type, IN, unsigned int, member, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_StateAttribute_P1__getAttribute__C5_AttributeList_R1__C5_StateAttribute_Type__unsigned_int, - "", - ""); - I_ProtectedMethod3(const osg::StateSet::RefAttributePair *, getAttributePair, IN, const osg::StateSet::AttributeList &, attributeList, IN, const osg::StateAttribute::Type, type, IN, unsigned int, member, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_RefAttributePair_P1__getAttributePair__C5_AttributeList_R1__C5_StateAttribute_Type__unsigned_int, - "", - ""); - I_ProtectedMethod1(void, setNumChildrenRequiringUpdateTraversal, IN, unsigned int, num, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setNumChildrenRequiringUpdateTraversal__unsigned_int, - "", - ""); - I_ProtectedMethod1(void, setNumChildrenRequiringEventTraversal, IN, unsigned int, num, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setNumChildrenRequiringEventTraversal__unsigned_int, - "", - ""); - I_SimpleProperty(osg::StateSet::AttributeList &, AttributeList, - __AttributeList_R1__getAttributeList, - __void__setAttributeList__AttributeList_R1); - I_SimpleProperty(const std::string &, BinName, - __C5_std_string_R1__getBinName, - __void__setBinName__C5_std_string_R1); - I_SimpleProperty(int, BinNumber, - __int__getBinNumber, - __void__setBinNumber__int); - I_SimpleProperty(osg::StateSet::Callback *, EventCallback, - __Callback_P1__getEventCallback, - __void__setEventCallback__Callback_P1); - - I_SimpleProperty(osg::StateSet::ModeList &, ModeList, - __ModeList_R1__getModeList, - __void__setModeList__ModeList_R1); - I_SimpleProperty(bool, NestRenderBins, - __bool__getNestRenderBins, - __void__setNestRenderBins__bool); - I_ArrayProperty(osg::Object *, Parent, - __Object_P1__getParent__unsigned_int, - 0, - __unsigned_int__getNumParents, - 0, - 0, - 0); - I_SimpleProperty(osg::StateSet::ParentList, Parents, - __ParentList__getParents, - 0); - I_SimpleProperty(osg::StateSet::RenderBinMode, RenderBinMode, - __RenderBinMode__getRenderBinMode, - __void__setRenderBinMode__RenderBinMode); - I_SimpleProperty(int, RenderingHint, - __int__getRenderingHint, - __void__setRenderingHint__int); - I_SimpleProperty(osg::StateSet::TextureAttributeList &, TextureAttributeList, - __TextureAttributeList_R1__getTextureAttributeList, - __void__setTextureAttributeList__TextureAttributeList_R1); - I_IndexedProperty(osg::StateAttribute::GLModeValue, TextureMode, - __StateAttribute_GLModeValue__getTextureMode__unsigned_int__StateAttribute_GLMode, - __void__setTextureMode__unsigned_int__StateAttribute_GLMode__StateAttribute_GLModeValue, - 0); - I_SimpleProperty(osg::StateSet::TextureModeList &, TextureModeList, - __TextureModeList_R1__getTextureModeList, - __void__setTextureModeList__TextureModeList_R1); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); - I_SimpleProperty(osg::StateSet::UniformList &, UniformList, - __UniformList_R1__getUniformList, - __void__setUniformList__UniformList_R1); - I_SimpleProperty(osg::StateSet::Callback *, UpdateCallback, - __Callback_P1__getUpdateCallback, - __void__setUpdateCallback__Callback_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::StateSet::Callback) - I_DeclaringFile("osg/StateSet"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____Callback, - "", - ""); - I_Constructor2(IN, const osg::StateSet::Callback &, x, IN, const osg::CopyOp &, x, - ____Callback__C5_Callback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::StateAttribute >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::StateAttribute *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::StateAttribute > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::StateAttribute > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::StateAttribute *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::StateAttribute *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::StateAttribute > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::StateAttribute *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Uniform >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Uniform *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Uniform > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Uniform > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Uniform *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Uniform *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Uniform > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Uniform *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR_WITH_TYPES(std::map< osg::StateAttribute::GLMode COMMA osg::StateAttribute::GLModeValue >, osg::StateAttribute::GLMode, osg::StateAttribute::Values) -STD_MAP_REFLECTOR(std::map< osg::StateAttribute::TypeMemberPair COMMA osg::StateSet::RefAttributePair >) - -STD_MAP_REFLECTOR(std::map< std::string COMMA osg::StateSet::RefUniformPair >) - -STD_PAIR_REFLECTOR(std::pair< osg::ref_ptr< osg::StateAttribute > COMMA osg::StateAttribute::OverrideValue >) - -STD_PAIR_REFLECTOR(std::pair< osg::ref_ptr< osg::Uniform > COMMA osg::StateAttribute::OverrideValue >) - -STD_VECTOR_REFLECTOR(std::vector< osg::Object * >) - -STD_VECTOR_REFLECTOR(std::vector< osg::StateSet::AttributeList >) - -STD_VECTOR_REFLECTOR(std::vector< osg::StateSet::ModeList >) - diff --git a/src/osgWrappers/introspection/osg/Stats.cpp b/src/osgWrappers/introspection/osg/Stats.cpp deleted file mode 100644 index 2487df921..000000000 --- a/src/osgWrappers/introspection/osg/Stats.cpp +++ /dev/null @@ -1,158 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::map< std::string COMMA double >, osg::Stats::AttributeMap) - -TYPE_NAME_ALIAS(std::vector< osg::Stats::AttributeMap >, osg::Stats::AttributeMapList) - -TYPE_NAME_ALIAS(std::map< std::string COMMA bool >, osg::Stats::CollectMap) - -BEGIN_OBJECT_REFLECTOR(osg::Stats) - I_DeclaringFile("osg/Stats"); - I_BaseType(osg::Referenced); - I_Constructor1(IN, const std::string &, name, - Properties::NON_EXPLICIT, - ____Stats__C5_std_string_R1, - "", - ""); - I_Constructor2(IN, const std::string &, name, IN, unsigned int, numberOfFrames, - ____Stats__C5_std_string_R1__unsigned_int, - "", - ""); - I_Method1(void, setName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setName__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getName, - "", - ""); - I_Method1(void, allocate, IN, unsigned int, numberOfFrames, - Properties::NON_VIRTUAL, - __void__allocate__unsigned_int, - "", - ""); - I_Method0(int, getEarliestFrameNumber, - Properties::NON_VIRTUAL, - __int__getEarliestFrameNumber, - "", - ""); - I_Method0(int, getLatestFrameNumber, - Properties::NON_VIRTUAL, - __int__getLatestFrameNumber, - "", - ""); - I_Method3(bool, setAttribute, IN, int, frameNumber, IN, const std::string &, attributeName, IN, double, value, - Properties::NON_VIRTUAL, - __bool__setAttribute__int__C5_std_string_R1__double, - "", - ""); - I_Method3(bool, getAttribute, IN, int, frameNumber, IN, const std::string &, attributeName, IN, double &, value, - Properties::NON_VIRTUAL, - __bool__getAttribute__int__C5_std_string_R1__double_R1, - "", - ""); - I_MethodWithDefaults3(bool, getAveragedAttribute, IN, const std::string &, attributeName, , IN, double &, value, , IN, bool, averageInInverseSpace, false, - Properties::NON_VIRTUAL, - __bool__getAveragedAttribute__C5_std_string_R1__double_R1__bool, - "", - ""); - I_MethodWithDefaults5(bool, getAveragedAttribute, IN, int, startFrameNumber, , IN, int, endFrameNumber, , IN, const std::string &, attributeName, , IN, double &, value, , IN, bool, averageInInverseSpace, false, - Properties::NON_VIRTUAL, - __bool__getAveragedAttribute__int__int__C5_std_string_R1__double_R1__bool, - "", - ""); - I_Method1(osg::Stats::AttributeMap &, getAttributeMap, IN, int, frameNumber, - Properties::NON_VIRTUAL, - __AttributeMap_R1__getAttributeMap__int, - "", - ""); - I_Method1(const osg::Stats::AttributeMap &, getAttributeMap, IN, int, frameNumber, - Properties::NON_VIRTUAL, - __C5_AttributeMap_R1__getAttributeMap__int, - "", - ""); - I_Method2(void, collectStats, IN, const std::string &, str, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__collectStats__C5_std_string_R1__bool, - "", - ""); - I_Method1(bool, collectStats, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __bool__collectStats__C5_std_string_R1, - "", - ""); - I_MethodWithDefaults2(void, report, IN, std::ostream &, out, , IN, const char *, indent, 0, - Properties::NON_VIRTUAL, - __void__report__std_ostream_R1__C5_char_P1, - "", - ""); - I_MethodWithDefaults3(void, report, IN, std::ostream &, out, , IN, unsigned int, frameNumber, , IN, const char *, indent, 0, - Properties::NON_VIRTUAL, - __void__report__std_ostream_R1__unsigned_int__C5_char_P1, - "", - ""); - I_ProtectedMethod3(bool, getAttributeNoMutex, IN, int, frameNumber, IN, const std::string &, attributeName, IN, double &, value, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__getAttributeNoMutex__int__C5_std_string_R1__double_R1, - "", - ""); - I_ProtectedMethod1(osg::Stats::AttributeMap &, getAttributeMapNoMutex, IN, int, frameNumber, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __AttributeMap_R1__getAttributeMapNoMutex__int, - "", - ""); - I_ProtectedMethod1(const osg::Stats::AttributeMap &, getAttributeMapNoMutex, IN, int, frameNumber, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_AttributeMap_R1__getAttributeMapNoMutex__int, - "", - ""); - I_ProtectedMethod1(int, getIndex, IN, int, frameNumber, - Properties::NON_VIRTUAL, - Properties::CONST, - __int__getIndex__int, - "", - ""); - I_SimpleProperty(int, EarliestFrameNumber, - __int__getEarliestFrameNumber, - 0); - I_SimpleProperty(int, LatestFrameNumber, - __int__getLatestFrameNumber, - 0); - I_SimpleProperty(const std::string &, Name, - __C5_std_string_R1__getName, - __void__setName__C5_std_string_R1); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< std::string COMMA bool >) - -STD_MAP_REFLECTOR(std::map< std::string COMMA double >) - -STD_VECTOR_REFLECTOR(std::vector< osg::Stats::AttributeMap >) - diff --git a/src/osgWrappers/introspection/osg/Stencil.cpp b/src/osgWrappers/introspection/osg/Stencil.cpp deleted file mode 100644 index 0f8b8e22b..000000000 --- a/src/osgWrappers/introspection/osg/Stencil.cpp +++ /dev/null @@ -1,213 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Stencil::Function) - I_DeclaringFile("osg/Stencil"); - I_EnumLabel(osg::Stencil::NEVER); - I_EnumLabel(osg::Stencil::LESS); - I_EnumLabel(osg::Stencil::EQUAL); - I_EnumLabel(osg::Stencil::LEQUAL); - I_EnumLabel(osg::Stencil::GREATER); - I_EnumLabel(osg::Stencil::NOTEQUAL); - I_EnumLabel(osg::Stencil::GEQUAL); - I_EnumLabel(osg::Stencil::ALWAYS); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Stencil::Operation) - I_DeclaringFile("osg/Stencil"); - I_EnumLabel(osg::Stencil::KEEP); - I_EnumLabel(osg::Stencil::ZERO); - I_EnumLabel(osg::Stencil::REPLACE); - I_EnumLabel(osg::Stencil::INCR); - I_EnumLabel(osg::Stencil::DECR); - I_EnumLabel(osg::Stencil::INVERT); - I_EnumLabel(osg::Stencil::INCR_WRAP); - I_EnumLabel(osg::Stencil::DECR_WRAP); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Stencil) - I_DeclaringFile("osg/Stencil"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Stencil, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Stencil &, stencil, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Stencil__C5_Stencil_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method3(void, setFunction, IN, osg::Stencil::Function, func, IN, int, ref, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setFunction__Function__int__unsigned_int, - "", - ""); - I_Method1(void, setFunction, IN, osg::Stencil::Function, func, - Properties::NON_VIRTUAL, - __void__setFunction__Function, - "", - ""); - I_Method0(osg::Stencil::Function, getFunction, - Properties::NON_VIRTUAL, - __Function__getFunction, - "", - ""); - I_Method1(void, setFunctionRef, IN, int, ref, - Properties::NON_VIRTUAL, - __void__setFunctionRef__int, - "", - ""); - I_Method0(int, getFunctionRef, - Properties::NON_VIRTUAL, - __int__getFunctionRef, - "", - ""); - I_Method1(void, setFunctionMask, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setFunctionMask__unsigned_int, - "", - ""); - I_Method0(unsigned int, getFunctionMask, - Properties::NON_VIRTUAL, - __unsigned_int__getFunctionMask, - "", - ""); - I_Method3(void, setOperation, IN, osg::Stencil::Operation, sfail, IN, osg::Stencil::Operation, zfail, IN, osg::Stencil::Operation, zpass, - Properties::NON_VIRTUAL, - __void__setOperation__Operation__Operation__Operation, - "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 operation when the stencil test passes, but depth test fails. The third parameter controls the operation when both the stencil test and depth pass. Ordering of parameter is the same as if using glStencilOp(,,). "); - I_Method1(void, setStencilFailOperation, IN, osg::Stencil::Operation, sfail, - Properties::NON_VIRTUAL, - __void__setStencilFailOperation__Operation, - "set the operation when the stencil test fails. ", - ""); - I_Method0(osg::Stencil::Operation, getStencilFailOperation, - Properties::NON_VIRTUAL, - __Operation__getStencilFailOperation, - "get the operation when the stencil test fails. ", - ""); - I_Method1(void, setStencilPassAndDepthFailOperation, IN, osg::Stencil::Operation, zfail, - Properties::NON_VIRTUAL, - __void__setStencilPassAndDepthFailOperation__Operation, - "set the operation when the stencil test passes but the depth test fails. ", - ""); - I_Method0(osg::Stencil::Operation, getStencilPassAndDepthFailOperation, - Properties::NON_VIRTUAL, - __Operation__getStencilPassAndDepthFailOperation, - "get the operation when the stencil test passes but the depth test fails. ", - ""); - I_Method1(void, setStencilPassAndDepthPassOperation, IN, osg::Stencil::Operation, zpass, - Properties::NON_VIRTUAL, - __void__setStencilPassAndDepthPassOperation__Operation, - "set the operation when both the stencil test and the depth test pass. ", - ""); - I_Method0(osg::Stencil::Operation, getStencilPassAndDepthPassOperation, - Properties::NON_VIRTUAL, - __Operation__getStencilPassAndDepthPassOperation, - "get the operation when both the stencil test and the depth test pass. ", - ""); - I_Method1(void, setWriteMask, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setWriteMask__unsigned_int, - "", - ""); - I_Method0(unsigned int, getWriteMask, - Properties::NON_VIRTUAL, - __unsigned_int__getWriteMask, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(osg::Stencil::Function, Function, - __Function__getFunction, - __void__setFunction__Function); - I_SimpleProperty(unsigned int, FunctionMask, - __unsigned_int__getFunctionMask, - __void__setFunctionMask__unsigned_int); - I_SimpleProperty(int, FunctionRef, - __int__getFunctionRef, - __void__setFunctionRef__int); - I_SimpleProperty(osg::Stencil::Operation, StencilFailOperation, - __Operation__getStencilFailOperation, - __void__setStencilFailOperation__Operation); - I_SimpleProperty(osg::Stencil::Operation, StencilPassAndDepthFailOperation, - __Operation__getStencilPassAndDepthFailOperation, - __void__setStencilPassAndDepthFailOperation__Operation); - I_SimpleProperty(osg::Stencil::Operation, StencilPassAndDepthPassOperation, - __Operation__getStencilPassAndDepthPassOperation, - __void__setStencilPassAndDepthPassOperation__Operation); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); - I_SimpleProperty(unsigned int, WriteMask, - __unsigned_int__getWriteMask, - __void__setWriteMask__unsigned_int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/StencilTwoSided.cpp b/src/osgWrappers/introspection/osg/StencilTwoSided.cpp deleted file mode 100644 index d5bc646a5..000000000 --- a/src/osgWrappers/introspection/osg/StencilTwoSided.cpp +++ /dev/null @@ -1,234 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::StencilTwoSided::Face) - I_DeclaringFile("osg/StencilTwoSided"); - I_EnumLabel(osg::StencilTwoSided::FRONT); - I_EnumLabel(osg::StencilTwoSided::BACK); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::StencilTwoSided::Function) - I_DeclaringFile("osg/StencilTwoSided"); - I_EnumLabel(osg::StencilTwoSided::NEVER); - I_EnumLabel(osg::StencilTwoSided::LESS); - I_EnumLabel(osg::StencilTwoSided::EQUAL); - I_EnumLabel(osg::StencilTwoSided::LEQUAL); - I_EnumLabel(osg::StencilTwoSided::GREATER); - I_EnumLabel(osg::StencilTwoSided::NOTEQUAL); - I_EnumLabel(osg::StencilTwoSided::GEQUAL); - I_EnumLabel(osg::StencilTwoSided::ALWAYS); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::StencilTwoSided::Operation) - I_DeclaringFile("osg/StencilTwoSided"); - I_EnumLabel(osg::StencilTwoSided::KEEP); - I_EnumLabel(osg::StencilTwoSided::ZERO); - I_EnumLabel(osg::StencilTwoSided::REPLACE); - I_EnumLabel(osg::StencilTwoSided::INCR); - I_EnumLabel(osg::StencilTwoSided::DECR); - I_EnumLabel(osg::StencilTwoSided::INVERT); - I_EnumLabel(osg::StencilTwoSided::INCR_WRAP); - I_EnumLabel(osg::StencilTwoSided::DECR_WRAP); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided) - I_DeclaringFile("osg/StencilTwoSided"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____StencilTwoSided, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::StencilTwoSided &, stencil, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____StencilTwoSided__C5_StencilTwoSided_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method4(void, setFunction, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Function, func, IN, int, ref, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setFunction__Face__Function__int__unsigned_int, - "", - ""); - I_Method2(void, setFunction, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Function, func, - Properties::NON_VIRTUAL, - __void__setFunction__Face__Function, - "", - ""); - I_Method1(osg::StencilTwoSided::Function, getFunction, IN, osg::StencilTwoSided::Face, face, - Properties::NON_VIRTUAL, - __Function__getFunction__Face, - "", - ""); - I_Method2(void, setFunctionRef, IN, osg::StencilTwoSided::Face, face, IN, int, ref, - Properties::NON_VIRTUAL, - __void__setFunctionRef__Face__int, - "", - ""); - I_Method1(int, getFunctionRef, IN, osg::StencilTwoSided::Face, face, - Properties::NON_VIRTUAL, - __int__getFunctionRef__Face, - "", - ""); - I_Method2(void, setFunctionMask, IN, osg::StencilTwoSided::Face, face, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setFunctionMask__Face__unsigned_int, - "", - ""); - I_Method1(unsigned int, getFunctionMask, IN, osg::StencilTwoSided::Face, face, - Properties::NON_VIRTUAL, - __unsigned_int__getFunctionMask__Face, - "", - ""); - I_Method4(void, setOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, sfail, IN, osg::StencilTwoSided::Operation, zfail, IN, osg::StencilTwoSided::Operation, zpass, - Properties::NON_VIRTUAL, - __void__setOperation__Face__Operation__Operation__Operation, - "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 operation when the stencil test passes, but depth test fails. The third parameter controls the operation when both the stencil test and depth pass. Ordering of parameter is the same as if using glStencilOp(,,). "); - I_Method2(void, setStencilFailOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, sfail, - Properties::NON_VIRTUAL, - __void__setStencilFailOperation__Face__Operation, - "set the operation when the stencil test fails. ", - ""); - I_Method1(osg::StencilTwoSided::Operation, getStencilFailOperation, IN, osg::StencilTwoSided::Face, face, - Properties::NON_VIRTUAL, - __Operation__getStencilFailOperation__Face, - "get the operation when the stencil test fails. ", - ""); - I_Method2(void, setStencilPassAndDepthFailOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, zfail, - Properties::NON_VIRTUAL, - __void__setStencilPassAndDepthFailOperation__Face__Operation, - "set the operation when the stencil test passes but the depth test fails. ", - ""); - I_Method1(osg::StencilTwoSided::Operation, getStencilPassAndDepthFailOperation, IN, osg::StencilTwoSided::Face, face, - Properties::NON_VIRTUAL, - __Operation__getStencilPassAndDepthFailOperation__Face, - "get the operation when the stencil test passes but the depth test fails. ", - ""); - I_Method2(void, setStencilPassAndDepthPassOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, zpass, - Properties::NON_VIRTUAL, - __void__setStencilPassAndDepthPassOperation__Face__Operation, - "set the operation when both the stencil test and the depth test pass. ", - ""); - I_Method1(osg::StencilTwoSided::Operation, getStencilPassAndDepthPassOperation, IN, osg::StencilTwoSided::Face, face, - Properties::NON_VIRTUAL, - __Operation__getStencilPassAndDepthPassOperation__Face, - "get the operation when both the stencil test and the depth test pass. ", - ""); - I_Method2(void, setWriteMask, IN, osg::StencilTwoSided::Face, face, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setWriteMask__Face__unsigned_int, - "", - ""); - I_Method1(unsigned int, getWriteMask, IN, osg::StencilTwoSided::Face, face, - Properties::NON_VIRTUAL, - __unsigned_int__getWriteMask__Face, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_StaticMethod2(osg::StencilTwoSided::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Function to call to get the extension of a specified context. ", - "If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::StencilTwoSided::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "The setExtensions method allows users to override the extensions across graphics contexts. ", - "Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. "); - I_IndexedProperty(osg::StencilTwoSided::Function, Function, - __Function__getFunction__Face, - __void__setFunction__Face__Function, - 0); - I_IndexedProperty(unsigned int, FunctionMask, - __unsigned_int__getFunctionMask__Face, - __void__setFunctionMask__Face__unsigned_int, - 0); - I_IndexedProperty(int, FunctionRef, - __int__getFunctionRef__Face, - __void__setFunctionRef__Face__int, - 0); - I_IndexedProperty(osg::StencilTwoSided::Operation, StencilFailOperation, - __Operation__getStencilFailOperation__Face, - __void__setStencilFailOperation__Face__Operation, - 0); - I_IndexedProperty(osg::StencilTwoSided::Operation, StencilPassAndDepthFailOperation, - __Operation__getStencilPassAndDepthFailOperation__Face, - __void__setStencilPassAndDepthFailOperation__Face__Operation, - 0); - I_IndexedProperty(osg::StencilTwoSided::Operation, StencilPassAndDepthPassOperation, - __Operation__getStencilPassAndDepthPassOperation__Face, - __void__setStencilPassAndDepthPassOperation__Face__Operation, - 0); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); - I_IndexedProperty(unsigned int, WriteMask, - __unsigned_int__getWriteMask__Face, - __void__setWriteMask__Face__unsigned_int, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Switch.cpp b/src/osgWrappers/introspection/osg/Switch.cpp deleted file mode 100644 index b594a0de8..000000000 --- a/src/osgWrappers/introspection/osg/Switch.cpp +++ /dev/null @@ -1,192 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< bool >, osg::Switch::ValueList) - -BEGIN_OBJECT_REFLECTOR(osg::Switch) - I_DeclaringFile("osg/Switch"); - I_BaseType(osg::Group); - I_Constructor0(____Switch, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Switch &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Switch__C5_Switch_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Switch *, asSwitch, - Properties::VIRTUAL, - __Switch_P1__asSwitch, - "Convert 'this' into a Switch pointer if Node is a Switch, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(const osg::Switch *, asSwitch, - Properties::VIRTUAL, - __C5_Switch_P1__asSwitch, - "convert 'const this' into a const Switch pointer if Node is a Switch, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(void, setNewChildDefaultValue, IN, bool, value, - Properties::NON_VIRTUAL, - __void__setNewChildDefaultValue__bool, - "", - ""); - I_Method0(bool, getNewChildDefaultValue, - Properties::NON_VIRTUAL, - __bool__getNewChildDefaultValue, - "", - ""); - I_Method1(bool, addChild, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__addChild__Node_P1, - "Add Node to Group. ", - "If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. "); - I_Method2(bool, addChild, IN, osg::Node *, child, IN, bool, value, - Properties::VIRTUAL, - __bool__addChild__Node_P1__bool, - "", - ""); - I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__insertChild__unsigned_int__Node_P1, - "Insert Node to Group at specific location. ", - "The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation. "); - I_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, bool, value, - Properties::VIRTUAL, - __bool__insertChild__unsigned_int__Node_P1__bool, - "", - ""); - I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove, - Properties::VIRTUAL, - __bool__removeChildren__unsigned_int__unsigned_int, - "Remove children from Group. ", - "Note, must be override by subclasses of Group which add per child attributes. "); - I_Method2(void, setValue, IN, unsigned int, pos, IN, bool, value, - Properties::NON_VIRTUAL, - __void__setValue__unsigned_int__bool, - "", - ""); - I_Method1(bool, getValue, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __bool__getValue__unsigned_int, - "", - ""); - I_Method2(void, setChildValue, IN, const osg::Node *, child, IN, bool, value, - Properties::NON_VIRTUAL, - __void__setChildValue__C5_Node_P1__bool, - "", - ""); - I_Method1(bool, getChildValue, IN, const osg::Node *, child, - Properties::NON_VIRTUAL, - __bool__getChildValue__C5_Node_P1, - "", - ""); - I_Method0(bool, setAllChildrenOff, - Properties::NON_VIRTUAL, - __bool__setAllChildrenOff, - "Set all the children off (false), and set the new default child value to off (false). ", - ""); - I_Method0(bool, setAllChildrenOn, - Properties::NON_VIRTUAL, - __bool__setAllChildrenOn, - "Set all the children on (true), and set the new default child value to on (true). ", - ""); - I_Method1(bool, setSingleChildOn, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __bool__setSingleChildOn__unsigned_int, - "Set a single child on, switch off all other children. ", - ""); - I_Method1(void, setValueList, IN, const osg::Switch::ValueList &, values, - Properties::NON_VIRTUAL, - __void__setValueList__C5_ValueList_R1, - "", - ""); - I_Method0(const osg::Switch::ValueList &, getValueList, - Properties::NON_VIRTUAL, - __C5_ValueList_R1__getValueList, - "", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "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(). "); - I_IndexedProperty(bool, ChildValue, - __bool__getChildValue__C5_Node_P1, - __void__setChildValue__C5_Node_P1__bool, - 0); - I_SimpleProperty(bool, NewChildDefaultValue, - __bool__getNewChildDefaultValue, - __void__setNewChildDefaultValue__bool); - I_SimpleProperty(unsigned int, SingleChildOn, - 0, - __bool__setSingleChildOn__unsigned_int); - I_IndexedProperty(bool, Value, - __bool__getValue__unsigned_int, - __void__setValue__unsigned_int__bool, - 0); - I_SimpleProperty(const osg::Switch::ValueList &, ValueList, - __C5_ValueList_R1__getValueList, - __void__setValueList__C5_ValueList_R1); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< bool >) - diff --git a/src/osgWrappers/introspection/osg/TexEnv.cpp b/src/osgWrappers/introspection/osg/TexEnv.cpp deleted file mode 100644 index a02c67b4b..000000000 --- a/src/osgWrappers/introspection/osg/TexEnv.cpp +++ /dev/null @@ -1,131 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::TexEnv::Mode) - I_DeclaringFile("osg/TexEnv"); - I_EnumLabel(osg::TexEnv::DECAL); - I_EnumLabel(osg::TexEnv::MODULATE); - I_EnumLabel(osg::TexEnv::BLEND); - I_EnumLabel(osg::TexEnv::REPLACE); - I_EnumLabel(osg::TexEnv::ADD); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TexEnv) - I_DeclaringFile("osg/TexEnv"); - I_BaseType(osg::StateAttribute); - I_ConstructorWithDefaults1(IN, osg::TexEnv::Mode, mode, osg::TexEnv::MODULATE, - Properties::NON_EXPLICIT, - ____TexEnv__Mode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TexEnv &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TexEnv__C5_TexEnv_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method0(bool, isTextureAttribute, - Properties::VIRTUAL, - __bool__isTextureAttribute, - "Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setMode, IN, osg::TexEnv::Mode, mode, - Properties::NON_VIRTUAL, - __void__setMode__Mode, - "", - ""); - I_Method0(osg::TexEnv::Mode, getMode, - Properties::NON_VIRTUAL, - __Mode__getMode, - "", - ""); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_Vec4_R1, - "", - ""); - I_Method0(osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __Vec4_R1__getColor, - "", - ""); - I_Method0(const osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getColor, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(const osg::Vec4 &, Color, - __C5_Vec4_R1__getColor, - __void__setColor__C5_Vec4_R1); - I_SimpleProperty(osg::TexEnv::Mode, Mode, - __Mode__getMode, - __void__setMode__Mode); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/TexEnvCombine.cpp b/src/osgWrappers/introspection/osg/TexEnvCombine.cpp deleted file mode 100644 index 39f452122..000000000 --- a/src/osgWrappers/introspection/osg/TexEnvCombine.cpp +++ /dev/null @@ -1,372 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::TexEnvCombine::CombineParam) - I_DeclaringFile("osg/TexEnvCombine"); - I_EnumLabel(osg::TexEnvCombine::REPLACE); - I_EnumLabel(osg::TexEnvCombine::MODULATE); - I_EnumLabel(osg::TexEnvCombine::ADD); - I_EnumLabel(osg::TexEnvCombine::ADD_SIGNED); - I_EnumLabel(osg::TexEnvCombine::INTERPOLATE); - I_EnumLabel(osg::TexEnvCombine::SUBTRACT); - I_EnumLabel(osg::TexEnvCombine::DOT3_RGB); - I_EnumLabel(osg::TexEnvCombine::DOT3_RGBA); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::TexEnvCombine::SourceParam) - I_DeclaringFile("osg/TexEnvCombine"); - I_EnumLabel(osg::TexEnvCombine::CONSTANT); - I_EnumLabel(osg::TexEnvCombine::PRIMARY_COLOR); - I_EnumLabel(osg::TexEnvCombine::PREVIOUS); - I_EnumLabel(osg::TexEnvCombine::TEXTURE); - I_EnumLabel(osg::TexEnvCombine::TEXTURE0); - I_EnumLabel(osg::TexEnvCombine::TEXTURE1); - I_EnumLabel(osg::TexEnvCombine::TEXTURE2); - I_EnumLabel(osg::TexEnvCombine::TEXTURE3); - I_EnumLabel(osg::TexEnvCombine::TEXTURE4); - I_EnumLabel(osg::TexEnvCombine::TEXTURE5); - I_EnumLabel(osg::TexEnvCombine::TEXTURE6); - I_EnumLabel(osg::TexEnvCombine::TEXTURE7); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::TexEnvCombine::OperandParam) - I_DeclaringFile("osg/TexEnvCombine"); - I_EnumLabel(osg::TexEnvCombine::SRC_COLOR); - I_EnumLabel(osg::TexEnvCombine::ONE_MINUS_SRC_COLOR); - I_EnumLabel(osg::TexEnvCombine::SRC_ALPHA); - I_EnumLabel(osg::TexEnvCombine::ONE_MINUS_SRC_ALPHA); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TexEnvCombine) - I_DeclaringFile("osg/TexEnvCombine"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____TexEnvCombine, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TexEnvCombine &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TexEnvCombine__C5_TexEnvCombine_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method0(bool, isTextureAttribute, - Properties::VIRTUAL, - __bool__isTextureAttribute, - "Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setCombine_RGB, IN, GLint, cm, - Properties::NON_VIRTUAL, - __void__setCombine_RGB__GLint, - "", - ""); - I_Method1(void, setCombine_Alpha, IN, GLint, cm, - Properties::NON_VIRTUAL, - __void__setCombine_Alpha__GLint, - "", - ""); - I_Method0(GLint, getCombine_RGB, - Properties::NON_VIRTUAL, - __GLint__getCombine_RGB, - "", - ""); - I_Method0(GLint, getCombine_Alpha, - Properties::NON_VIRTUAL, - __GLint__getCombine_Alpha, - "", - ""); - I_Method1(void, setSource0_RGB, IN, GLint, sp, - Properties::NON_VIRTUAL, - __void__setSource0_RGB__GLint, - "", - ""); - I_Method1(void, setSource1_RGB, IN, GLint, sp, - Properties::NON_VIRTUAL, - __void__setSource1_RGB__GLint, - "", - ""); - I_Method1(void, setSource2_RGB, IN, GLint, sp, - Properties::NON_VIRTUAL, - __void__setSource2_RGB__GLint, - "", - ""); - I_Method1(void, setSource0_Alpha, IN, GLint, sp, - Properties::NON_VIRTUAL, - __void__setSource0_Alpha__GLint, - "", - ""); - I_Method1(void, setSource1_Alpha, IN, GLint, sp, - Properties::NON_VIRTUAL, - __void__setSource1_Alpha__GLint, - "", - ""); - I_Method1(void, setSource2_Alpha, IN, GLint, sp, - Properties::NON_VIRTUAL, - __void__setSource2_Alpha__GLint, - "", - ""); - I_Method0(GLint, getSource0_RGB, - Properties::NON_VIRTUAL, - __GLint__getSource0_RGB, - "", - ""); - I_Method0(GLint, getSource1_RGB, - Properties::NON_VIRTUAL, - __GLint__getSource1_RGB, - "", - ""); - I_Method0(GLint, getSource2_RGB, - Properties::NON_VIRTUAL, - __GLint__getSource2_RGB, - "", - ""); - I_Method0(GLint, getSource0_Alpha, - Properties::NON_VIRTUAL, - __GLint__getSource0_Alpha, - "", - ""); - I_Method0(GLint, getSource1_Alpha, - Properties::NON_VIRTUAL, - __GLint__getSource1_Alpha, - "", - ""); - I_Method0(GLint, getSource2_Alpha, - Properties::NON_VIRTUAL, - __GLint__getSource2_Alpha, - "", - ""); - I_Method1(void, setOperand0_RGB, IN, GLint, op, - Properties::NON_VIRTUAL, - __void__setOperand0_RGB__GLint, - "", - ""); - I_Method1(void, setOperand1_RGB, IN, GLint, op, - Properties::NON_VIRTUAL, - __void__setOperand1_RGB__GLint, - "", - ""); - I_Method1(void, setOperand2_RGB, IN, GLint, op, - Properties::NON_VIRTUAL, - __void__setOperand2_RGB__GLint, - "", - ""); - I_Method1(void, setOperand0_Alpha, IN, GLint, op, - Properties::NON_VIRTUAL, - __void__setOperand0_Alpha__GLint, - "", - ""); - I_Method1(void, setOperand1_Alpha, IN, GLint, op, - Properties::NON_VIRTUAL, - __void__setOperand1_Alpha__GLint, - "", - ""); - I_Method1(void, setOperand2_Alpha, IN, GLint, op, - Properties::NON_VIRTUAL, - __void__setOperand2_Alpha__GLint, - "", - ""); - I_Method0(GLint, getOperand0_RGB, - Properties::NON_VIRTUAL, - __GLint__getOperand0_RGB, - "", - ""); - I_Method0(GLint, getOperand1_RGB, - Properties::NON_VIRTUAL, - __GLint__getOperand1_RGB, - "", - ""); - I_Method0(GLint, getOperand2_RGB, - Properties::NON_VIRTUAL, - __GLint__getOperand2_RGB, - "", - ""); - I_Method0(GLint, getOperand0_Alpha, - Properties::NON_VIRTUAL, - __GLint__getOperand0_Alpha, - "", - ""); - I_Method0(GLint, getOperand1_Alpha, - Properties::NON_VIRTUAL, - __GLint__getOperand1_Alpha, - "", - ""); - I_Method0(GLint, getOperand2_Alpha, - Properties::NON_VIRTUAL, - __GLint__getOperand2_Alpha, - "", - ""); - I_Method1(void, setScale_RGB, IN, float, scale, - Properties::NON_VIRTUAL, - __void__setScale_RGB__float, - "", - ""); - I_Method1(void, setScale_Alpha, IN, float, scale, - Properties::NON_VIRTUAL, - __void__setScale_Alpha__float, - "", - ""); - I_Method0(float, getScale_RGB, - Properties::NON_VIRTUAL, - __float__getScale_RGB, - "", - ""); - I_Method0(float, getScale_Alpha, - Properties::NON_VIRTUAL, - __float__getScale_Alpha, - "", - ""); - I_Method1(void, setConstantColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setConstantColor__C5_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getConstantColor, - Properties::NON_VIRTUAL, - __C5_Vec4_R1__getConstantColor, - "", - ""); - I_Method1(void, setConstantColorAsLightDirection, IN, const osg::Vec3 &, direction, - Properties::NON_VIRTUAL, - __void__setConstantColorAsLightDirection__C5_Vec3_R1, - "Set the constant color attribute to the given light direction for use with DOT3 combine operation. ", - ""); - I_Method0(osg::Vec3, getConstantColorAsLightDirection, - Properties::NON_VIRTUAL, - __Vec3__getConstantColorAsLightDirection, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_ProtectedMethod1(bool, needsTexEnvCombiner, IN, GLint, value, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__needsTexEnvCombiner__GLint, - "", - ""); - I_ProtectedMethod0(void, computeNeedForTexEnvCombiners, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computeNeedForTexEnvCombiners, - "", - ""); - I_SimpleProperty(GLint, Combine_Alpha, - __GLint__getCombine_Alpha, - __void__setCombine_Alpha__GLint); - I_SimpleProperty(GLint, Combine_RGB, - __GLint__getCombine_RGB, - __void__setCombine_RGB__GLint); - I_SimpleProperty(const osg::Vec4 &, ConstantColor, - __C5_Vec4_R1__getConstantColor, - __void__setConstantColor__C5_Vec4_R1); - I_SimpleProperty(osg::Vec3, ConstantColorAsLightDirection, - __Vec3__getConstantColorAsLightDirection, - __void__setConstantColorAsLightDirection__C5_Vec3_R1); - I_SimpleProperty(GLint, Operand0_Alpha, - __GLint__getOperand0_Alpha, - __void__setOperand0_Alpha__GLint); - I_SimpleProperty(GLint, Operand0_RGB, - __GLint__getOperand0_RGB, - __void__setOperand0_RGB__GLint); - I_SimpleProperty(GLint, Operand1_Alpha, - __GLint__getOperand1_Alpha, - __void__setOperand1_Alpha__GLint); - I_SimpleProperty(GLint, Operand1_RGB, - __GLint__getOperand1_RGB, - __void__setOperand1_RGB__GLint); - I_SimpleProperty(GLint, Operand2_Alpha, - __GLint__getOperand2_Alpha, - __void__setOperand2_Alpha__GLint); - I_SimpleProperty(GLint, Operand2_RGB, - __GLint__getOperand2_RGB, - __void__setOperand2_RGB__GLint); - I_SimpleProperty(float, Scale_Alpha, - __float__getScale_Alpha, - __void__setScale_Alpha__float); - I_SimpleProperty(float, Scale_RGB, - __float__getScale_RGB, - __void__setScale_RGB__float); - I_SimpleProperty(GLint, Source0_Alpha, - __GLint__getSource0_Alpha, - __void__setSource0_Alpha__GLint); - I_SimpleProperty(GLint, Source0_RGB, - __GLint__getSource0_RGB, - __void__setSource0_RGB__GLint); - I_SimpleProperty(GLint, Source1_Alpha, - __GLint__getSource1_Alpha, - __void__setSource1_Alpha__GLint); - I_SimpleProperty(GLint, Source1_RGB, - __GLint__getSource1_RGB, - __void__setSource1_RGB__GLint); - I_SimpleProperty(GLint, Source2_Alpha, - __GLint__getSource2_Alpha, - __void__setSource2_Alpha__GLint); - I_SimpleProperty(GLint, Source2_RGB, - __GLint__getSource2_RGB, - __void__setSource2_RGB__GLint); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/TexEnvFilter.cpp b/src/osgWrappers/introspection/osg/TexEnvFilter.cpp deleted file mode 100644 index ba57c4535..000000000 --- a/src/osgWrappers/introspection/osg/TexEnvFilter.cpp +++ /dev/null @@ -1,103 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::TexEnvFilter) - I_DeclaringFile("osg/TexEnvFilter"); - I_BaseType(osg::StateAttribute); - I_ConstructorWithDefaults1(IN, float, lodBias, 0.0f, - Properties::NON_EXPLICIT, - ____TexEnvFilter__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TexEnvFilter &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TexEnvFilter__C5_TexEnvFilter_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method0(bool, isTextureAttribute, - Properties::VIRTUAL, - __bool__isTextureAttribute, - "Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setLodBias, IN, float, lodBias, - Properties::NON_VIRTUAL, - __void__setLodBias__float, - "", - ""); - I_Method0(float, getLodBias, - Properties::NON_VIRTUAL, - __float__getLodBias, - "", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(float, LodBias, - __float__getLodBias, - __void__setLodBias__float); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/TexGen.cpp b/src/osgWrappers/introspection/osg/TexGen.cpp deleted file mode 100644 index cb7b8b631..000000000 --- a/src/osgWrappers/introspection/osg/TexGen.cpp +++ /dev/null @@ -1,152 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::TexGen::Mode) - I_DeclaringFile("osg/TexGen"); - I_EnumLabel(osg::TexGen::OBJECT_LINEAR); - I_EnumLabel(osg::TexGen::EYE_LINEAR); - I_EnumLabel(osg::TexGen::SPHERE_MAP); - I_EnumLabel(osg::TexGen::NORMAL_MAP); - I_EnumLabel(osg::TexGen::REFLECTION_MAP); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::TexGen::Coord) - I_DeclaringFile("osg/TexGen"); - I_EnumLabel(osg::TexGen::S); - I_EnumLabel(osg::TexGen::T); - I_EnumLabel(osg::TexGen::R); - I_EnumLabel(osg::TexGen::Q); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TexGen) - I_DeclaringFile("osg/TexGen"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____TexGen, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TexGen &, texgen, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TexGen__C5_TexGen_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method0(bool, isTextureAttribute, - Properties::VIRTUAL, - __bool__isTextureAttribute, - "Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_Method1(void, setMode, IN, osg::TexGen::Mode, mode, - Properties::NON_VIRTUAL, - __void__setMode__Mode, - "", - ""); - I_Method0(osg::TexGen::Mode, getMode, - Properties::NON_VIRTUAL, - __Mode__getMode, - "", - ""); - I_Method2(void, setPlane, IN, osg::TexGen::Coord, which, IN, const osg::Plane &, plane, - Properties::NON_VIRTUAL, - __void__setPlane__Coord__C5_Plane_R1, - "", - ""); - I_Method1(osg::Plane &, getPlane, IN, osg::TexGen::Coord, which, - Properties::NON_VIRTUAL, - __Plane_R1__getPlane__Coord, - "", - ""); - I_Method1(const osg::Plane &, getPlane, IN, osg::TexGen::Coord, which, - Properties::NON_VIRTUAL, - __C5_Plane_R1__getPlane__Coord, - "", - ""); - I_Method1(void, setPlanesFromMatrix, IN, const osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __void__setPlanesFromMatrix__C5_Matrixd_R1, - "Set the tex gen planes from specified matrix. ", - "Typical usage would be to pass in a projection matrix to set up projective texturing. "); - I_SimpleProperty(osg::TexGen::Mode, Mode, - __Mode__getMode, - __void__setMode__Mode); - I_IndexedProperty(const osg::Plane &, Plane, - __C5_Plane_R1__getPlane__Coord, - __void__setPlane__Coord__C5_Plane_R1, - 0); - I_SimpleProperty(const osg::Matrixd &, PlanesFromMatrix, - 0, - __void__setPlanesFromMatrix__C5_Matrixd_R1); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/TexGenNode.cpp b/src/osgWrappers/introspection/osg/TexGenNode.cpp deleted file mode 100644 index a268ae295..000000000 --- a/src/osgWrappers/introspection/osg/TexGenNode.cpp +++ /dev/null @@ -1,133 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::TexGenNode::ReferenceFrame) - I_DeclaringFile("osg/TexGenNode"); - I_EnumLabel(osg::TexGenNode::RELATIVE_RF); - I_EnumLabel(osg::TexGenNode::ABSOLUTE_RF); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TexGenNode) - I_DeclaringFile("osg/TexGenNode"); - I_BaseType(osg::Group); - I_Constructor0(____TexGenNode, - "", - ""); - I_Constructor1(IN, osg::TexGen *, texgen, - Properties::NON_EXPLICIT, - ____TexGenNode__TexGen_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TexGenNode__C5_TexGenNode_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf, - Properties::NON_VIRTUAL, - __void__setReferenceFrame__ReferenceFrame, - "Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. ", - ""); - I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame, - Properties::NON_VIRTUAL, - __ReferenceFrame__getReferenceFrame, - "Ge thte TexGenNode's ReferenceFrame. ", - ""); - I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit, - Properties::NON_VIRTUAL, - __void__setTextureUnit__unsigned_int, - "Set the texture unit that this TexGenNode is associated with. ", - ""); - I_Method0(unsigned int, getTextureUnit, - Properties::NON_VIRTUAL, - __unsigned_int__getTextureUnit, - "", - ""); - I_Method1(void, setTexGen, IN, osg::TexGen *, texgen, - Properties::NON_VIRTUAL, - __void__setTexGen__TexGen_P1, - "Set the TexGen. ", - ""); - I_Method0(osg::TexGen *, getTexGen, - Properties::NON_VIRTUAL, - __TexGen_P1__getTexGen, - "Get the TexGen. ", - ""); - I_Method0(const osg::TexGen *, getTexGen, - Properties::NON_VIRTUAL, - __C5_TexGen_P1__getTexGen, - "Get the const TexGen. ", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_SimpleProperty(osg::TexGenNode::ReferenceFrame, ReferenceFrame, - __ReferenceFrame__getReferenceFrame, - __void__setReferenceFrame__ReferenceFrame); - I_SimpleProperty(osg::TexGen *, TexGen, - __TexGen_P1__getTexGen, - __void__setTexGen__TexGen_P1); - I_SimpleProperty(unsigned int, TextureUnit, - __unsigned_int__getTextureUnit, - __void__setTextureUnit__unsigned_int); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/TexMat.cpp b/src/osgWrappers/introspection/osg/TexMat.cpp deleted file mode 100644 index 0059fc883..000000000 --- a/src/osgWrappers/introspection/osg/TexMat.cpp +++ /dev/null @@ -1,125 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::TexMat) - I_DeclaringFile("osg/TexMat"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____TexMat, - "", - ""); - I_Constructor1(IN, const osg::Matrix &, matrix, - Properties::NON_EXPLICIT, - ____TexMat__C5_Matrix_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TexMat &, texmat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TexMat__C5_TexMat_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method0(bool, isTextureAttribute, - Properties::VIRTUAL, - __bool__isTextureAttribute, - "Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__setMatrix__C5_Matrix_R1, - "Set the texture matrix. ", - ""); - I_Method0(osg::Matrix &, getMatrix, - Properties::NON_VIRTUAL, - __Matrix_R1__getMatrix, - "Get the texture matrix. ", - ""); - I_Method0(const osg::Matrix &, getMatrix, - Properties::NON_VIRTUAL, - __C5_Matrix_R1__getMatrix, - "Get the const texture matrix. ", - ""); - I_Method1(void, setScaleByTextureRectangleSize, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setScaleByTextureRectangleSize__bool, - "Switch on/off the post scaling of the TexMat matrix by the size of the last applied texture rectangle. ", - "Use a TexMat alongside a TextureRectangle with this scaling applied allows one to treat a TextureRectnagles texture coordinate range as if it were the usual non dimensional 0.0 to 1.0 range. Note, the TexMat matrix itself is not modified by the post scaling, its purely an operation passed to OpenGL to do the post scaling once the the TexMat matrix has been loaded. "); - I_Method0(bool, getScaleByTextureRectangleSize, - Properties::NON_VIRTUAL, - __bool__getScaleByTextureRectangleSize, - "Get whether the post scaling of the TexMat matrix, by the size of the last applied texture rectangle, is switched on/off. ", - ""); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__State_R1, - "Apply texture matrix to OpenGL state. ", - ""); - I_SimpleProperty(const osg::Matrix &, Matrix, - __C5_Matrix_R1__getMatrix, - __void__setMatrix__C5_Matrix_R1); - I_SimpleProperty(bool, ScaleByTextureRectangleSize, - __bool__getScaleByTextureRectangleSize, - __void__setScaleByTextureRectangleSize__bool); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Texture.cpp b/src/osgWrappers/introspection/osg/Texture.cpp deleted file mode 100644 index a731c54b2..000000000 --- a/src/osgWrappers/introspection/osg/Texture.cpp +++ /dev/null @@ -1,1238 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Texture::WrapParameter) - I_DeclaringFile("osg/Texture"); - I_EnumLabel(osg::Texture::WRAP_S); - I_EnumLabel(osg::Texture::WRAP_T); - I_EnumLabel(osg::Texture::WRAP_R); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Texture::WrapMode) - I_DeclaringFile("osg/Texture"); - I_EnumLabel(osg::Texture::CLAMP); - I_EnumLabel(osg::Texture::CLAMP_TO_EDGE); - I_EnumLabel(osg::Texture::CLAMP_TO_BORDER); - I_EnumLabel(osg::Texture::REPEAT); - I_EnumLabel(osg::Texture::MIRROR); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Texture::FilterParameter) - I_DeclaringFile("osg/Texture"); - I_EnumLabel(osg::Texture::MIN_FILTER); - I_EnumLabel(osg::Texture::MAG_FILTER); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Texture::FilterMode) - I_DeclaringFile("osg/Texture"); - I_EnumLabel(osg::Texture::LINEAR); - I_EnumLabel(osg::Texture::LINEAR_MIPMAP_LINEAR); - I_EnumLabel(osg::Texture::LINEAR_MIPMAP_NEAREST); - I_EnumLabel(osg::Texture::NEAREST); - I_EnumLabel(osg::Texture::NEAREST_MIPMAP_LINEAR); - I_EnumLabel(osg::Texture::NEAREST_MIPMAP_NEAREST); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Texture::InternalFormatMode) - I_DeclaringFile("osg/Texture"); - I_EnumLabel(osg::Texture::USE_IMAGE_DATA_FORMAT); - I_EnumLabel(osg::Texture::USE_USER_DEFINED_FORMAT); - I_EnumLabel(osg::Texture::USE_ARB_COMPRESSION); - I_EnumLabel(osg::Texture::USE_S3TC_DXT1_COMPRESSION); - I_EnumLabel(osg::Texture::USE_S3TC_DXT3_COMPRESSION); - I_EnumLabel(osg::Texture::USE_S3TC_DXT5_COMPRESSION); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Texture::InternalFormatType) - I_DeclaringFile("osg/Texture"); - I_EnumLabel(osg::Texture::NORMALIZED); - I_EnumLabel(osg::Texture::FLOAT); - I_EnumLabel(osg::Texture::SIGNED_INTEGER); - I_EnumLabel(osg::Texture::UNSIGNED_INTEGER); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Texture::ShadowCompareFunc) - I_DeclaringFile("osg/Texture"); - I_EnumLabel(osg::Texture::NEVER); - I_EnumLabel(osg::Texture::LESS); - I_EnumLabel(osg::Texture::EQUAL); - I_EnumLabel(osg::Texture::LEQUAL); - I_EnumLabel(osg::Texture::GREATER); - I_EnumLabel(osg::Texture::NOTEQUAL); - I_EnumLabel(osg::Texture::GEQUAL); - I_EnumLabel(osg::Texture::ALWAYS); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Texture::ShadowTextureMode) - I_DeclaringFile("osg/Texture"); - I_EnumLabel(osg::Texture::LUMINANCE); - I_EnumLabel(osg::Texture::INTENSITY); - I_EnumLabel(osg::Texture::ALPHA); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Texture::GenerateMipmapMode) - I_DeclaringFile("osg/Texture"); - I_EnumLabel(osg::Texture::GENERATE_MIPMAP_NONE); - I_EnumLabel(osg::Texture::GENERATE_MIPMAP); - I_EnumLabel(osg::Texture::GENERATE_MIPMAP_TEX_PARAMETER); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Texture::TextureObject > >, osg::Texture::TextureObjectList) - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture) - I_DeclaringFile("osg/Texture"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Texture, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Texture &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Texture__C5_Texture_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::PURE_VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::PURE_VIRTUAL, - __osg_Object_P1__clone__C5_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::Texture *, asTexture, - Properties::VIRTUAL, - __Texture_P1__asTexture, - "Fast alternative to dynamic_cast<> for determining if state attribute is a Texture. ", - ""); - I_Method0(const osg::Texture *, asTexture, - Properties::VIRTUAL, - __C5_Texture_P1__asTexture, - "Fast alternative to dynamic_cast<> for determining if state attribute is a Texture. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method0(bool, isTextureAttribute, - Properties::VIRTUAL, - __bool__isTextureAttribute, - "Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ", - ""); - I_Method0(GLenum, getTextureTarget, - Properties::PURE_VIRTUAL, - __GLenum__getTextureTarget, - "", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method0(int, getTextureWidth, - Properties::VIRTUAL, - __int__getTextureWidth, - "", - ""); - I_Method0(int, getTextureHeight, - Properties::VIRTUAL, - __int__getTextureHeight, - "", - ""); - I_Method0(int, getTextureDepth, - Properties::VIRTUAL, - __int__getTextureDepth, - "", - ""); - I_Method2(void, setWrap, IN, osg::Texture::WrapParameter, which, IN, osg::Texture::WrapMode, wrap, - Properties::NON_VIRTUAL, - __void__setWrap__WrapParameter__WrapMode, - "Sets the texture wrap mode. ", - ""); - I_Method1(osg::Texture::WrapMode, getWrap, IN, osg::Texture::WrapParameter, which, - Properties::NON_VIRTUAL, - __WrapMode__getWrap__WrapParameter, - "Gets the texture wrap mode. ", - ""); - I_Method1(void, setBorderColor, IN, const osg::Vec4d &, color, - Properties::NON_VIRTUAL, - __void__setBorderColor__C5_Vec4d_R1, - "Sets the border color. ", - "Only used when wrap mode is CLAMP_TO_BORDER. The border color will be casted to the appropriate type to match the internal pixel format of the texture. "); - I_Method0(const osg::Vec4d &, getBorderColor, - Properties::NON_VIRTUAL, - __C5_Vec4d_R1__getBorderColor, - "Gets the border color. ", - ""); - I_Method1(void, setBorderWidth, IN, GLint, width, - Properties::NON_VIRTUAL, - __void__setBorderWidth__GLint, - "Sets the border width. ", - ""); - I_Method0(GLint, getBorderWidth, - Properties::NON_VIRTUAL, - __GLint__getBorderWidth, - "", - ""); - I_Method2(void, setFilter, IN, osg::Texture::FilterParameter, which, IN, osg::Texture::FilterMode, filter, - Properties::NON_VIRTUAL, - __void__setFilter__FilterParameter__FilterMode, - "Sets the texture filter mode. ", - ""); - I_Method1(osg::Texture::FilterMode, getFilter, IN, osg::Texture::FilterParameter, which, - Properties::NON_VIRTUAL, - __FilterMode__getFilter__FilterParameter, - "Gets the texture filter mode. ", - ""); - I_Method1(void, setMaxAnisotropy, IN, float, anis, - Properties::NON_VIRTUAL, - __void__setMaxAnisotropy__float, - "Sets the maximum anisotropy value, default value is 1.0 for no anisotropic filtering. ", - "If hardware does not support anisotropic filtering, use normal filtering (equivalent to a max anisotropy value of 1.0. Valid range is 1.0f upwards. The maximum value depends on the graphics system. "); - I_Method0(float, getMaxAnisotropy, - Properties::NON_VIRTUAL, - __float__getMaxAnisotropy, - "Gets the maximum anisotropy value. ", - ""); - I_Method1(void, setUseHardwareMipMapGeneration, IN, bool, useHardwareMipMapGeneration, - Properties::NON_VIRTUAL, - __void__setUseHardwareMipMapGeneration__bool, - "Sets the hardware mipmap generation hint. ", - "If enabled, it will only be used if supported in the graphics system. "); - I_Method0(bool, getUseHardwareMipMapGeneration, - Properties::NON_VIRTUAL, - __bool__getUseHardwareMipMapGeneration, - "Gets the hardware mipmap generation hint. ", - ""); - I_Method1(void, setUnRefImageDataAfterApply, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setUnRefImageDataAfterApply__bool, - "Sets whether or not the apply() function will unreference the image data. ", - "If enabled, and the image data is only referenced by this Texture, apply() will delete the image data. "); - I_Method0(bool, getUnRefImageDataAfterApply, - Properties::NON_VIRTUAL, - __bool__getUnRefImageDataAfterApply, - "Gets whether or not apply() unreferences image data. ", - ""); - I_Method1(void, setClientStorageHint, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setClientStorageHint__bool, - "Sets whether to use client storage for the texture, if supported by the graphics system. ", - "Note: If enabled, and the graphics system supports it, the osg::Image(s) associated with this texture cannot be deleted, so the UnRefImageDataAfterApply flag would be ignored. "); - I_Method0(bool, getClientStorageHint, - Properties::NON_VIRTUAL, - __bool__getClientStorageHint, - "Gets whether to use client storage for the texture. ", - ""); - I_Method1(void, setResizeNonPowerOfTwoHint, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setResizeNonPowerOfTwoHint__bool, - "Sets whether to force the texture to resize images that have dimensions that are not a power of two. ", - "If enabled, NPOT images will be resized, whether or not NPOT textures are supported by the hardware. If disabled, NPOT images will not be resized if supported by hardware. "); - I_Method0(bool, getResizeNonPowerOfTwoHint, - Properties::NON_VIRTUAL, - __bool__getResizeNonPowerOfTwoHint, - "Gets whether texture will force non power to two images to be resized. ", - ""); - I_Method1(void, setInternalFormatMode, IN, osg::Texture::InternalFormatMode, mode, - Properties::NON_VIRTUAL, - __void__setInternalFormatMode__InternalFormatMode, - "Sets the internal texture format mode. ", - "Note: If the texture format is USE_IMAGE_DATA_FORMAT, USE_ARB_COMPRESSION, or USE_S3TC_COMPRESSION, the internal format mode is set automatically and will overwrite the previous _internalFormat. "); - I_Method0(osg::Texture::InternalFormatMode, getInternalFormatMode, - Properties::NON_VIRTUAL, - __InternalFormatMode__getInternalFormatMode, - "Gets the internal texture format mode. ", - ""); - I_Method1(void, setInternalFormat, IN, GLint, internalFormat, - Properties::NON_VIRTUAL, - __void__setInternalFormat__GLint, - "Sets the internal texture format. ", - "Implicitly sets the internalFormatMode to USE_USER_DEFINED_FORMAT. The corresponding internal format type will be computed. "); - I_Method0(GLint, getInternalFormat, - Properties::NON_VIRTUAL, - __GLint__getInternalFormat, - "Gets the internal texture format. ", - ""); - I_Method0(bool, isCompressedInternalFormat, - Properties::NON_VIRTUAL, - __bool__isCompressedInternalFormat, - "Return true if the internal format is one of the compressed formats. ", - ""); - I_Method1(void, setSourceFormat, IN, GLenum, sourceFormat, - Properties::NON_VIRTUAL, - __void__setSourceFormat__GLenum, - "Sets the external source image format, used as a fallback when no osg::Image is attached to provide the source image format. ", - ""); - I_Method0(GLenum, getSourceFormat, - Properties::NON_VIRTUAL, - __GLenum__getSourceFormat, - "Gets the external source image format. ", - ""); - I_Method1(void, setSourceType, IN, GLenum, sourceType, - Properties::NON_VIRTUAL, - __void__setSourceType__GLenum, - "Sets the external source data type, used as a fallback when no osg::Image is attached to provide the source image format. ", - ""); - I_Method0(GLenum, getSourceType, - Properties::NON_VIRTUAL, - __GLenum__getSourceType, - "Gets the external source data type. ", - ""); - I_Method0(osg::Texture::InternalFormatType, getInternalFormatType, - Properties::NON_VIRTUAL, - __InternalFormatType__getInternalFormatType, - "Get the internal texture format type. ", - ""); - I_Method1(osg::Texture::TextureObject *, getTextureObject, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __TextureObject_P1__getTextureObject__unsigned_int, - "Returns a pointer to the TextureBbject for the current context. ", - ""); - I_Method2(void, setTextureObject, IN, unsigned int, contextID, IN, osg::Texture::TextureObject *, to, - Properties::NON_VIRTUAL, - __void__setTextureObject__unsigned_int__TextureObject_P1, - "", - ""); - I_Method0(void, dirtyTextureObject, - Properties::NON_VIRTUAL, - __void__dirtyTextureObject, - "Forces a recompile on next apply() of associated OpenGL texture objects. ", - ""); - I_Method0(bool, areAllTextureObjectsLoaded, - Properties::NON_VIRTUAL, - __bool__areAllTextureObjectsLoaded, - "Returns true if the texture objects for all the required graphics contexts are loaded. ", - ""); - I_Method1(unsigned int &, getTextureParameterDirty, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getTextureParameterDirty__unsigned_int, - "Gets the dirty flag for the current contextID. ", - ""); - I_Method0(void, dirtyTextureParameters, - Properties::NON_VIRTUAL, - __void__dirtyTextureParameters, - "Force a reset on next apply() of associated OpenGL texture parameters. ", - ""); - I_Method0(void, allocateMipmapLevels, - Properties::NON_VIRTUAL, - __void__allocateMipmapLevels, - "Force a manual allocation of the mipmap levels on the next apply() call. ", - "User is responsible for filling the mipmap levels with valid data. The OpenGL's glGenerateMipmapEXT function is used to generate the mipmap levels. If glGenerateMipmapEXT is not supported or texture's internal format is not supported by the glGenerateMipmapEXT, then empty mipmap levels will be allocated manually. The mipmap levels are also allocated if a non-mipmapped min filter is used. "); - I_Method1(void, setShadowComparison, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setShadowComparison__bool, - "Sets GL_TEXTURE_COMPARE_MODE_ARB to GL_COMPARE_R_TO_TEXTURE_ARB See http://oss.sgi.com/projects/ogl-sample/registry/ARB/shadow.txt. ", - ""); - I_Method0(bool, getShadowComparison, - Properties::NON_VIRTUAL, - __bool__getShadowComparison, - "", - ""); - I_Method1(void, setShadowCompareFunc, IN, osg::Texture::ShadowCompareFunc, func, - Properties::NON_VIRTUAL, - __void__setShadowCompareFunc__ShadowCompareFunc, - "Sets shadow texture comparison function. ", - ""); - I_Method0(osg::Texture::ShadowCompareFunc, getShadowCompareFunc, - Properties::NON_VIRTUAL, - __ShadowCompareFunc__getShadowCompareFunc, - "", - ""); - I_Method1(void, setShadowTextureMode, IN, osg::Texture::ShadowTextureMode, mode, - Properties::NON_VIRTUAL, - __void__setShadowTextureMode__ShadowTextureMode, - "Sets shadow texture mode after comparison. ", - ""); - I_Method0(osg::Texture::ShadowTextureMode, getShadowTextureMode, - Properties::NON_VIRTUAL, - __ShadowTextureMode__getShadowTextureMode, - "", - ""); - I_Method1(void, setShadowAmbient, IN, float, shadow_ambient, - Properties::NON_VIRTUAL, - __void__setShadowAmbient__float, - "Sets the TEXTURE_COMPARE_FAIL_VALUE_ARB texture parameter. ", - "See http://oss.sgi.com/projects/ogl-sample/registry/ARB/shadow_ambient.txt. "); - I_Method0(float, getShadowAmbient, - Properties::NON_VIRTUAL, - __float__getShadowAmbient, - "", - ""); - I_Method2(void, setImage, IN, unsigned int, face, IN, osg::Image *, image, - Properties::PURE_VIRTUAL, - __void__setImage__unsigned_int__Image_P1, - "Sets the texture image for the specified face. ", - ""); - I_Method1(osg::Image *, getImage, IN, unsigned int, face, - Properties::PURE_VIRTUAL, - __Image_P1__getImage__unsigned_int, - "Gets the texture image for the specified face. ", - ""); - I_Method1(const osg::Image *, getImage, IN, unsigned int, face, - Properties::PURE_VIRTUAL, - __C5_Image_P1__getImage__unsigned_int, - "Gets the const texture image for specified face. ", - ""); - I_Method0(unsigned int, getNumImages, - Properties::PURE_VIRTUAL, - __unsigned_int__getNumImages, - "Gets the number of images that can be assigned to this Texture. ", - ""); - I_Method1(void, setReadPBuffer, IN, osg::GraphicsContext *, context, - Properties::NON_VIRTUAL, - __void__setReadPBuffer__GraphicsContext_P1, - "Set the PBuffer graphics context to read from when using PBuffers for RenderToTexture. ", - ""); - I_Method0(osg::GraphicsContext *, getReadPBuffer, - Properties::NON_VIRTUAL, - __GraphicsContext_P1__getReadPBuffer, - "Get the PBuffer graphics context to read from when using PBuffers for RenderToTexture. ", - ""); - I_Method0(const osg::GraphicsContext *, getReadPBuffer, - Properties::NON_VIRTUAL, - __C5_GraphicsContext_P1__getReadPBuffer, - "Get the const PBuffer graphics context to read from when using PBuffers for RenderToTexture. ", - ""); - I_Method1(void, apply, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - __void__apply__State_R1, - "Texture is a pure virtual base class, apply must be overridden. ", - ""); - I_Method1(void, compileGLObjects, IN, osg::State &, state, - Properties::VIRTUAL, - __void__compileGLObjects__State_R1, - "Calls apply(state) to compile the texture. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__State_P1, - "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_Method6(void, applyTexImage2D_load, IN, osg::State &, state, IN, GLenum, target, IN, const osg::Image *, image, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, numMipmapLevels, - Properties::NON_VIRTUAL, - __void__applyTexImage2D_load__State_R1__GLenum__C5_Image_P1__GLsizei__GLsizei__GLsizei, - "Helper method. ", - "Creates the texture, but doesn't set or use a texture binding. Note: Don't call this method directly unless you're implementing a subload callback. "); - I_Method7(void, applyTexImage2D_subload, IN, osg::State &, state, IN, GLenum, target, IN, const osg::Image *, image, IN, GLsizei, width, IN, GLsizei, height, IN, GLint, inInternalFormat, IN, GLsizei, numMipmapLevels, - Properties::NON_VIRTUAL, - __void__applyTexImage2D_subload__State_R1__GLenum__C5_Image_P1__GLsizei__GLsizei__GLint__GLsizei, - "Helper method. ", - "Subloads images into the texture, but doesn't set or use a texture binding. Note: Don't call this method directly unless you're implementing a subload callback. "); - I_StaticMethod2(osg::Texture::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Gets the extension for the specified context. ", - "Creates the Extensions object for that context if it doesn't exist. Returns NULL if the Extensions object for the context doesn't exist and the createIfNotInitalized flag is false. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Texture::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "Overrides Extensions objects across graphics contexts. ", - "Typically used to ensure the same lowest common denominator of extensions on systems with different graphics pipes. "); - I_StaticMethod1(bool, isCompressedInternalFormat, IN, GLint, internalFormat, - __bool__isCompressedInternalFormat__GLint_S, - "Determine whether the given internalFormat is a compressed image format. ", - ""); - I_StaticMethod6(void, getCompressedSize, IN, GLenum, internalFormat, IN, GLint, width, IN, GLint, height, IN, GLint, depth, IN, GLint &, blockSize, IN, GLint &, size, - __void__getCompressedSize__GLenum__GLint__GLint__GLint__GLint_R1__GLint_R1_S, - "Determine the size of a compressed image, given the internalFormat, the width, the height, and the depth of the image. ", - "The block size and the size are output parameters. "); - I_StaticMethod1(osg::ref_ptr< osg::Texture::TextureObjectManager > &, getTextureObjectManager, IN, unsigned int, contextID, - __osg_ref_ptrT1_Texture_TextureObjectManager__R1__getTextureObjectManager__unsigned_int_S, - "", - ""); - I_StaticMethod3(osg::Texture::TextureObject *, generateTextureObject, IN, const osg::Texture *, texture, IN, unsigned int, contextID, IN, GLenum, target, - __TextureObject_P1__generateTextureObject__C5_Texture_P1__unsigned_int__GLenum_S, - "", - ""); - I_StaticMethod9(osg::Texture::TextureObject *, generateTextureObject, IN, const osg::Texture *, texture, IN, unsigned int, contextID, IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, - __TextureObject_P1__generateTextureObject__C5_Texture_P1__unsigned_int__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint_S, - "", - ""); - I_StaticMethod1(void, setMinimumNumberOfTextureObjectsToRetainInCache, IN, unsigned int, minimum, - __void__setMinimumNumberOfTextureObjectsToRetainInCache__unsigned_int_S, - "Set the minimum number of texture objects to retain in the deleted display list cache. ", - ""); - I_StaticMethod0(unsigned int, getMinimumNumberOfTextureObjectsToRetainInCache, - __unsigned_int__getMinimumNumberOfTextureObjectsToRetainInCache_S, - "Get the minimum number of display lists to retain in the deleted display list cache. ", - ""); - I_StaticMethod1(void, deleteAllTextureObjects, IN, unsigned int, contextID, - __void__deleteAllTextureObjects__unsigned_int_S, - "", - ""); - I_StaticMethod1(void, discardAllTextureObjects, IN, unsigned int, contextID, - __void__discardAllTextureObjects__unsigned_int_S, - "", - ""); - I_StaticMethod1(void, flushAllDeletedTextureObjects, IN, unsigned int, contextID, - __void__flushAllDeletedTextureObjects__unsigned_int_S, - "", - ""); - I_StaticMethod1(void, discardAllDeletedTextureObjects, IN, unsigned int, contextID, - __void__discardAllDeletedTextureObjects__unsigned_int_S, - "", - ""); - I_StaticMethod3(void, flushDeletedTextureObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime, - __void__flushDeletedTextureObjects__unsigned_int__double__double_R1_S, - "", - ""); - I_StaticMethod2(void, releaseTextureObject, IN, unsigned int, contextID, IN, osg::Texture::TextureObject *, to, - __void__releaseTextureObject__unsigned_int__TextureObject_P1_S, - "", - ""); - I_ProtectedMethod0(void, computeInternalFormat, - Properties::PURE_VIRTUAL, - Properties::CONST, - __void__computeInternalFormat, - "", - ""); - I_ProtectedMethod1(void, computeInternalFormatWithImage, IN, const osg::Image &, image, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeInternalFormatWithImage__C5_osg_Image_R1, - "", - ""); - I_ProtectedMethod5(void, computeRequiredTextureDimensions, IN, osg::State &, state, IN, const osg::Image &, image, IN, GLsizei &, width, IN, GLsizei &, height, IN, GLsizei &, numMipmapLevels, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeRequiredTextureDimensions__State_R1__C5_osg_Image_R1__GLsizei_R1__GLsizei_R1__GLsizei_R1, - "", - ""); - I_ProtectedMethod0(void, computeInternalFormatType, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeInternalFormatType, - "", - ""); - I_ProtectedMethod2(void, applyTexParameters, IN, GLenum, target, IN, osg::State &, state, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__applyTexParameters__GLenum__State_R1, - "Helper method. ", - "Sets texture parameters. "); - I_ProtectedMethod1(bool, isHardwareMipmapGenerationEnabled, IN, const osg::State &, state, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__isHardwareMipmapGenerationEnabled__C5_State_R1, - "Returns true if _useHardwareMipMapGeneration is true and either glGenerateMipmapEXT() or GL_GENERATE_MIPMAP_SGIS are supported. ", - ""); - I_ProtectedMethod2(osg::Texture::GenerateMipmapMode, mipmapBeforeTexImage, IN, const osg::State &, state, IN, bool, hardwareMipmapOn, - Properties::NON_VIRTUAL, - Properties::CONST, - __GenerateMipmapMode__mipmapBeforeTexImage__C5_State_R1__bool, - "Helper methods to be called before and after calling gl[Compressed][Copy]Tex[Sub]Image2D to handle generating mipmaps. ", - ""); - I_ProtectedMethod2(void, mipmapAfterTexImage, IN, osg::State &, state, IN, osg::Texture::GenerateMipmapMode, beforeResult, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__mipmapAfterTexImage__State_R1__GenerateMipmapMode, - "", - ""); - I_ProtectedMethod1(void, generateMipmap, IN, osg::State &, state, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__generateMipmap__State_R1, - "Helper method to generate mipmap levels by calling of glGenerateMipmapEXT. ", - "If it is not supported, then call the virtual allocateMipmap() method "); - I_ProtectedMethod1(void, allocateMipmap, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - Properties::CONST, - __void__allocateMipmap__State_R1, - "Allocate mipmap levels of the texture by subsequent calling of glTexImage* function. ", - ""); - I_ProtectedMethod1(int, compareTexture, IN, const osg::Texture &, rhs, - Properties::NON_VIRTUAL, - Properties::CONST, - __int__compareTexture__C5_Texture_R1, - "Returns -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_ProtectedMethod1(int, compareTextureObjects, IN, const osg::Texture &, rhs, - Properties::NON_VIRTUAL, - Properties::CONST, - __int__compareTextureObjects__C5_Texture_R1, - "Returns -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_SimpleProperty(const osg::Vec4d &, BorderColor, - __C5_Vec4d_R1__getBorderColor, - __void__setBorderColor__C5_Vec4d_R1); - I_SimpleProperty(GLint, BorderWidth, - __GLint__getBorderWidth, - __void__setBorderWidth__GLint); - I_SimpleProperty(bool, ClientStorageHint, - __bool__getClientStorageHint, - __void__setClientStorageHint__bool); - I_IndexedProperty(osg::Texture::FilterMode, Filter, - __FilterMode__getFilter__FilterParameter, - __void__setFilter__FilterParameter__FilterMode, - 0); - I_ArrayProperty(osg::Image *, Image, - __Image_P1__getImage__unsigned_int, - __void__setImage__unsigned_int__Image_P1, - __unsigned_int__getNumImages, - 0, - 0, - 0); - I_SimpleProperty(GLint, InternalFormat, - __GLint__getInternalFormat, - __void__setInternalFormat__GLint); - I_SimpleProperty(osg::Texture::InternalFormatMode, InternalFormatMode, - __InternalFormatMode__getInternalFormatMode, - __void__setInternalFormatMode__InternalFormatMode); - I_SimpleProperty(osg::Texture::InternalFormatType, InternalFormatType, - __InternalFormatType__getInternalFormatType, - 0); - I_SimpleProperty(float, MaxAnisotropy, - __float__getMaxAnisotropy, - __void__setMaxAnisotropy__float); - I_SimpleProperty(osg::GraphicsContext *, ReadPBuffer, - __GraphicsContext_P1__getReadPBuffer, - __void__setReadPBuffer__GraphicsContext_P1); - I_SimpleProperty(bool, ResizeNonPowerOfTwoHint, - __bool__getResizeNonPowerOfTwoHint, - __void__setResizeNonPowerOfTwoHint__bool); - I_SimpleProperty(float, ShadowAmbient, - __float__getShadowAmbient, - __void__setShadowAmbient__float); - I_SimpleProperty(osg::Texture::ShadowCompareFunc, ShadowCompareFunc, - __ShadowCompareFunc__getShadowCompareFunc, - __void__setShadowCompareFunc__ShadowCompareFunc); - I_SimpleProperty(bool, ShadowComparison, - __bool__getShadowComparison, - __void__setShadowComparison__bool); - I_SimpleProperty(osg::Texture::ShadowTextureMode, ShadowTextureMode, - __ShadowTextureMode__getShadowTextureMode, - __void__setShadowTextureMode__ShadowTextureMode); - I_SimpleProperty(GLenum, SourceFormat, - __GLenum__getSourceFormat, - __void__setSourceFormat__GLenum); - I_SimpleProperty(GLenum, SourceType, - __GLenum__getSourceType, - __void__setSourceType__GLenum); - I_SimpleProperty(int, TextureDepth, - __int__getTextureDepth, - 0); - I_SimpleProperty(int, TextureHeight, - __int__getTextureHeight, - 0); - I_IndexedProperty(osg::Texture::TextureObject *, TextureObject, - __TextureObject_P1__getTextureObject__unsigned_int, - __void__setTextureObject__unsigned_int__TextureObject_P1, - 0); - I_SimpleProperty(GLenum, TextureTarget, - __GLenum__getTextureTarget, - 0); - I_SimpleProperty(int, TextureWidth, - __int__getTextureWidth, - 0); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); - I_SimpleProperty(bool, UnRefImageDataAfterApply, - __bool__getUnRefImageDataAfterApply, - __void__setUnRefImageDataAfterApply__bool); - I_SimpleProperty(bool, UseHardwareMipMapGeneration, - __bool__getUseHardwareMipMapGeneration, - __void__setUseHardwareMipMapGeneration__bool); - I_IndexedProperty(osg::Texture::WrapMode, Wrap, - __WrapMode__getWrap__WrapParameter, - __void__setWrap__WrapParameter__WrapMode, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Texture::TextureObject) - I_DeclaringFile("osg/Texture"); - I_BaseType(osg::Referenced); - I_Constructor3(IN, osg::Texture *, texture, IN, GLuint, id, IN, GLenum, target, - ____TextureObject__Texture_P1__GLuint__GLenum, - "", - ""); - I_Constructor3(IN, osg::Texture *, texture, IN, GLuint, id, IN, const osg::Texture::TextureProfile &, profile, - ____TextureObject__Texture_P1__GLuint__C5_TextureProfile_R1, - "", - ""); - I_Constructor9(IN, osg::Texture *, texture, IN, GLuint, id, IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, - ____TextureObject__Texture_P1__GLuint__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint, - "", - ""); - I_Method7(bool, match, IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, - Properties::NON_VIRTUAL, - __bool__match__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint, - "", - ""); - I_Method0(void, bind, - Properties::NON_VIRTUAL, - __void__bind, - "", - ""); - I_Method0(GLenum, id, - Properties::NON_VIRTUAL, - __GLenum__id, - "", - ""); - I_Method0(GLenum, target, - Properties::NON_VIRTUAL, - __GLenum__target, - "", - ""); - I_Method0(unsigned int, size, - Properties::NON_VIRTUAL, - __unsigned_int__size, - "", - ""); - I_Method1(void, setTexture, IN, osg::Texture *, texture, - Properties::NON_VIRTUAL, - __void__setTexture__Texture_P1, - "", - ""); - I_Method0(osg::Texture *, getTexture, - Properties::NON_VIRTUAL, - __Texture_P1__getTexture, - "", - ""); - I_Method1(void, setTimeStamp, IN, double, timestamp, - Properties::NON_VIRTUAL, - __void__setTimeStamp__double, - "", - ""); - I_Method0(double, getTimeStamp, - Properties::NON_VIRTUAL, - __double__getTimeStamp, - "", - ""); - I_MethodWithDefaults1(void, setAllocated, IN, bool, allocated, true, - Properties::NON_VIRTUAL, - __void__setAllocated__bool, - "", - ""); - I_Method6(void, setAllocated, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, - Properties::NON_VIRTUAL, - __void__setAllocated__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint, - "", - ""); - I_Method0(bool, isAllocated, - Properties::NON_VIRTUAL, - __bool__isAllocated, - "", - ""); - I_Method0(bool, isReusable, - Properties::NON_VIRTUAL, - __bool__isReusable, - "", - ""); - I_SimpleProperty(bool, Allocated, - 0, - __void__setAllocated__bool); - I_SimpleProperty(osg::Texture *, Texture, - __Texture_P1__getTexture, - __void__setTexture__Texture_P1); - I_SimpleProperty(double, TimeStamp, - __double__getTimeStamp, - __void__setTimeStamp__double); - I_PublicMemberProperty(GLuint, _id); - I_PublicMemberProperty(osg::Texture::TextureProfile, _profile); - I_PublicMemberProperty(osg::Texture::TextureObjectSet *, _set); - I_PublicMemberProperty(osg::Texture::TextureObject *, _previous); - I_PublicMemberProperty(osg::Texture::TextureObject *, _next); - I_PublicMemberProperty(osg::Texture *, _texture); - I_PublicMemberProperty(bool, _allocated); - I_PublicMemberProperty(unsigned int, _frameLastUsed); - I_PublicMemberProperty(double, _timeStamp); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Texture::TextureObjectManager) - I_DeclaringFile("osg/Texture"); - I_BaseType(osg::Referenced); - I_Constructor1(IN, unsigned int, contextID, - Properties::NON_EXPLICIT, - ____TextureObjectManager__unsigned_int, - "", - ""); - I_Method0(unsigned int, getContextID, - Properties::NON_VIRTUAL, - __unsigned_int__getContextID, - "", - ""); - I_Method1(void, setNumberActiveTextureObjects, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setNumberActiveTextureObjects__unsigned_int, - "", - ""); - I_Method0(unsigned int &, getNumberActiveTextureObjects, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberActiveTextureObjects, - "", - ""); - I_Method0(unsigned int, getNumberActiveTextureObjects, - Properties::NON_VIRTUAL, - __unsigned_int__getNumberActiveTextureObjects, - "", - ""); - I_Method1(void, setNumberOrphanedTextureObjects, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setNumberOrphanedTextureObjects__unsigned_int, - "", - ""); - I_Method0(unsigned int &, getNumberOrphanedTextureObjects, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberOrphanedTextureObjects, - "", - ""); - I_Method0(unsigned int, getNumberOrphanedTextureObjects, - Properties::NON_VIRTUAL, - __unsigned_int__getNumberOrphanedTextureObjects, - "", - ""); - I_Method1(void, setCurrTexturePoolSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setCurrTexturePoolSize__unsigned_int, - "", - ""); - I_Method0(unsigned int &, getCurrTexturePoolSize, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getCurrTexturePoolSize, - "", - ""); - I_Method0(unsigned int, getCurrTexturePoolSize, - Properties::NON_VIRTUAL, - __unsigned_int__getCurrTexturePoolSize, - "", - ""); - I_Method1(void, setMaxTexturePoolSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setMaxTexturePoolSize__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaxTexturePoolSize, - Properties::NON_VIRTUAL, - __unsigned_int__getMaxTexturePoolSize, - "", - ""); - I_Method1(bool, hasSpace, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __bool__hasSpace__unsigned_int, - "", - ""); - I_Method1(bool, makeSpace, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __bool__makeSpace__unsigned_int, - "", - ""); - I_Method2(osg::Texture::TextureObject *, generateTextureObject, IN, const osg::Texture *, texture, IN, GLenum, target, - Properties::NON_VIRTUAL, - __TextureObject_P1__generateTextureObject__C5_Texture_P1__GLenum, - "", - ""); - I_Method8(osg::Texture::TextureObject *, generateTextureObject, IN, const osg::Texture *, texture, IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, - Properties::NON_VIRTUAL, - __TextureObject_P1__generateTextureObject__C5_Texture_P1__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint, - "", - ""); - I_Method0(void, handlePendingOrphandedTextureObjects, - Properties::NON_VIRTUAL, - __void__handlePendingOrphandedTextureObjects, - "", - ""); - I_Method0(void, deleteAllTextureObjects, - Properties::NON_VIRTUAL, - __void__deleteAllTextureObjects, - "", - ""); - I_Method0(void, discardAllTextureObjects, - Properties::NON_VIRTUAL, - __void__discardAllTextureObjects, - "", - ""); - I_Method0(void, flushAllDeletedTextureObjects, - Properties::NON_VIRTUAL, - __void__flushAllDeletedTextureObjects, - "", - ""); - I_Method0(void, discardAllDeletedTextureObjects, - Properties::NON_VIRTUAL, - __void__discardAllDeletedTextureObjects, - "", - ""); - I_Method2(void, flushDeletedTextureObjects, IN, double, currentTime, IN, double &, availableTime, - Properties::NON_VIRTUAL, - __void__flushDeletedTextureObjects__double__double_R1, - "", - ""); - I_Method1(void, releaseTextureObject, IN, osg::Texture::TextureObject *, to, - Properties::NON_VIRTUAL, - __void__releaseTextureObject__TextureObject_P1, - "", - ""); - I_Method1(osg::Texture::TextureObjectSet *, getTextureObjectSet, IN, const osg::Texture::TextureProfile &, profile, - Properties::NON_VIRTUAL, - __TextureObjectSet_P1__getTextureObjectSet__C5_TextureProfile_R1, - "", - ""); - I_Method1(void, newFrame, IN, osg::FrameStamp *, fs, - Properties::NON_VIRTUAL, - __void__newFrame__osg_FrameStamp_P1, - "", - ""); - I_Method0(void, resetStats, - Properties::NON_VIRTUAL, - __void__resetStats, - "", - ""); - I_Method0(void, reportStats, - Properties::NON_VIRTUAL, - __void__reportStats, - "", - ""); - I_Method0(unsigned int &, getFrameNumber, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getFrameNumber, - "", - ""); - I_Method0(unsigned int &, getNumberFrames, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberFrames, - "", - ""); - I_Method0(unsigned int &, getNumberDeleted, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberDeleted, - "", - ""); - I_Method0(double &, getDeleteTime, - Properties::NON_VIRTUAL, - __double_R1__getDeleteTime, - "", - ""); - I_Method0(unsigned int &, getNumberGenerated, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberGenerated, - "", - ""); - I_Method0(double &, getGenerateTime, - Properties::NON_VIRTUAL, - __double_R1__getGenerateTime, - "", - ""); - I_Method0(unsigned int &, getNumberApplied, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getNumberApplied, - "", - ""); - I_Method0(double &, getApplyTime, - Properties::NON_VIRTUAL, - __double_R1__getApplyTime, - "", - ""); - I_SimpleProperty(double &, ApplyTime, - __double_R1__getApplyTime, - 0); - I_SimpleProperty(unsigned int, ContextID, - __unsigned_int__getContextID, - 0); - I_SimpleProperty(unsigned int, CurrTexturePoolSize, - __unsigned_int__getCurrTexturePoolSize, - __void__setCurrTexturePoolSize__unsigned_int); - I_SimpleProperty(double &, DeleteTime, - __double_R1__getDeleteTime, - 0); - I_SimpleProperty(unsigned int &, FrameNumber, - __unsigned_int_R1__getFrameNumber, - 0); - I_SimpleProperty(double &, GenerateTime, - __double_R1__getGenerateTime, - 0); - I_SimpleProperty(unsigned int, MaxTexturePoolSize, - __unsigned_int__getMaxTexturePoolSize, - __void__setMaxTexturePoolSize__unsigned_int); - I_SimpleProperty(unsigned int, NumberActiveTextureObjects, - __unsigned_int__getNumberActiveTextureObjects, - __void__setNumberActiveTextureObjects__unsigned_int); - I_SimpleProperty(unsigned int &, NumberApplied, - __unsigned_int_R1__getNumberApplied, - 0); - I_SimpleProperty(unsigned int &, NumberDeleted, - __unsigned_int_R1__getNumberDeleted, - 0); - I_SimpleProperty(unsigned int &, NumberFrames, - __unsigned_int_R1__getNumberFrames, - 0); - I_SimpleProperty(unsigned int &, NumberGenerated, - __unsigned_int_R1__getNumberGenerated, - 0); - I_SimpleProperty(unsigned int, NumberOrphanedTextureObjects, - __unsigned_int__getNumberOrphanedTextureObjects, - __void__setNumberOrphanedTextureObjects__unsigned_int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Texture::TextureObjectSet) - I_DeclaringFile("osg/Texture"); - I_BaseType(osg::Referenced); - I_Constructor2(IN, osg::Texture::TextureObjectManager *, parent, IN, const osg::Texture::TextureProfile &, profile, - ____TextureObjectSet__TextureObjectManager_P1__C5_TextureProfile_R1, - "", - ""); - I_Method0(void, handlePendingOrphandedTextureObjects, - Properties::NON_VIRTUAL, - __void__handlePendingOrphandedTextureObjects, - "", - ""); - I_Method0(void, deleteAllTextureObjects, - Properties::NON_VIRTUAL, - __void__deleteAllTextureObjects, - "", - ""); - I_Method0(void, discardAllTextureObjects, - Properties::NON_VIRTUAL, - __void__discardAllTextureObjects, - "", - ""); - I_Method0(void, flushAllDeletedTextureObjects, - Properties::NON_VIRTUAL, - __void__flushAllDeletedTextureObjects, - "", - ""); - I_Method0(void, discardAllDeletedTextureObjects, - Properties::NON_VIRTUAL, - __void__discardAllDeletedTextureObjects, - "", - ""); - I_Method2(void, flushDeletedTextureObjects, IN, double, currentTime, IN, double &, availableTime, - Properties::NON_VIRTUAL, - __void__flushDeletedTextureObjects__double__double_R1, - "", - ""); - I_Method1(osg::Texture::TextureObject *, takeFromOrphans, IN, osg::Texture *, texture, - Properties::NON_VIRTUAL, - __TextureObject_P1__takeFromOrphans__Texture_P1, - "", - ""); - I_Method1(osg::Texture::TextureObject *, takeOrGenerate, IN, osg::Texture *, texture, - Properties::NON_VIRTUAL, - __TextureObject_P1__takeOrGenerate__Texture_P1, - "", - ""); - I_Method1(void, moveToBack, IN, osg::Texture::TextureObject *, to, - Properties::NON_VIRTUAL, - __void__moveToBack__TextureObject_P1, - "", - ""); - I_Method1(void, addToBack, IN, osg::Texture::TextureObject *, to, - Properties::NON_VIRTUAL, - __void__addToBack__TextureObject_P1, - "", - ""); - I_Method1(void, orphan, IN, osg::Texture::TextureObject *, to, - Properties::NON_VIRTUAL, - __void__orphan__TextureObject_P1, - "", - ""); - I_Method1(void, remove, IN, osg::Texture::TextureObject *, to, - Properties::NON_VIRTUAL, - __void__remove__TextureObject_P1, - "", - ""); - I_Method2(void, moveToSet, IN, osg::Texture::TextureObject *, to, IN, osg::Texture::TextureObjectSet *, set, - Properties::NON_VIRTUAL, - __void__moveToSet__TextureObject_P1__TextureObjectSet_P1, - "", - ""); - I_Method0(unsigned int, size, - Properties::NON_VIRTUAL, - __unsigned_int__size, - "", - ""); - I_Method1(bool, makeSpace, IN, unsigned int &, size, - Properties::NON_VIRTUAL, - __bool__makeSpace__unsigned_int_R1, - "", - ""); - I_Method0(bool, checkConsistency, - Properties::NON_VIRTUAL, - __bool__checkConsistency, - "", - ""); - I_Method0(osg::Texture::TextureObjectManager *, getParent, - Properties::NON_VIRTUAL, - __TextureObjectManager_P1__getParent, - "", - ""); - I_SimpleProperty(osg::Texture::TextureObjectManager *, Parent, - __TextureObjectManager_P1__getParent, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::Texture::TextureProfile) - I_DeclaringFile("osg/Texture"); - I_Constructor1(IN, GLenum, target, - Properties::NON_EXPLICIT, - ____TextureProfile__GLenum, - "", - ""); - I_Constructor7(IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, - ____TextureProfile__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint, - "", - ""); - I_Method6(void, set, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, - Properties::NON_VIRTUAL, - __void__set__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint, - "", - ""); - I_Method7(bool, match, IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, - Properties::NON_VIRTUAL, - __bool__match__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint, - "", - ""); - I_Method0(void, computeSize, - Properties::NON_VIRTUAL, - __void__computeSize, - "", - ""); - I_PublicMemberProperty(GLenum, _target); - I_PublicMemberProperty(GLint, _numMipmapLevels); - I_PublicMemberProperty(GLenum, _internalFormat); - I_PublicMemberProperty(GLsizei, _width); - I_PublicMemberProperty(GLsizei, _height); - I_PublicMemberProperty(GLsizei, _depth); - I_PublicMemberProperty(GLint, _border); - I_PublicMemberProperty(unsigned int, _size); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Texture::TextureObject >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Texture::TextureObject *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Texture::TextureObject > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Texture::TextureObject > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Texture::TextureObject *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Texture::TextureObject *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Texture::TextureObject > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Texture::TextureObject *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Texture::TextureObjectManager >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Texture::TextureObjectManager *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Texture::TextureObjectManager > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Texture::TextureObjectManager > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Texture::TextureObjectManager *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Texture::TextureObjectManager *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Texture::TextureObjectManager > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Texture::TextureObjectManager *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::Texture::TextureObject > >) - diff --git a/src/osgWrappers/introspection/osg/Texture1D.cpp b/src/osgWrappers/introspection/osg/Texture1D.cpp deleted file mode 100644 index f47eb5f47..000000000 --- a/src/osgWrappers/introspection/osg/Texture1D.cpp +++ /dev/null @@ -1,246 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Texture1D) - I_DeclaringFile("osg/Texture1D"); - I_BaseType(osg::Texture); - I_Constructor0(____Texture1D, - "", - ""); - I_Constructor1(IN, osg::Image *, image, - Properties::NON_EXPLICIT, - ____Texture1D__Image_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Texture1D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Texture1D__C5_Texture1D_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, rhs, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(GLenum, getTextureTarget, - Properties::VIRTUAL, - __GLenum__getTextureTarget, - "", - ""); - I_Method1(void, setImage, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__setImage__Image_P1, - "Sets the texture image. ", - ""); - I_Method0(osg::Image *, getImage, - Properties::NON_VIRTUAL, - __Image_P1__getImage, - "Gets the texture image. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::NON_VIRTUAL, - __C5_Image_P1__getImage, - "Gets the const texture image. ", - ""); - I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getModifiedCount__unsigned_int, - "", - ""); - I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image, - Properties::VIRTUAL, - __void__setImage__unsigned__Image_P1, - "Sets the texture image, ignoring face. ", - ""); - I_Method1(osg::Image *, getImage, IN, unsigned, int, - Properties::VIRTUAL, - __Image_P1__getImage__unsigned, - "Gets the texture image, ignoring face. ", - ""); - I_Method1(const osg::Image *, getImage, IN, unsigned, int, - Properties::VIRTUAL, - __C5_Image_P1__getImage__unsigned, - "Gets the const texture image, ignoring face. ", - ""); - I_Method0(unsigned int, getNumImages, - Properties::VIRTUAL, - __unsigned_int__getNumImages, - "Gets the number of images that can be assigned to the Texture. ", - ""); - I_Method1(void, setTextureWidth, IN, int, width, - Properties::NON_VIRTUAL, - __void__setTextureWidth__int, - "Sets the texture width. ", - "If width is zero, calculate the value from the source image width. "); - I_Method0(int, getTextureWidth, - Properties::VIRTUAL, - __int__getTextureWidth, - "Gets the texture width. ", - ""); - I_Method0(int, getTextureHeight, - Properties::VIRTUAL, - __int__getTextureHeight, - "", - ""); - I_Method0(int, getTextureDepth, - Properties::VIRTUAL, - __int__getTextureDepth, - "", - ""); - I_Method1(void, setSubloadCallback, IN, osg::Texture1D::SubloadCallback *, cb, - Properties::NON_VIRTUAL, - __void__setSubloadCallback__SubloadCallback_P1, - "", - ""); - I_Method0(osg::Texture1D::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method0(const osg::Texture1D::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __C5_SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method1(void, setNumMipmapLevels, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setNumMipmapLevels__unsigned_int, - "Helper function. ", - "Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texture::apply(), or during a custom OpenGL texture load. "); - I_Method0(unsigned int, getNumMipmapLevels, - Properties::NON_VIRTUAL, - __unsigned_int__getNumMipmapLevels, - "Gets the number of mipmap levels created. ", - ""); - I_Method4(void, copyTexImage1D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width, - Properties::NON_VIRTUAL, - __void__copyTexImage1D__State_R1__int__int__int, - "Copies pixels into a 1D texture image, as per glCopyTexImage1D. ", - "Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width. width must be a power of two. "); - I_Method5(void, copyTexSubImage1D, IN, osg::State &, state, IN, int, xoffset, IN, int, x, IN, int, y, IN, int, width, - Properties::NON_VIRTUAL, - __void__copyTexSubImage1D__State_R1__int__int__int__int, - "Copies a one-dimensional texture subimage, as per glCopyTexSubImage1D. ", - "Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width. "); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__State_R1, - "Bind the texture object. ", - "If the texture object hasn't already been compiled, create the texture mipmap levels. "); - I_ProtectedMethod0(void, computeInternalFormat, - Properties::VIRTUAL, - Properties::CONST, - __void__computeInternalFormat, - "", - ""); - I_ProtectedMethod1(void, allocateMipmap, IN, osg::State &, state, - Properties::VIRTUAL, - Properties::CONST, - __void__allocateMipmap__State_R1, - "Allocate mipmap levels of the texture by subsequent calling of glTexImage* function. ", - ""); - I_ProtectedMethod5(void, applyTexImage1D, IN, GLenum, target, IN, osg::Image *, image, IN, osg::State &, state, IN, GLsizei &, width, IN, GLsizei &, numMipmapLevels, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__applyTexImage1D__GLenum__Image_P1__State_R1__GLsizei_R1__GLsizei_R1, - "Helper method. ", - "Create the texture without setting or using a texture binding. "); - I_SimpleProperty(osg::Image *, Image, - __Image_P1__getImage, - __void__setImage__Image_P1); - I_SimpleProperty(unsigned int, NumMipmapLevels, - 0, - __void__setNumMipmapLevels__unsigned_int); - I_SimpleProperty(osg::Texture1D::SubloadCallback *, SubloadCallback, - __SubloadCallback_P1__getSubloadCallback, - __void__setSubloadCallback__SubloadCallback_P1); - I_SimpleProperty(int, TextureDepth, - __int__getTextureDepth, - 0); - I_SimpleProperty(int, TextureHeight, - __int__getTextureHeight, - 0); - I_SimpleProperty(GLenum, TextureTarget, - __GLenum__getTextureTarget, - 0); - I_SimpleProperty(int, TextureWidth, - __int__getTextureWidth, - __void__setTextureWidth__int); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture1D::SubloadCallback) - I_DeclaringFile("osg/Texture1D"); - I_BaseType(osg::Referenced); - I_Constructor0(____SubloadCallback, - "", - ""); - I_Method2(void, load, IN, const osg::Texture1D &, texture, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - __void__load__C5_Texture1D_R1__State_R1, - "", - ""); - I_Method2(void, subload, IN, const osg::Texture1D &, texture, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - __void__subload__C5_Texture1D_R1__State_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Texture2D.cpp b/src/osgWrappers/introspection/osg/Texture2D.cpp deleted file mode 100644 index 0db29ec65..000000000 --- a/src/osgWrappers/introspection/osg/Texture2D.cpp +++ /dev/null @@ -1,250 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Texture2D) - I_DeclaringFile("osg/Texture2D"); - I_BaseType(osg::Texture); - I_Constructor0(____Texture2D, - "", - ""); - I_Constructor1(IN, osg::Image *, image, - Properties::NON_EXPLICIT, - ____Texture2D__Image_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Texture2D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Texture2D__C5_Texture2D_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, rhs, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(GLenum, getTextureTarget, - Properties::VIRTUAL, - __GLenum__getTextureTarget, - "", - ""); - I_Method1(void, setImage, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__setImage__Image_P1, - "Sets the texture image. ", - ""); - I_Method0(osg::Image *, getImage, - Properties::NON_VIRTUAL, - __Image_P1__getImage, - "Gets the texture image. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::NON_VIRTUAL, - __C5_Image_P1__getImage, - "Gets the const texture image. ", - ""); - I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getModifiedCount__unsigned_int, - "", - ""); - I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image, - Properties::VIRTUAL, - __void__setImage__unsigned__Image_P1, - "Sets the texture image, ignoring face. ", - ""); - I_Method1(osg::Image *, getImage, IN, unsigned, int, - Properties::VIRTUAL, - __Image_P1__getImage__unsigned, - "Gets the texture image, ignoring face. ", - ""); - I_Method1(const osg::Image *, getImage, IN, unsigned, int, - Properties::VIRTUAL, - __C5_Image_P1__getImage__unsigned, - "Gets the const texture image, ignoring face. ", - ""); - I_Method0(unsigned int, getNumImages, - Properties::VIRTUAL, - __unsigned_int__getNumImages, - "Gets the number of images that can be assigned to the Texture. ", - ""); - I_Method2(void, setTextureSize, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__setTextureSize__int__int, - "Sets the texture width and height. ", - "If width or height are zero, calculate the respective value from the source image size. "); - I_Method1(void, setTextureWidth, IN, int, width, - Properties::NON_VIRTUAL, - __void__setTextureWidth__int, - "", - ""); - I_Method1(void, setTextureHeight, IN, int, height, - Properties::NON_VIRTUAL, - __void__setTextureHeight__int, - "", - ""); - I_Method0(int, getTextureWidth, - Properties::VIRTUAL, - __int__getTextureWidth, - "", - ""); - I_Method0(int, getTextureHeight, - Properties::VIRTUAL, - __int__getTextureHeight, - "", - ""); - I_Method0(int, getTextureDepth, - Properties::VIRTUAL, - __int__getTextureDepth, - "", - ""); - I_Method1(void, setSubloadCallback, IN, osg::Texture2D::SubloadCallback *, cb, - Properties::NON_VIRTUAL, - __void__setSubloadCallback__SubloadCallback_P1, - "", - ""); - I_Method0(osg::Texture2D::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method0(const osg::Texture2D::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __C5_SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method1(void, setNumMipmapLevels, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setNumMipmapLevels__unsigned_int, - "Helper function. ", - "Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texture::apply(), or during a custom OpenGL texture load. "); - I_Method0(unsigned int, getNumMipmapLevels, - Properties::NON_VIRTUAL, - __unsigned_int__getNumMipmapLevels, - "Gets the number of mipmap levels created. ", - ""); - I_Method5(void, copyTexImage2D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__copyTexImage2D__State_R1__int__int__int__int, - "Copies pixels into a 2D texture image, as per glCopyTexImage2D. ", - "Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. width and height must be a power of two. "); - I_Method7(void, copyTexSubImage2D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__copyTexSubImage2D__State_R1__int__int__int__int__int__int, - "Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ", - "Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. "); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__State_R1, - "Bind the texture object. ", - "If the texture object hasn't already been compiled, create the texture mipmap levels. "); - I_ProtectedMethod0(void, computeInternalFormat, - Properties::VIRTUAL, - Properties::CONST, - __void__computeInternalFormat, - "", - ""); - I_ProtectedMethod1(void, allocateMipmap, IN, osg::State &, state, - Properties::VIRTUAL, - Properties::CONST, - __void__allocateMipmap__State_R1, - "Allocate mipmap levels of the texture by subsequent calling of glTexImage* function. ", - ""); - I_SimpleProperty(osg::Image *, Image, - __Image_P1__getImage, - __void__setImage__Image_P1); - I_SimpleProperty(unsigned int, NumMipmapLevels, - 0, - __void__setNumMipmapLevels__unsigned_int); - I_SimpleProperty(osg::Texture2D::SubloadCallback *, SubloadCallback, - __SubloadCallback_P1__getSubloadCallback, - __void__setSubloadCallback__SubloadCallback_P1); - I_SimpleProperty(int, TextureDepth, - __int__getTextureDepth, - 0); - I_SimpleProperty(int, TextureHeight, - __int__getTextureHeight, - __void__setTextureHeight__int); - I_SimpleProperty(GLenum, TextureTarget, - __GLenum__getTextureTarget, - 0); - I_SimpleProperty(int, TextureWidth, - __int__getTextureWidth, - __void__setTextureWidth__int); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture2D::SubloadCallback) - I_DeclaringFile("osg/Texture2D"); - I_BaseType(osg::Referenced); - I_Constructor0(____SubloadCallback, - "", - ""); - I_Method2(void, load, IN, const osg::Texture2D &, texture, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - __void__load__C5_Texture2D_R1__State_R1, - "", - ""); - I_Method2(void, subload, IN, const osg::Texture2D &, texture, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - __void__subload__C5_Texture2D_R1__State_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Texture2DArray.cpp b/src/osgWrappers/introspection/osg/Texture2DArray.cpp deleted file mode 100644 index 42d66e075..000000000 --- a/src/osgWrappers/introspection/osg/Texture2DArray.cpp +++ /dev/null @@ -1,254 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Texture2DArray) - I_DeclaringFile("osg/Texture2DArray"); - I_BaseType(osg::Texture); - I_Constructor0(____Texture2DArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Texture2DArray &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Texture2DArray__C5_Texture2DArray_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, rhs, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(GLenum, getTextureTarget, - Properties::VIRTUAL, - __GLenum__getTextureTarget, - "", - ""); - I_Method2(void, setImage, IN, unsigned int, layer, IN, osg::Image *, image, - Properties::VIRTUAL, - __void__setImage__unsigned_int__Image_P1, - "Set the texture image for specified layer. ", - ""); - I_Method1(osg::Image *, getImage, IN, unsigned int, layer, - Properties::VIRTUAL, - __Image_P1__getImage__unsigned_int, - "Get the texture image for specified layer. ", - ""); - I_Method1(const osg::Image *, getImage, IN, unsigned int, layer, - Properties::VIRTUAL, - __C5_Image_P1__getImage__unsigned_int, - "Get the const texture image for specified layer. ", - ""); - I_Method0(unsigned int, getNumImages, - Properties::VIRTUAL, - __unsigned_int__getNumImages, - "Get the number of images that are assigned to the Texture. ", - "The number is equal to the texture depth. To get the maximum possible image/layer count, you have to use the extension subclass, since it provides graphic context dependent information. "); - I_Method2(unsigned int &, getModifiedCount, IN, unsigned int, layer, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getModifiedCount__unsigned_int__unsigned_int, - "Check how often was a certain layer in the given context modified. ", - ""); - I_Method3(void, setTextureSize, IN, int, width, IN, int, height, IN, int, depth, - Properties::NON_VIRTUAL, - __void__setTextureSize__int__int__int, - "Set the texture width and height. ", - "If width or height are zero then the respective size value is calculated from the source image sizes. Depth parameter specifies the number of layers to be used. "); - I_Method1(void, setTextureWidth, IN, int, width, - Properties::NON_VIRTUAL, - __void__setTextureWidth__int, - "", - ""); - I_Method1(void, setTextureHeight, IN, int, height, - Properties::NON_VIRTUAL, - __void__setTextureHeight__int, - "", - ""); - I_Method1(void, setTextureDepth, IN, int, depth, - Properties::NON_VIRTUAL, - __void__setTextureDepth__int, - "", - ""); - I_Method0(int, getTextureWidth, - Properties::VIRTUAL, - __int__getTextureWidth, - "", - ""); - I_Method0(int, getTextureHeight, - Properties::VIRTUAL, - __int__getTextureHeight, - "", - ""); - I_Method0(int, getTextureDepth, - Properties::VIRTUAL, - __int__getTextureDepth, - "", - ""); - I_Method1(void, setSubloadCallback, IN, osg::Texture2DArray::SubloadCallback *, cb, - Properties::NON_VIRTUAL, - __void__setSubloadCallback__SubloadCallback_P1, - "", - ""); - I_Method0(osg::Texture2DArray::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method0(const osg::Texture2DArray::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __C5_SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method1(void, setNumMipmapLevels, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setNumMipmapLevels__unsigned_int, - "Set the number of mip map levels the the texture has been created with. ", - "Should only be called within an osg::Texture::apply() and custom OpenGL texture load. "); - I_Method0(unsigned int, getNumMipmapLevels, - Properties::NON_VIRTUAL, - __unsigned_int__getNumMipmapLevels, - "Get the number of mip map levels the the texture has been created with. ", - ""); - I_Method8(void, copyTexSubImage2DArray, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, zoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__copyTexSubImage2DArray__State_R1__int__int__int__int__int__int__int, - "Copies a two-dimensional texture subimage, as per glCopyTexSubImage3D. ", - "Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. zoffset specifies the layer of the texture array to which the result is copied. "); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__State_R1, - "Bind the texture if already compiled. ", - "Otherwise recompile. "); - I_StaticMethod2(osg::Texture2DArray::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Function to call to get the extension of a specified context. ", - "If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Texture2DArray::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "The setExtensions method allows users to override the extensions across graphics contexts. ", - "Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. "); - I_ProtectedMethod0(bool, imagesValid, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__imagesValid, - "", - ""); - I_ProtectedMethod0(void, computeInternalFormat, - Properties::VIRTUAL, - Properties::CONST, - __void__computeInternalFormat, - "", - ""); - I_ProtectedMethod1(void, allocateMipmap, IN, osg::State &, state, - Properties::VIRTUAL, - Properties::CONST, - __void__allocateMipmap__State_R1, - "Allocate mipmap levels of the texture by subsequent calling of glTexImage* function. ", - ""); - I_ProtectedMethod7(void, applyTexImage2DArray_subload, IN, osg::State &, state, IN, osg::Image *, image, IN, GLsizei, inwidth, IN, GLsizei, inheight, IN, GLsizei, indepth, IN, GLint, inInternalFormat, IN, GLsizei &, numMipmapLevels, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__applyTexImage2DArray_subload__State_R1__Image_P1__GLsizei__GLsizei__GLsizei__GLint__GLsizei_R1, - "", - ""); - I_ArrayProperty(osg::Image *, Image, - __Image_P1__getImage__unsigned_int, - __void__setImage__unsigned_int__Image_P1, - __unsigned_int__getNumImages, - 0, - 0, - 0); - I_SimpleProperty(unsigned int, NumMipmapLevels, - 0, - __void__setNumMipmapLevels__unsigned_int); - I_SimpleProperty(osg::Texture2DArray::SubloadCallback *, SubloadCallback, - __SubloadCallback_P1__getSubloadCallback, - __void__setSubloadCallback__SubloadCallback_P1); - I_SimpleProperty(int, TextureDepth, - __int__getTextureDepth, - __void__setTextureDepth__int); - I_SimpleProperty(int, TextureHeight, - __int__getTextureHeight, - __void__setTextureHeight__int); - I_SimpleProperty(GLenum, TextureTarget, - __GLenum__getTextureTarget, - 0); - I_SimpleProperty(int, TextureWidth, - __int__getTextureWidth, - __void__setTextureWidth__int); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture2DArray::SubloadCallback) - I_DeclaringFile("osg/Texture2DArray"); - I_BaseType(osg::Referenced); - I_Constructor0(____SubloadCallback, - "", - ""); - I_Method2(void, load, IN, const osg::Texture2DArray &, texture, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - __void__load__C5_Texture2DArray_R1__State_R1, - "", - ""); - I_Method2(void, subload, IN, const osg::Texture2DArray &, texture, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - __void__subload__C5_Texture2DArray_R1__State_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Texture3D.cpp b/src/osgWrappers/introspection/osg/Texture3D.cpp deleted file mode 100644 index b18346ae6..000000000 --- a/src/osgWrappers/introspection/osg/Texture3D.cpp +++ /dev/null @@ -1,275 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::Texture3D) - I_DeclaringFile("osg/Texture3D"); - I_BaseType(osg::Texture); - I_Constructor0(____Texture3D, - "", - ""); - I_Constructor1(IN, osg::Image *, image, - Properties::NON_EXPLICIT, - ____Texture3D__Image_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Texture3D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Texture3D__C5_Texture3D_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, rhs, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(GLenum, getTextureTarget, - Properties::VIRTUAL, - __GLenum__getTextureTarget, - "", - ""); - I_Method1(void, setImage, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__setImage__Image_P1, - "Sets the texture image. ", - ""); - I_Method0(osg::Image *, getImage, - Properties::NON_VIRTUAL, - __Image_P1__getImage, - "Gets the texture image. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::NON_VIRTUAL, - __C5_Image_P1__getImage, - "Gets the const texture image. ", - ""); - I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getModifiedCount__unsigned_int, - "", - ""); - I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image, - Properties::VIRTUAL, - __void__setImage__unsigned__Image_P1, - "Sets the texture image, ignoring face. ", - ""); - I_Method1(osg::Image *, getImage, IN, unsigned, int, - Properties::VIRTUAL, - __Image_P1__getImage__unsigned, - "Gets the texture image, ignoring face. ", - ""); - I_Method1(const osg::Image *, getImage, IN, unsigned, int, - Properties::VIRTUAL, - __C5_Image_P1__getImage__unsigned, - "Gets the const texture image, ignoring face. ", - ""); - I_Method0(unsigned int, getNumImages, - Properties::VIRTUAL, - __unsigned_int__getNumImages, - "Gets the number of images that can be assigned to the Texture. ", - ""); - I_Method3(void, setTextureSize, IN, int, width, IN, int, height, IN, int, depth, - Properties::NON_VIRTUAL, - __void__setTextureSize__int__int__int, - "Sets the texture width, height, and depth. ", - "If width, height, or depth are zero, calculate the respective value from the source image size. "); - I_Method3(void, getTextureSize, IN, int &, width, IN, int &, height, IN, int &, depth, - Properties::NON_VIRTUAL, - __void__getTextureSize__int_R1__int_R1__int_R1, - "Gets the texture subload width. ", - ""); - I_Method1(void, setTextureWidth, IN, int, width, - Properties::NON_VIRTUAL, - __void__setTextureWidth__int, - "", - ""); - I_Method1(void, setTextureHeight, IN, int, height, - Properties::NON_VIRTUAL, - __void__setTextureHeight__int, - "", - ""); - I_Method1(void, setTextureDepth, IN, int, depth, - Properties::NON_VIRTUAL, - __void__setTextureDepth__int, - "", - ""); - I_Method0(int, getTextureWidth, - Properties::VIRTUAL, - __int__getTextureWidth, - "", - ""); - I_Method0(int, getTextureHeight, - Properties::VIRTUAL, - __int__getTextureHeight, - "", - ""); - I_Method0(int, getTextureDepth, - Properties::VIRTUAL, - __int__getTextureDepth, - "", - ""); - I_Method1(void, setSubloadCallback, IN, osg::Texture3D::SubloadCallback *, cb, - Properties::NON_VIRTUAL, - __void__setSubloadCallback__SubloadCallback_P1, - "", - ""); - I_Method0(osg::Texture3D::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method0(const osg::Texture3D::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __C5_SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method1(void, setNumMipmapLevels, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setNumMipmapLevels__unsigned_int, - "Helper function. ", - "Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texture::apply(), or during a custom OpenGL texture load. "); - I_Method0(unsigned int, getNumMipmapLevels, - Properties::NON_VIRTUAL, - __unsigned_int__getNumMipmapLevels, - "Gets the number of mipmap levels created. ", - ""); - I_Method8(void, copyTexSubImage3D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, zoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__copyTexSubImage3D__State_R1__int__int__int__int__int__int__int, - "Copies a two-dimensional texture subimage, as per glCopyTexSubImage3D. ", - "Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset, yoffset, and zoffset. width and height must be powers of two. "); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__State_R1, - "Bind the texture object. ", - "If the texture object hasn't already been compiled, create the texture mipmap levels. "); - I_StaticMethod2(osg::Texture3D::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Encapsulates queries of extension availability, obtains extension function pointers, and provides convenience wrappers for calling extension functions. ", - ""); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Texture3D::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "Overrides Extensions objects across graphics contexts. ", - "Typically used to ensure the same lowest common denominator of extensions on systems with different graphics pipes. "); - I_ProtectedMethod6(void, computeRequiredTextureDimensions, IN, osg::State &, state, IN, const osg::Image &, image, IN, GLsizei &, width, IN, GLsizei &, height, IN, GLsizei &, depth, IN, GLsizei &, numMipmapLevels, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeRequiredTextureDimensions__State_R1__C5_osg_Image_R1__GLsizei_R1__GLsizei_R1__GLsizei_R1__GLsizei_R1, - "", - ""); - I_ProtectedMethod0(void, computeInternalFormat, - Properties::VIRTUAL, - Properties::CONST, - __void__computeInternalFormat, - "", - ""); - I_ProtectedMethod1(void, allocateMipmap, IN, osg::State &, state, - Properties::VIRTUAL, - Properties::CONST, - __void__allocateMipmap__State_R1, - "Allocate mipmap levels of the texture by subsequent calling of glTexImage* function. ", - ""); - I_ProtectedMethod7(void, applyTexImage3D, IN, GLenum, target, IN, osg::Image *, image, IN, osg::State &, state, IN, GLsizei &, inwidth, IN, GLsizei &, inheight, IN, GLsizei &, indepth, IN, GLsizei &, numMipmapLevels, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__applyTexImage3D__GLenum__Image_P1__State_R1__GLsizei_R1__GLsizei_R1__GLsizei_R1__GLsizei_R1, - "", - ""); - I_SimpleProperty(osg::Image *, Image, - __Image_P1__getImage, - __void__setImage__Image_P1); - I_SimpleProperty(unsigned int, NumMipmapLevels, - 0, - __void__setNumMipmapLevels__unsigned_int); - I_SimpleProperty(osg::Texture3D::SubloadCallback *, SubloadCallback, - __SubloadCallback_P1__getSubloadCallback, - __void__setSubloadCallback__SubloadCallback_P1); - I_SimpleProperty(int, TextureDepth, - __int__getTextureDepth, - __void__setTextureDepth__int); - I_SimpleProperty(int, TextureHeight, - __int__getTextureHeight, - __void__setTextureHeight__int); - I_SimpleProperty(GLenum, TextureTarget, - __GLenum__getTextureTarget, - 0); - I_SimpleProperty(int, TextureWidth, - __int__getTextureWidth, - __void__setTextureWidth__int); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture3D::SubloadCallback) - I_DeclaringFile("osg/Texture3D"); - I_BaseType(osg::Referenced); - I_Constructor0(____SubloadCallback, - "", - ""); - I_Method2(void, load, IN, const osg::Texture3D &, texture, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - __void__load__C5_Texture3D_R1__State_R1, - "", - ""); - I_Method2(void, subload, IN, const osg::Texture3D &, texture, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - __void__subload__C5_Texture3D_R1__State_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/TextureCubeMap.cpp b/src/osgWrappers/introspection/osg/TextureCubeMap.cpp deleted file mode 100644 index ef94725b8..000000000 --- a/src/osgWrappers/introspection/osg/TextureCubeMap.cpp +++ /dev/null @@ -1,291 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::TextureCubeMap::Face) - I_DeclaringFile("osg/TextureCubeMap"); - I_EnumLabel(osg::TextureCubeMap::POSITIVE_X); - I_EnumLabel(osg::TextureCubeMap::NEGATIVE_X); - I_EnumLabel(osg::TextureCubeMap::POSITIVE_Y); - I_EnumLabel(osg::TextureCubeMap::NEGATIVE_Y); - I_EnumLabel(osg::TextureCubeMap::POSITIVE_Z); - I_EnumLabel(osg::TextureCubeMap::NEGATIVE_Z); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap) - I_DeclaringFile("osg/TextureCubeMap"); - I_BaseType(osg::Texture); - I_Constructor0(____TextureCubeMap, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TextureCubeMap &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TextureCubeMap__C5_TextureCubeMap_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, rhs, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(GLenum, getTextureTarget, - Properties::VIRTUAL, - __GLenum__getTextureTarget, - "", - ""); - I_Method2(void, setImage, IN, unsigned int, face, IN, osg::Image *, image, - Properties::VIRTUAL, - __void__setImage__unsigned_int__Image_P1, - "Set the texture image for specified face. ", - ""); - I_Method1(osg::Image *, getImage, IN, unsigned int, face, - Properties::VIRTUAL, - __Image_P1__getImage__unsigned_int, - "Get the texture image for specified face. ", - ""); - I_Method1(const osg::Image *, getImage, IN, unsigned int, face, - Properties::VIRTUAL, - __C5_Image_P1__getImage__unsigned_int, - "Get the const texture image for specified face. ", - ""); - I_Method0(unsigned int, getNumImages, - Properties::VIRTUAL, - __unsigned_int__getNumImages, - "Get the number of images that can be assigned to the Texture. ", - ""); - I_Method2(unsigned int &, getModifiedCount, IN, unsigned int, face, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getModifiedCount__unsigned_int__unsigned_int, - "", - ""); - I_Method2(void, setTextureSize, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__setTextureSize__int__int, - "Set the texture width and height. ", - "If width or height are zero then the repsective size value is calculated from the source image sizes. "); - I_Method1(void, setTextureWidth, IN, int, width, - Properties::NON_VIRTUAL, - __void__setTextureWidth__int, - "", - ""); - I_Method1(void, setTextureHeight, IN, int, height, - Properties::NON_VIRTUAL, - __void__setTextureHeight__int, - "", - ""); - I_Method0(int, getTextureWidth, - Properties::VIRTUAL, - __int__getTextureWidth, - "", - ""); - I_Method0(int, getTextureHeight, - Properties::VIRTUAL, - __int__getTextureHeight, - "", - ""); - I_Method0(int, getTextureDepth, - Properties::VIRTUAL, - __int__getTextureDepth, - "", - ""); - I_Method1(void, setSubloadCallback, IN, osg::TextureCubeMap::SubloadCallback *, cb, - Properties::NON_VIRTUAL, - __void__setSubloadCallback__SubloadCallback_P1, - "", - ""); - I_Method0(osg::TextureCubeMap::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method0(const osg::TextureCubeMap::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __C5_SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method1(void, setNumMipmapLevels, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setNumMipmapLevels__unsigned_int, - "Set the number of mip map levels the the texture has been created with. ", - "Should only be called within an osg::Texuture::apply() and custom OpenGL texture load. "); - I_Method0(unsigned int, getNumMipmapLevels, - Properties::NON_VIRTUAL, - __unsigned_int__getNumMipmapLevels, - "Get the number of mip map levels the the texture has been created with. ", - ""); - I_Method8(void, copyTexSubImageCubeMap, IN, osg::State &, state, IN, int, face, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__copyTexSubImageCubeMap__State_R1__int__int__int__int__int__int__int, - "Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ", - "Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. "); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__State_R1, - "On first apply (unless already compiled), create the mipmapped texture and bind it. ", - "Subsequent apply will simple bind to texture. "); - I_StaticMethod2(osg::TextureCubeMap::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Function to call to get the extension of a specified context. ", - "If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::TextureCubeMap::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "The setExtensions method allows users to override the extensions across graphics contexts. ", - "Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. "); - I_ProtectedMethod0(bool, imagesValid, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__imagesValid, - "", - ""); - I_ProtectedMethod0(void, computeInternalFormat, - Properties::VIRTUAL, - Properties::CONST, - __void__computeInternalFormat, - "", - ""); - I_ProtectedMethod1(void, allocateMipmap, IN, osg::State &, state, - Properties::VIRTUAL, - Properties::CONST, - __void__allocateMipmap__State_R1, - "Allocate mipmap levels of the texture by subsequent calling of glTexImage* function. ", - ""); - I_ArrayProperty(osg::Image *, Image, - __Image_P1__getImage__unsigned_int, - __void__setImage__unsigned_int__Image_P1, - __unsigned_int__getNumImages, - 0, - 0, - 0); - I_SimpleProperty(unsigned int, NumMipmapLevels, - 0, - __void__setNumMipmapLevels__unsigned_int); - I_SimpleProperty(osg::TextureCubeMap::SubloadCallback *, SubloadCallback, - __SubloadCallback_P1__getSubloadCallback, - __void__setSubloadCallback__SubloadCallback_P1); - I_SimpleProperty(int, TextureDepth, - __int__getTextureDepth, - 0); - I_SimpleProperty(int, TextureHeight, - __int__getTextureHeight, - __void__setTextureHeight__int); - I_SimpleProperty(GLenum, TextureTarget, - __GLenum__getTextureTarget, - 0); - I_SimpleProperty(int, TextureWidth, - __int__getTextureWidth, - __void__setTextureWidth__int); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap::Extensions) - I_DeclaringFile("osg/TextureCubeMap"); - I_BaseType(osg::Referenced); - I_Constructor1(IN, unsigned int, contextID, - Properties::NON_EXPLICIT, - ____Extensions__unsigned_int, - "", - ""); - I_Constructor1(IN, const osg::TextureCubeMap::Extensions &, rhs, - Properties::NON_EXPLICIT, - ____Extensions__C5_Extensions_R1, - "", - ""); - I_Method1(void, lowestCommonDenominator, IN, const osg::TextureCubeMap::Extensions &, rhs, - Properties::NON_VIRTUAL, - __void__lowestCommonDenominator__C5_Extensions_R1, - "", - ""); - I_Method1(void, setupGLExtensions, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __void__setupGLExtensions__unsigned_int, - "", - ""); - I_Method1(void, setCubeMapSupported, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setCubeMapSupported__bool, - "", - ""); - I_Method0(bool, isCubeMapSupported, - Properties::NON_VIRTUAL, - __bool__isCubeMapSupported, - "", - ""); - I_SimpleProperty(bool, CubeMapSupported, - 0, - __void__setCubeMapSupported__bool); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TextureCubeMap::SubloadCallback) - I_DeclaringFile("osg/TextureCubeMap"); - I_BaseType(osg::Referenced); - I_Constructor0(____SubloadCallback, - "", - ""); - I_Method2(void, load, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - __void__load__C5_TextureCubeMap_R1__State_R1, - "", - ""); - I_Method2(void, subload, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state, - Properties::PURE_VIRTUAL, - __void__subload__C5_TextureCubeMap_R1__State_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/TextureRectangle.cpp b/src/osgWrappers/introspection/osg/TextureRectangle.cpp deleted file mode 100644 index 9a1ecf267..000000000 --- a/src/osgWrappers/introspection/osg/TextureRectangle.cpp +++ /dev/null @@ -1,249 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::TextureRectangle) - I_DeclaringFile("osg/TextureRectangle"); - I_BaseType(osg::Texture); - I_Constructor0(____TextureRectangle, - "", - ""); - I_Constructor1(IN, osg::Image *, image, - Properties::NON_EXPLICIT, - ____TextureRectangle__Image_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TextureRectangle &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TextureRectangle__C5_TextureRectangle_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, rhs, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(GLenum, getTextureTarget, - Properties::VIRTUAL, - __GLenum__getTextureTarget, - "", - ""); - I_Method1(void, setImage, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__setImage__Image_P1, - "Set the texture image. ", - ""); - I_Method0(osg::Image *, getImage, - Properties::NON_VIRTUAL, - __Image_P1__getImage, - "Get the texture image. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::NON_VIRTUAL, - __C5_Image_P1__getImage, - "Get the const texture image. ", - ""); - I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __unsigned_int_R1__getModifiedCount__unsigned_int, - "", - ""); - I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image, - Properties::VIRTUAL, - __void__setImage__unsigned__Image_P1, - "Set the texture image, ignoring face value as there is only one image. ", - ""); - I_Method1(osg::Image *, getImage, IN, unsigned, int, - Properties::VIRTUAL, - __Image_P1__getImage__unsigned, - "Get the texture image, ignoring face value as there is only one image. ", - ""); - I_Method1(const osg::Image *, getImage, IN, unsigned, int, - Properties::VIRTUAL, - __C5_Image_P1__getImage__unsigned, - "Get the const texture image, ignoring face value as there is only one image. ", - ""); - I_Method0(unsigned int, getNumImages, - Properties::VIRTUAL, - __unsigned_int__getNumImages, - "Get the number of images that can be assigned to the Texture. ", - ""); - I_Method2(void, setTextureSize, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__setTextureSize__int__int, - "Set the texture width and height. ", - "If width or height are zero then the respective size value is calculated from the source image sizes. "); - I_Method1(void, setTextureWidth, IN, int, width, - Properties::NON_VIRTUAL, - __void__setTextureWidth__int, - "", - ""); - I_Method1(void, setTextureHeight, IN, int, height, - Properties::NON_VIRTUAL, - __void__setTextureHeight__int, - "", - ""); - I_Method0(int, getTextureWidth, - Properties::VIRTUAL, - __int__getTextureWidth, - "", - ""); - I_Method0(int, getTextureHeight, - Properties::VIRTUAL, - __int__getTextureHeight, - "", - ""); - I_Method0(int, getTextureDepth, - Properties::VIRTUAL, - __int__getTextureDepth, - "", - ""); - I_Method1(void, setSubloadCallback, IN, osg::TextureRectangle::SubloadCallback *, cb, - Properties::NON_VIRTUAL, - __void__setSubloadCallback__SubloadCallback_P1, - "", - ""); - I_Method0(osg::TextureRectangle::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method0(const osg::TextureRectangle::SubloadCallback *, getSubloadCallback, - Properties::NON_VIRTUAL, - __C5_SubloadCallback_P1__getSubloadCallback, - "", - ""); - I_Method5(void, copyTexImage2D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__copyTexImage2D__State_R1__int__int__int__int, - "Copies pixels into a 2D texture image, as per glCopyTexImage2D. ", - "Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. width and height must be a power of two. "); - I_Method7(void, copyTexSubImage2D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__copyTexSubImage2D__State_R1__int__int__int__int__int__int, - "Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ", - "Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. "); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__State_R1, - "On first apply (unless already compiled), create and bind the texture, subsequent apply will simply bind to texture. ", - ""); - I_ProtectedMethod0(void, computeInternalFormat, - Properties::VIRTUAL, - Properties::CONST, - __void__computeInternalFormat, - "", - ""); - I_ProtectedMethod1(void, allocateMipmap, IN, osg::State &, state, - Properties::VIRTUAL, - Properties::CONST, - __void__allocateMipmap__State_R1, - "Allocate mipmap levels of the texture by subsequent calling of glTexImage* function. ", - ""); - I_ProtectedMethod5(void, applyTexImage_load, IN, GLenum, target, IN, osg::Image *, image, IN, osg::State &, state, IN, GLsizei &, inwidth, IN, GLsizei &, inheight, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__applyTexImage_load__GLenum__Image_P1__State_R1__GLsizei_R1__GLsizei_R1, - "", - ""); - I_ProtectedMethod6(void, applyTexImage_subload, IN, GLenum, target, IN, osg::Image *, image, IN, osg::State &, state, IN, GLsizei &, inwidth, IN, GLsizei &, inheight, IN, GLint &, inInternalFormat, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__applyTexImage_subload__GLenum__Image_P1__State_R1__GLsizei_R1__GLsizei_R1__GLint_R1, - "", - ""); - I_SimpleProperty(osg::Image *, Image, - __Image_P1__getImage, - __void__setImage__Image_P1); - I_SimpleProperty(osg::TextureRectangle::SubloadCallback *, SubloadCallback, - __SubloadCallback_P1__getSubloadCallback, - __void__setSubloadCallback__SubloadCallback_P1); - I_SimpleProperty(int, TextureDepth, - __int__getTextureDepth, - 0); - I_SimpleProperty(int, TextureHeight, - __int__getTextureHeight, - __void__setTextureHeight__int); - I_SimpleProperty(GLenum, TextureTarget, - __GLenum__getTextureTarget, - 0); - I_SimpleProperty(int, TextureWidth, - __int__getTextureWidth, - __void__setTextureWidth__int); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TextureRectangle::SubloadCallback) - I_DeclaringFile("osg/TextureRectangle"); - I_BaseType(osg::Referenced); - I_Constructor0(____SubloadCallback, - "", - ""); - I_Method2(void, load, IN, const osg::TextureRectangle &, x, IN, osg::State &, x, - Properties::PURE_VIRTUAL, - __void__load__C5_TextureRectangle_R1__State_R1, - "", - ""); - I_Method2(void, subload, IN, const osg::TextureRectangle &, x, IN, osg::State &, x, - Properties::PURE_VIRTUAL, - __void__subload__C5_TextureRectangle_R1__State_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Timer.cpp b/src/osgWrappers/introspection/osg/Timer.cpp deleted file mode 100644 index 94b678650..000000000 --- a/src/osgWrappers/introspection/osg/Timer.cpp +++ /dev/null @@ -1,157 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osg::ElapsedTime) - I_DeclaringFile("osg/Timer"); - I_ConstructorWithDefaults2(IN, double *, elapsedTime, , IN, osg::Timer *, timer, 0, - ____ElapsedTime__double_P1__osg_Timer_P1, - "", - ""); - I_ConstructorWithDefaults1(IN, osg::Timer *, timer, 0, - Properties::NON_EXPLICIT, - ____ElapsedTime__osg_Timer_P1, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(double, elapsedTime, - Properties::NON_VIRTUAL, - __double__elapsedTime, - "elapsed time in seconds. ", - ""); - I_Method0(double, elapsedTime_m, - Properties::NON_VIRTUAL, - __double__elapsedTime_m, - "elapsed time in milliseconds. ", - ""); - I_Method0(double, elapsedTime_u, - Properties::NON_VIRTUAL, - __double__elapsedTime_u, - "elapsed time in microseconds. ", - ""); - I_Method0(double, elapsedTime_n, - Properties::NON_VIRTUAL, - __double__elapsedTime_n, - "elapsed time in nanoseconds. ", - ""); - I_Method0(void, finish, - Properties::NON_VIRTUAL, - __void__finish, - "", - ""); - I_ProtectedMethod1(void, init, IN, osg::Timer *, timer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__init__osg_Timer_P1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::Timer) - I_DeclaringFile("osg/Timer"); - I_Constructor0(____Timer, - "", - ""); - I_Method0(osg::Timer_t, tick, - Properties::NON_VIRTUAL, - __Timer_t__tick, - "Get the timers tick value. ", - ""); - I_Method0(void, setStartTick, - Properties::NON_VIRTUAL, - __void__setStartTick, - "Set the start. ", - ""); - I_Method1(void, setStartTick, IN, osg::Timer_t, t, - Properties::NON_VIRTUAL, - __void__setStartTick__Timer_t, - "", - ""); - I_Method0(osg::Timer_t, getStartTick, - Properties::NON_VIRTUAL, - __Timer_t__getStartTick, - "", - ""); - I_Method0(double, time_s, - Properties::NON_VIRTUAL, - __double__time_s, - "Get elapsed time in seconds. ", - ""); - I_Method0(double, time_m, - Properties::NON_VIRTUAL, - __double__time_m, - "Get elapsed time in milliseconds. ", - ""); - I_Method0(double, time_u, - Properties::NON_VIRTUAL, - __double__time_u, - "Get elapsed time in micoseconds. ", - ""); - I_Method0(double, time_n, - Properties::NON_VIRTUAL, - __double__time_n, - "Get elapsed time in nanoseconds. ", - ""); - I_Method2(double, delta_s, IN, osg::Timer_t, t1, IN, osg::Timer_t, t2, - Properties::NON_VIRTUAL, - __double__delta_s__Timer_t__Timer_t, - "Get the time in seconds between timer ticks t1 and t2. ", - ""); - I_Method2(double, delta_m, IN, osg::Timer_t, t1, IN, osg::Timer_t, t2, - Properties::NON_VIRTUAL, - __double__delta_m__Timer_t__Timer_t, - "Get the time in milliseconds between timer ticks t1 and t2. ", - ""); - I_Method2(double, delta_u, IN, osg::Timer_t, t1, IN, osg::Timer_t, t2, - Properties::NON_VIRTUAL, - __double__delta_u__Timer_t__Timer_t, - "Get the time in microseconds between timer ticks t1 and t2. ", - ""); - I_Method2(double, delta_n, IN, osg::Timer_t, t1, IN, osg::Timer_t, t2, - Properties::NON_VIRTUAL, - __double__delta_n__Timer_t__Timer_t, - "Get the time in nanoseconds between timer ticks t1 and t2. ", - ""); - I_Method0(double, getSecondsPerTick, - Properties::NON_VIRTUAL, - __double__getSecondsPerTick, - "Get the the number of seconds per tick. ", - ""); - I_StaticMethod0(osg::Timer *, instance, - __Timer_P1__instance_S, - "", - ""); - I_SimpleProperty(double, SecondsPerTick, - __double__getSecondsPerTick, - 0); - I_SimpleProperty(osg::Timer_t, StartTick, - __Timer_t__getStartTick, - __void__setStartTick__Timer_t); -END_REFLECTOR - -TYPE_NAME_ALIAS(unsigned long long, osg::Timer_t) - diff --git a/src/osgWrappers/introspection/osg/TransferFunction.cpp b/src/osgWrappers/introspection/osg/TransferFunction.cpp deleted file mode 100644 index 1d931d559..000000000 --- a/src/osgWrappers/introspection/osg/TransferFunction.cpp +++ /dev/null @@ -1,197 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osg::TransferFunction) - I_DeclaringFile("osg/TransferFunction"); - I_BaseType(osg::Object); - I_Constructor0(____TransferFunction, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TransferFunction &, tf, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TransferFunction__C5_TransferFunction_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osg::Image *, getImage, - Properties::NON_VIRTUAL, - __osg_Image_P1__getImage, - "Get the image that is used for passing the transfer function data to the GPU. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::NON_VIRTUAL, - __C5_osg_Image_P1__getImage, - "Get the const image that is used for passing the transfer function data to the GPU. ", - ""); - I_SimpleProperty(osg::Image *, Image, - __osg_Image_P1__getImage, - 0); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< float COMMA osg::Vec4 >, osg::TransferFunction1D::ColorMap) - -BEGIN_OBJECT_REFLECTOR(osg::TransferFunction1D) - I_DeclaringFile("osg/TransferFunction"); - I_BaseType(osg::TransferFunction); - I_Constructor0(____TransferFunction1D, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TransferFunction1D &, tf, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TransferFunction1D__C5_TransferFunction1D_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(float, getMinimum, - Properties::NON_VIRTUAL, - __float__getMinimum, - "Get the mnimum transfer function value. ", - ""); - I_Method0(float, getMaximum, - Properties::NON_VIRTUAL, - __float__getMaximum, - "Get the maximum transfer function value. ", - ""); - I_Method1(void, allocate, IN, unsigned int, numImageCells, - Properties::NON_VIRTUAL, - __void__allocate__unsigned_int, - "allocate the osg::Image with specified dimension. ", - "The Image tracks the color map, and is used to represent the transfer function when download to GPU. "); - I_MethodWithDefaults1(void, clear, IN, const osg::Vec4 &, color, osg::Vec4(1.0f, 1.0f, 1.0f, 1.0f), - Properties::NON_VIRTUAL, - __void__clear__C5_osg_Vec4_R1, - "Clear the whole range to just represet a single color. ", - ""); - I_Method1(osg::Vec4, getPixelValue, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __osg_Vec4__getPixelValue__unsigned_int, - "Get pixel value from the image. ", - ""); - I_Method0(unsigned int, getNumberImageCells, - Properties::NON_VIRTUAL, - __unsigned_int__getNumberImageCells, - "Get the number of image cells that are assigned to the represent the transfer function when download to the GPU. ", - ""); - I_MethodWithDefaults3(void, setColor, IN, float, v, , IN, const osg::Vec4 &, color, , IN, bool, updateImage, true, - Properties::NON_VIRTUAL, - __void__setColor__float__C5_osg_Vec4_R1__bool, - "Set the color for a specified transfer function value. ", - "updateImage defaults to true, and tells the setColor function to update the associate osg::Image that tracks the color map. Pass in false as the updateImage parameter if you are setting up many values at once to avoid recomputating og the image data, then once all setColor calls are made explictly call updateImage() to bring the osg::Image back into sync with the color map. "); - I_Method1(osg::Vec4, getColor, IN, float, v, - Properties::NON_VIRTUAL, - __osg_Vec4__getColor__float, - "Get the color for a specified transfer function value, interpolating the value if no exact match is found. ", - ""); - I_Method0(osg::TransferFunction1D::ColorMap &, getColorMap, - Properties::NON_VIRTUAL, - __ColorMap_R1__getColorMap, - "Get the color map that stores the mapping between the the tranfser function value and the colour it maps to. ", - ""); - I_Method0(const osg::TransferFunction1D::ColorMap &, getColorMap, - Properties::NON_VIRTUAL, - __C5_ColorMap_R1__getColorMap, - "Get the const color map that stores the mapping between the the tranfser function value and the colour it maps to. ", - ""); - I_Method1(void, assign, IN, const osg::TransferFunction1D::ColorMap &, vcm, - Properties::NON_VIRTUAL, - __void__assign__C5_ColorMap_R1, - "Assign a color map and automatically update the image to make sure they are in sync. ", - ""); - I_Method0(void, updateImage, - Properties::NON_VIRTUAL, - __void__updateImage, - "Manually update the associate osg::Image to represent the colors assigned in the color map. ", - ""); - I_ProtectedMethod4(void, assignToImage, IN, float, lower_v, IN, const osg::Vec4 &, lower_c, IN, float, upper_v, IN, const osg::Vec4 &, upper_c, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__assignToImage__float__C5_osg_Vec4_R1__float__C5_osg_Vec4_R1, - "", - ""); - I_SimpleProperty(osg::TransferFunction1D::ColorMap &, ColorMap, - __ColorMap_R1__getColorMap, - 0); - I_SimpleProperty(float, Maximum, - __float__getMaximum, - 0); - I_SimpleProperty(float, Minimum, - __float__getMinimum, - 0); - I_SimpleProperty(unsigned int, NumberImageCells, - __unsigned_int__getNumberImageCells, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< float COMMA osg::Vec4 >) - diff --git a/src/osgWrappers/introspection/osg/Transform.cpp b/src/osgWrappers/introspection/osg/Transform.cpp deleted file mode 100644 index 0a1ece3a7..000000000 --- a/src/osgWrappers/introspection/osg/Transform.cpp +++ /dev/null @@ -1,138 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::Transform::ReferenceFrame) - I_DeclaringFile("osg/Transform"); - I_EnumLabel(osg::Transform::RELATIVE_RF); - I_EnumLabel(osg::Transform::ABSOLUTE_RF); - I_EnumLabel(osg::Transform::ABSOLUTE_RF_INHERIT_VIEWPOINT); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Transform) - I_DeclaringFile("osg/Transform"); - I_BaseType(osg::Group); - I_Constructor0(____Transform, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Transform &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Transform__C5_Transform_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(osg::Transform *, asTransform, - Properties::VIRTUAL, - __Transform_P1__asTransform, - "Convert 'this' into a Transform pointer if Node is a Transform, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(const osg::Transform *, asTransform, - Properties::VIRTUAL, - __C5_Transform_P1__asTransform, - "convert 'const this' into a const Transform pointer if Node is a Transform, otherwise return 0. ", - "Equivalent to dynamic_cast(this). "); - I_Method0(osg::MatrixTransform *, asMatrixTransform, - Properties::VIRTUAL, - __MatrixTransform_P1__asMatrixTransform, - "", - ""); - I_Method0(const osg::MatrixTransform *, asMatrixTransform, - Properties::VIRTUAL, - __C5_MatrixTransform_P1__asMatrixTransform, - "", - ""); - I_Method0(osg::PositionAttitudeTransform *, asPositionAttitudeTransform, - Properties::VIRTUAL, - __PositionAttitudeTransform_P1__asPositionAttitudeTransform, - "", - ""); - I_Method0(const osg::PositionAttitudeTransform *, asPositionAttitudeTransform, - Properties::VIRTUAL, - __C5_PositionAttitudeTransform_P1__asPositionAttitudeTransform, - "", - ""); - I_Method1(void, setReferenceFrame, IN, osg::Transform::ReferenceFrame, rf, - Properties::NON_VIRTUAL, - __void__setReferenceFrame__ReferenceFrame, - "Set the transform's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. ", - "RELATIVE_RF is the default. Note: Setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the transform, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is necessary to prevent inappropriate culling, but may impact cull times if the absolute transform is deep in the scene graph. It is therefore recommended to only use absolute Transforms at the top of the scene, for such things as heads up displays. ABSOLUTE_RF_INHERIT_VIEWPOINT is the same as ABSOLUTE_RF except it adds the ability to use the parents view points position in world coordinates as its local viewpoint in the new coordinates frame. This is useful for Render to texture Cameras that wish to use the main views LOD range computation (which uses the viewpoint rather than the eye point) rather than use the local eye point defined by the this Transforms' absolute view matrix. "); - I_Method0(osg::Transform::ReferenceFrame, getReferenceFrame, - Properties::NON_VIRTUAL, - __ReferenceFrame__getReferenceFrame, - "", - ""); - I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1, - "", - ""); - I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1, - "", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __BoundingSphere__computeBound, - "Overrides Group's computeBound. ", - "There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required). "); - I_SimpleProperty(osg::Transform::ReferenceFrame, ReferenceFrame, - __ReferenceFrame__getReferenceFrame, - __void__setReferenceFrame__ReferenceFrame); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Uniform.cpp b/src/osgWrappers/introspection/osg/Uniform.cpp deleted file mode 100644 index 1feaaae2c..000000000 --- a/src/osgWrappers/introspection/osg/Uniform.cpp +++ /dev/null @@ -1,1010 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osg::Matrix2) - I_DeclaringFile("osg/Uniform"); - I_Constructor0(____Matrix2, - "", - ""); - I_Constructor1(IN, const osg::Matrix2 &, mat, - Properties::NON_EXPLICIT, - ____Matrix2__C5_Matrix2_R1, - "", - ""); - I_Constructor4(IN, float, a00, IN, float, a01, IN, float, a10, IN, float, a11, - ____Matrix2__float__float__float__float, - "", - ""); - I_Method1(void, set, IN, const osg::Matrix2 &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Matrix2_R1, - "", - ""); - I_Method1(void, set, IN, float const *const, ptr, - Properties::NON_VIRTUAL, - __void__set__float_C5_P1C5, - "", - ""); - I_Method4(void, set, IN, float, a00, IN, float, a01, IN, float, a10, IN, float, a11, - Properties::NON_VIRTUAL, - __void__set__float__float__float__float, - "", - ""); - I_Method0(float *, ptr, - Properties::NON_VIRTUAL, - __float_P1__ptr, - "", - ""); - I_Method0(const float *, ptr, - Properties::NON_VIRTUAL, - __C5_float_P1__ptr, - "", - ""); - I_Method0(void, makeIdentity, - Properties::NON_VIRTUAL, - __void__makeIdentity, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::Matrix3) - I_DeclaringFile("osg/Uniform"); - I_Constructor0(____Matrix3, - "", - ""); - I_Constructor1(IN, const osg::Matrix3 &, mat, - Properties::NON_EXPLICIT, - ____Matrix3__C5_Matrix3_R1, - "", - ""); - I_Constructor9(IN, float, a00, IN, float, a01, IN, float, a02, IN, float, a10, IN, float, a11, IN, float, a12, IN, float, a20, IN, float, a21, IN, float, a22, - ____Matrix3__float__float__float__float__float__float__float__float__float, - "", - ""); - I_Method1(void, set, IN, const osg::Matrix3 &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Matrix3_R1, - "", - ""); - I_Method1(void, set, IN, float const *const, ptr, - Properties::NON_VIRTUAL, - __void__set__float_C5_P1C5, - "", - ""); - I_Method9(void, set, IN, float, a00, IN, float, a01, IN, float, a02, IN, float, a10, IN, float, a11, IN, float, a12, IN, float, a20, IN, float, a21, IN, float, a22, - Properties::NON_VIRTUAL, - __void__set__float__float__float__float__float__float__float__float__float, - "", - ""); - I_Method0(float *, ptr, - Properties::NON_VIRTUAL, - __float_P1__ptr, - "", - ""); - I_Method0(const float *, ptr, - Properties::NON_VIRTUAL, - __C5_float_P1__ptr, - "", - ""); - I_Method0(void, makeIdentity, - Properties::NON_VIRTUAL, - __void__makeIdentity, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osg::Uniform::Type) - I_DeclaringFile("osg/Uniform"); - I_EnumLabel(osg::Uniform::FLOAT); - I_EnumLabel(osg::Uniform::FLOAT_VEC2); - I_EnumLabel(osg::Uniform::FLOAT_VEC3); - I_EnumLabel(osg::Uniform::FLOAT_VEC4); - I_EnumLabel(osg::Uniform::INT); - I_EnumLabel(osg::Uniform::INT_VEC2); - I_EnumLabel(osg::Uniform::INT_VEC3); - I_EnumLabel(osg::Uniform::INT_VEC4); - I_EnumLabel(osg::Uniform::BOOL); - I_EnumLabel(osg::Uniform::BOOL_VEC2); - I_EnumLabel(osg::Uniform::BOOL_VEC3); - I_EnumLabel(osg::Uniform::BOOL_VEC4); - I_EnumLabel(osg::Uniform::FLOAT_MAT2); - I_EnumLabel(osg::Uniform::FLOAT_MAT3); - I_EnumLabel(osg::Uniform::FLOAT_MAT4); - I_EnumLabel(osg::Uniform::SAMPLER_1D); - I_EnumLabel(osg::Uniform::SAMPLER_2D); - I_EnumLabel(osg::Uniform::SAMPLER_3D); - I_EnumLabel(osg::Uniform::SAMPLER_CUBE); - I_EnumLabel(osg::Uniform::SAMPLER_1D_SHADOW); - I_EnumLabel(osg::Uniform::SAMPLER_2D_SHADOW); - I_EnumLabel(osg::Uniform::SAMPLER_1D_ARRAY); - I_EnumLabel(osg::Uniform::SAMPLER_2D_ARRAY); - I_EnumLabel(osg::Uniform::SAMPLER_1D_ARRAY_SHADOW); - I_EnumLabel(osg::Uniform::SAMPLER_2D_ARRAY_SHADOW); - I_EnumLabel(osg::Uniform::FLOAT_MAT2x3); - I_EnumLabel(osg::Uniform::FLOAT_MAT2x4); - I_EnumLabel(osg::Uniform::FLOAT_MAT3x2); - I_EnumLabel(osg::Uniform::FLOAT_MAT3x4); - I_EnumLabel(osg::Uniform::FLOAT_MAT4x2); - I_EnumLabel(osg::Uniform::FLOAT_MAT4x3); - I_EnumLabel(osg::Uniform::SAMPLER_BUFFER); - I_EnumLabel(osg::Uniform::SAMPLER_CUBE_SHADOW); - I_EnumLabel(osg::Uniform::UNSIGNED_INT); - I_EnumLabel(osg::Uniform::UNSIGNED_INT_VEC2); - I_EnumLabel(osg::Uniform::UNSIGNED_INT_VEC3); - I_EnumLabel(osg::Uniform::UNSIGNED_INT_VEC4); - I_EnumLabel(osg::Uniform::INT_SAMPLER_1D); - I_EnumLabel(osg::Uniform::INT_SAMPLER_2D); - I_EnumLabel(osg::Uniform::INT_SAMPLER_3D); - I_EnumLabel(osg::Uniform::INT_SAMPLER_CUBE); - I_EnumLabel(osg::Uniform::INT_SAMPLER_2D_RECT); - I_EnumLabel(osg::Uniform::INT_SAMPLER_1D_ARRAY); - I_EnumLabel(osg::Uniform::INT_SAMPLER_2D_ARRAY); - I_EnumLabel(osg::Uniform::INT_SAMPLER_BUFFER); - I_EnumLabel(osg::Uniform::UNSIGNED_INT_SAMPLER_1D); - I_EnumLabel(osg::Uniform::UNSIGNED_INT_SAMPLER_2D); - I_EnumLabel(osg::Uniform::UNSIGNED_INT_SAMPLER_3D); - I_EnumLabel(osg::Uniform::UNSIGNED_INT_SAMPLER_CUBE); - I_EnumLabel(osg::Uniform::UNSIGNED_INT_SAMPLER_2D_RECT); - I_EnumLabel(osg::Uniform::UNSIGNED_INT_SAMPLER_1D_ARRAY); - I_EnumLabel(osg::Uniform::UNSIGNED_INT_SAMPLER_2D_ARRAY); - I_EnumLabel(osg::Uniform::UNSIGNED_INT_SAMPLER_BUFFER); - I_EnumLabel(osg::Uniform::UNDEFINED); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::StateSet * >, osg::Uniform::ParentList) - -BEGIN_OBJECT_REFLECTOR(osg::Uniform) - I_DeclaringFile("osg/Uniform"); - I_BaseType(osg::Object); - I_Constructor0(____Uniform, - "", - ""); - I_ConstructorWithDefaults3(IN, osg::Uniform::Type, type, , IN, const std::string &, name, , IN, int, numElements, 1, - ____Uniform__Type__C5_std_string_R1__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Uniform &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Uniform__C5_Uniform_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, setType, IN, osg::Uniform::Type, t, - Properties::NON_VIRTUAL, - __bool__setType__Type, - "Set the type of glUniform, ensuring it is only set once. ", - ""); - I_Method0(osg::Uniform::Type, getType, - Properties::NON_VIRTUAL, - __Type__getType, - "Get the type of glUniform as enum. ", - ""); - I_Method1(void, setName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setName__C5_std_string_R1, - "Set the name of the glUniform, ensuring it is only set once. ", - ""); - I_Method1(void, setNumElements, IN, unsigned int, numElements, - Properties::NON_VIRTUAL, - __void__setNumElements__unsigned_int, - "Set the length of a uniform, ensuring it is only set once (1==scalar). ", - ""); - I_Method0(unsigned int, getNumElements, - Properties::NON_VIRTUAL, - __unsigned_int__getNumElements, - "Get the number of GLSL elements of the osg::Uniform (1==scalar). ", - ""); - I_Method0(unsigned int, getInternalArrayNumElements, - Properties::NON_VIRTUAL, - __unsigned_int__getInternalArrayNumElements, - "Get the number of elements required for the internal data array. ", - "Returns 0 if the osg::Uniform is not properly configured. "); - I_Constructor2(IN, const char *, name, IN, float, f, - ____Uniform__C5_char_P1__float, - "convenient scalar (non-array) constructors w/ assignment ", - ""); - I_Constructor2(IN, const char *, name, IN, int, i, - ____Uniform__C5_char_P1__int, - "", - ""); - I_Constructor2(IN, const char *, name, IN, unsigned int, i, - ____Uniform__C5_char_P1__unsigned_int, - "", - ""); - I_Constructor2(IN, const char *, name, IN, bool, b, - ____Uniform__C5_char_P1__bool, - "", - ""); - I_Constructor2(IN, const char *, name, IN, const osg::Vec2 &, v2, - ____Uniform__C5_char_P1__C5_osg_Vec2_R1, - "", - ""); - I_Constructor2(IN, const char *, name, IN, const osg::Vec3 &, v3, - ____Uniform__C5_char_P1__C5_osg_Vec3_R1, - "", - ""); - I_Constructor2(IN, const char *, name, IN, const osg::Vec4 &, v4, - ____Uniform__C5_char_P1__C5_osg_Vec4_R1, - "", - ""); - I_Constructor2(IN, const char *, name, IN, const osg::Matrix2 &, m2, - ____Uniform__C5_char_P1__C5_osg_Matrix2_R1, - "", - ""); - I_Constructor2(IN, const char *, name, IN, const osg::Matrix3 &, m3, - ____Uniform__C5_char_P1__C5_osg_Matrix3_R1, - "", - ""); - I_Constructor2(IN, const char *, name, IN, const osg::Matrixf &, m4, - ____Uniform__C5_char_P1__C5_osg_Matrixf_R1, - "", - ""); - I_Constructor2(IN, const char *, name, IN, const osg::Matrixd &, m4, - ____Uniform__C5_char_P1__C5_osg_Matrixd_R1, - "", - ""); - I_Constructor3(IN, const char *, name, IN, int, i0, IN, int, i1, - ____Uniform__C5_char_P1__int__int, - "", - ""); - I_Constructor4(IN, const char *, name, IN, int, i0, IN, int, i1, IN, int, i2, - ____Uniform__C5_char_P1__int__int__int, - "", - ""); - I_Constructor5(IN, const char *, name, IN, int, i0, IN, int, i1, IN, int, i2, IN, int, i3, - ____Uniform__C5_char_P1__int__int__int__int, - "", - ""); - I_Constructor3(IN, const char *, name, IN, unsigned int, i0, IN, unsigned int, i1, - ____Uniform__C5_char_P1__unsigned_int__unsigned_int, - "", - ""); - I_Constructor4(IN, const char *, name, IN, unsigned int, i0, IN, unsigned int, i1, IN, unsigned int, i2, - ____Uniform__C5_char_P1__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_Constructor5(IN, const char *, name, IN, unsigned int, i0, IN, unsigned int, i1, IN, unsigned int, i2, IN, unsigned int, i3, - ____Uniform__C5_char_P1__unsigned_int__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_Constructor3(IN, const char *, name, IN, bool, b0, IN, bool, b1, - ____Uniform__C5_char_P1__bool__bool, - "", - ""); - I_Constructor4(IN, const char *, name, IN, bool, b0, IN, bool, b1, IN, bool, b2, - ____Uniform__C5_char_P1__bool__bool__bool, - "", - ""); - I_Constructor5(IN, const char *, name, IN, bool, b0, IN, bool, b1, IN, bool, b2, IN, bool, b3, - ____Uniform__C5_char_P1__bool__bool__bool__bool, - "", - ""); - I_Method1(int, compare, IN, const osg::Uniform &, rhs, - Properties::VIRTUAL, - __int__compare__C5_Uniform_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(int, compareData, IN, const osg::Uniform &, rhs, - Properties::VIRTUAL, - __int__compareData__C5_Uniform_R1, - "", - ""); - I_Method1(void, copyData, IN, const osg::Uniform &, rhs, - Properties::NON_VIRTUAL, - __void__copyData__C5_Uniform_R1, - "", - ""); - I_Method0(const osg::Uniform::ParentList &, getParents, - Properties::NON_VIRTUAL, - __C5_ParentList_R1__getParents, - "Get the parent list of this Uniform. ", - ""); - I_Method0(osg::Uniform::ParentList, getParents, - Properties::NON_VIRTUAL, - __ParentList__getParents, - "Get the a copy of parent list of node. ", - "A copy is returned to prevent modification of the parent list. "); - I_Method1(osg::StateSet *, getParent, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __StateSet_P1__getParent__unsigned_int, - "", - ""); - I_Method1(const osg::StateSet *, getParent, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_StateSet_P1__getParent__unsigned_int, - "Get a single const parent of this Uniform. ", - " param i index of the parent to get. return the parent i. "); - I_Method0(unsigned int, getNumParents, - Properties::NON_VIRTUAL, - __unsigned_int__getNumParents, - "Get the number of parents of this Uniform. ", - "the number of parents of this Uniform. "); - I_Method1(bool, set, IN, float, f, - Properties::NON_VIRTUAL, - __bool__set__float, - "convenient scalar (non-array) value assignment ", - ""); - I_Method1(bool, set, IN, int, i, - Properties::NON_VIRTUAL, - __bool__set__int, - "", - ""); - I_Method1(bool, set, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __bool__set__unsigned_int, - "", - ""); - I_Method1(bool, set, IN, bool, b, - Properties::NON_VIRTUAL, - __bool__set__bool, - "", - ""); - I_Method1(bool, set, IN, const osg::Vec2 &, v2, - Properties::NON_VIRTUAL, - __bool__set__C5_osg_Vec2_R1, - "", - ""); - I_Method1(bool, set, IN, const osg::Vec3 &, v3, - Properties::NON_VIRTUAL, - __bool__set__C5_osg_Vec3_R1, - "", - ""); - I_Method1(bool, set, IN, const osg::Vec4 &, v4, - Properties::NON_VIRTUAL, - __bool__set__C5_osg_Vec4_R1, - "", - ""); - I_Method1(bool, set, IN, const osg::Matrix2 &, m2, - Properties::NON_VIRTUAL, - __bool__set__C5_osg_Matrix2_R1, - "", - ""); - I_Method1(bool, set, IN, const osg::Matrix3 &, m3, - Properties::NON_VIRTUAL, - __bool__set__C5_osg_Matrix3_R1, - "", - ""); - I_Method1(bool, set, IN, const osg::Matrixf &, m4, - Properties::NON_VIRTUAL, - __bool__set__C5_osg_Matrixf_R1, - "", - ""); - I_Method1(bool, set, IN, const osg::Matrixd &, m4, - Properties::NON_VIRTUAL, - __bool__set__C5_osg_Matrixd_R1, - "", - ""); - I_Method2(bool, set, IN, int, i0, IN, int, i1, - Properties::NON_VIRTUAL, - __bool__set__int__int, - "", - ""); - I_Method3(bool, set, IN, int, i0, IN, int, i1, IN, int, i2, - Properties::NON_VIRTUAL, - __bool__set__int__int__int, - "", - ""); - I_Method4(bool, set, IN, int, i0, IN, int, i1, IN, int, i2, IN, int, i3, - Properties::NON_VIRTUAL, - __bool__set__int__int__int__int, - "", - ""); - I_Method2(bool, set, IN, unsigned int, i0, IN, unsigned int, i1, - Properties::NON_VIRTUAL, - __bool__set__unsigned_int__unsigned_int, - "", - ""); - I_Method3(bool, set, IN, unsigned int, i0, IN, unsigned int, i1, IN, unsigned int, i2, - Properties::NON_VIRTUAL, - __bool__set__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_Method4(bool, set, IN, unsigned int, i0, IN, unsigned int, i1, IN, unsigned int, i2, IN, unsigned int, i3, - Properties::NON_VIRTUAL, - __bool__set__unsigned_int__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_Method2(bool, set, IN, bool, b0, IN, bool, b1, - Properties::NON_VIRTUAL, - __bool__set__bool__bool, - "", - ""); - I_Method3(bool, set, IN, bool, b0, IN, bool, b1, IN, bool, b2, - Properties::NON_VIRTUAL, - __bool__set__bool__bool__bool, - "", - ""); - I_Method4(bool, set, IN, bool, b0, IN, bool, b1, IN, bool, b2, IN, bool, b3, - Properties::NON_VIRTUAL, - __bool__set__bool__bool__bool__bool, - "", - ""); - I_Method1(bool, get, IN, float &, f, - Properties::NON_VIRTUAL, - __bool__get__float_R1, - "convenient scalar (non-array) value query ", - ""); - I_Method1(bool, get, IN, int &, i, - Properties::NON_VIRTUAL, - __bool__get__int_R1, - "", - ""); - I_Method1(bool, get, IN, unsigned int &, i, - Properties::NON_VIRTUAL, - __bool__get__unsigned_int_R1, - "", - ""); - I_Method1(bool, get, IN, bool &, b, - Properties::NON_VIRTUAL, - __bool__get__bool_R1, - "", - ""); - I_Method1(bool, get, IN, osg::Vec2 &, v2, - Properties::NON_VIRTUAL, - __bool__get__osg_Vec2_R1, - "", - ""); - I_Method1(bool, get, IN, osg::Vec3 &, v3, - Properties::NON_VIRTUAL, - __bool__get__osg_Vec3_R1, - "", - ""); - I_Method1(bool, get, IN, osg::Vec4 &, v4, - Properties::NON_VIRTUAL, - __bool__get__osg_Vec4_R1, - "", - ""); - I_Method1(bool, get, IN, osg::Matrix2 &, m2, - Properties::NON_VIRTUAL, - __bool__get__osg_Matrix2_R1, - "", - ""); - I_Method1(bool, get, IN, osg::Matrix3 &, m3, - Properties::NON_VIRTUAL, - __bool__get__osg_Matrix3_R1, - "", - ""); - I_Method1(bool, get, IN, osg::Matrixf &, m4, - Properties::NON_VIRTUAL, - __bool__get__osg_Matrixf_R1, - "", - ""); - I_Method1(bool, get, IN, osg::Matrixd &, m4, - Properties::NON_VIRTUAL, - __bool__get__osg_Matrixd_R1, - "", - ""); - I_Method2(bool, get, IN, int &, i0, IN, int &, i1, - Properties::NON_VIRTUAL, - __bool__get__int_R1__int_R1, - "", - ""); - I_Method3(bool, get, IN, int &, i0, IN, int &, i1, IN, int &, i2, - Properties::NON_VIRTUAL, - __bool__get__int_R1__int_R1__int_R1, - "", - ""); - I_Method4(bool, get, IN, int &, i0, IN, int &, i1, IN, int &, i2, IN, int &, i3, - Properties::NON_VIRTUAL, - __bool__get__int_R1__int_R1__int_R1__int_R1, - "", - ""); - I_Method2(bool, get, IN, unsigned int &, i0, IN, unsigned int &, i1, - Properties::NON_VIRTUAL, - __bool__get__unsigned_int_R1__unsigned_int_R1, - "", - ""); - I_Method3(bool, get, IN, unsigned int &, i0, IN, unsigned int &, i1, IN, unsigned int &, i2, - Properties::NON_VIRTUAL, - __bool__get__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1, - "", - ""); - I_Method4(bool, get, IN, unsigned int &, i0, IN, unsigned int &, i1, IN, unsigned int &, i2, IN, unsigned int &, i3, - Properties::NON_VIRTUAL, - __bool__get__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1, - "", - ""); - I_Method2(bool, get, IN, bool &, b0, IN, bool &, b1, - Properties::NON_VIRTUAL, - __bool__get__bool_R1__bool_R1, - "", - ""); - I_Method3(bool, get, IN, bool &, b0, IN, bool &, b1, IN, bool &, b2, - Properties::NON_VIRTUAL, - __bool__get__bool_R1__bool_R1__bool_R1, - "", - ""); - I_Method4(bool, get, IN, bool &, b0, IN, bool &, b1, IN, bool &, b2, IN, bool &, b3, - Properties::NON_VIRTUAL, - __bool__get__bool_R1__bool_R1__bool_R1__bool_R1, - "", - ""); - I_Method2(bool, setElement, IN, unsigned int, index, IN, float, f, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__float, - "value assignment for array uniforms ", - ""); - I_Method2(bool, setElement, IN, unsigned int, index, IN, int, i, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__int, - "", - ""); - I_Method2(bool, setElement, IN, unsigned int, index, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__unsigned_int, - "", - ""); - I_Method2(bool, setElement, IN, unsigned int, index, IN, bool, b, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__bool, - "", - ""); - I_Method2(bool, setElement, IN, unsigned int, index, IN, const osg::Vec2 &, v2, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__C5_osg_Vec2_R1, - "", - ""); - I_Method2(bool, setElement, IN, unsigned int, index, IN, const osg::Vec3 &, v3, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__C5_osg_Vec3_R1, - "", - ""); - I_Method2(bool, setElement, IN, unsigned int, index, IN, const osg::Vec4 &, v4, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__C5_osg_Vec4_R1, - "", - ""); - I_Method2(bool, setElement, IN, unsigned int, index, IN, const osg::Matrix2 &, m2, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__C5_osg_Matrix2_R1, - "", - ""); - I_Method2(bool, setElement, IN, unsigned int, index, IN, const osg::Matrix3 &, m3, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__C5_osg_Matrix3_R1, - "", - ""); - I_Method2(bool, setElement, IN, unsigned int, index, IN, const osg::Matrixf &, m4, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__C5_osg_Matrixf_R1, - "", - ""); - I_Method2(bool, setElement, IN, unsigned int, index, IN, const osg::Matrixd &, m4, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__C5_osg_Matrixd_R1, - "", - ""); - I_Method3(bool, setElement, IN, unsigned int, index, IN, int, i0, IN, int, i1, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__int__int, - "", - ""); - I_Method4(bool, setElement, IN, unsigned int, index, IN, int, i0, IN, int, i1, IN, int, i2, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__int__int__int, - "", - ""); - I_Method5(bool, setElement, IN, unsigned int, index, IN, int, i0, IN, int, i1, IN, int, i2, IN, int, i3, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__int__int__int__int, - "", - ""); - I_Method3(bool, setElement, IN, unsigned int, index, IN, unsigned int, i0, IN, unsigned int, i1, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_Method4(bool, setElement, IN, unsigned int, index, IN, unsigned int, i0, IN, unsigned int, i1, IN, unsigned int, i2, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_Method5(bool, setElement, IN, unsigned int, index, IN, unsigned int, i0, IN, unsigned int, i1, IN, unsigned int, i2, IN, unsigned int, i3, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__unsigned_int__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_Method3(bool, setElement, IN, unsigned int, index, IN, bool, b0, IN, bool, b1, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__bool__bool, - "", - ""); - I_Method4(bool, setElement, IN, unsigned int, index, IN, bool, b0, IN, bool, b1, IN, bool, b2, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__bool__bool__bool, - "", - ""); - I_Method5(bool, setElement, IN, unsigned int, index, IN, bool, b0, IN, bool, b1, IN, bool, b2, IN, bool, b3, - Properties::NON_VIRTUAL, - __bool__setElement__unsigned_int__bool__bool__bool__bool, - "", - ""); - I_Method2(bool, getElement, IN, unsigned int, index, IN, float &, f, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__float_R1, - "value query for array uniforms ", - ""); - I_Method2(bool, getElement, IN, unsigned int, index, IN, int &, i, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__int_R1, - "", - ""); - I_Method2(bool, getElement, IN, unsigned int, index, IN, unsigned int &, i, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__unsigned_int_R1, - "", - ""); - I_Method2(bool, getElement, IN, unsigned int, index, IN, bool &, b, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__bool_R1, - "", - ""); - I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Vec2 &, v2, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__osg_Vec2_R1, - "", - ""); - I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Vec3 &, v3, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__osg_Vec3_R1, - "", - ""); - I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Vec4 &, v4, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__osg_Vec4_R1, - "", - ""); - I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Matrix2 &, m2, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__osg_Matrix2_R1, - "", - ""); - I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Matrix3 &, m3, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__osg_Matrix3_R1, - "", - ""); - I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Matrixf &, m4, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__osg_Matrixf_R1, - "", - ""); - I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Matrixd &, m4, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__osg_Matrixd_R1, - "", - ""); - I_Method3(bool, getElement, IN, unsigned int, index, IN, int &, i0, IN, int &, i1, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__int_R1__int_R1, - "", - ""); - I_Method4(bool, getElement, IN, unsigned int, index, IN, int &, i0, IN, int &, i1, IN, int &, i2, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__int_R1__int_R1__int_R1, - "", - ""); - I_Method5(bool, getElement, IN, unsigned int, index, IN, int &, i0, IN, int &, i1, IN, int &, i2, IN, int &, i3, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__int_R1__int_R1__int_R1__int_R1, - "", - ""); - I_Method3(bool, getElement, IN, unsigned int, index, IN, unsigned int &, i0, IN, unsigned int &, i1, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__unsigned_int_R1__unsigned_int_R1, - "", - ""); - I_Method4(bool, getElement, IN, unsigned int, index, IN, unsigned int &, i0, IN, unsigned int &, i1, IN, unsigned int &, i2, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1, - "", - ""); - I_Method5(bool, getElement, IN, unsigned int, index, IN, unsigned int &, i0, IN, unsigned int &, i1, IN, unsigned int &, i2, IN, unsigned int &, i3, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1, - "", - ""); - I_Method3(bool, getElement, IN, unsigned int, index, IN, bool &, b0, IN, bool &, b1, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__bool_R1__bool_R1, - "", - ""); - I_Method4(bool, getElement, IN, unsigned int, index, IN, bool &, b0, IN, bool &, b1, IN, bool &, b2, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__bool_R1__bool_R1__bool_R1, - "", - ""); - I_Method5(bool, getElement, IN, unsigned int, index, IN, bool &, b0, IN, bool &, b1, IN, bool &, b2, IN, bool &, b3, - Properties::NON_VIRTUAL, - __bool__getElement__unsigned_int__bool_R1__bool_R1__bool_R1__bool_R1, - "", - ""); - I_Method1(void, setUpdateCallback, IN, osg::Uniform::Callback *, uc, - Properties::NON_VIRTUAL, - __void__setUpdateCallback__Callback_P1, - "Set the UpdateCallback which allows users to attach customize the updating of an object during the update traversal. ", - ""); - I_Method0(osg::Uniform::Callback *, getUpdateCallback, - Properties::NON_VIRTUAL, - __Callback_P1__getUpdateCallback, - "Get the non const UpdateCallback. ", - ""); - I_Method0(const osg::Uniform::Callback *, getUpdateCallback, - Properties::NON_VIRTUAL, - __C5_Callback_P1__getUpdateCallback, - "Get the const UpdateCallback. ", - ""); - I_Method1(void, setEventCallback, IN, osg::Uniform::Callback *, ec, - Properties::NON_VIRTUAL, - __void__setEventCallback__Callback_P1, - "Set the EventCallback which allows users to attach customize the updating of an object during the Event traversal. ", - ""); - I_Method0(osg::Uniform::Callback *, getEventCallback, - Properties::NON_VIRTUAL, - __Callback_P1__getEventCallback, - "Get the non const EventCallback. ", - ""); - I_Method0(const osg::Uniform::Callback *, getEventCallback, - Properties::NON_VIRTUAL, - __C5_Callback_P1__getEventCallback, - "Get the const EventCallback. ", - ""); - I_Method0(void, dirty, - Properties::NON_VIRTUAL, - __void__dirty, - "Increment the modified count on the Uniform so Programs watching it know it update themselves. ", - "NOTE: automatically called during osg::Uniform::set*(); you must call if modifying the internal data array directly. "); - I_Method1(bool, setArray, IN, osg::FloatArray *, array, - Properties::NON_VIRTUAL, - __bool__setArray__FloatArray_P1, - "Set the internal data array for a osg::Uniform. ", - ""); - I_Method1(bool, setArray, IN, osg::IntArray *, array, - Properties::NON_VIRTUAL, - __bool__setArray__IntArray_P1, - "", - ""); - I_Method1(bool, setArray, IN, osg::UIntArray *, array, - Properties::NON_VIRTUAL, - __bool__setArray__UIntArray_P1, - "", - ""); - I_Method0(osg::FloatArray *, getFloatArray, - Properties::NON_VIRTUAL, - __FloatArray_P1__getFloatArray, - "Get the internal data array for a float osg::Uniform. ", - ""); - I_Method0(const osg::FloatArray *, getFloatArray, - Properties::NON_VIRTUAL, - __C5_FloatArray_P1__getFloatArray, - "", - ""); - I_Method0(osg::IntArray *, getIntArray, - Properties::NON_VIRTUAL, - __IntArray_P1__getIntArray, - "Get the internal data array for an int osg::Uniform. ", - ""); - I_Method0(const osg::IntArray *, getIntArray, - Properties::NON_VIRTUAL, - __C5_IntArray_P1__getIntArray, - "", - ""); - I_Method0(osg::UIntArray *, getUIntArray, - Properties::NON_VIRTUAL, - __UIntArray_P1__getUIntArray, - "Get the internal data array for an unsigned int osg::Uniform. ", - ""); - I_Method0(const osg::UIntArray *, getUIntArray, - Properties::NON_VIRTUAL, - __C5_UIntArray_P1__getUIntArray, - "", - ""); - I_Method1(void, setModifiedCount, IN, unsigned int, mc, - Properties::NON_VIRTUAL, - __void__setModifiedCount__unsigned_int, - "", - ""); - I_Method0(unsigned int, getModifiedCount, - Properties::NON_VIRTUAL, - __unsigned_int__getModifiedCount, - "", - ""); - I_Method2(void, apply, IN, const osg::GL2Extensions *, ext, IN, GLint, location, - Properties::NON_VIRTUAL, - __void__apply__C5_GL2Extensions_P1__GLint, - "", - ""); - I_StaticMethod1(const char *, getTypename, IN, osg::Uniform::Type, t, - __C5_char_P1__getTypename__Type_S, - "Return the name of a Type enum as string. ", - ""); - I_StaticMethod1(int, getTypeNumComponents, IN, osg::Uniform::Type, t, - __int__getTypeNumComponents__Type_S, - "Return the the number of components for a GLSL type. ", - ""); - I_StaticMethod1(osg::Uniform::Type, getTypeId, IN, const std::string &, tname, - __Uniform_Type__getTypeId__C5_std_string_R1_S, - "Return the Type enum of a Uniform typename string. ", - ""); - I_StaticMethod1(osg::Uniform::Type, getGlApiType, IN, osg::Uniform::Type, t, - __Type__getGlApiType__Type_S, - "Return the GL API type corresponding to a GLSL type. ", - ""); - I_StaticMethod1(GLenum, getInternalArrayType, IN, osg::Uniform::Type, t, - __GLenum__getInternalArrayType__Type_S, - "Return the internal data array type corresponding to a GLSL type. ", - ""); - I_ProtectedMethod1(bool, isCompatibleType, IN, osg::Uniform::Type, t, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__isCompatibleType__Type, - "", - ""); - I_ProtectedMethod0(bool, isScalar, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__isScalar, - "", - ""); - I_ProtectedMethod0(void, allocateDataArray, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__allocateDataArray, - "", - ""); - I_ProtectedMethod1(void, addParent, IN, osg::StateSet *, object, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addParent__osg_StateSet_P1, - "", - ""); - I_ProtectedMethod1(void, removeParent, IN, osg::StateSet *, object, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__removeParent__osg_StateSet_P1, - "", - ""); - I_SimpleProperty(osg::FloatArray *, Array, - 0, - __bool__setArray__FloatArray_P1); - I_ArrayProperty(bool, Element, - 0, - __bool__setElement__unsigned_int__bool, - __unsigned_int__getNumElements, - 0, - 0, - 0); - I_SimpleProperty(osg::Uniform::Callback *, EventCallback, - __Callback_P1__getEventCallback, - __void__setEventCallback__Callback_P1); - I_SimpleProperty(osg::FloatArray *, FloatArray, - __FloatArray_P1__getFloatArray, - 0); - I_SimpleProperty(osg::IntArray *, IntArray, - __IntArray_P1__getIntArray, - 0); - I_SimpleProperty(unsigned int, InternalArrayNumElements, - __unsigned_int__getInternalArrayNumElements, - 0); - I_SimpleProperty(unsigned int, ModifiedCount, - __unsigned_int__getModifiedCount, - __void__setModifiedCount__unsigned_int); - I_SimpleProperty(const std::string &, Name, - 0, - __void__setName__C5_std_string_R1); - I_SimpleProperty(unsigned int, NumElements, - 0, - __void__setNumElements__unsigned_int); - I_ArrayProperty(osg::StateSet *, Parent, - __StateSet_P1__getParent__unsigned_int, - 0, - __unsigned_int__getNumParents, - 0, - 0, - 0); - I_SimpleProperty(osg::Uniform::ParentList, Parents, - __ParentList__getParents, - 0); - I_SimpleProperty(osg::Uniform::Type, Type, - __Type__getType, - __bool__setType__Type); - I_SimpleProperty(osg::UIntArray *, UIntArray, - __UIntArray_P1__getUIntArray, - 0); - I_SimpleProperty(osg::Uniform::Callback *, UpdateCallback, - __Callback_P1__getUpdateCallback, - __void__setUpdateCallback__Callback_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::Uniform::Callback) - I_DeclaringFile("osg/Uniform"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____Callback, - "", - ""); - I_Constructor2(IN, const osg::Uniform::Callback &, x, IN, const osg::CopyOp &, x, - ____Callback__C5_Callback_R1__C5_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec2.cpp b/src/osgWrappers/introspection/osg/Vec2.cpp deleted file mode 100644 index 7e4458250..000000000 --- a/src/osgWrappers/introspection/osg/Vec2.cpp +++ /dev/null @@ -1,26 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::Vec2f, osg::Vec2) - diff --git a/src/osgWrappers/introspection/osg/Vec2b.cpp b/src/osgWrappers/introspection/osg/Vec2b.cpp deleted file mode 100644 index 9eb9eed06..000000000 --- a/src/osgWrappers/introspection/osg/Vec2b.cpp +++ /dev/null @@ -1,99 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(signed char, osg::Vec2b::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec2b) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Vec2b"); - I_Constructor0(____Vec2b, - "", - ""); - I_Constructor2(IN, osg::Vec2b::value_type, r, IN, osg::Vec2b::value_type, g, - ____Vec2b__value_type__value_type, - "", - ""); - I_Method0(osg::Vec2b::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec2b::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method2(void, set, IN, osg::Vec2b::value_type, x, IN, osg::Vec2b::value_type, y, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type, - "", - ""); - I_Method1(void, set, IN, const osg::Vec2b &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Vec2b_R1, - "", - ""); - I_Method0(osg::Vec2b::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec2b::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec2b::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec2b::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Vec2b::value_type &, r, - Properties::NON_VIRTUAL, - __value_type_R1__r, - "", - ""); - I_Method0(osg::Vec2b::value_type &, g, - Properties::NON_VIRTUAL, - __value_type_R1__g, - "", - ""); - I_Method0(osg::Vec2b::value_type, r, - Properties::NON_VIRTUAL, - __value_type__r, - "", - ""); - I_Method0(osg::Vec2b::value_type, g, - Properties::NON_VIRTUAL, - __value_type__g, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec2d.cpp b/src/osgWrappers/introspection/osg/Vec2d.cpp deleted file mode 100644 index 5a3c9fb10..000000000 --- a/src/osgWrappers/introspection/osg/Vec2d.cpp +++ /dev/null @@ -1,105 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(double, osg::Vec2d::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec2d) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Vec2d"); - I_Constructor0(____Vec2d, - "", - ""); - I_Constructor2(IN, osg::Vec2d::value_type, x, IN, osg::Vec2d::value_type, y, - ____Vec2d__value_type__value_type, - "", - ""); - I_Constructor1(IN, const osg::Vec2f &, vec, - Properties::NON_EXPLICIT, - ____Vec2d__C5_Vec2f_R1, - "", - ""); - I_Method0(osg::Vec2d::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec2d::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method2(void, set, IN, osg::Vec2d::value_type, x, IN, osg::Vec2d::value_type, y, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type, - "", - ""); - I_Method0(osg::Vec2d::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec2d::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec2d::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec2d::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(bool, isNaN, - Properties::NON_VIRTUAL, - __bool__isNaN, - "", - ""); - I_Method0(osg::Vec2d::value_type, length, - Properties::NON_VIRTUAL, - __value_type__length, - "Length of the vector = sqrt( vec . ", - "vec ) "); - I_Method0(osg::Vec2d::value_type, length2, - Properties::NON_VIRTUAL, - __value_type__length2, - "Length squared of the vector = vec . ", - "vec "); - I_Method0(osg::Vec2d::value_type, normalize, - Properties::NON_VIRTUAL, - __value_type__normalize, - "Normalize the vector so that it has length unity. ", - "Returns the previous length of the vector. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec2f.cpp b/src/osgWrappers/introspection/osg/Vec2f.cpp deleted file mode 100644 index 3069707a3..000000000 --- a/src/osgWrappers/introspection/osg/Vec2f.cpp +++ /dev/null @@ -1,99 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(float, osg::Vec2f::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec2f) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Vec2f"); - I_Constructor0(____Vec2f, - "", - ""); - I_Constructor2(IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y, - ____Vec2f__value_type__value_type, - "", - ""); - I_Method0(osg::Vec2f::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec2f::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method2(void, set, IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type, - "", - ""); - I_Method0(osg::Vec2f::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec2f::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec2f::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec2f::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(bool, isNaN, - Properties::NON_VIRTUAL, - __bool__isNaN, - "", - ""); - I_Method0(osg::Vec2f::value_type, length, - Properties::NON_VIRTUAL, - __value_type__length, - "Length of the vector = sqrt( vec . ", - "vec ) "); - I_Method0(osg::Vec2f::value_type, length2, - Properties::NON_VIRTUAL, - __value_type__length2, - "Length squared of the vector = vec . ", - "vec "); - I_Method0(osg::Vec2f::value_type, normalize, - Properties::NON_VIRTUAL, - __value_type__normalize, - "Normalize the vector so that it has length unity. ", - "Returns the previous length of the vector. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec2s.cpp b/src/osgWrappers/introspection/osg/Vec2s.cpp deleted file mode 100644 index 8c35df7aa..000000000 --- a/src/osgWrappers/introspection/osg/Vec2s.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(short, osg::Vec2s::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec2s) - I_DeclaringFile("osg/Vec2s"); - I_Constructor0(____Vec2s, - "", - ""); - I_Constructor2(IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y, - ____Vec2s__value_type__value_type, - "", - ""); - I_Method0(osg::Vec2s::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec2s::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method2(void, set, IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type, - "", - ""); - I_Method1(void, set, IN, const osg::Vec2s &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Vec2s_R1, - "", - ""); - I_Method0(osg::Vec2s::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec2s::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec2s::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec2s::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Vec2s::value_type &, r, - Properties::NON_VIRTUAL, - __value_type_R1__r, - "", - ""); - I_Method0(osg::Vec2s::value_type &, g, - Properties::NON_VIRTUAL, - __value_type_R1__g, - "", - ""); - I_Method0(osg::Vec2s::value_type, r, - Properties::NON_VIRTUAL, - __value_type__r, - "", - ""); - I_Method0(osg::Vec2s::value_type, g, - Properties::NON_VIRTUAL, - __value_type__g, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec3.cpp b/src/osgWrappers/introspection/osg/Vec3.cpp deleted file mode 100644 index 1242eba91..000000000 --- a/src/osgWrappers/introspection/osg/Vec3.cpp +++ /dev/null @@ -1,26 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::Vec3f, osg::Vec3) - diff --git a/src/osgWrappers/introspection/osg/Vec3b.cpp b/src/osgWrappers/introspection/osg/Vec3b.cpp deleted file mode 100644 index 5850e4e3a..000000000 --- a/src/osgWrappers/introspection/osg/Vec3b.cpp +++ /dev/null @@ -1,119 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(signed char, osg::Vec3b::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec3b) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Vec3b"); - I_Constructor0(____Vec3b, - "", - ""); - I_Constructor3(IN, osg::Vec3b::value_type, r, IN, osg::Vec3b::value_type, g, IN, osg::Vec3b::value_type, b, - ____Vec3b__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Vec3b::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec3b::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method3(void, set, IN, osg::Vec3b::value_type, r, IN, osg::Vec3b::value_type, g, IN, osg::Vec3b::value_type, b, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type, - "", - ""); - I_Method1(void, set, IN, const osg::Vec3b &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3b_R1, - "", - ""); - I_Method0(osg::Vec3b::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec3b::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec3b::value_type &, z, - Properties::NON_VIRTUAL, - __value_type_R1__z, - "", - ""); - I_Method0(osg::Vec3b::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec3b::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Vec3b::value_type, z, - Properties::NON_VIRTUAL, - __value_type__z, - "", - ""); - I_Method0(osg::Vec3b::value_type &, r, - Properties::NON_VIRTUAL, - __value_type_R1__r, - "", - ""); - I_Method0(osg::Vec3b::value_type &, g, - Properties::NON_VIRTUAL, - __value_type_R1__g, - "", - ""); - I_Method0(osg::Vec3b::value_type &, b, - Properties::NON_VIRTUAL, - __value_type_R1__b, - "", - ""); - I_Method0(osg::Vec3b::value_type, r, - Properties::NON_VIRTUAL, - __value_type__r, - "", - ""); - I_Method0(osg::Vec3b::value_type, g, - Properties::NON_VIRTUAL, - __value_type__g, - "", - ""); - I_Method0(osg::Vec3b::value_type, b, - Properties::NON_VIRTUAL, - __value_type__b, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec3d.cpp b/src/osgWrappers/introspection/osg/Vec3d.cpp deleted file mode 100644 index f0580c39c..000000000 --- a/src/osgWrappers/introspection/osg/Vec3d.cpp +++ /dev/null @@ -1,125 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(double, osg::Vec3d::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec3d) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Vec3d"); - I_Constructor0(____Vec3d, - "", - ""); - I_Constructor1(IN, const osg::Vec3f &, vec, - Properties::NON_EXPLICIT, - ____Vec3d__C5_Vec3f_R1, - "", - ""); - I_Constructor3(IN, osg::Vec3d::value_type, x, IN, osg::Vec3d::value_type, y, IN, osg::Vec3d::value_type, z, - ____Vec3d__value_type__value_type__value_type, - "", - ""); - I_Constructor2(IN, const osg::Vec2d &, v2, IN, osg::Vec3d::value_type, zz, - ____Vec3d__C5_Vec2d_R1__value_type, - "", - ""); - I_Method0(osg::Vec3d::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec3d::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method3(void, set, IN, osg::Vec3d::value_type, x, IN, osg::Vec3d::value_type, y, IN, osg::Vec3d::value_type, z, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type, - "", - ""); - I_Method1(void, set, IN, const osg::Vec3d &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3d_R1, - "", - ""); - I_Method0(osg::Vec3d::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec3d::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec3d::value_type &, z, - Properties::NON_VIRTUAL, - __value_type_R1__z, - "", - ""); - I_Method0(osg::Vec3d::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec3d::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Vec3d::value_type, z, - Properties::NON_VIRTUAL, - __value_type__z, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(bool, isNaN, - Properties::NON_VIRTUAL, - __bool__isNaN, - "", - ""); - I_Method0(osg::Vec3d::value_type, length, - Properties::NON_VIRTUAL, - __value_type__length, - "Length of the vector = sqrt( vec . ", - "vec ) "); - I_Method0(osg::Vec3d::value_type, length2, - Properties::NON_VIRTUAL, - __value_type__length2, - "Length squared of the vector = vec . ", - "vec "); - I_Method0(osg::Vec3d::value_type, normalize, - Properties::NON_VIRTUAL, - __value_type__normalize, - "Normalize the vector so that it has length unity. ", - "Returns the previous length of the vector. If the vector is zero length, it is left unchanged and zero is returned. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec3f.cpp b/src/osgWrappers/introspection/osg/Vec3f.cpp deleted file mode 100644 index cd8f5403c..000000000 --- a/src/osgWrappers/introspection/osg/Vec3f.cpp +++ /dev/null @@ -1,119 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(float, osg::Vec3f::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec3f) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Vec3f"); - I_Constructor0(____Vec3f, - "", - ""); - I_Constructor3(IN, osg::Vec3f::value_type, x, IN, osg::Vec3f::value_type, y, IN, osg::Vec3f::value_type, z, - ____Vec3f__value_type__value_type__value_type, - "", - ""); - I_Constructor2(IN, const osg::Vec2f &, v2, IN, osg::Vec3f::value_type, zz, - ____Vec3f__C5_Vec2f_R1__value_type, - "", - ""); - I_Method0(osg::Vec3f::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec3f::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method3(void, set, IN, osg::Vec3f::value_type, x, IN, osg::Vec3f::value_type, y, IN, osg::Vec3f::value_type, z, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type, - "", - ""); - I_Method1(void, set, IN, const osg::Vec3f &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3f_R1, - "", - ""); - I_Method0(osg::Vec3f::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec3f::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec3f::value_type &, z, - Properties::NON_VIRTUAL, - __value_type_R1__z, - "", - ""); - I_Method0(osg::Vec3f::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec3f::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Vec3f::value_type, z, - Properties::NON_VIRTUAL, - __value_type__z, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(bool, isNaN, - Properties::NON_VIRTUAL, - __bool__isNaN, - "", - ""); - I_Method0(osg::Vec3f::value_type, length, - Properties::NON_VIRTUAL, - __value_type__length, - "Length of the vector = sqrt( vec . ", - "vec ) "); - I_Method0(osg::Vec3f::value_type, length2, - Properties::NON_VIRTUAL, - __value_type__length2, - "Length squared of the vector = vec . ", - "vec "); - I_Method0(osg::Vec3f::value_type, normalize, - Properties::NON_VIRTUAL, - __value_type__normalize, - "Normalize the vector so that it has length unity. ", - "Returns the previous length of the vector. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec3s.cpp b/src/osgWrappers/introspection/osg/Vec3s.cpp deleted file mode 100644 index 5d0432f52..000000000 --- a/src/osgWrappers/introspection/osg/Vec3s.cpp +++ /dev/null @@ -1,117 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(short, osg::Vec3s::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec3s) - I_DeclaringFile("osg/Vec3s"); - I_Constructor0(____Vec3s, - "", - ""); - I_Constructor3(IN, osg::Vec3s::value_type, r, IN, osg::Vec3s::value_type, g, IN, osg::Vec3s::value_type, b, - ____Vec3s__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Vec3s::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec3s::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method3(void, set, IN, osg::Vec3s::value_type, r, IN, osg::Vec3s::value_type, g, IN, osg::Vec3s::value_type, b, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type, - "", - ""); - I_Method1(void, set, IN, const osg::Vec3s &, rhs, - Properties::NON_VIRTUAL, - __void__set__C5_Vec3s_R1, - "", - ""); - I_Method0(osg::Vec3s::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec3s::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec3s::value_type &, z, - Properties::NON_VIRTUAL, - __value_type_R1__z, - "", - ""); - I_Method0(osg::Vec3s::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec3s::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Vec3s::value_type, z, - Properties::NON_VIRTUAL, - __value_type__z, - "", - ""); - I_Method0(osg::Vec3s::value_type &, r, - Properties::NON_VIRTUAL, - __value_type_R1__r, - "", - ""); - I_Method0(osg::Vec3s::value_type &, g, - Properties::NON_VIRTUAL, - __value_type_R1__g, - "", - ""); - I_Method0(osg::Vec3s::value_type &, b, - Properties::NON_VIRTUAL, - __value_type_R1__b, - "", - ""); - I_Method0(osg::Vec3s::value_type, r, - Properties::NON_VIRTUAL, - __value_type__r, - "", - ""); - I_Method0(osg::Vec3s::value_type, g, - Properties::NON_VIRTUAL, - __value_type__g, - "", - ""); - I_Method0(osg::Vec3s::value_type, b, - Properties::NON_VIRTUAL, - __value_type__b, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec4.cpp b/src/osgWrappers/introspection/osg/Vec4.cpp deleted file mode 100644 index b11981493..000000000 --- a/src/osgWrappers/introspection/osg/Vec4.cpp +++ /dev/null @@ -1,26 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::Vec4f, osg::Vec4) - diff --git a/src/osgWrappers/introspection/osg/Vec4b.cpp b/src/osgWrappers/introspection/osg/Vec4b.cpp deleted file mode 100644 index 4da66e781..000000000 --- a/src/osgWrappers/introspection/osg/Vec4b.cpp +++ /dev/null @@ -1,134 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(signed char, osg::Vec4b::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec4b) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Vec4b"); - I_Constructor0(____Vec4b, - "", - ""); - I_Constructor4(IN, osg::Vec4b::value_type, x, IN, osg::Vec4b::value_type, y, IN, osg::Vec4b::value_type, z, IN, osg::Vec4b::value_type, w, - ____Vec4b__value_type__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Vec4b::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec4b::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method4(void, set, IN, osg::Vec4b::value_type, x, IN, osg::Vec4b::value_type, y, IN, osg::Vec4b::value_type, z, IN, osg::Vec4b::value_type, w, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Vec4b::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec4b::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec4b::value_type &, z, - Properties::NON_VIRTUAL, - __value_type_R1__z, - "", - ""); - I_Method0(osg::Vec4b::value_type &, w, - Properties::NON_VIRTUAL, - __value_type_R1__w, - "", - ""); - I_Method0(osg::Vec4b::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec4b::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Vec4b::value_type, z, - Properties::NON_VIRTUAL, - __value_type__z, - "", - ""); - I_Method0(osg::Vec4b::value_type, w, - Properties::NON_VIRTUAL, - __value_type__w, - "", - ""); - I_Method0(osg::Vec4b::value_type &, r, - Properties::NON_VIRTUAL, - __value_type_R1__r, - "", - ""); - I_Method0(osg::Vec4b::value_type &, g, - Properties::NON_VIRTUAL, - __value_type_R1__g, - "", - ""); - I_Method0(osg::Vec4b::value_type &, b, - Properties::NON_VIRTUAL, - __value_type_R1__b, - "", - ""); - I_Method0(osg::Vec4b::value_type &, a, - Properties::NON_VIRTUAL, - __value_type_R1__a, - "", - ""); - I_Method0(osg::Vec4b::value_type, r, - Properties::NON_VIRTUAL, - __value_type__r, - "", - ""); - I_Method0(osg::Vec4b::value_type, g, - Properties::NON_VIRTUAL, - __value_type__g, - "", - ""); - I_Method0(osg::Vec4b::value_type, b, - Properties::NON_VIRTUAL, - __value_type__b, - "", - ""); - I_Method0(osg::Vec4b::value_type, a, - Properties::NON_VIRTUAL, - __value_type__a, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec4d.cpp b/src/osgWrappers/introspection/osg/Vec4d.cpp deleted file mode 100644 index 470a4f1e3..000000000 --- a/src/osgWrappers/introspection/osg/Vec4d.cpp +++ /dev/null @@ -1,180 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(double, osg::Vec4d::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec4d) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Vec4d"); - I_Constructor0(____Vec4d, - "", - ""); - I_Constructor4(IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w, - ____Vec4d__value_type__value_type__value_type__value_type, - "", - ""); - I_Constructor2(IN, const osg::Vec3d &, v3, IN, osg::Vec4d::value_type, w, - ____Vec4d__C5_Vec3d_R1__value_type, - "", - ""); - I_Constructor1(IN, const osg::Vec4f &, vec, - Properties::NON_EXPLICIT, - ____Vec4d__C5_Vec4f_R1, - "", - ""); - I_Method0(osg::Vec4d::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec4d::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method4(void, set, IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Vec4d::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec4d::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec4d::value_type &, z, - Properties::NON_VIRTUAL, - __value_type_R1__z, - "", - ""); - I_Method0(osg::Vec4d::value_type &, w, - Properties::NON_VIRTUAL, - __value_type_R1__w, - "", - ""); - I_Method0(osg::Vec4d::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec4d::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Vec4d::value_type, z, - Properties::NON_VIRTUAL, - __value_type__z, - "", - ""); - I_Method0(osg::Vec4d::value_type, w, - Properties::NON_VIRTUAL, - __value_type__w, - "", - ""); - I_Method0(osg::Vec4d::value_type &, r, - Properties::NON_VIRTUAL, - __value_type_R1__r, - "", - ""); - I_Method0(osg::Vec4d::value_type &, g, - Properties::NON_VIRTUAL, - __value_type_R1__g, - "", - ""); - I_Method0(osg::Vec4d::value_type &, b, - Properties::NON_VIRTUAL, - __value_type_R1__b, - "", - ""); - I_Method0(osg::Vec4d::value_type &, a, - Properties::NON_VIRTUAL, - __value_type_R1__a, - "", - ""); - I_Method0(osg::Vec4d::value_type, r, - Properties::NON_VIRTUAL, - __value_type__r, - "", - ""); - I_Method0(osg::Vec4d::value_type, g, - Properties::NON_VIRTUAL, - __value_type__g, - "", - ""); - I_Method0(osg::Vec4d::value_type, b, - Properties::NON_VIRTUAL, - __value_type__b, - "", - ""); - I_Method0(osg::Vec4d::value_type, a, - Properties::NON_VIRTUAL, - __value_type__a, - "", - ""); - I_Method0(unsigned int, asABGR, - Properties::NON_VIRTUAL, - __unsigned_int__asABGR, - "", - ""); - I_Method0(unsigned int, asRGBA, - Properties::NON_VIRTUAL, - __unsigned_int__asRGBA, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(bool, isNaN, - Properties::NON_VIRTUAL, - __bool__isNaN, - "", - ""); - I_Method0(osg::Vec4d::value_type, length, - Properties::NON_VIRTUAL, - __value_type__length, - "Length of the vector = sqrt( vec . ", - "vec ) "); - I_Method0(osg::Vec4d::value_type, length2, - Properties::NON_VIRTUAL, - __value_type__length2, - "Length squared of the vector = vec . ", - "vec "); - I_Method0(osg::Vec4d::value_type, normalize, - Properties::NON_VIRTUAL, - __value_type__normalize, - "Normalize the vector so that it has length unity. ", - "Returns the previous length of the vector. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec4f.cpp b/src/osgWrappers/introspection/osg/Vec4f.cpp deleted file mode 100644 index 10c3f7ca5..000000000 --- a/src/osgWrappers/introspection/osg/Vec4f.cpp +++ /dev/null @@ -1,174 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(float, osg::Vec4f::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec4f) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Vec4f"); - I_Constructor0(____Vec4f, - "", - ""); - I_Constructor4(IN, osg::Vec4f::value_type, x, IN, osg::Vec4f::value_type, y, IN, osg::Vec4f::value_type, z, IN, osg::Vec4f::value_type, w, - ____Vec4f__value_type__value_type__value_type__value_type, - "", - ""); - I_Constructor2(IN, const osg::Vec3f &, v3, IN, osg::Vec4f::value_type, w, - ____Vec4f__C5_Vec3f_R1__value_type, - "", - ""); - I_Method0(osg::Vec4f::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec4f::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method4(void, set, IN, osg::Vec4f::value_type, x, IN, osg::Vec4f::value_type, y, IN, osg::Vec4f::value_type, z, IN, osg::Vec4f::value_type, w, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Vec4f::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec4f::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec4f::value_type &, z, - Properties::NON_VIRTUAL, - __value_type_R1__z, - "", - ""); - I_Method0(osg::Vec4f::value_type &, w, - Properties::NON_VIRTUAL, - __value_type_R1__w, - "", - ""); - I_Method0(osg::Vec4f::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec4f::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Vec4f::value_type, z, - Properties::NON_VIRTUAL, - __value_type__z, - "", - ""); - I_Method0(osg::Vec4f::value_type, w, - Properties::NON_VIRTUAL, - __value_type__w, - "", - ""); - I_Method0(osg::Vec4f::value_type &, r, - Properties::NON_VIRTUAL, - __value_type_R1__r, - "", - ""); - I_Method0(osg::Vec4f::value_type &, g, - Properties::NON_VIRTUAL, - __value_type_R1__g, - "", - ""); - I_Method0(osg::Vec4f::value_type &, b, - Properties::NON_VIRTUAL, - __value_type_R1__b, - "", - ""); - I_Method0(osg::Vec4f::value_type &, a, - Properties::NON_VIRTUAL, - __value_type_R1__a, - "", - ""); - I_Method0(osg::Vec4f::value_type, r, - Properties::NON_VIRTUAL, - __value_type__r, - "", - ""); - I_Method0(osg::Vec4f::value_type, g, - Properties::NON_VIRTUAL, - __value_type__g, - "", - ""); - I_Method0(osg::Vec4f::value_type, b, - Properties::NON_VIRTUAL, - __value_type__b, - "", - ""); - I_Method0(osg::Vec4f::value_type, a, - Properties::NON_VIRTUAL, - __value_type__a, - "", - ""); - I_Method0(unsigned int, asABGR, - Properties::NON_VIRTUAL, - __unsigned_int__asABGR, - "", - ""); - I_Method0(unsigned int, asRGBA, - Properties::NON_VIRTUAL, - __unsigned_int__asRGBA, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(bool, isNaN, - Properties::NON_VIRTUAL, - __bool__isNaN, - "", - ""); - I_Method0(osg::Vec4f::value_type, length, - Properties::NON_VIRTUAL, - __value_type__length, - "Length of the vector = sqrt( vec . ", - "vec ) "); - I_Method0(osg::Vec4f::value_type, length2, - Properties::NON_VIRTUAL, - __value_type__length2, - "Length squared of the vector = vec . ", - "vec "); - I_Method0(osg::Vec4f::value_type, normalize, - Properties::NON_VIRTUAL, - __value_type__normalize, - "Normalize the vector so that it has length unity. ", - "Returns the previous length of the vector. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec4s.cpp b/src/osgWrappers/introspection/osg/Vec4s.cpp deleted file mode 100644 index 9d9fad57d..000000000 --- a/src/osgWrappers/introspection/osg/Vec4s.cpp +++ /dev/null @@ -1,132 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(short, osg::Vec4s::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec4s) - I_DeclaringFile("osg/Vec4s"); - I_Constructor0(____Vec4s, - "", - ""); - I_Constructor4(IN, osg::Vec4s::value_type, x, IN, osg::Vec4s::value_type, y, IN, osg::Vec4s::value_type, z, IN, osg::Vec4s::value_type, w, - ____Vec4s__value_type__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Vec4s::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec4s::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method4(void, set, IN, osg::Vec4s::value_type, x, IN, osg::Vec4s::value_type, y, IN, osg::Vec4s::value_type, z, IN, osg::Vec4s::value_type, w, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Vec4s::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Vec4s::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Vec4s::value_type &, z, - Properties::NON_VIRTUAL, - __value_type_R1__z, - "", - ""); - I_Method0(osg::Vec4s::value_type &, w, - Properties::NON_VIRTUAL, - __value_type_R1__w, - "", - ""); - I_Method0(osg::Vec4s::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Vec4s::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Vec4s::value_type, z, - Properties::NON_VIRTUAL, - __value_type__z, - "", - ""); - I_Method0(osg::Vec4s::value_type, w, - Properties::NON_VIRTUAL, - __value_type__w, - "", - ""); - I_Method0(osg::Vec4s::value_type &, r, - Properties::NON_VIRTUAL, - __value_type_R1__r, - "", - ""); - I_Method0(osg::Vec4s::value_type &, g, - Properties::NON_VIRTUAL, - __value_type_R1__g, - "", - ""); - I_Method0(osg::Vec4s::value_type &, b, - Properties::NON_VIRTUAL, - __value_type_R1__b, - "", - ""); - I_Method0(osg::Vec4s::value_type &, a, - Properties::NON_VIRTUAL, - __value_type_R1__a, - "", - ""); - I_Method0(osg::Vec4s::value_type, r, - Properties::NON_VIRTUAL, - __value_type__r, - "", - ""); - I_Method0(osg::Vec4s::value_type, g, - Properties::NON_VIRTUAL, - __value_type__g, - "", - ""); - I_Method0(osg::Vec4s::value_type, b, - Properties::NON_VIRTUAL, - __value_type__b, - "", - ""); - I_Method0(osg::Vec4s::value_type, a, - Properties::NON_VIRTUAL, - __value_type__a, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Vec4ub.cpp b/src/osgWrappers/introspection/osg/Vec4ub.cpp deleted file mode 100644 index fc284a06a..000000000 --- a/src/osgWrappers/introspection/osg/Vec4ub.cpp +++ /dev/null @@ -1,94 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(unsigned char, osg::Vec4ub::value_type) - -BEGIN_VALUE_REFLECTOR(osg::Vec4ub) - I_ReaderWriter(osgIntrospection::StdReaderWriter); // user-defined - I_Comparator(osgIntrospection::PartialOrderComparator); // user-defined - I_DeclaringFile("osg/Vec4ub"); - I_Constructor0(____Vec4ub, - "", - ""); - I_Constructor4(IN, osg::Vec4ub::value_type, x, IN, osg::Vec4ub::value_type, y, IN, osg::Vec4ub::value_type, z, IN, osg::Vec4ub::value_type, w, - ____Vec4ub__value_type__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Vec4ub::value_type *, ptr, - Properties::NON_VIRTUAL, - __value_type_P1__ptr, - "", - ""); - I_Method0(const osg::Vec4ub::value_type *, ptr, - Properties::NON_VIRTUAL, - __C5_value_type_P1__ptr, - "", - ""); - I_Method4(void, set, IN, osg::Vec4ub::value_type, r, IN, osg::Vec4ub::value_type, g, IN, osg::Vec4ub::value_type, b, IN, osg::Vec4ub::value_type, a, - Properties::NON_VIRTUAL, - __void__set__value_type__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Vec4ub::value_type &, r, - Properties::NON_VIRTUAL, - __value_type_R1__r, - "", - ""); - I_Method0(osg::Vec4ub::value_type &, g, - Properties::NON_VIRTUAL, - __value_type_R1__g, - "", - ""); - I_Method0(osg::Vec4ub::value_type &, b, - Properties::NON_VIRTUAL, - __value_type_R1__b, - "", - ""); - I_Method0(osg::Vec4ub::value_type &, a, - Properties::NON_VIRTUAL, - __value_type_R1__a, - "", - ""); - I_Method0(osg::Vec4ub::value_type, r, - Properties::NON_VIRTUAL, - __value_type__r, - "", - ""); - I_Method0(osg::Vec4ub::value_type, g, - Properties::NON_VIRTUAL, - __value_type__g, - "", - ""); - I_Method0(osg::Vec4ub::value_type, b, - Properties::NON_VIRTUAL, - __value_type__b, - "", - ""); - I_Method0(osg::Vec4ub::value_type, a, - Properties::NON_VIRTUAL, - __value_type__a, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/VertexProgram.cpp b/src/osgWrappers/introspection/osg/VertexProgram.cpp deleted file mode 100644 index 782fcf27d..000000000 --- a/src/osgWrappers/introspection/osg/VertexProgram.cpp +++ /dev/null @@ -1,203 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::map< GLuint COMMA osg::Vec4 >, osg::VertexProgram::LocalParamList) - -TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::Matrix >, osg::VertexProgram::MatrixList) - -BEGIN_OBJECT_REFLECTOR(osg::VertexProgram) - I_DeclaringFile("osg/VertexProgram"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____VertexProgram, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::VertexProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____VertexProgram__C5_VertexProgram_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_osg_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x, - Properties::VIRTUAL, - __bool__getModeUsage__StateAttribute_ModeUsage_R1, - "Return the modes associated with this StateAttribute. ", - ""); - I_Method1(GLuint &, getVertexProgramID, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __GLuint_R1__getVertexProgramID__unsigned_int, - "Get the handle to the vertex program ID for the current context. ", - ""); - I_Method1(void, setVertexProgram, IN, const char *, program, - Properties::NON_VIRTUAL, - __void__setVertexProgram__C5_char_P1, - "Set the vertex program using a C style string. ", - ""); - I_Method1(void, setVertexProgram, IN, const std::string &, program, - Properties::NON_VIRTUAL, - __void__setVertexProgram__C5_std_string_R1, - "Set the vertex program using C++ style string. ", - ""); - I_Method0(const std::string &, getVertexProgram, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getVertexProgram, - "Get the vertex program. ", - ""); - I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p, - Properties::NON_VIRTUAL, - __void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1, - "Set Program Parameters. ", - ""); - I_Method1(void, setLocalParameters, IN, const osg::VertexProgram::LocalParamList &, lpl, - Properties::NON_VIRTUAL, - __void__setLocalParameters__C5_LocalParamList_R1, - "Set list of Program Parameters. ", - ""); - I_Method0(osg::VertexProgram::LocalParamList &, getLocalParameters, - Properties::NON_VIRTUAL, - __LocalParamList_R1__getLocalParameters, - "Get list of Program Parameters. ", - ""); - I_Method0(const osg::VertexProgram::LocalParamList &, getLocalParameters, - Properties::NON_VIRTUAL, - __C5_LocalParamList_R1__getLocalParameters, - "Get const list of Program Parameters. ", - ""); - I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__setMatrix__C5_GLenum__C5_Matrix_R1, - "Matrix. ", - ""); - I_Method1(void, setMatrices, IN, const osg::VertexProgram::MatrixList &, matrices, - Properties::NON_VIRTUAL, - __void__setMatrices__C5_MatrixList_R1, - "Set list of Matrices. ", - ""); - I_Method0(osg::VertexProgram::MatrixList &, getMatrices, - Properties::NON_VIRTUAL, - __MatrixList_R1__getMatrices, - "Get list of Matrices. ", - ""); - I_Method0(const osg::VertexProgram::MatrixList &, getMatrices, - Properties::NON_VIRTUAL, - __C5_MatrixList_R1__getMatrices, - "Get list of Matrices. ", - ""); - I_Method0(void, dirtyVertexProgramObject, - Properties::NON_VIRTUAL, - __void__dirtyVertexProgramObject, - "Force a recompile on next apply() of associated OpenGL vertex program objects. ", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_Method1(void, compileGLObjects, IN, osg::State &, x, - Properties::VIRTUAL, - __void__compileGLObjects__State_R1, - "Default to nothing to compile - all state is applied immediately. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__State_P1, - "Release any OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics contexts if State object pointer is NULL. ", - ""); - I_StaticMethod2(void, deleteVertexProgramObject, IN, unsigned int, contextID, IN, GLuint, handle, - __void__deleteVertexProgramObject__unsigned_int__GLuint_S, - "Use deleteVertexProgramObject instead of glDeletePrograms to allow OpenGL Vertex Program objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ", - ""); - I_StaticMethod3(void, flushDeletedVertexProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime, - __void__flushDeletedVertexProgramObjects__unsigned_int__double__double_R1_S, - "Flush all the cached vertex programs which need to be deleted in the OpenGL context related to contextID. ", - ""); - I_StaticMethod1(void, discardDeletedVertexProgramObjects, IN, unsigned int, contextID, - __void__discardDeletedVertexProgramObjects__unsigned_int_S, - "discard all the cached vertex programs which need to be deleted in the OpenGL context related to contextID. ", - "Note, unlike flush no OpenGL calls are made, instead the handles are all removed. this call is useful for when an OpenGL context has been destroyed. "); - I_StaticMethod2(osg::VertexProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized, - __Extensions_P1__getExtensions__unsigned_int__bool_S, - "Function to call to get the extension of a specified context. ", - "If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID. "); - I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::VertexProgram::Extensions *, extensions, - __void__setExtensions__unsigned_int__Extensions_P1_S, - "The setExtensions method allows users to override the extensions across graphics contexts. ", - "Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. "); - I_SimpleProperty(const osg::VertexProgram::LocalParamList &, LocalParameters, - __C5_LocalParamList_R1__getLocalParameters, - __void__setLocalParameters__C5_LocalParamList_R1); - I_SimpleProperty(const osg::VertexProgram::MatrixList &, Matrices, - __C5_MatrixList_R1__getMatrices, - __void__setMatrices__C5_MatrixList_R1); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); - I_SimpleProperty(const std::string &, VertexProgram, - __C5_std_string_R1__getVertexProgram, - __void__setVertexProgram__C5_std_string_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/View.cpp b/src/osgWrappers/introspection/osg/View.cpp deleted file mode 100644 index d5db7a035..000000000 --- a/src/osgWrappers/introspection/osg/View.cpp +++ /dev/null @@ -1,251 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osg::View::LightingMode) - I_DeclaringFile("osg/View"); - I_EnumLabel(osg::View::NO_LIGHT); - I_EnumLabel(osg::View::HEADLIGHT); - I_EnumLabel(osg::View::SKY_LIGHT); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::View) - I_DeclaringFile("osg/View"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____View, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::View &, view, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____View__C5_osg_View_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, take, IN, osg::View &, rhs, - Properties::VIRTUAL, - __void__take__View_R1, - "Take all the settings, Camera and Slaves from the passed in view, leaving it empty. ", - ""); - I_Method1(void, setStats, IN, osg::Stats *, stats, - Properties::NON_VIRTUAL, - __void__setStats__osg_Stats_P1, - "Set the Stats object used for collect various frame related timing and scene graph stats. ", - ""); - I_Method0(osg::Stats *, getStats, - Properties::NON_VIRTUAL, - __osg_Stats_P1__getStats, - "Get the Viewers Stats object. ", - ""); - I_Method0(const osg::Stats *, getStats, - Properties::NON_VIRTUAL, - __C5_osg_Stats_P1__getStats, - "Get the Viewers Stats object. ", - ""); - I_Method1(void, setLightingMode, IN, osg::View::LightingMode, lightingMode, - Properties::NON_VIRTUAL, - __void__setLightingMode__LightingMode, - "Set the global lighting to use for this view. ", - "Defaults to headlight. "); - I_Method0(osg::View::LightingMode, getLightingMode, - Properties::NON_VIRTUAL, - __LightingMode__getLightingMode, - "Get the global lighting used for this view. ", - ""); - I_Method1(void, setLight, IN, osg::Light *, light, - Properties::NON_VIRTUAL, - __void__setLight__osg_Light_P1, - "Get the global light. ", - ""); - I_Method0(osg::Light *, getLight, - Properties::NON_VIRTUAL, - __osg_Light_P1__getLight, - "Get the global lighting if assigned. ", - ""); - I_Method0(const osg::Light *, getLight, - Properties::NON_VIRTUAL, - __C5_osg_Light_P1__getLight, - "Get the const global lighting if assigned. ", - ""); - I_Method1(void, setCamera, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - __void__setCamera__osg_Camera_P1, - "Set the master camera of the view. ", - ""); - I_Method0(osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCamera, - "Get the master camera of the view. ", - ""); - I_Method0(const osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCamera, - "Get the const master camera of the view. ", - ""); - I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs, - Properties::NON_VIRTUAL, - __void__setFrameStamp__osg_FrameStamp_P1, - "Set the frame stamp of the view. ", - ""); - I_Method0(osg::FrameStamp *, getFrameStamp, - Properties::NON_VIRTUAL, - __osg_FrameStamp_P1__getFrameStamp, - "Get the frame stamp of the view. ", - ""); - I_Method0(const osg::FrameStamp *, getFrameStamp, - Properties::NON_VIRTUAL, - __C5_osg_FrameStamp_P1__getFrameStamp, - "Get the frame stamp of the view. ", - ""); - I_MethodWithDefaults2(bool, addSlave, IN, osg::Camera *, camera, , IN, bool, useMastersSceneData, true, - Properties::NON_VIRTUAL, - __bool__addSlave__osg_Camera_P1__bool, - "", - ""); - I_MethodWithDefaults4(bool, addSlave, IN, osg::Camera *, camera, , IN, const osg::Matrix &, projectionOffset, , IN, const osg::Matrix &, viewOffset, , IN, bool, useMastersSceneData, true, - Properties::NON_VIRTUAL, - __bool__addSlave__osg_Camera_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1__bool, - "", - ""); - I_Method1(bool, removeSlave, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __bool__removeSlave__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumSlaves, - Properties::NON_VIRTUAL, - __unsigned_int__getNumSlaves, - "", - ""); - I_Method1(osg::View::Slave &, getSlave, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __Slave_R1__getSlave__unsigned_int, - "", - ""); - I_Method1(const osg::View::Slave &, getSlave, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __C5_Slave_R1__getSlave__unsigned_int, - "", - ""); - I_Method1(unsigned int, findSlaveIndexForCamera, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - __unsigned_int__findSlaveIndexForCamera__osg_Camera_P1, - "", - ""); - I_Method1(osg::View::Slave *, findSlaveForCamera, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - __Slave_P1__findSlaveForCamera__osg_Camera_P1, - "", - ""); - I_Method0(void, updateSlaves, - Properties::NON_VIRTUAL, - __void__updateSlaves, - "", - ""); - I_Method1(void, updateSlave, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __void__updateSlave__unsigned_int, - "", - ""); - I_ProtectedMethod1(osg::GraphicsOperation *, createRenderer, IN, osg::Camera *, x, - Properties::VIRTUAL, - Properties::NON_CONST, - __osg_GraphicsOperation_P1__createRenderer__osg_Camera_P1, - "", - ""); - I_SimpleProperty(osg::Camera *, Camera, - __osg_Camera_P1__getCamera, - __void__setCamera__osg_Camera_P1); - I_SimpleProperty(osg::FrameStamp *, FrameStamp, - __osg_FrameStamp_P1__getFrameStamp, - __void__setFrameStamp__osg_FrameStamp_P1); - I_SimpleProperty(osg::Light *, Light, - __osg_Light_P1__getLight, - __void__setLight__osg_Light_P1); - I_SimpleProperty(osg::View::LightingMode, LightingMode, - __LightingMode__getLightingMode, - __void__setLightingMode__LightingMode); - I_ArrayProperty(osg::View::Slave &, Slave, - __Slave_R1__getSlave__unsigned_int, - 0, - __unsigned_int__getNumSlaves, - 0, - 0, - __bool__removeSlave__unsigned_int); - I_SimpleProperty(osg::Stats *, Stats, - __osg_Stats_P1__getStats, - __void__setStats__osg_Stats_P1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::View::Slave) - I_DeclaringFile("osg/View"); - I_ConstructorWithDefaults1(IN, bool, useMastersSceneData, true, - Properties::NON_EXPLICIT, - ____Slave__bool, - "", - ""); - I_ConstructorWithDefaults4(IN, osg::Camera *, camera, , IN, const osg::Matrixd &, projectionOffset, , IN, const osg::Matrixd &, viewOffset, , IN, bool, useMastersSceneData, true, - ____Slave__osg_Camera_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__bool, - "", - ""); - I_Constructor1(IN, const osg::View::Slave &, rhs, - Properties::NON_EXPLICIT, - ____Slave__C5_Slave_R1, - "", - ""); - I_PublicMemberProperty(osg::ref_ptr< osg::Camera >, _camera); - I_PublicMemberProperty(osg::Matrixd, _projectionOffset); - I_PublicMemberProperty(osg::Matrixd, _viewOffset); - I_PublicMemberProperty(bool, _useMastersSceneData); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osg/Viewport.cpp b/src/osgWrappers/introspection/osg/Viewport.cpp deleted file mode 100644 index 715e6e5c8..000000000 --- a/src/osgWrappers/introspection/osg/Viewport.cpp +++ /dev/null @@ -1,150 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(double, osg::Viewport::value_type) - -BEGIN_OBJECT_REFLECTOR(osg::Viewport) - I_DeclaringFile("osg/Viewport"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Viewport, - "", - ""); - I_Constructor4(IN, osg::Viewport::value_type, x, IN, osg::Viewport::value_type, y, IN, osg::Viewport::value_type, width, IN, osg::Viewport::value_type, height, - ____Viewport__value_type__value_type__value_type__value_type, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::Viewport &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Viewport__C5_Viewport_R1__C5_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method4(void, setViewport, IN, osg::Viewport::value_type, x, IN, osg::Viewport::value_type, y, IN, osg::Viewport::value_type, width, IN, osg::Viewport::value_type, height, - Properties::NON_VIRTUAL, - __void__setViewport__value_type__value_type__value_type__value_type, - "", - ""); - I_Method0(osg::Viewport::value_type &, x, - Properties::NON_VIRTUAL, - __value_type_R1__x, - "", - ""); - I_Method0(osg::Viewport::value_type, x, - Properties::NON_VIRTUAL, - __value_type__x, - "", - ""); - I_Method0(osg::Viewport::value_type &, y, - Properties::NON_VIRTUAL, - __value_type_R1__y, - "", - ""); - I_Method0(osg::Viewport::value_type, y, - Properties::NON_VIRTUAL, - __value_type__y, - "", - ""); - I_Method0(osg::Viewport::value_type &, width, - Properties::NON_VIRTUAL, - __value_type_R1__width, - "", - ""); - I_Method0(osg::Viewport::value_type, width, - Properties::NON_VIRTUAL, - __value_type__width, - "", - ""); - I_Method0(osg::Viewport::value_type &, height, - Properties::NON_VIRTUAL, - __value_type_R1__height, - "", - ""); - I_Method0(osg::Viewport::value_type, height, - Properties::NON_VIRTUAL, - __value_type__height, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(double, aspectRatio, - Properties::NON_VIRTUAL, - __double__aspectRatio, - "Return the aspectRatio of the viewport, which is equal to width/height. ", - "If height is zero, the potential division by zero is avoided by simply returning 1.0f. "); - I_Method0(const osg::Matrix, computeWindowMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix__computeWindowMatrix, - "Compute the Window Matrix which takes projected coords into Window coordinates. ", - "To convert local coordinates into window coordinates use v_window = v_local * MVPW matrix, where the MVPW matrix is ModelViewMatrix * ProjectionMatrix * WindowMatrix, the latter supplied by Viewport::computeWindowMatrix(), the ModelView and Projection Matrix can either be sourced from the current osg::State object, via osgUtil::SceneView or CullVisitor. "); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/Action.cpp b/src/osgWrappers/introspection/osgAnimation/Action.cpp deleted file mode 100644 index e29745890..000000000 --- a/src/osgWrappers/introspection/osgAnimation/Action.cpp +++ /dev/null @@ -1,264 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::map< unsigned int COMMA osg::ref_ptr< osgAnimation::Action::Callback > >, osgAnimation::Action::FrameCallback) - -BEGIN_OBJECT_REFLECTOR(osgAnimation::Action) - I_DeclaringFile("osgAnimation/Action"); - I_BaseType(osg::Object); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method1(void, accept, IN, osgAnimation::ActionVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osgAnimation_ActionVisitor_R1, - "", - ""); - I_Constructor0(____Action, - "", - ""); - I_Constructor2(IN, const osgAnimation::Action &, x, IN, const osg::CopyOp &, x, - ____Action__C5_Action_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method2(void, setCallback, IN, double, when, IN, osgAnimation::Action::Callback *, callback, - Properties::NON_VIRTUAL, - __void__setCallback__double__Callback_P1, - "", - ""); - I_Method2(void, setCallback, IN, unsigned int, frame, IN, osgAnimation::Action::Callback *, callback, - Properties::NON_VIRTUAL, - __void__setCallback__unsigned_int__Callback_P1, - "", - ""); - I_Method1(osgAnimation::Action::Callback *, getCallback, IN, unsigned int, frame, - Properties::NON_VIRTUAL, - __Callback_P1__getCallback__unsigned_int, - "", - ""); - I_Method1(void, removeCallback, IN, osgAnimation::Action::Callback *, x, - Properties::NON_VIRTUAL, - __void__removeCallback__Callback_P1, - "", - ""); - I_Method1(osgAnimation::Action::Callback *, getFrameCallback, IN, unsigned int, frame, - Properties::NON_VIRTUAL, - __Callback_P1__getFrameCallback__unsigned_int, - "", - ""); - I_Method1(osgAnimation::Action::Callback *, getFrameCallback, IN, double, time, - Properties::NON_VIRTUAL, - __Callback_P1__getFrameCallback__double, - "", - ""); - I_Method0(unsigned int, getFramesPerSecond, - Properties::NON_VIRTUAL, - __unsigned_int__getFramesPerSecond, - "", - ""); - I_Method1(void, setNumFrames, IN, unsigned int, numFrames, - Properties::NON_VIRTUAL, - __void__setNumFrames__unsigned_int, - "", - ""); - I_Method1(void, setDuration, IN, double, duration, - Properties::NON_VIRTUAL, - __void__setDuration__double, - "", - ""); - I_Method0(unsigned int, getNumFrames, - Properties::NON_VIRTUAL, - __unsigned_int__getNumFrames, - "", - ""); - I_Method0(double, getDuration, - Properties::NON_VIRTUAL, - __double__getDuration, - "", - ""); - I_Method1(void, setLoop, IN, unsigned int, nb, - Properties::VIRTUAL, - __void__setLoop__unsigned_int, - "", - ""); - I_Method0(unsigned int, getLoop, - Properties::VIRTUAL, - __unsigned_int__getLoop, - "", - ""); - I_Method3(bool, evaluateFrame, IN, unsigned int, frame, IN, unsigned int &, resultframe, IN, unsigned int &, nbloop, - Properties::NON_VIRTUAL, - __bool__evaluateFrame__unsigned_int__unsigned_int_R1__unsigned_int_R1, - "", - ""); - I_Method1(void, traverse, IN, osgAnimation::ActionVisitor &, visitor, - Properties::VIRTUAL, - __void__traverse__ActionVisitor_R1, - "", - ""); - I_IndexedProperty(osgAnimation::Action::Callback *, Callback, - __Callback_P1__getCallback__unsigned_int, - __void__setCallback__unsigned_int__Callback_P1, - 0); - I_SimpleProperty(double, Duration, - __double__getDuration, - __void__setDuration__double); - I_SimpleProperty(unsigned int, FramesPerSecond, - __unsigned_int__getFramesPerSecond, - 0); - I_SimpleProperty(unsigned int, Loop, - __unsigned_int__getLoop, - __void__setLoop__unsigned_int); - I_SimpleProperty(unsigned int, NumFrames, - 0, - __void__setNumFrames__unsigned_int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::Action::Callback) - I_DeclaringFile("osgAnimation/Action"); - I_BaseType(osg::Object); - I_Constructor0(____Callback, - "", - ""); - I_Constructor2(IN, const osgAnimation::Action::Callback &, nc, IN, const osg::CopyOp &, x, - ____Callback__C5_Callback_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osgAnimation::Action::Callback *, getNestedCallback, - Properties::NON_VIRTUAL, - __Callback_P1__getNestedCallback, - "", - ""); - I_Method1(void, addNestedCallback, IN, osgAnimation::Action::Callback *, callback, - Properties::NON_VIRTUAL, - __void__addNestedCallback__Callback_P1, - "", - ""); - I_Method1(void, removeCallback, IN, osgAnimation::Action::Callback *, cb, - Properties::NON_VIRTUAL, - __void__removeCallback__Callback_P1, - "", - ""); - I_SimpleProperty(osgAnimation::Action::Callback *, NestedCallback, - __Callback_P1__getNestedCallback, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Action::Callback >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgAnimation::Action::Callback *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Action::Callback > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgAnimation::Action::Callback > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgAnimation::Action::Callback *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgAnimation::Action::Callback *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Action::Callback > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgAnimation::Action::Callback *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< unsigned int COMMA osg::ref_ptr< osgAnimation::Action::Callback > >) - diff --git a/src/osgWrappers/introspection/osgAnimation/ActionAnimation.cpp b/src/osgWrappers/introspection/osgAnimation/ActionAnimation.cpp deleted file mode 100644 index 4c7a015d6..000000000 --- a/src/osgWrappers/introspection/osgAnimation/ActionAnimation.cpp +++ /dev/null @@ -1,88 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::ActionAnimation) - I_DeclaringFile("osgAnimation/ActionAnimation"); - I_BaseType(osgAnimation::Action); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method1(void, accept, IN, osgAnimation::ActionVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osgAnimation_ActionVisitor_R1, - "", - ""); - I_Constructor0(____ActionAnimation, - "", - ""); - I_Constructor2(IN, const osgAnimation::ActionAnimation &, a, IN, const osg::CopyOp &, c, - ____ActionAnimation__C5_ActionAnimation_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Constructor1(IN, osgAnimation::Animation *, animation, - Properties::NON_EXPLICIT, - ____ActionAnimation__Animation_P1, - "", - ""); - I_Method2(void, updateAnimation, IN, unsigned int, frame, IN, int, priority, - Properties::NON_VIRTUAL, - __void__updateAnimation__unsigned_int__int, - "", - ""); - I_Method0(osgAnimation::Animation *, getAnimation, - Properties::NON_VIRTUAL, - __Animation_P1__getAnimation, - "", - ""); - I_SimpleProperty(osgAnimation::Animation *, Animation, - __Animation_P1__getAnimation, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/ActionBlendIn.cpp b/src/osgWrappers/introspection/osgAnimation/ActionBlendIn.cpp deleted file mode 100644 index f5f168d7e..000000000 --- a/src/osgWrappers/introspection/osgAnimation/ActionBlendIn.cpp +++ /dev/null @@ -1,95 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::ActionBlendIn) - I_DeclaringFile("osgAnimation/ActionBlendIn"); - I_BaseType(osgAnimation::Action); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method1(void, accept, IN, osgAnimation::ActionVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osgAnimation_ActionVisitor_R1, - "", - ""); - I_Constructor0(____ActionBlendIn, - "", - ""); - I_Constructor2(IN, const osgAnimation::ActionBlendIn &, a, IN, const osg::CopyOp &, c, - ____ActionBlendIn__C5_ActionBlendIn_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Constructor3(IN, osgAnimation::Animation *, animation, IN, double, duration, IN, double, weight, - ____ActionBlendIn__Animation_P1__double__double, - "", - ""); - I_Method0(double, getWeight, - Properties::NON_VIRTUAL, - __double__getWeight, - "", - ""); - I_Method0(osgAnimation::Animation *, getAnimation, - Properties::NON_VIRTUAL, - __Animation_P1__getAnimation, - "", - ""); - I_Method1(void, computeWeight, IN, unsigned int, frame, - Properties::NON_VIRTUAL, - __void__computeWeight__unsigned_int, - "", - ""); - I_SimpleProperty(osgAnimation::Animation *, Animation, - __Animation_P1__getAnimation, - 0); - I_SimpleProperty(double, Weight, - __double__getWeight, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/ActionBlendOut.cpp b/src/osgWrappers/introspection/osgAnimation/ActionBlendOut.cpp deleted file mode 100644 index 0f52b6482..000000000 --- a/src/osgWrappers/introspection/osgAnimation/ActionBlendOut.cpp +++ /dev/null @@ -1,95 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::ActionBlendOut) - I_DeclaringFile("osgAnimation/ActionBlendOut"); - I_BaseType(osgAnimation::Action); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method1(void, accept, IN, osgAnimation::ActionVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osgAnimation_ActionVisitor_R1, - "", - ""); - I_Constructor0(____ActionBlendOut, - "", - ""); - I_Constructor2(IN, const osgAnimation::ActionBlendOut &, a, IN, const osg::CopyOp &, c, - ____ActionBlendOut__C5_ActionBlendOut_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Constructor2(IN, osgAnimation::Animation *, animation, IN, double, duration, - ____ActionBlendOut__Animation_P1__double, - "", - ""); - I_Method0(osgAnimation::Animation *, getAnimation, - Properties::NON_VIRTUAL, - __Animation_P1__getAnimation, - "", - ""); - I_Method0(double, getWeight, - Properties::NON_VIRTUAL, - __double__getWeight, - "", - ""); - I_Method1(void, computeWeight, IN, unsigned int, frame, - Properties::NON_VIRTUAL, - __void__computeWeight__unsigned_int, - "", - ""); - I_SimpleProperty(osgAnimation::Animation *, Animation, - __Animation_P1__getAnimation, - 0); - I_SimpleProperty(double, Weight, - __double__getWeight, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/ActionCallback.cpp b/src/osgWrappers/introspection/osgAnimation/ActionCallback.cpp deleted file mode 100644 index c162fce18..000000000 --- a/src/osgWrappers/introspection/osgAnimation/ActionCallback.cpp +++ /dev/null @@ -1,51 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::RunAction) - I_DeclaringFile("osgAnimation/ActionCallback"); - I_BaseType(osgAnimation::Action::Callback); - I_ConstructorWithDefaults2(IN, osgAnimation::Action *, a, , IN, int, priority, 0, - ____RunAction__Action_P1__int, - "", - ""); - I_Method0(osgAnimation::Action *, getAction, - Properties::NON_VIRTUAL, - __Action_P1__getAction, - "", - ""); - I_Method0(int, getPriority, - Properties::NON_VIRTUAL, - __int__getPriority, - "", - ""); - I_SimpleProperty(osgAnimation::Action *, Action, - __Action_P1__getAction, - 0); - I_SimpleProperty(int, Priority, - __int__getPriority, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/ActionStripAnimation.cpp b/src/osgWrappers/introspection/osgAnimation/ActionStripAnimation.cpp deleted file mode 100644 index 0cb783509..000000000 --- a/src/osgWrappers/introspection/osgAnimation/ActionStripAnimation.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::ActionStripAnimation) - I_DeclaringFile("osgAnimation/ActionStripAnimation"); - I_BaseType(osgAnimation::Action); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method1(void, accept, IN, osgAnimation::ActionVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osgAnimation_ActionVisitor_R1, - "", - ""); - I_Constructor0(____ActionStripAnimation, - "", - ""); - I_Constructor2(IN, const osgAnimation::ActionStripAnimation &, a, IN, const osg::CopyOp &, c, - ____ActionStripAnimation__C5_ActionStripAnimation_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults4(IN, osgAnimation::Animation *, animation, , IN, double, blendInDuration, 0.0, IN, double, blendOutDuration, 0.0, IN, double, blendInWeightTarget, 1.0, - ____ActionStripAnimation__Animation_P1__double__double__double, - "", - ""); - I_Method0(osgAnimation::ActionAnimation *, getAnimation, - Properties::NON_VIRTUAL, - __ActionAnimation_P1__getAnimation, - "", - ""); - I_Method0(osgAnimation::ActionBlendIn *, getBlendIn, - Properties::NON_VIRTUAL, - __ActionBlendIn_P1__getBlendIn, - "", - ""); - I_Method0(osgAnimation::ActionBlendOut *, getBlendOut, - Properties::NON_VIRTUAL, - __ActionBlendOut_P1__getBlendOut, - "", - ""); - I_Method0(const osgAnimation::ActionAnimation *, getAnimation, - Properties::NON_VIRTUAL, - __C5_ActionAnimation_P1__getAnimation, - "", - ""); - I_Method0(const osgAnimation::ActionBlendIn *, getBlendIn, - Properties::NON_VIRTUAL, - __C5_ActionBlendIn_P1__getBlendIn, - "", - ""); - I_Method0(const osgAnimation::ActionBlendOut *, getBlendOut, - Properties::NON_VIRTUAL, - __C5_ActionBlendOut_P1__getBlendOut, - "", - ""); - I_Method0(unsigned int, getBlendOutStartFrame, - Properties::NON_VIRTUAL, - __unsigned_int__getBlendOutStartFrame, - "", - ""); - I_Method0(unsigned int, getLoop, - Properties::VIRTUAL, - __unsigned_int__getLoop, - "", - ""); - I_Method1(void, setLoop, IN, unsigned int, loop, - Properties::VIRTUAL, - __void__setLoop__unsigned_int, - "", - ""); - I_Method1(void, traverse, IN, osgAnimation::ActionVisitor &, visitor, - Properties::VIRTUAL, - __void__traverse__ActionVisitor_R1, - "", - ""); - I_SimpleProperty(osgAnimation::ActionAnimation *, Animation, - __ActionAnimation_P1__getAnimation, - 0); - I_SimpleProperty(osgAnimation::ActionBlendIn *, BlendIn, - __ActionBlendIn_P1__getBlendIn, - 0); - I_SimpleProperty(osgAnimation::ActionBlendOut *, BlendOut, - __ActionBlendOut_P1__getBlendOut, - 0); - I_SimpleProperty(unsigned int, BlendOutStartFrame, - __unsigned_int__getBlendOutStartFrame, - 0); - I_SimpleProperty(unsigned int, Loop, - __unsigned_int__getLoop, - __void__setLoop__unsigned_int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/ActionVisitor.cpp b/src/osgWrappers/introspection/osgAnimation/ActionVisitor.cpp deleted file mode 100644 index 5ed714fb9..000000000 --- a/src/osgWrappers/introspection/osgAnimation/ActionVisitor.cpp +++ /dev/null @@ -1,248 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::ActionVisitor) - I_DeclaringFile("osgAnimation/ActionVisitor"); - I_BaseType(osg::Referenced); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "", - ""); - I_Constructor0(____ActionVisitor, - "", - ""); - I_Method1(void, traverse, IN, osgAnimation::Action &, visitor, - Properties::NON_VIRTUAL, - __void__traverse__Action_R1, - "", - ""); - I_Method1(void, pushFrameActionOnStack, IN, const osgAnimation::FrameAction &, fa, - Properties::NON_VIRTUAL, - __void__pushFrameActionOnStack__C5_FrameAction_R1, - "", - ""); - I_Method0(void, popFrameAction, - Properties::NON_VIRTUAL, - __void__popFrameAction, - "", - ""); - I_Method1(void, pushTimelineOnStack, IN, osgAnimation::Timeline *, tm, - Properties::NON_VIRTUAL, - __void__pushTimelineOnStack__Timeline_P1, - "", - ""); - I_Method0(void, popTimeline, - Properties::NON_VIRTUAL, - __void__popTimeline, - "", - ""); - I_Method0(osgAnimation::Timeline *, getCurrentTimeline, - Properties::NON_VIRTUAL, - __Timeline_P1__getCurrentTimeline, - "", - ""); - I_Method1(void, setCurrentLayer, IN, int, layer, - Properties::NON_VIRTUAL, - __void__setCurrentLayer__int, - "", - ""); - I_Method0(int, getCurrentLayer, - Properties::NON_VIRTUAL, - __int__getCurrentLayer, - "", - ""); - I_Method0(const std::vector< osgAnimation::FrameAction > &, getStackedFrameAction, - Properties::NON_VIRTUAL, - __C5_std_vectorT1_FrameAction__R1__getStackedFrameAction, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::Action &, action, - Properties::VIRTUAL, - __void__apply__Action_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::Timeline &, tm, - Properties::VIRTUAL, - __void__apply__Timeline_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionBlendIn &, action, - Properties::VIRTUAL, - __void__apply__ActionBlendIn_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionBlendOut &, action, - Properties::VIRTUAL, - __void__apply__ActionBlendOut_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionAnimation &, action, - Properties::VIRTUAL, - __void__apply__ActionAnimation_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionStripAnimation &, action, - Properties::VIRTUAL, - __void__apply__ActionStripAnimation_R1, - "", - ""); - I_SimpleProperty(int, CurrentLayer, - __int__getCurrentLayer, - __void__setCurrentLayer__int); - I_SimpleProperty(osgAnimation::Timeline *, CurrentTimeline, - __Timeline_P1__getCurrentTimeline, - 0); - I_SimpleProperty(const std::vector< osgAnimation::FrameAction > &, StackedFrameAction, - __C5_std_vectorT1_FrameAction__R1__getStackedFrameAction, - 0); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgAnimation::ClearActionVisitor::ClearType) - I_DeclaringFile("osgAnimation/ActionVisitor"); - I_EnumLabel(osgAnimation::ClearActionVisitor::BEFORE_FRAME); - I_EnumLabel(osgAnimation::ClearActionVisitor::AFTER_FRAME); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::ClearActionVisitor) - I_DeclaringFile("osgAnimation/ActionVisitor"); - I_BaseType(osgAnimation::ActionVisitor); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "", - ""); - I_ConstructorWithDefaults1(IN, osgAnimation::ClearActionVisitor::ClearType, type, osgAnimation::ClearActionVisitor::BEFORE_FRAME, - Properties::NON_EXPLICIT, - ____ClearActionVisitor__ClearType, - "", - ""); - I_Method1(void, setFrame, IN, unsigned int, frame, - Properties::NON_VIRTUAL, - __void__setFrame__unsigned_int, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::Timeline &, action, - Properties::VIRTUAL, - __void__apply__Timeline_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::Action &, action, - Properties::VIRTUAL, - __void__apply__Action_R1, - "", - ""); - I_SimpleProperty(unsigned int, Frame, - 0, - __void__setFrame__unsigned_int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateActionVisitor) - I_DeclaringFile("osgAnimation/ActionVisitor"); - I_BaseType(osgAnimation::ActionVisitor); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "", - ""); - I_Constructor0(____UpdateActionVisitor, - "", - ""); - I_Method1(void, setFrame, IN, unsigned int, frame, - Properties::NON_VIRTUAL, - __void__setFrame__unsigned_int, - "", - ""); - I_Method1(bool, isActive, IN, osgAnimation::Action &, action, - Properties::NON_VIRTUAL, - __bool__isActive__Action_R1, - "", - ""); - I_Method0(unsigned int, getLocalFrame, - Properties::NON_VIRTUAL, - __unsigned_int__getLocalFrame, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::Timeline &, action, - Properties::VIRTUAL, - __void__apply__Timeline_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::Action &, action, - Properties::VIRTUAL, - __void__apply__Action_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionBlendIn &, action, - Properties::VIRTUAL, - __void__apply__ActionBlendIn_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionBlendOut &, action, - Properties::VIRTUAL, - __void__apply__ActionBlendOut_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionAnimation &, action, - Properties::VIRTUAL, - __void__apply__ActionAnimation_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionStripAnimation &, action, - Properties::VIRTUAL, - __void__apply__ActionStripAnimation_R1, - "", - ""); - I_SimpleProperty(unsigned int, Frame, - 0, - __void__setFrame__unsigned_int); - I_SimpleProperty(unsigned int, LocalFrame, - __unsigned_int__getLocalFrame, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osgAnimation::FrameAction >) - diff --git a/src/osgWrappers/introspection/osgAnimation/Animation.cpp b/src/osgWrappers/introspection/osgAnimation/Animation.cpp deleted file mode 100644 index b99fc8b62..000000000 --- a/src/osgWrappers/introspection/osgAnimation/Animation.cpp +++ /dev/null @@ -1,216 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgAnimation::Animation::PlayMode) - I_DeclaringFile("osgAnimation/Animation"); - I_EnumLabel(osgAnimation::Animation::ONCE); - I_EnumLabel(osgAnimation::Animation::STAY); - I_EnumLabel(osgAnimation::Animation::LOOP); - I_EnumLabel(osgAnimation::Animation::PPONG); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::Animation) - I_DeclaringFile("osgAnimation/Animation"); - I_BaseType(osg::Object); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____Animation, - "", - ""); - I_Constructor2(IN, const osgAnimation::Animation &, x, IN, const osg::CopyOp &, x, - ____Animation__C5_osgAnimation_Animation_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(void, addChannel, IN, osgAnimation::Channel *, pChannel, - Properties::NON_VIRTUAL, - __void__addChannel__Channel_P1, - "", - ""); - I_Method0(osgAnimation::ChannelList &, getChannels, - Properties::NON_VIRTUAL, - __ChannelList_R1__getChannels, - "Those accessors let you add and remove channels if you modify something that can change the duration you are supposed to call computeDuration or setDuration. ", - ""); - I_Method0(const osgAnimation::ChannelList &, getChannels, - Properties::NON_VIRTUAL, - __C5_ChannelList_R1__getChannels, - "", - ""); - I_Method1(void, setDuration, IN, double, duration, - Properties::NON_VIRTUAL, - __void__setDuration__double, - "Change the duration of animation then evaluate the animation in the range 0-duration it stretch the animation in time. ", - "see computeDuration too "); - I_Method0(void, computeDuration, - Properties::NON_VIRTUAL, - __void__computeDuration, - "Compute duration from channel and keyframes if the duration is not specified you should call this method before using it. ", - ""); - I_Method0(double, getDuration, - Properties::NON_VIRTUAL, - __double__getDuration, - "", - ""); - I_Method1(void, setWeight, IN, float, weight, - Properties::NON_VIRTUAL, - __void__setWeight__float, - "", - ""); - I_Method0(float, getWeight, - Properties::NON_VIRTUAL, - __float__getWeight, - "", - ""); - I_MethodWithDefaults2(bool, update, IN, double, time, , IN, int, priority, 0, - Properties::NON_VIRTUAL, - __bool__update__double__int, - "", - ""); - I_Method0(void, resetTargets, - Properties::NON_VIRTUAL, - __void__resetTargets, - "", - ""); - I_Method1(void, setPlayMode, IN, osgAnimation::Animation::PlayMode, mode, - Properties::NON_VIRTUAL, - __void__setPlayMode__PlayMode, - "", - ""); - I_Method0(osgAnimation::Animation::PlayMode, getPlayMode, - Properties::NON_VIRTUAL, - __PlayMode__getPlayMode, - "", - ""); - I_Method1(void, setStartTime, IN, double, time, - Properties::NON_VIRTUAL, - __void__setStartTime__double, - "", - ""); - I_Method0(double, getStartTime, - Properties::NON_VIRTUAL, - __double__getStartTime, - "", - ""); - I_ProtectedMethod0(double, computeDurationFromChannels, - Properties::NON_VIRTUAL, - Properties::CONST, - __double__computeDurationFromChannels, - "", - ""); - I_SimpleProperty(osgAnimation::ChannelList &, Channels, - __ChannelList_R1__getChannels, - 0); - I_SimpleProperty(double, Duration, - __double__getDuration, - __void__setDuration__double); - I_SimpleProperty(osgAnimation::Animation::PlayMode, PlayMode, - __PlayMode__getPlayMode, - __void__setPlayMode__PlayMode); - I_SimpleProperty(double, StartTime, - __double__getStartTime, - __void__setStartTime__double); - I_SimpleProperty(float, Weight, - __float__getWeight, - __void__setWeight__float); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgAnimation::Animation > >, osgAnimation::AnimationList) - -TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ref_ptr< osgAnimation::Animation > >, osgAnimation::AnimationMap) - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Animation >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgAnimation::Animation *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Animation > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgAnimation::Animation > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgAnimation::Animation *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgAnimation::Animation *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Animation > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgAnimation::Animation *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ref_ptr< osgAnimation::Animation > >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgAnimation::Animation > >) - diff --git a/src/osgWrappers/introspection/osgAnimation/AnimationManagerBase.cpp b/src/osgWrappers/introspection/osgAnimation/AnimationManagerBase.cpp deleted file mode 100644 index e6a7cd8c9..000000000 --- a/src/osgWrappers/introspection/osgAnimation/AnimationManagerBase.cpp +++ /dev/null @@ -1,170 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osgAnimation::Target > >, osgAnimation::AnimationManagerBase::TargetSet) - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::AnimationManagerBase) - I_DeclaringFile("osgAnimation/AnimationManagerBase"); - I_BaseType(osg::NodeCallback); - I_Constructor0(____AnimationManagerBase, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgAnimation::AnimationManagerBase &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AnimationManagerBase__C5_AnimationManagerBase_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(void, buildTargetReference, - Properties::VIRTUAL, - __void__buildTargetReference, - "", - ""); - I_Method1(void, registerAnimation, IN, osgAnimation::Animation *, x, - Properties::VIRTUAL, - __void__registerAnimation__Animation_P1, - "", - ""); - I_Method1(void, unregisterAnimation, IN, osgAnimation::Animation *, x, - Properties::VIRTUAL, - __void__unregisterAnimation__Animation_P1, - "", - ""); - I_Method1(void, link, IN, osg::Node *, subgraph, - Properties::VIRTUAL, - __void__link__osg_Node_P1, - "", - ""); - I_Method1(void, update, IN, double, t, - Properties::PURE_VIRTUAL, - __void__update__double, - "", - ""); - I_Method0(bool, needToLink, - Properties::VIRTUAL, - __bool__needToLink, - "", - ""); - I_Method0(const osgAnimation::AnimationList &, getAnimationList, - Properties::NON_VIRTUAL, - __C5_AnimationList_R1__getAnimationList, - "", - ""); - I_Method0(void, clearTargets, - Properties::NON_VIRTUAL, - __void__clearTargets, - "Reset the value of targets this Operation must be done each frame. ", - ""); - I_Method0(osgAnimation::LinkVisitor *, getOrCreateLinkVisitor, - Properties::NON_VIRTUAL, - __LinkVisitor_P1__getOrCreateLinkVisitor, - "", - ""); - I_Method1(void, setLinkVisitor, IN, osgAnimation::LinkVisitor *, x, - Properties::NON_VIRTUAL, - __void__setLinkVisitor__LinkVisitor_P1, - "", - ""); - I_Method1(void, setAutomaticLink, IN, bool, x, - Properties::NON_VIRTUAL, - __void__setAutomaticLink__bool, - "set a flag to define the behaviour ", - ""); - I_Method0(bool, getAutomaticLink, - Properties::NON_VIRTUAL, - __bool__getAutomaticLink, - "", - ""); - I_Method0(bool, isAutomaticLink, - Properties::NON_VIRTUAL, - __bool__isAutomaticLink, - "", - ""); - I_Method0(void, dirty, - Properties::NON_VIRTUAL, - __void__dirty, - "", - ""); - I_SimpleProperty(const osgAnimation::AnimationList &, AnimationList, - __C5_AnimationList_R1__getAnimationList, - 0); - I_SimpleProperty(bool, AutomaticLink, - __bool__getAutomaticLink, - __void__setAutomaticLink__bool); - I_SimpleProperty(osgAnimation::LinkVisitor *, LinkVisitor, - 0, - __void__setLinkVisitor__LinkVisitor_P1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Target >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgAnimation::Target *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Target > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgAnimation::Target > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgAnimation::Target *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgAnimation::Target *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Target > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgAnimation::Target *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_SET_REFLECTOR(std::set< osg::ref_ptr< osgAnimation::Target > >) - diff --git a/src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp b/src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp deleted file mode 100644 index 3941fa498..000000000 --- a/src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::AnimationUpdateCallbackBase) - I_DeclaringFile("osgAnimation/AnimationUpdateCallback"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____AnimationUpdateCallbackBase, - "", - ""); - I_Method1(bool, link, IN, osgAnimation::Channel *, channel, - Properties::PURE_VIRTUAL, - __bool__link__Channel_P1, - "", - ""); - I_Method1(int, link, IN, osgAnimation::Animation *, animation, - Properties::PURE_VIRTUAL, - __int__link__Animation_P1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/BasicAnimationManager.cpp b/src/osgWrappers/introspection/osgAnimation/BasicAnimationManager.cpp deleted file mode 100644 index b85bb7dff..000000000 --- a/src/osgWrappers/introspection/osgAnimation/BasicAnimationManager.cpp +++ /dev/null @@ -1,100 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::BasicAnimationManager) - I_DeclaringFile("osgAnimation/BasicAnimationManager"); - I_BaseType(osgAnimation::AnimationManagerBase); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____BasicAnimationManager, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgAnimation::AnimationManagerBase &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____BasicAnimationManager__C5_AnimationManagerBase_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(void, update, IN, double, time, - Properties::VIRTUAL, - __void__update__double, - "", - ""); - I_MethodWithDefaults3(void, playAnimation, IN, osgAnimation::Animation *, pAnimation, , IN, int, priority, 0, IN, float, weight, 1.0, - Properties::NON_VIRTUAL, - __void__playAnimation__Animation_P1__int__float, - "", - ""); - I_Method1(bool, stopAnimation, IN, osgAnimation::Animation *, pAnimation, - Properties::NON_VIRTUAL, - __bool__stopAnimation__Animation_P1, - "", - ""); - I_Method1(bool, findAnimation, IN, osgAnimation::Animation *, pAnimation, - Properties::NON_VIRTUAL, - __bool__findAnimation__Animation_P1, - "", - ""); - I_Method1(bool, isPlaying, IN, osgAnimation::Animation *, pAnimation, - Properties::NON_VIRTUAL, - __bool__isPlaying__Animation_P1, - "", - ""); - I_Method1(bool, isPlaying, IN, const std::string &, animationName, - Properties::NON_VIRTUAL, - __bool__isPlaying__C5_std_string_R1, - "", - ""); - I_Method0(void, stopAll, - Properties::NON_VIRTUAL, - __void__stopAll, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/Bone.cpp b/src/osgWrappers/introspection/osgAnimation/Bone.cpp deleted file mode 100644 index 4d5eaa322..000000000 --- a/src/osgWrappers/introspection/osgAnimation/Bone.cpp +++ /dev/null @@ -1,178 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::Matrix, osgAnimation::Bone::MatrixType) - -BEGIN_OBJECT_REFLECTOR(osgAnimation::Bone) - I_DeclaringFile("osgAnimation/Bone"); - I_BaseType(osg::MatrixTransform); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_ConstructorWithDefaults2(IN, const osgAnimation::Bone &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Bone__C5_Bone_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults1(IN, const std::string &, name, "", - Properties::NON_EXPLICIT, - ____Bone__C5_std_string_R1, - "", - ""); - I_MethodWithDefaults1(void, setDefaultUpdateCallback, IN, const std::string &, name, "", - Properties::NON_VIRTUAL, - __void__setDefaultUpdateCallback__C5_std_string_R1, - "", - ""); - I_Method0(osgAnimation::Bone *, getBoneParent, - Properties::NON_VIRTUAL, - __Bone_P1__getBoneParent, - "", - ""); - I_Method0(const osgAnimation::Bone *, getBoneParent, - Properties::NON_VIRTUAL, - __C5_Bone_P1__getBoneParent, - "", - ""); - I_Method0(const osg::Matrix &, getMatrixInBoneSpace, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getMatrixInBoneSpace, - "", - ""); - I_Method0(const osg::Matrix &, getMatrixInSkeletonSpace, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getMatrixInSkeletonSpace, - "", - ""); - I_Method0(const osg::Matrix &, getInvBindMatrixInSkeletonSpace, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getInvBindMatrixInSkeletonSpace, - "", - ""); - I_Method1(void, setMatrixInSkeletonSpace, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__setMatrixInSkeletonSpace__C5_osg_Matrix_R1, - "", - ""); - I_Method1(void, setInvBindMatrixInSkeletonSpace, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__setInvBindMatrixInSkeletonSpace__C5_osg_Matrix_R1, - "", - ""); - I_SimpleProperty(osgAnimation::Bone *, BoneParent, - __Bone_P1__getBoneParent, - 0); - I_SimpleProperty(const std::string &, DefaultUpdateCallback, - 0, - __void__setDefaultUpdateCallback__C5_std_string_R1); - I_SimpleProperty(const osg::Matrix &, InvBindMatrixInSkeletonSpace, - __C5_osg_Matrix_R1__getInvBindMatrixInSkeletonSpace, - __void__setInvBindMatrixInSkeletonSpace__C5_osg_Matrix_R1); - I_SimpleProperty(const osg::Matrix &, MatrixInBoneSpace, - __C5_osg_Matrix_R1__getMatrixInBoneSpace, - 0); - I_SimpleProperty(const osg::Matrix &, MatrixInSkeletonSpace, - __C5_osg_Matrix_R1__getMatrixInSkeletonSpace, - __void__setMatrixInSkeletonSpace__C5_osg_Matrix_R1); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ref_ptr< osgAnimation::Bone > >, osgAnimation::BoneMap) - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Bone >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgAnimation::Bone *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Bone > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgAnimation::Bone > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgAnimation::Bone *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgAnimation::Bone *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Bone > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgAnimation::Bone *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ref_ptr< osgAnimation::Bone > >) - diff --git a/src/osgWrappers/introspection/osgAnimation/BoneMapVisitor.cpp b/src/osgWrappers/introspection/osgAnimation/BoneMapVisitor.cpp deleted file mode 100644 index 20b8ef738..000000000 --- a/src/osgWrappers/introspection/osgAnimation/BoneMapVisitor.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::BoneMapVisitor) - I_DeclaringFile("osgAnimation/BoneMapVisitor"); - I_BaseType(osg::NodeVisitor); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Constructor0(____BoneMapVisitor, - "", - ""); - I_Method1(void, apply, IN, osg::Node &, x, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, node, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method0(const osgAnimation::BoneMap &, getBoneMap, - Properties::NON_VIRTUAL, - __C5_BoneMap_R1__getBoneMap, - "", - ""); - I_SimpleProperty(const osgAnimation::BoneMap &, BoneMap, - __C5_BoneMap_R1__getBoneMap, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/Channel.cpp b/src/osgWrappers/introspection/osgAnimation/Channel.cpp deleted file mode 100644 index a35932161..000000000 --- a/src/osgWrappers/introspection/osgAnimation/Channel.cpp +++ /dev/null @@ -1,212 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Channel) - I_DeclaringFile("osgAnimation/Channel"); - I_BaseType(osg::Referenced); - I_Constructor0(____Channel, - "", - ""); - I_Constructor1(IN, const osgAnimation::Channel &, channel, - Properties::NON_EXPLICIT, - ____Channel__C5_Channel_R1, - "", - ""); - I_Method0(osgAnimation::Channel *, clone, - Properties::PURE_VIRTUAL, - __Channel_P1__clone, - "", - ""); - I_Method3(void, update, IN, double, time, IN, float, weight, IN, int, priority, - Properties::PURE_VIRTUAL, - __void__update__double__float__int, - "", - ""); - I_Method0(void, reset, - Properties::PURE_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(osgAnimation::Target *, getTarget, - Properties::PURE_VIRTUAL, - __Target_P1__getTarget, - "", - ""); - I_Method1(bool, setTarget, IN, osgAnimation::Target *, x, - Properties::PURE_VIRTUAL, - __bool__setTarget__Target_P1, - "", - ""); - I_Method0(const std::string &, getName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getName, - "", - ""); - I_Method1(void, setName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setName__C5_std_string_R1, - "", - ""); - I_Method0(double, getStartTime, - Properties::PURE_VIRTUAL, - __double__getStartTime, - "", - ""); - I_Method0(double, getEndTime, - Properties::PURE_VIRTUAL, - __double__getEndTime, - "", - ""); - I_Method0(const std::string &, getTargetName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getTargetName, - "", - ""); - I_Method1(void, setTargetName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setTargetName__C5_std_string_R1, - "", - ""); - I_Method0(osgAnimation::Sampler *, getSampler, - Properties::PURE_VIRTUAL, - __Sampler_P1__getSampler, - "", - ""); - I_Method0(const osgAnimation::Sampler *, getSampler, - Properties::PURE_VIRTUAL, - __C5_Sampler_P1__getSampler, - "", - ""); - I_Method0(bool, createKeyframeContainerFromTargetValue, - Properties::PURE_VIRTUAL, - __bool__createKeyframeContainerFromTargetValue, - "", - ""); - I_SimpleProperty(double, EndTime, - __double__getEndTime, - 0); - I_SimpleProperty(const std::string &, Name, - __C5_std_string_R1__getName, - __void__setName__C5_std_string_R1); - I_SimpleProperty(osgAnimation::Sampler *, Sampler, - __Sampler_P1__getSampler, - 0); - I_SimpleProperty(double, StartTime, - __double__getStartTime, - 0); - I_SimpleProperty(osgAnimation::Target *, Target, - __Target_P1__getTarget, - __bool__setTarget__Target_P1); - I_SimpleProperty(const std::string &, TargetName, - __C5_std_string_R1__getTargetName, - __void__setTargetName__C5_std_string_R1); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgAnimation::Channel > >, osgAnimation::ChannelList) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::DoubleStepSampler >, osgAnimation::DoubleStepChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::FloatStepSampler >, osgAnimation::FloatStepChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec2StepSampler >, osgAnimation::Vec2StepChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec3StepSampler >, osgAnimation::Vec3StepChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec4StepSampler >, osgAnimation::Vec4StepChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::QuatStepSampler >, osgAnimation::QuatStepChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::DoubleLinearSampler >, osgAnimation::DoubleLinearChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::FloatLinearSampler >, osgAnimation::FloatLinearChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec2LinearSampler >, osgAnimation::Vec2LinearChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec3LinearSampler >, osgAnimation::Vec3LinearChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec4LinearSampler >, osgAnimation::Vec4LinearChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::QuatSphericalLinearSampler >, osgAnimation::QuatSphericalLinearChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::MatrixLinearSampler >, osgAnimation::MatrixLinearChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::FloatCubicBezierSampler >, osgAnimation::FloatCubicBezierChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::DoubleCubicBezierSampler >, osgAnimation::DoubleCubicBezierChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec2CubicBezierSampler >, osgAnimation::Vec2CubicBezierChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec3CubicBezierSampler >, osgAnimation::Vec3CubicBezierChannel) - -TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec4CubicBezierSampler >, osgAnimation::Vec4CubicBezierChannel) - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Channel >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgAnimation::Channel *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Channel > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgAnimation::Channel > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgAnimation::Channel *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgAnimation::Channel *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Channel > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgAnimation::Channel *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgAnimation::Channel > >) - diff --git a/src/osgWrappers/introspection/osgAnimation/CubicBezier.cpp b/src/osgWrappers/introspection/osgAnimation/CubicBezier.cpp deleted file mode 100644 index e9a444759..000000000 --- a/src/osgWrappers/introspection/osgAnimation/CubicBezier.cpp +++ /dev/null @@ -1,34 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< float >, osgAnimation::FloatCubicBezier) - -TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< double >, osgAnimation::DoubleCubicBezier) - -TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< osg::Vec2 >, osgAnimation::Vec2CubicBezier) - -TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< osg::Vec3 >, osgAnimation::Vec3CubicBezier) - -TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< osg::Vec4 >, osgAnimation::Vec4CubicBezier) - diff --git a/src/osgWrappers/introspection/osgAnimation/EaseMotion.cpp b/src/osgWrappers/introspection/osgAnimation/EaseMotion.cpp deleted file mode 100644 index 3305dfce0..000000000 --- a/src/osgWrappers/introspection/osgAnimation/EaseMotion.cpp +++ /dev/null @@ -1,938 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgAnimation::Motion > >, osgAnimation::CompositeMotion::MotionList) - -BEGIN_OBJECT_REFLECTOR(osgAnimation::CompositeMotion) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_Method0(osgAnimation::CompositeMotion::MotionList &, getMotionList, - Properties::NON_VIRTUAL, - __MotionList_R1__getMotionList, - "", - ""); - I_Method0(const osgAnimation::CompositeMotion::MotionList &, getMotionList, - Properties::NON_VIRTUAL, - __C5_MotionList_R1__getMotionList, - "", - ""); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____CompositeMotion__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); - I_SimpleProperty(osgAnimation::CompositeMotion::MotionList &, MotionList, - __MotionList_R1__getMotionList, - 0); - I_PublicMemberProperty(osgAnimation::CompositeMotion::MotionList, _motions); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InBackFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InBackFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InBounceFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InBounceFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InCircFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InCircFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InCubicFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InCubicFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InElasticFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InElasticFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InExpoFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InExpoFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InOutBackFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InOutBackFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InOutBounceFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InOutBounceFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InOutCircFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InOutCircFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InOutCubicFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InOutCubicFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InOutElasticFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InOutElasticFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InOutExpoFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InOutExpoFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InOutQuadFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InOutQuadFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InOutQuartFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InOutQuartFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InOutSineFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InOutSineFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InQuadFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InQuadFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InQuartFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InQuartFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::InSineFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____InSineFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::LinearFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____LinearFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgAnimation::Motion::TimeBehaviour) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_EnumLabel(osgAnimation::Motion::CLAMP); - I_EnumLabel(osgAnimation::Motion::LOOP); -END_REFLECTOR - -TYPE_NAME_ALIAS(float, osgAnimation::Motion::value_type) - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Motion) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osg::Referenced); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____Motion__float__float__float__TimeBehaviour, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(float, getTime, - Properties::NON_VIRTUAL, - __float__getTime, - "", - ""); - I_Method1(float, evaluateTime, IN, float, time, - Properties::NON_VIRTUAL, - __float__evaluateTime__float, - "", - ""); - I_Method1(void, update, IN, float, dt, - Properties::NON_VIRTUAL, - __void__update__float, - "", - ""); - I_Method1(void, setTime, IN, float, time, - Properties::NON_VIRTUAL, - __void__setTime__float, - "", - ""); - I_Method1(void, getValue, IN, osgAnimation::Motion::value_type &, result, - Properties::NON_VIRTUAL, - __void__getValue__value_type_R1, - "", - ""); - I_Method0(osgAnimation::Motion::value_type, getValue, - Properties::NON_VIRTUAL, - __value_type__getValue, - "", - ""); - I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::Motion::value_type &, result, - Properties::NON_VIRTUAL, - __void__getValueAt__float__value_type_R1, - "", - ""); - I_Method1(osgAnimation::Motion::value_type, getValueAt, IN, float, time, - Properties::NON_VIRTUAL, - __value_type__getValueAt__float, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::PURE_VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); - I_Method0(float, getDuration, - Properties::NON_VIRTUAL, - __float__getDuration, - "", - ""); - I_SimpleProperty(float, Duration, - __float__getDuration, - 0); - I_SimpleProperty(float, Time, - __float__getTime, - __void__setTime__float); - I_SimpleProperty(osgAnimation::Motion::value_type, Value, - __value_type__getValue, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::OutBackFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____OutBackFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::OutBounceFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____OutBounceFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::OutCircFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____OutCircFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::OutCubicFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____OutCubicFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::OutElasticFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____OutElasticFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::OutExpoFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____OutExpoFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::OutQuadFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____OutQuadFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::OutQuartFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____OutQuartFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::OutSineFunction) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_Constructor0(____OutSineFunction, - "", - ""); - I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result, - __void__getValueAt__float__float_R1_S, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::LinearFunction >, osgAnimation::LinearMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutQuadFunction >, osgAnimation::OutQuadMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InQuadFunction >, osgAnimation::InQuadMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutQuadFunction >, osgAnimation::InOutQuadMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutCubicFunction >, osgAnimation::OutCubicMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InCubicFunction >, osgAnimation::InCubicMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutCubicFunction >, osgAnimation::InOutCubicMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutQuartFunction >, osgAnimation::OutQuartMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InQuartFunction >, osgAnimation::InQuartMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutQuartFunction >, osgAnimation::InOutQuartMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutBounceFunction >, osgAnimation::OutBounceMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InBounceFunction >, osgAnimation::InBounceMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutBounceFunction >, osgAnimation::InOutBounceMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutElasticFunction >, osgAnimation::OutElasticMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InElasticFunction >, osgAnimation::InElasticMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutElasticFunction >, osgAnimation::InOutElasticMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutSineFunction >, osgAnimation::OutSineMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InSineFunction >, osgAnimation::InSineMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutSineFunction >, osgAnimation::InOutSineMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutBackFunction >, osgAnimation::OutBackMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InBackFunction >, osgAnimation::InBackMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutBackFunction >, osgAnimation::InOutBackMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutCircFunction >, osgAnimation::OutCircMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InCircFunction >, osgAnimation::InCircMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutCircFunction >, osgAnimation::InOutCircMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutExpoFunction >, osgAnimation::OutExpoMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InExpoFunction >, osgAnimation::InExpoMotion) - -TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutExpoFunction >, osgAnimation::InOutExpoMotion) - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Motion >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgAnimation::Motion *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Motion > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgAnimation::Motion > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgAnimation::Motion *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgAnimation::Motion *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Motion > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgAnimation::Motion *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InBackFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InBounceFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InCircFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InCubicFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InElasticFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InExpoFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutBackFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutBounceFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutCircFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutCubicFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutElasticFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutExpoFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutQuadFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutQuartFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutSineFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InQuadFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InQuartFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InSineFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::LinearFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutBackFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutBounceFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutCircFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutCubicFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutElasticFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutExpoFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutQuadFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutQuartFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutSineFunction >) - I_DeclaringFile("osgAnimation/EaseMotion"); - I_BaseType(osgAnimation::Motion); - I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP, - ____MathMotionTemplate__float__float__float__TimeBehaviour, - "", - ""); - I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result, - Properties::VIRTUAL, - __void__getValueInNormalizedRange__float__value_type_R1, - "", - ""); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgAnimation::Motion > >) - diff --git a/src/osgWrappers/introspection/osgAnimation/FrameAction.cpp b/src/osgWrappers/introspection/osgAnimation/FrameAction.cpp deleted file mode 100644 index 35306fe51..000000000 --- a/src/osgWrappers/introspection/osgAnimation/FrameAction.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::pair< unsigned int COMMA osg::ref_ptr< osgAnimation::Action > >, osgAnimation::FrameAction) - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Action >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgAnimation::Action *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Action > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgAnimation::Action > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgAnimation::Action *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgAnimation::Action *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Action > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgAnimation::Action *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_PAIR_REFLECTOR(std::pair< unsigned int COMMA osg::ref_ptr< osgAnimation::Action > >) - diff --git a/src/osgWrappers/introspection/osgAnimation/Interpolator.cpp b/src/osgWrappers/introspection/osgAnimation/Interpolator.cpp deleted file mode 100644 index 1d581f26b..000000000 --- a/src/osgWrappers/introspection/osgAnimation/Interpolator.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< double COMMA double >, osgAnimation::DoubleStepInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< float COMMA float >, osgAnimation::FloatStepInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< osg::Vec2 COMMA osg::Vec2 >, osgAnimation::Vec2StepInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< osg::Vec3 COMMA osg::Vec3 >, osgAnimation::Vec3StepInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< osg::Vec3 COMMA osgAnimation::Vec3Packed >, osgAnimation::Vec3PackedStepInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< osg::Vec4 COMMA osg::Vec4 >, osgAnimation::Vec4StepInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< osg::Quat COMMA osg::Quat >, osgAnimation::QuatStepInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< double COMMA double >, osgAnimation::DoubleLinearInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< float COMMA float >, osgAnimation::FloatLinearInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< osg::Vec2 COMMA osg::Vec2 >, osgAnimation::Vec2LinearInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< osg::Vec3 COMMA osg::Vec3 >, osgAnimation::Vec3LinearInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< osg::Vec3 COMMA osgAnimation::Vec3Packed >, osgAnimation::Vec3PackedLinearInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< osg::Vec4 COMMA osg::Vec4 >, osgAnimation::Vec4LinearInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSphericalLinearInterpolator< osg::Quat COMMA osg::Quat >, osgAnimation::QuatSphericalLinearInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< osg::Matrixf COMMA osg::Matrixf >, osgAnimation::MatrixLinearInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< float COMMA osgAnimation::FloatCubicBezier >, osgAnimation::FloatCubicBezierInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< double COMMA osgAnimation::DoubleCubicBezier >, osgAnimation::DoubleCubicBezierInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec2 COMMA osgAnimation::Vec2CubicBezier >, osgAnimation::Vec2CubicBezierInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec3 COMMA osgAnimation::Vec3CubicBezier >, osgAnimation::Vec3CubicBezierInterpolator) - -TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec4 COMMA osgAnimation::Vec4CubicBezier >, osgAnimation::Vec4CubicBezierInterpolator) - diff --git a/src/osgWrappers/introspection/osgAnimation/Keyframe.cpp b/src/osgWrappers/introspection/osgAnimation/Keyframe.cpp deleted file mode 100644 index 74256bbbf..000000000 --- a/src/osgWrappers/introspection/osgAnimation/Keyframe.cpp +++ /dev/null @@ -1,122 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgAnimation::Keyframe) - I_DeclaringFile("osgAnimation/Keyframe"); - I_Constructor0(____Keyframe, - "", - ""); - I_Method0(double, getTime, - Properties::NON_VIRTUAL, - __double__getTime, - "", - ""); - I_Method1(void, setTime, IN, double, time, - Properties::NON_VIRTUAL, - __void__setTime__double, - "", - ""); - I_SimpleProperty(double, Time, - __double__getTime, - __void__setTime__double); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::KeyframeContainer) - I_DeclaringFile("osgAnimation/Keyframe"); - I_BaseType(osg::Referenced); - I_Constructor0(____KeyframeContainer, - "", - ""); - I_Method0(unsigned int, size, - Properties::PURE_VIRTUAL, - __unsigned_int__size, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< float >, osgAnimation::FloatKeyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< float >, osgAnimation::FloatKeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< double >, osgAnimation::DoubleKeyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< double >, osgAnimation::DoubleKeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osg::Vec2 >, osgAnimation::Vec2Keyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osg::Vec2 >, osgAnimation::Vec2KeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osg::Vec3 >, osgAnimation::Vec3Keyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osg::Vec3 >, osgAnimation::Vec3KeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osg::Vec4 >, osgAnimation::Vec4Keyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osg::Vec4 >, osgAnimation::Vec4KeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osg::Quat >, osgAnimation::QuatKeyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osg::Quat >, osgAnimation::QuatKeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osg::Matrixf >, osgAnimation::MatrixKeyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osg::Matrixf >, osgAnimation::MatrixKeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::Vec3Packed >, osgAnimation::Vec3PackedKeyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3Packed >, osgAnimation::Vec3PackedKeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::FloatCubicBezier >, osgAnimation::FloatCubicBezierKeyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::FloatCubicBezier >, osgAnimation::FloatCubicBezierKeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::DoubleCubicBezier >, osgAnimation::DoubleCubicBezierKeyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::DoubleCubicBezier >, osgAnimation::DoubleCubicBezierKeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::Vec2CubicBezier >, osgAnimation::Vec2CubicBezierKeyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec2CubicBezier >, osgAnimation::Vec2CubicBezierKeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::Vec3CubicBezier >, osgAnimation::Vec3CubicBezierKeyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3CubicBezier >, osgAnimation::Vec3CubicBezierKeyframeContainer) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::Vec4CubicBezier >, osgAnimation::Vec4CubicBezierKeyframe) - -TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec4CubicBezier >, osgAnimation::Vec4CubicBezierKeyframeContainer) - -BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osg::Matrixf >) - I_DeclaringFile("osgAnimation/Keyframe"); - I_BaseType(osgAnimation::KeyframeContainer); - I_Constructor0(____TemplateKeyframeContainer, - "", - ""); - I_Method0(unsigned int, size, - Properties::VIRTUAL, - __unsigned_int__size, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/LinkVisitor.cpp b/src/osgWrappers/introspection/osgAnimation/LinkVisitor.cpp deleted file mode 100644 index cca9d5463..000000000 --- a/src/osgWrappers/introspection/osgAnimation/LinkVisitor.cpp +++ /dev/null @@ -1,88 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::LinkVisitor) - I_DeclaringFile("osgAnimation/LinkVisitor"); - I_BaseType(osg::NodeVisitor); - I_Constructor0(____LinkVisitor, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, node, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method0(osgAnimation::AnimationList &, getAnimationList, - Properties::NON_VIRTUAL, - __AnimationList_R1__getAnimationList, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_Method0(unsigned int, getNbLinkedTarget, - Properties::NON_VIRTUAL, - __unsigned_int__getNbLinkedTarget, - "", - ""); - I_ProtectedMethod1(void, handle_stateset, IN, osg::StateSet *, stateset, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handle_stateset__osg_StateSet_P1, - "", - ""); - I_ProtectedMethod1(void, link, IN, osgAnimation::AnimationUpdateCallbackBase *, cb, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__link__osgAnimation_AnimationUpdateCallbackBase_P1, - "", - ""); - I_SimpleProperty(osgAnimation::AnimationList &, AnimationList, - __AnimationList_R1__getAnimationList, - 0); - I_SimpleProperty(unsigned int, NbLinkedTarget, - __unsigned_int__getNbLinkedTarget, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/MorphGeometry.cpp b/src/osgWrappers/introspection/osgAnimation/MorphGeometry.cpp deleted file mode 100644 index 38ad214f0..000000000 --- a/src/osgWrappers/introspection/osgAnimation/MorphGeometry.cpp +++ /dev/null @@ -1,252 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgAnimation::MorphGeometry::Method) - I_DeclaringFile("osgAnimation/MorphGeometry"); - I_EnumLabel(osgAnimation::MorphGeometry::NORMALIZED); - I_EnumLabel(osgAnimation::MorphGeometry::RELATIVE); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osgAnimation::MorphGeometry::MorphTarget >, osgAnimation::MorphGeometry::MorphTargetList) - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MorphGeometry) - I_DeclaringFile("osgAnimation/MorphGeometry"); - I_BaseType(osg::Geometry); - I_Constructor0(____MorphGeometry, - "", - ""); - I_Constructor1(IN, const osg::Geometry &, b, - Properties::NON_EXPLICIT, - ____MorphGeometry__C5_osg_Geometry_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgAnimation::MorphGeometry &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____MorphGeometry__C5_MorphGeometry_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, transformSoftwareMethod, - Properties::VIRTUAL, - __void__transformSoftwareMethod, - "", - ""); - I_Method1(void, setMethod, IN, osgAnimation::MorphGeometry::Method, method, - Properties::NON_VIRTUAL, - __void__setMethod__Method, - "Set the morphing method. ", - ""); - I_Method0(osgAnimation::MorphGeometry::Method, getMethod, - Properties::NON_VIRTUAL, - __Method__getMethod, - "Get the morphing method. ", - ""); - I_Method1(void, setMorphNormals, IN, bool, morphNormals, - Properties::NON_VIRTUAL, - __void__setMorphNormals__bool, - "Set flag for morphing normals. ", - ""); - I_Method0(bool, getMorphNormals, - Properties::NON_VIRTUAL, - __bool__getMorphNormals, - "Get the flag for morphing normals. ", - ""); - I_MethodWithDefaults2(void, addMorphTarget, IN, osg::Geometry *, morphTarget, , IN, float, weight, 1.0, - Properties::VIRTUAL, - __void__addMorphTarget__osg_Geometry_P1__float, - "Add a MorphTarget to the MorphGeometry. ", - " param morphTarget The MorphTarget to be added to the MorphGeometry. weight The weight to be added to the MorphGeometry. return true for success; false otherwise. "); - I_Method2(void, setWeight, IN, unsigned int, index, IN, float, morphWeight, - Properties::NON_VIRTUAL, - __void__setWeight__unsigned_int__float, - "", - ""); - I_Method0(void, dirty, - Properties::NON_VIRTUAL, - __void__dirty, - "Set the MorphGeometry dirty. ", - ""); - I_Method0(const osgAnimation::MorphGeometry::MorphTargetList &, getMorphTargetList, - Properties::NON_VIRTUAL, - __C5_MorphTargetList_R1__getMorphTargetList, - "Get the list of MorphTargets. ", - ""); - I_Method0(osgAnimation::MorphGeometry::MorphTargetList &, getMorphTargetList, - Properties::NON_VIRTUAL, - __MorphTargetList_R1__getMorphTargetList, - "Get the list of MorphTargets. ", - "Warning if you modify this array you will have to call dirty() "); - I_Method1(const osgAnimation::MorphGeometry::MorphTarget &, getMorphTarget, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_MorphTarget_R1__getMorphTarget__unsigned_int, - "Return the MorphTarget at position i. ", - ""); - I_Method1(osgAnimation::MorphGeometry::MorphTarget &, getMorphTarget, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __MorphTarget_R1__getMorphTarget__unsigned_int, - "Return the MorphTarget at position i. ", - ""); - I_SimpleProperty(osgAnimation::MorphGeometry::Method, Method, - __Method__getMethod, - __void__setMethod__Method); - I_SimpleProperty(bool, MorphNormals, - __bool__getMorphNormals, - __void__setMorphNormals__bool); - I_SimpleProperty(osgAnimation::MorphGeometry::MorphTargetList &, MorphTargetList, - __MorphTargetList_R1__getMorphTargetList, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::MorphGeometry::MorphTarget) - I_DeclaringFile("osgAnimation/MorphGeometry"); - I_ConstructorWithDefaults2(IN, osg::Geometry *, geom, , IN, float, w, 1.0, - ____MorphTarget__osg_Geometry_P1__float, - "", - ""); - I_Method1(void, setWeight, IN, float, weight, - Properties::NON_VIRTUAL, - __void__setWeight__float, - "", - ""); - I_Method0(const float, getWeight, - Properties::NON_VIRTUAL, - __C5_float__getWeight, - "", - ""); - I_Method0(osg::Geometry *, getGeometry, - Properties::NON_VIRTUAL, - __osg_Geometry_P1__getGeometry, - "", - ""); - I_Method0(const osg::Geometry *, getGeometry, - Properties::NON_VIRTUAL, - __C5_osg_Geometry_P1__getGeometry, - "", - ""); - I_Method1(void, setGeometry, IN, osg::Geometry *, geom, - Properties::NON_VIRTUAL, - __void__setGeometry__osg_Geometry_P1, - "", - ""); - I_SimpleProperty(osg::Geometry *, Geometry, - __osg_Geometry_P1__getGeometry, - __void__setGeometry__osg_Geometry_P1); - I_SimpleProperty(float, Weight, - 0, - __void__setWeight__float); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::MorphGeometry::UpdateVertex) - I_DeclaringFile("osgAnimation/MorphGeometry"); - I_BaseType(osg::Drawable::UpdateCallback); - I_Constructor0(____UpdateVertex, - "", - ""); - I_Method2(void, update, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, x, - Properties::VIRTUAL, - __void__update__osg_NodeVisitor_P1__osg_Drawable_P1, - "do customized update code. ", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateMorph) - I_DeclaringFile("osgAnimation/MorphGeometry"); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults1(IN, const std::string &, name, "", - Properties::NON_EXPLICIT, - ____UpdateMorph__C5_std_string_R1, - "", - ""); - I_Constructor2(IN, const osgAnimation::UpdateMorph &, apc, IN, const osg::CopyOp &, copyop, - ____UpdateMorph__C5_UpdateMorph_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(bool, needLink, - Properties::NON_VIRTUAL, - __bool__needLink, - "", - ""); - I_Method1(bool, link, IN, osgAnimation::Channel *, channel, - Properties::VIRTUAL, - __bool__link__osgAnimation_Channel_P1, - "", - ""); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osgAnimation::MorphGeometry::MorphTarget >) - diff --git a/src/osgWrappers/introspection/osgAnimation/RigGeometry.cpp b/src/osgWrappers/introspection/osgAnimation/RigGeometry.cpp deleted file mode 100644 index 074afc9e3..000000000 --- a/src/osgWrappers/introspection/osgAnimation/RigGeometry.cpp +++ /dev/null @@ -1,198 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::RigGeometry) - I_DeclaringFile("osgAnimation/RigGeometry"); - I_BaseType(osg::Geometry); - I_Constructor0(____RigGeometry, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgAnimation::RigGeometry &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____RigGeometry__C5_RigGeometry_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setInfluenceMap, IN, osgAnimation::VertexInfluenceMap *, vertexInfluenceMap, - Properties::NON_VIRTUAL, - __void__setInfluenceMap__VertexInfluenceMap_P1, - "", - ""); - I_Method0(const osgAnimation::VertexInfluenceMap *, getInfluenceMap, - Properties::NON_VIRTUAL, - __C5_VertexInfluenceMap_P1__getInfluenceMap, - "", - ""); - I_Method0(osgAnimation::VertexInfluenceMap *, getInfluenceMap, - Properties::NON_VIRTUAL, - __VertexInfluenceMap_P1__getInfluenceMap, - "", - ""); - I_Method0(const osgAnimation::Skeleton *, getSkeleton, - Properties::NON_VIRTUAL, - __C5_Skeleton_P1__getSkeleton, - "", - ""); - I_Method0(osgAnimation::Skeleton *, getSkeleton, - Properties::NON_VIRTUAL, - __Skeleton_P1__getSkeleton, - "", - ""); - I_Method1(void, setSkeleton, IN, osgAnimation::Skeleton *, x, - Properties::NON_VIRTUAL, - __void__setSkeleton__Skeleton_P1, - "", - ""); - I_Method1(void, setNeedToComputeMatrix, IN, bool, state, - Properties::NON_VIRTUAL, - __void__setNeedToComputeMatrix__bool, - "", - ""); - I_Method0(bool, getNeedToComputeMatrix, - Properties::NON_VIRTUAL, - __bool__getNeedToComputeMatrix, - "", - ""); - I_Method0(void, buildVertexInfluenceSet, - Properties::NON_VIRTUAL, - __void__buildVertexInfluenceSet, - "", - ""); - I_Method0(const osgAnimation::VertexInfluenceSet &, getVertexInfluenceSet, - Properties::NON_VIRTUAL, - __C5_VertexInfluenceSet_R1__getVertexInfluenceSet, - "", - ""); - I_Method0(void, computeMatrixFromRootSkeleton, - Properties::NON_VIRTUAL, - __void__computeMatrixFromRootSkeleton, - "", - ""); - I_Method1(void, setRigTransformImplementation, IN, osgAnimation::RigTransform *, x, - Properties::NON_VIRTUAL, - __void__setRigTransformImplementation__RigTransform_P1, - "", - ""); - I_Method0(osgAnimation::RigTransform *, getRigTransformImplementation, - Properties::NON_VIRTUAL, - __RigTransform_P1__getRigTransformImplementation, - "", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1, - "Draw Geometry directly ignoring an OpenGL display list which could be attached. ", - "This is the internal draw method which does the drawing itself, and is the method to override when deriving from Geometry for user-drawn objects. "); - I_Method0(void, update, - Properties::NON_VIRTUAL, - __void__update, - "", - ""); - I_Method0(const osg::Matrix &, getMatrixFromSkeletonToGeometry, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getMatrixFromSkeletonToGeometry, - "", - ""); - I_Method0(const osg::Matrix &, getInvMatrixFromSkeletonToGeometry, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getInvMatrixFromSkeletonToGeometry, - "", - ""); - I_Method0(osg::Geometry *, getSourceGeometry, - Properties::NON_VIRTUAL, - __osg_Geometry_P1__getSourceGeometry, - "", - ""); - I_Method0(const osg::Geometry *, getSourceGeometry, - Properties::NON_VIRTUAL, - __C5_osg_Geometry_P1__getSourceGeometry, - "", - ""); - I_Method1(void, setSourceGeometry, IN, osg::Geometry *, geometry, - Properties::NON_VIRTUAL, - __void__setSourceGeometry__osg_Geometry_P1, - "", - ""); - I_Method1(void, copyFrom, IN, osg::Geometry &, from, - Properties::NON_VIRTUAL, - __void__copyFrom__osg_Geometry_R1, - "", - ""); - I_SimpleProperty(osgAnimation::VertexInfluenceMap *, InfluenceMap, - __VertexInfluenceMap_P1__getInfluenceMap, - __void__setInfluenceMap__VertexInfluenceMap_P1); - I_SimpleProperty(const osg::Matrix &, InvMatrixFromSkeletonToGeometry, - __C5_osg_Matrix_R1__getInvMatrixFromSkeletonToGeometry, - 0); - I_SimpleProperty(const osg::Matrix &, MatrixFromSkeletonToGeometry, - __C5_osg_Matrix_R1__getMatrixFromSkeletonToGeometry, - 0); - I_SimpleProperty(bool, NeedToComputeMatrix, - __bool__getNeedToComputeMatrix, - __void__setNeedToComputeMatrix__bool); - I_SimpleProperty(osgAnimation::RigTransform *, RigTransformImplementation, - __RigTransform_P1__getRigTransformImplementation, - __void__setRigTransformImplementation__RigTransform_P1); - I_SimpleProperty(osgAnimation::Skeleton *, Skeleton, - __Skeleton_P1__getSkeleton, - __void__setSkeleton__Skeleton_P1); - I_SimpleProperty(osg::Geometry *, SourceGeometry, - __osg_Geometry_P1__getSourceGeometry, - __void__setSourceGeometry__osg_Geometry_P1); - I_SimpleProperty(const osgAnimation::VertexInfluenceSet &, VertexInfluenceSet, - __C5_VertexInfluenceSet_R1__getVertexInfluenceSet, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/RigTransform.cpp b/src/osgWrappers/introspection/osgAnimation/RigTransform.cpp deleted file mode 100644 index 597b967d4..000000000 --- a/src/osgWrappers/introspection/osgAnimation/RigTransform.cpp +++ /dev/null @@ -1,33 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::RigTransform) - I_DeclaringFile("osgAnimation/RigTransform"); - I_BaseType(osg::Referenced); - I_Constructor0(____RigTransform, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/RigTransformHardware.cpp b/src/osgWrappers/introspection/osgAnimation/RigTransformHardware.cpp deleted file mode 100644 index d2a5078e2..000000000 --- a/src/osgWrappers/introspection/osgAnimation/RigTransformHardware.cpp +++ /dev/null @@ -1,249 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::Matrix, osgAnimation::RigTransformHardware::MatrixType) - -TYPE_NAME_ALIAS(osgAnimation::Bone, osgAnimation::RigTransformHardware::BoneType) - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Vec4Array > >, osgAnimation::RigTransformHardware::BoneWeightAttribList) - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgAnimation::RigTransformHardware::BoneType > >, osgAnimation::RigTransformHardware::BonePalette) - -TYPE_NAME_ALIAS(std::vector< osg::Matrix >, osgAnimation::RigTransformHardware::MatrixPalette) - -TYPE_NAME_ALIAS(std::vector< std::vector< osgAnimation::RigTransformHardware::IndexWeightEntry > >, osgAnimation::RigTransformHardware::VertexIndexWeightList) - -BEGIN_OBJECT_REFLECTOR(osgAnimation::RigTransformHardware) - I_DeclaringFile("osgAnimation/RigTransformHardware"); - I_BaseType(osgAnimation::RigTransform); - I_Constructor0(____RigTransformHardware, - "", - ""); - I_Method1(osg::Vec4Array *, getVertexAttrib, IN, int, index, - Properties::NON_VIRTUAL, - __osg_Vec4Array_P1__getVertexAttrib__int, - "", - ""); - I_Method0(int, getNumVertexAttrib, - Properties::NON_VIRTUAL, - __int__getNumVertexAttrib, - "", - ""); - I_Method0(osg::Uniform *, getMatrixPaletteUniform, - Properties::NON_VIRTUAL, - __osg_Uniform_P1__getMatrixPaletteUniform, - "", - ""); - I_Method2(void, computeMatrixPaletteUniform, IN, const osg::Matrix &, transformFromSkeletonToGeometry, IN, const osg::Matrix &, invTransformFromSkeletonToGeometry, - Properties::NON_VIRTUAL, - __void__computeMatrixPaletteUniform__C5_osg_Matrix_R1__C5_osg_Matrix_R1, - "", - ""); - I_Method0(int, getNumBonesPerVertex, - Properties::NON_VIRTUAL, - __int__getNumBonesPerVertex, - "", - ""); - I_Method0(int, getNumVertexes, - Properties::NON_VIRTUAL, - __int__getNumVertexes, - "", - ""); - I_Method3(bool, createPalette, IN, int, nbVertexes, IN, osgAnimation::BoneMap, boneMap, IN, const osgAnimation::VertexInfluenceSet::VertexIndexToBoneWeightMap &, vertexIndexToBoneWeightMap, - Properties::NON_VIRTUAL, - __bool__createPalette__int__BoneMap__C5_VertexInfluenceSet_VertexIndexToBoneWeightMap_R1, - "", - ""); - I_Method1(void, setShader, IN, osg::Shader *, x, - Properties::NON_VIRTUAL, - __void__setShader__osg_Shader_P1, - "", - ""); - I_ProtectedMethod1(bool, init, IN, osgAnimation::RigGeometry &, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__init__RigGeometry_R1, - "", - ""); - I_ProtectedMethod0(osgAnimation::RigTransformHardware::BoneWeightAttribList, createVertexAttribList, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __BoneWeightAttribList__createVertexAttribList, - "", - ""); - I_ProtectedMethod0(osg::Uniform *, createVertexUniform, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Uniform_P1__createVertexUniform, - "", - ""); - I_SimpleProperty(osg::Uniform *, MatrixPaletteUniform, - __osg_Uniform_P1__getMatrixPaletteUniform, - 0); - I_SimpleProperty(osg::Shader *, Shader, - 0, - __void__setShader__osg_Shader_P1); - I_ArrayProperty(osg::Vec4Array *, VertexAttrib, - __osg_Vec4Array_P1__getVertexAttrib__int, - 0, - __int__getNumVertexAttrib, - 0, - 0, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::RigTransformHardware::IndexWeightEntry) - I_DeclaringFile("osgAnimation/RigTransformHardware"); - I_Constructor0(____IndexWeightEntry, - "", - ""); - I_Constructor2(IN, int, index, IN, float, weight, - ____IndexWeightEntry__int__float, - "", - ""); - I_Method0(int, getIndex, - Properties::NON_VIRTUAL, - __int__getIndex, - "", - ""); - I_Method0(float, getWeight, - Properties::NON_VIRTUAL, - __float__getWeight, - "", - ""); - I_SimpleProperty(int, Index, - __int__getIndex, - 0); - I_SimpleProperty(float, Weight, - __float__getWeight, - 0); - I_PublicMemberProperty(int, _boneIndex); - I_PublicMemberProperty(float, _boneWeight); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Vec4Array >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Vec4Array *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Vec4Array > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Vec4Array > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Vec4Array *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Vec4Array *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Vec4Array > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Vec4Array *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::RigTransformHardware::BoneType >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgAnimation::RigTransformHardware::BoneType *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgAnimation::RigTransformHardware::BoneType > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgAnimation::RigTransformHardware::BoneType > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgAnimation::RigTransformHardware::BoneType *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgAnimation::RigTransformHardware::BoneType *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::RigTransformHardware::BoneType > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgAnimation::RigTransformHardware::BoneType *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Vec4Array > >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgAnimation::RigTransformHardware::BoneType > >) - -STD_VECTOR_REFLECTOR(std::vector< osgAnimation::RigTransformHardware::IndexWeightEntry >) - -STD_VECTOR_REFLECTOR(std::vector< std::vector< osgAnimation::RigTransformHardware::IndexWeightEntry > >) - diff --git a/src/osgWrappers/introspection/osgAnimation/RigTransformSoftware.cpp b/src/osgWrappers/introspection/osgAnimation/RigTransformSoftware.cpp deleted file mode 100644 index b90376c92..000000000 --- a/src/osgWrappers/introspection/osgAnimation/RigTransformSoftware.cpp +++ /dev/null @@ -1,130 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osgAnimation::RigTransformSoftware::BoneWeight >, osgAnimation::RigTransformSoftware::BoneWeightList) - -TYPE_NAME_ALIAS(std::vector< int >, osgAnimation::RigTransformSoftware::VertexList) - -BEGIN_OBJECT_REFLECTOR(osgAnimation::RigTransformSoftware) - I_DeclaringFile("osgAnimation/RigTransformSoftware"); - I_BaseType(osgAnimation::RigTransform); - I_Constructor0(____RigTransformSoftware, - "", - ""); - I_ProtectedMethod1(bool, init, IN, osgAnimation::RigGeometry &, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__init__RigGeometry_R1, - "", - ""); - I_ProtectedMethod2(void, initVertexSetFromBones, IN, const osgAnimation::BoneMap &, map, IN, const osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSetList &, influence, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__initVertexSetFromBones__C5_BoneMap_R1__C5_VertexInfluenceSet_UniqVertexSetToBoneSetList_R1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::RigTransformSoftware::BoneWeight) - I_DeclaringFile("osgAnimation/RigTransformSoftware"); - I_Constructor2(IN, osgAnimation::Bone *, bone, IN, float, weight, - ____BoneWeight__Bone_P1__float, - "", - ""); - I_Method0(const osgAnimation::Bone *, getBone, - Properties::NON_VIRTUAL, - __C5_Bone_P1__getBone, - "", - ""); - I_Method0(float, getWeight, - Properties::NON_VIRTUAL, - __float__getWeight, - "", - ""); - I_Method1(void, setWeight, IN, float, w, - Properties::NON_VIRTUAL, - __void__setWeight__float, - "", - ""); - I_SimpleProperty(const osgAnimation::Bone *, Bone, - __C5_Bone_P1__getBone, - 0); - I_SimpleProperty(float, Weight, - __float__getWeight, - __void__setWeight__float); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::RigTransformSoftware::UniqBoneSetVertexSet) - I_DeclaringFile("osgAnimation/RigTransformSoftware"); - I_Constructor0(____UniqBoneSetVertexSet, - "", - ""); - I_Method0(osgAnimation::RigTransformSoftware::BoneWeightList &, getBones, - Properties::NON_VIRTUAL, - __BoneWeightList_R1__getBones, - "", - ""); - I_Method0(osgAnimation::RigTransformSoftware::VertexList &, getVertexes, - Properties::NON_VIRTUAL, - __VertexList_R1__getVertexes, - "", - ""); - I_Method0(void, resetMatrix, - Properties::NON_VIRTUAL, - __void__resetMatrix, - "", - ""); - I_Method3(void, accummulateMatrix, IN, const osg::Matrix &, invBindMatrix, IN, const osg::Matrix &, matrix, IN, osg::Matrix::value_type, weight, - Properties::NON_VIRTUAL, - __void__accummulateMatrix__C5_osg_Matrix_R1__C5_osg_Matrix_R1__osg_Matrix_value_type, - "", - ""); - I_Method0(void, computeMatrixForVertexSet, - Properties::NON_VIRTUAL, - __void__computeMatrixForVertexSet, - "", - ""); - I_Method0(const osg::Matrix &, getMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getMatrix, - "", - ""); - I_SimpleProperty(osgAnimation::RigTransformSoftware::BoneWeightList &, Bones, - __BoneWeightList_R1__getBones, - 0); - I_SimpleProperty(const osg::Matrix &, Matrix, - __C5_osg_Matrix_R1__getMatrix, - 0); - I_SimpleProperty(osgAnimation::RigTransformSoftware::VertexList &, Vertexes, - __VertexList_R1__getVertexes, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< int >) - -STD_VECTOR_REFLECTOR(std::vector< osgAnimation::RigTransformSoftware::BoneWeight >) - diff --git a/src/osgWrappers/introspection/osgAnimation/Sampler.cpp b/src/osgWrappers/introspection/osgAnimation/Sampler.cpp deleted file mode 100644 index 4c993571b..000000000 --- a/src/osgWrappers/introspection/osgAnimation/Sampler.cpp +++ /dev/null @@ -1,538 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Sampler) - I_DeclaringFile("osgAnimation/Sampler"); - I_BaseType(osg::Referenced); - I_Constructor0(____Sampler, - "", - ""); - I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::PURE_VIRTUAL, - __KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::PURE_VIRTUAL, - __C5_KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, - __KeyframeContainer_P1__getKeyframeContainer, - 0); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >, osgAnimation::DoubleStepSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >, osgAnimation::FloatStepSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec2StepInterpolator >, osgAnimation::Vec2StepSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec3StepInterpolator >, osgAnimation::Vec3StepSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec4StepInterpolator >, osgAnimation::Vec4StepSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::QuatStepInterpolator >, osgAnimation::QuatStepSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >, osgAnimation::DoubleLinearSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >, osgAnimation::FloatLinearSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec2LinearInterpolator >, osgAnimation::Vec2LinearSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec3LinearInterpolator >, osgAnimation::Vec3LinearSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec4LinearInterpolator >, osgAnimation::Vec4LinearSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >, osgAnimation::QuatSphericalLinearSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::MatrixLinearInterpolator >, osgAnimation::MatrixLinearSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >, osgAnimation::FloatCubicBezierSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >, osgAnimation::DoubleCubicBezierSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec2CubicBezierInterpolator >, osgAnimation::Vec2CubicBezierSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec3CubicBezierInterpolator >, osgAnimation::Vec3CubicBezierSampler) - -TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec4CubicBezierInterpolator >, osgAnimation::Vec4CubicBezierSampler) - -BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >) - I_DeclaringFile("osgAnimation/Sampler"); - I_BaseType(osgAnimation::Sampler); - I_Constructor0(____TemplateSampler, - "", - ""); - I_Method2(void, getValueAt, IN, double, time, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::UsingType &, result, - Properties::NON_VIRTUAL, - __void__getValueAt__double__UsingType_R1, - "", - ""); - I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::KeyframeContainerType *, kf, - Properties::NON_VIRTUAL, - __void__setKeyframeContainer__KeyframeContainerType_P1, - "", - ""); - I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __C5_KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(const osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getOrCreateKeyframeContainer, - "", - ""); - I_Method0(double, getStartTime, - Properties::NON_VIRTUAL, - __double__getStartTime, - "", - ""); - I_Method0(double, getEndTime, - Properties::NON_VIRTUAL, - __double__getEndTime, - "", - ""); - I_SimpleProperty(double, EndTime, - __double__getEndTime, - 0); - I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, - __KeyframeContainer_P1__getKeyframeContainer, - 0); - I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - 0); - I_SimpleProperty(double, StartTime, - __double__getStartTime, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >) - I_DeclaringFile("osgAnimation/Sampler"); - I_BaseType(osgAnimation::Sampler); - I_Constructor0(____TemplateSampler, - "", - ""); - I_Method2(void, getValueAt, IN, double, time, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::UsingType &, result, - Properties::NON_VIRTUAL, - __void__getValueAt__double__UsingType_R1, - "", - ""); - I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::KeyframeContainerType *, kf, - Properties::NON_VIRTUAL, - __void__setKeyframeContainer__KeyframeContainerType_P1, - "", - ""); - I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __C5_KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(const osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getOrCreateKeyframeContainer, - "", - ""); - I_Method0(double, getStartTime, - Properties::NON_VIRTUAL, - __double__getStartTime, - "", - ""); - I_Method0(double, getEndTime, - Properties::NON_VIRTUAL, - __double__getEndTime, - "", - ""); - I_SimpleProperty(double, EndTime, - __double__getEndTime, - 0); - I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, - __KeyframeContainer_P1__getKeyframeContainer, - 0); - I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - 0); - I_SimpleProperty(double, StartTime, - __double__getStartTime, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >) - I_DeclaringFile("osgAnimation/Sampler"); - I_BaseType(osgAnimation::Sampler); - I_Constructor0(____TemplateSampler, - "", - ""); - I_Method2(void, getValueAt, IN, double, time, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::UsingType &, result, - Properties::NON_VIRTUAL, - __void__getValueAt__double__UsingType_R1, - "", - ""); - I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::KeyframeContainerType *, kf, - Properties::NON_VIRTUAL, - __void__setKeyframeContainer__KeyframeContainerType_P1, - "", - ""); - I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __C5_KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(const osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getOrCreateKeyframeContainer, - "", - ""); - I_Method0(double, getStartTime, - Properties::NON_VIRTUAL, - __double__getStartTime, - "", - ""); - I_Method0(double, getEndTime, - Properties::NON_VIRTUAL, - __double__getEndTime, - "", - ""); - I_SimpleProperty(double, EndTime, - __double__getEndTime, - 0); - I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, - __KeyframeContainer_P1__getKeyframeContainer, - 0); - I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - 0); - I_SimpleProperty(double, StartTime, - __double__getStartTime, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >) - I_DeclaringFile("osgAnimation/Sampler"); - I_BaseType(osgAnimation::Sampler); - I_Constructor0(____TemplateSampler, - "", - ""); - I_Method2(void, getValueAt, IN, double, time, IN, osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::UsingType &, result, - Properties::NON_VIRTUAL, - __void__getValueAt__double__UsingType_R1, - "", - ""); - I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::KeyframeContainerType *, kf, - Properties::NON_VIRTUAL, - __void__setKeyframeContainer__KeyframeContainerType_P1, - "", - ""); - I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __C5_KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(const osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getOrCreateKeyframeContainer, - "", - ""); - I_Method0(double, getStartTime, - Properties::NON_VIRTUAL, - __double__getStartTime, - "", - ""); - I_Method0(double, getEndTime, - Properties::NON_VIRTUAL, - __double__getEndTime, - "", - ""); - I_SimpleProperty(double, EndTime, - __double__getEndTime, - 0); - I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, - __KeyframeContainer_P1__getKeyframeContainer, - 0); - I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - 0); - I_SimpleProperty(double, StartTime, - __double__getStartTime, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >) - I_DeclaringFile("osgAnimation/Sampler"); - I_BaseType(osgAnimation::Sampler); - I_Constructor0(____TemplateSampler, - "", - ""); - I_Method2(void, getValueAt, IN, double, time, IN, osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::UsingType &, result, - Properties::NON_VIRTUAL, - __void__getValueAt__double__UsingType_R1, - "", - ""); - I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::KeyframeContainerType *, kf, - Properties::NON_VIRTUAL, - __void__setKeyframeContainer__KeyframeContainerType_P1, - "", - ""); - I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __C5_KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(const osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getOrCreateKeyframeContainer, - "", - ""); - I_Method0(double, getStartTime, - Properties::NON_VIRTUAL, - __double__getStartTime, - "", - ""); - I_Method0(double, getEndTime, - Properties::NON_VIRTUAL, - __double__getEndTime, - "", - ""); - I_SimpleProperty(double, EndTime, - __double__getEndTime, - 0); - I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, - __KeyframeContainer_P1__getKeyframeContainer, - 0); - I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - 0); - I_SimpleProperty(double, StartTime, - __double__getStartTime, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >) - I_DeclaringFile("osgAnimation/Sampler"); - I_BaseType(osgAnimation::Sampler); - I_Constructor0(____TemplateSampler, - "", - ""); - I_Method2(void, getValueAt, IN, double, time, IN, osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::UsingType &, result, - Properties::NON_VIRTUAL, - __void__getValueAt__double__UsingType_R1, - "", - ""); - I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::KeyframeContainerType *, kf, - Properties::NON_VIRTUAL, - __void__setKeyframeContainer__KeyframeContainerType_P1, - "", - ""); - I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __C5_KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(const osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getOrCreateKeyframeContainer, - "", - ""); - I_Method0(double, getStartTime, - Properties::NON_VIRTUAL, - __double__getStartTime, - "", - ""); - I_Method0(double, getEndTime, - Properties::NON_VIRTUAL, - __double__getEndTime, - "", - ""); - I_SimpleProperty(double, EndTime, - __double__getEndTime, - 0); - I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, - __KeyframeContainer_P1__getKeyframeContainer, - 0); - I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - 0); - I_SimpleProperty(double, StartTime, - __double__getStartTime, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >) - I_DeclaringFile("osgAnimation/Sampler"); - I_BaseType(osgAnimation::Sampler); - I_Constructor0(____TemplateSampler, - "", - ""); - I_Method2(void, getValueAt, IN, double, time, IN, osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::UsingType &, result, - Properties::NON_VIRTUAL, - __void__getValueAt__double__UsingType_R1, - "", - ""); - I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::KeyframeContainerType *, kf, - Properties::NON_VIRTUAL, - __void__setKeyframeContainer__KeyframeContainerType_P1, - "", - ""); - I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, - Properties::VIRTUAL, - __C5_KeyframeContainer_P1__getKeyframeContainer, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(const osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, - Properties::NON_VIRTUAL, - __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, - "", - ""); - I_Method0(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, - Properties::NON_VIRTUAL, - __KeyframeContainerType_P1__getOrCreateKeyframeContainer, - "", - ""); - I_Method0(double, getStartTime, - Properties::NON_VIRTUAL, - __double__getStartTime, - "", - ""); - I_Method0(double, getEndTime, - Properties::NON_VIRTUAL, - __double__getEndTime, - "", - ""); - I_SimpleProperty(double, EndTime, - __double__getEndTime, - 0); - I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, - __KeyframeContainer_P1__getKeyframeContainer, - 0); - I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, - __KeyframeContainerType_P1__getKeyframeContainerTyped, - 0); - I_SimpleProperty(double, StartTime, - __double__getStartTime, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/Skeleton.cpp b/src/osgWrappers/introspection/osgAnimation/Skeleton.cpp deleted file mode 100644 index 6a5a3d5b2..000000000 --- a/src/osgWrappers/introspection/osgAnimation/Skeleton.cpp +++ /dev/null @@ -1,117 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::Skeleton) - I_DeclaringFile("osgAnimation/Skeleton"); - I_BaseType(osg::MatrixTransform); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Constructor0(____Skeleton, - "", - ""); - I_Constructor2(IN, const osgAnimation::Skeleton &, x, IN, const osg::CopyOp &, x, - ____Skeleton__C5_Skeleton_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(void, setDefaultUpdateCallback, - Properties::NON_VIRTUAL, - __void__setDefaultUpdateCallback, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::Skeleton::UpdateSkeleton) - I_DeclaringFile("osgAnimation/Skeleton"); - I_BaseType(osg::NodeCallback); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____UpdateSkeleton, - "", - ""); - I_Constructor2(IN, const osgAnimation::Skeleton::UpdateSkeleton &, x, IN, const osg::CopyOp &, x, - ____UpdateSkeleton__C5_UpdateSkeleton_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(bool, needToValidate, - Properties::NON_VIRTUAL, - __bool__needToValidate, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp deleted file mode 100644 index 2e02b11d9..000000000 --- a/src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp +++ /dev/null @@ -1,128 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::StackedMatrixElement) - I_DeclaringFile("osgAnimation/StackedMatrixElement"); - I_BaseType(osgAnimation::StackedTransformElement); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____StackedMatrixElement, - "", - ""); - I_Constructor2(IN, const osgAnimation::StackedMatrixElement &, x, IN, const osg::CopyOp &, x, - ____StackedMatrixElement__C5_StackedMatrixElement_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Constructor2(IN, const std::string &, name, IN, const osg::Matrix &, matrix, - ____StackedMatrixElement__C5_std_string_R1__C5_osg_Matrix_R1, - "", - ""); - I_Constructor1(IN, const osg::Matrix &, matrix, - Properties::NON_EXPLICIT, - ____StackedMatrixElement__C5_osg_Matrix_R1, - "", - ""); - I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, - Properties::VIRTUAL, - __void__applyToMatrix__osg_Matrix_R1, - "", - ""); - I_Method0(osg::Matrix, getAsMatrix, - Properties::VIRTUAL, - __osg_Matrix__getAsMatrix, - "", - ""); - I_Method0(const osg::Matrix &, getMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getMatrix, - "", - ""); - I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__setMatrix__C5_osg_Matrix_R1, - "", - ""); - I_Method0(bool, isIdentity, - Properties::VIRTUAL, - __bool__isIdentity, - "", - ""); - I_Method0(void, update, - Properties::VIRTUAL, - __void__update, - "", - ""); - I_Method0(osgAnimation::Target *, getOrCreateTarget, - Properties::VIRTUAL, - __Target_P1__getOrCreateTarget, - "", - ""); - I_Method0(osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __Target_P1__getTarget, - "", - ""); - I_Method0(const osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __C5_Target_P1__getTarget, - "", - ""); - I_SimpleProperty(osg::Matrix, AsMatrix, - __osg_Matrix__getAsMatrix, - 0); - I_SimpleProperty(const osg::Matrix &, Matrix, - __C5_osg_Matrix_R1__getMatrix, - __void__setMatrix__C5_osg_Matrix_R1); - I_SimpleProperty(osgAnimation::Target *, Target, - __Target_P1__getTarget, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp deleted file mode 100644 index 9649587de..000000000 --- a/src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp +++ /dev/null @@ -1,129 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::StackedQuaternionElement) - I_DeclaringFile("osgAnimation/StackedQuaternionElement"); - I_BaseType(osgAnimation::StackedTransformElement); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____StackedQuaternionElement, - "", - ""); - I_Constructor2(IN, const osgAnimation::StackedQuaternionElement &, x, IN, const osg::CopyOp &, x, - ____StackedQuaternionElement__C5_StackedQuaternionElement_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const std::string &, x, , IN, const osg::Quat &, q, osg::Quat(0, 0, 0, 1), - ____StackedQuaternionElement__C5_std_string_R1__C5_osg_Quat_R1, - "", - ""); - I_Constructor1(IN, const osg::Quat &, x, - Properties::NON_EXPLICIT, - ____StackedQuaternionElement__C5_osg_Quat_R1, - "", - ""); - I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, - Properties::VIRTUAL, - __void__applyToMatrix__osg_Matrix_R1, - "", - ""); - I_Method0(osg::Matrix, getAsMatrix, - Properties::VIRTUAL, - __osg_Matrix__getAsMatrix, - "", - ""); - I_Method0(bool, isIdentity, - Properties::VIRTUAL, - __bool__isIdentity, - "", - ""); - I_Method0(void, update, - Properties::VIRTUAL, - __void__update, - "", - ""); - I_Method0(const osg::Quat &, getQuaternion, - Properties::NON_VIRTUAL, - __C5_osg_Quat_R1__getQuaternion, - "", - ""); - I_Method1(void, setQuaternion, IN, const osg::Quat &, x, - Properties::NON_VIRTUAL, - __void__setQuaternion__C5_osg_Quat_R1, - "", - ""); - I_Method0(osgAnimation::Target *, getOrCreateTarget, - Properties::VIRTUAL, - __Target_P1__getOrCreateTarget, - "", - ""); - I_Method0(osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __Target_P1__getTarget, - "", - ""); - I_Method0(const osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __C5_Target_P1__getTarget, - "", - ""); - I_SimpleProperty(osg::Matrix, AsMatrix, - __osg_Matrix__getAsMatrix, - 0); - I_SimpleProperty(const osg::Quat &, Quaternion, - __C5_osg_Quat_R1__getQuaternion, - __void__setQuaternion__C5_osg_Quat_R1); - I_SimpleProperty(osgAnimation::Target *, Target, - __Target_P1__getTarget, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp deleted file mode 100644 index 3dbe2ef9b..000000000 --- a/src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp +++ /dev/null @@ -1,141 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::StackedRotateAxisElement) - I_DeclaringFile("osgAnimation/StackedRotateAxisElement"); - I_BaseType(osgAnimation::StackedTransformElement); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____StackedRotateAxisElement, - "", - ""); - I_Constructor2(IN, const osgAnimation::StackedRotateAxisElement &, x, IN, const osg::CopyOp &, x, - ____StackedRotateAxisElement__C5_StackedRotateAxisElement_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Constructor3(IN, const std::string &, name, IN, const osg::Vec3 &, axis, IN, double, angle, - ____StackedRotateAxisElement__C5_std_string_R1__C5_osg_Vec3_R1__double, - "", - ""); - I_Constructor2(IN, const osg::Vec3 &, axis, IN, double, angle, - ____StackedRotateAxisElement__C5_osg_Vec3_R1__double, - "", - ""); - I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, - Properties::VIRTUAL, - __void__applyToMatrix__osg_Matrix_R1, - "", - ""); - I_Method0(osg::Matrix, getAsMatrix, - Properties::VIRTUAL, - __osg_Matrix__getAsMatrix, - "", - ""); - I_Method0(bool, isIdentity, - Properties::VIRTUAL, - __bool__isIdentity, - "", - ""); - I_Method0(void, update, - Properties::VIRTUAL, - __void__update, - "", - ""); - I_Method0(const osg::Vec3 &, getAxis, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getAxis, - "", - ""); - I_Method0(double, getAngle, - Properties::NON_VIRTUAL, - __double__getAngle, - "", - ""); - I_Method1(void, setAxis, IN, const osg::Vec3 &, x, - Properties::NON_VIRTUAL, - __void__setAxis__C5_osg_Vec3_R1, - "", - ""); - I_Method1(void, setAngle, IN, double, x, - Properties::NON_VIRTUAL, - __void__setAngle__double, - "", - ""); - I_Method0(osgAnimation::Target *, getOrCreateTarget, - Properties::VIRTUAL, - __Target_P1__getOrCreateTarget, - "", - ""); - I_Method0(osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __Target_P1__getTarget, - "", - ""); - I_Method0(const osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __C5_Target_P1__getTarget, - "", - ""); - I_SimpleProperty(double, Angle, - __double__getAngle, - __void__setAngle__double); - I_SimpleProperty(osg::Matrix, AsMatrix, - __osg_Matrix__getAsMatrix, - 0); - I_SimpleProperty(const osg::Vec3 &, Axis, - __C5_osg_Vec3_R1__getAxis, - __void__setAxis__C5_osg_Vec3_R1); - I_SimpleProperty(osgAnimation::Target *, Target, - __Target_P1__getTarget, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp deleted file mode 100644 index dc4ec5e09..000000000 --- a/src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp +++ /dev/null @@ -1,129 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::StackedScaleElement) - I_DeclaringFile("osgAnimation/StackedScaleElement"); - I_BaseType(osgAnimation::StackedTransformElement); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____StackedScaleElement, - "", - ""); - I_Constructor2(IN, const osgAnimation::StackedScaleElement &, x, IN, const osg::CopyOp &, x, - ____StackedScaleElement__C5_StackedScaleElement_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const std::string &, name, , IN, const osg::Vec3 &, scale, osg::Vec3(1, 1, 1), - ____StackedScaleElement__C5_std_string_R1__C5_osg_Vec3_R1, - "", - ""); - I_Constructor1(IN, const osg::Vec3 &, scale, - Properties::NON_EXPLICIT, - ____StackedScaleElement__C5_osg_Vec3_R1, - "", - ""); - I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, - Properties::VIRTUAL, - __void__applyToMatrix__osg_Matrix_R1, - "", - ""); - I_Method0(osg::Matrix, getAsMatrix, - Properties::VIRTUAL, - __osg_Matrix__getAsMatrix, - "", - ""); - I_Method0(bool, isIdentity, - Properties::VIRTUAL, - __bool__isIdentity, - "", - ""); - I_Method0(void, update, - Properties::VIRTUAL, - __void__update, - "", - ""); - I_Method0(const osg::Vec3 &, getScale, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getScale, - "", - ""); - I_Method1(void, setScale, IN, const osg::Vec3 &, scale, - Properties::NON_VIRTUAL, - __void__setScale__C5_osg_Vec3_R1, - "", - ""); - I_Method0(osgAnimation::Target *, getOrCreateTarget, - Properties::VIRTUAL, - __Target_P1__getOrCreateTarget, - "", - ""); - I_Method0(osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __Target_P1__getTarget, - "", - ""); - I_Method0(const osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __C5_Target_P1__getTarget, - "", - ""); - I_SimpleProperty(osg::Matrix, AsMatrix, - __osg_Matrix__getAsMatrix, - 0); - I_SimpleProperty(const osg::Vec3 &, Scale, - __C5_osg_Vec3_R1__getScale, - __void__setScale__C5_osg_Vec3_R1); - I_SimpleProperty(osgAnimation::Target *, Target, - __Target_P1__getTarget, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp b/src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp deleted file mode 100644 index 29061e59a..000000000 --- a/src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp +++ /dev/null @@ -1,26 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - diff --git a/src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp deleted file mode 100644 index cd784ac2b..000000000 --- a/src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::StackedTransformElement) - I_DeclaringFile("osgAnimation/StackedTransformElement"); - I_BaseType(osg::Object); - I_Constructor0(____StackedTransformElement, - "", - ""); - I_Constructor2(IN, const osgAnimation::StackedTransformElement &, rhs, IN, const osg::CopyOp &, c, - ____StackedTransformElement__C5_StackedTransformElement_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, - Properties::PURE_VIRTUAL, - __void__applyToMatrix__osg_Matrix_R1, - "", - ""); - I_Method0(osg::Matrix, getAsMatrix, - Properties::PURE_VIRTUAL, - __osg_Matrix__getAsMatrix, - "", - ""); - I_Method0(bool, isIdentity, - Properties::PURE_VIRTUAL, - __bool__isIdentity, - "", - ""); - I_Method0(void, update, - Properties::PURE_VIRTUAL, - __void__update, - "", - ""); - I_Method0(osgAnimation::Target *, getOrCreateTarget, - Properties::VIRTUAL, - __Target_P1__getOrCreateTarget, - "", - ""); - I_Method0(osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __Target_P1__getTarget, - "", - ""); - I_Method0(const osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __C5_Target_P1__getTarget, - "", - ""); - I_SimpleProperty(osg::Matrix, AsMatrix, - __osg_Matrix__getAsMatrix, - 0); - I_SimpleProperty(osgAnimation::Target *, Target, - __Target_P1__getTarget, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp deleted file mode 100644 index 13133709c..000000000 --- a/src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp +++ /dev/null @@ -1,129 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::StackedTranslateElement) - I_DeclaringFile("osgAnimation/StackedTranslateElement"); - I_BaseType(osgAnimation::StackedTransformElement); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____StackedTranslateElement, - "", - ""); - I_Constructor2(IN, const osgAnimation::StackedTranslateElement &, x, IN, const osg::CopyOp &, x, - ____StackedTranslateElement__C5_StackedTranslateElement_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const std::string &, x, , IN, const osg::Vec3 &, translate, osg::Vec3(0, 0, 0), - ____StackedTranslateElement__C5_std_string_R1__C5_osg_Vec3_R1, - "", - ""); - I_Constructor1(IN, const osg::Vec3 &, translate, - Properties::NON_EXPLICIT, - ____StackedTranslateElement__C5_osg_Vec3_R1, - "", - ""); - I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, - Properties::VIRTUAL, - __void__applyToMatrix__osg_Matrix_R1, - "", - ""); - I_Method0(osg::Matrix, getAsMatrix, - Properties::VIRTUAL, - __osg_Matrix__getAsMatrix, - "", - ""); - I_Method0(bool, isIdentity, - Properties::VIRTUAL, - __bool__isIdentity, - "", - ""); - I_Method0(void, update, - Properties::VIRTUAL, - __void__update, - "", - ""); - I_Method0(const osg::Vec3 &, getTranslate, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getTranslate, - "", - ""); - I_Method1(void, setTranslate, IN, const osg::Vec3 &, x, - Properties::NON_VIRTUAL, - __void__setTranslate__C5_osg_Vec3_R1, - "", - ""); - I_Method0(osgAnimation::Target *, getOrCreateTarget, - Properties::VIRTUAL, - __Target_P1__getOrCreateTarget, - "", - ""); - I_Method0(osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __Target_P1__getTarget, - "", - ""); - I_Method0(const osgAnimation::Target *, getTarget, - Properties::VIRTUAL, - __C5_Target_P1__getTarget, - "", - ""); - I_SimpleProperty(osg::Matrix, AsMatrix, - __osg_Matrix__getAsMatrix, - 0); - I_SimpleProperty(osgAnimation::Target *, Target, - __Target_P1__getTarget, - 0); - I_SimpleProperty(const osg::Vec3 &, Translate, - __C5_osg_Vec3_R1__getTranslate, - __void__setTranslate__C5_osg_Vec3_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/StatsHandler.cpp b/src/osgWrappers/introspection/osgAnimation/StatsHandler.cpp deleted file mode 100644 index 01d88f1c0..000000000 --- a/src/osgWrappers/introspection/osgAnimation/StatsHandler.cpp +++ /dev/null @@ -1,147 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgAnimation::StatsHandler::StatsType) - I_DeclaringFile("osgAnimation/StatsHandler"); - I_EnumLabel(osgAnimation::StatsHandler::NO_STATS); - I_EnumLabel(osgAnimation::StatsHandler::FRAME_RATE); - I_EnumLabel(osgAnimation::StatsHandler::LAST); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::StatsHandler) - I_DeclaringFile("osgAnimation/StatsHandler"); - I_BaseType(osgGA::GUIEventHandler); - I_Constructor0(____StatsHandler, - "", - ""); - I_Method1(void, setKeyEventTogglesOnScreenStats, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventTogglesOnScreenStats__int, - "", - ""); - I_Method0(int, getKeyEventTogglesOnScreenStats, - Properties::NON_VIRTUAL, - __int__getKeyEventTogglesOnScreenStats, - "", - ""); - I_Method1(void, setKeyEventPrintsOutStats, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventPrintsOutStats__int, - "", - ""); - I_Method0(int, getKeyEventPrintsOutStats, - Properties::NON_VIRTUAL, - __int__getKeyEventPrintsOutStats, - "", - ""); - I_Method0(double, getBlockMultiplier, - Properties::NON_VIRTUAL, - __double__getBlockMultiplier, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCamera, - "", - ""); - I_Method0(const osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCamera, - "", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_ProtectedMethod1(void, setUpHUDCamera, IN, osgViewer::ViewerBase *, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpHUDCamera__osgViewer_ViewerBase_P1, - "", - ""); - I_ProtectedMethod4(osg::Geometry *, createBackgroundRectangle, IN, const osg::Vec3 &, pos, IN, const float, width, IN, const float, height, IN, osg::Vec4 &, color, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createBackgroundRectangle__C5_osg_Vec3_R1__C5_float__C5_float__osg_Vec4_R1, - "", - ""); - I_ProtectedMethod4(osg::Geometry *, createGeometry, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createGeometry__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, - "", - ""); - I_ProtectedMethod4(osg::Geometry *, createFrameMarkers, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createFrameMarkers__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, - "", - ""); - I_ProtectedMethod4(osg::Geometry *, createTick, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numTicks, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createTick__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, - "", - ""); - I_ProtectedMethod7(osg::Node *, createCameraTimeStats, IN, const std::string &, font, IN, osg::Vec3 &, pos, IN, float, startBlocks, IN, bool, acquireGPUStats, IN, float, characterSize, IN, osg::Stats *, viewerStats, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Node_P1__createCameraTimeStats__C5_std_string_R1__osg_Vec3_R1__float__bool__float__osg_Stats_P1__osg_Camera_P1, - "", - ""); - I_ProtectedMethod1(void, setUpScene, IN, osgViewer::Viewer *, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpScene__osgViewer_Viewer_P1, - "", - ""); - I_SimpleProperty(double, BlockMultiplier, - __double__getBlockMultiplier, - 0); - I_SimpleProperty(osg::Camera *, Camera, - __osg_Camera_P1__getCamera, - 0); - I_SimpleProperty(int, KeyEventPrintsOutStats, - __int__getKeyEventPrintsOutStats, - __void__setKeyEventPrintsOutStats__int); - I_SimpleProperty(int, KeyEventTogglesOnScreenStats, - __int__getKeyEventTogglesOnScreenStats, - __void__setKeyEventTogglesOnScreenStats__int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/StatsVisitor.cpp b/src/osgWrappers/introspection/osgAnimation/StatsVisitor.cpp deleted file mode 100644 index 65360b7e4..000000000 --- a/src/osgWrappers/introspection/osgAnimation/StatsVisitor.cpp +++ /dev/null @@ -1,117 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::StatsActionVisitor) - I_DeclaringFile("osgAnimation/StatsVisitor"); - I_BaseType(osgAnimation::UpdateActionVisitor); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "", - ""); - I_Constructor0(____StatsActionVisitor, - "", - ""); - I_Constructor2(IN, osg::Stats *, stats, IN, unsigned int, frame, - ____StatsActionVisitor__osg_Stats_P1__unsigned_int, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(const std::vector< std::string > &, getChannels, - Properties::NON_VIRTUAL, - __C5_std_vectorT1_std_string__R1__getChannels, - "", - ""); - I_Method0(osg::Stats *, getStats, - Properties::NON_VIRTUAL, - __osg_Stats_P1__getStats, - "", - ""); - I_Method1(void, setStats, IN, osg::Stats *, stats, - Properties::NON_VIRTUAL, - __void__setStats__osg_Stats_P1, - "", - ""); - I_Method1(void, setFrame, IN, unsigned int, frame, - Properties::NON_VIRTUAL, - __void__setFrame__unsigned_int, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::Timeline &, action, - Properties::VIRTUAL, - __void__apply__Timeline_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::Action &, action, - Properties::VIRTUAL, - __void__apply__Action_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionBlendIn &, action, - Properties::VIRTUAL, - __void__apply__ActionBlendIn_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionBlendOut &, action, - Properties::VIRTUAL, - __void__apply__ActionBlendOut_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionAnimation &, action, - Properties::VIRTUAL, - __void__apply__ActionAnimation_R1, - "", - ""); - I_Method1(void, apply, IN, osgAnimation::ActionStripAnimation &, action, - Properties::VIRTUAL, - __void__apply__ActionStripAnimation_R1, - "", - ""); - I_SimpleProperty(const std::vector< std::string > &, Channels, - __C5_std_vectorT1_std_string__R1__getChannels, - 0); - I_SimpleProperty(unsigned int, Frame, - 0, - __void__setFrame__unsigned_int); - I_SimpleProperty(osg::Stats *, Stats, - __osg_Stats_P1__getStats, - __void__setStats__osg_Stats_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/Target.cpp b/src/osgWrappers/introspection/osgAnimation/Target.cpp deleted file mode 100644 index f96c8f1a3..000000000 --- a/src/osgWrappers/introspection/osgAnimation/Target.cpp +++ /dev/null @@ -1,72 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::Target) - I_DeclaringFile("osgAnimation/Target"); - I_BaseType(osg::Referenced); - I_Constructor0(____Target, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(int, getCount, - Properties::NON_VIRTUAL, - __int__getCount, - "", - ""); - I_Method0(float, getWeight, - Properties::NON_VIRTUAL, - __float__getWeight, - "", - ""); - I_SimpleProperty(int, Count, - __int__getCount, - 0); - I_SimpleProperty(float, Weight, - __float__getWeight, - 0); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Matrixf >, osgAnimation::MatrixTarget) - -TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Quat >, osgAnimation::QuatTarget) - -TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Vec3 >, osgAnimation::Vec3Target) - -TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Vec4 >, osgAnimation::Vec4Target) - -TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Vec2 >, osgAnimation::Vec2Target) - -TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< float >, osgAnimation::FloatTarget) - -TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< double >, osgAnimation::DoubleTarget) - diff --git a/src/osgWrappers/introspection/osgAnimation/Timeline.cpp b/src/osgWrappers/introspection/osgAnimation/Timeline.cpp deleted file mode 100644 index 63673fb73..000000000 --- a/src/osgWrappers/introspection/osgAnimation/Timeline.cpp +++ /dev/null @@ -1,249 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgAnimation::Timeline::TimelineStatus) - I_DeclaringFile("osgAnimation/Timeline"); - I_EnumLabel(osgAnimation::Timeline::Play); - I_EnumLabel(osgAnimation::Timeline::Stop); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osgAnimation::FrameAction >, osgAnimation::Timeline::ActionList) - -TYPE_NAME_ALIAS(std::map< int COMMA osgAnimation::Timeline::ActionList >, osgAnimation::Timeline::ActionLayers) - -BEGIN_OBJECT_REFLECTOR(osgAnimation::Timeline) - I_DeclaringFile("osgAnimation/Timeline"); - I_BaseType(osgAnimation::Action); - I_Constructor0(____Timeline, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgAnimation::Timeline &, nc, , IN, const osg::CopyOp &, op, osg::CopyOp::SHALLOW_COPY, - ____Timeline__C5_Timeline_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method1(void, accept, IN, osgAnimation::ActionVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osgAnimation_ActionVisitor_R1, - "", - ""); - I_Method0(osgAnimation::Timeline::TimelineStatus, getStatus, - Properties::NON_VIRTUAL, - __TimelineStatus__getStatus, - "", - ""); - I_Method1(const osgAnimation::Timeline::ActionList &, getActionLayer, IN, int, i, - Properties::NON_VIRTUAL, - __C5_ActionList_R1__getActionLayer__int, - "", - ""); - I_Method0(unsigned int, getCurrentFrame, - Properties::NON_VIRTUAL, - __unsigned_int__getCurrentFrame, - "", - ""); - I_Method0(double, getCurrentTime, - Properties::NON_VIRTUAL, - __double__getCurrentTime, - "", - ""); - I_Method0(void, play, - Properties::NON_VIRTUAL, - __void__play, - "", - ""); - I_Method1(void, gotoFrame, IN, unsigned int, frame, - Properties::NON_VIRTUAL, - __void__gotoFrame__unsigned_int, - "", - ""); - I_Method0(void, stop, - Properties::NON_VIRTUAL, - __void__stop, - "", - ""); - I_Method0(bool, getEvaluating, - Properties::NON_VIRTUAL, - __bool__getEvaluating, - "", - ""); - I_Method1(bool, isActive, IN, osgAnimation::Action *, activeAction, - Properties::NON_VIRTUAL, - __bool__isActive__Action_P1, - "", - ""); - I_Method1(void, removeAction, IN, osgAnimation::Action *, action, - Properties::NON_VIRTUAL, - __void__removeAction__Action_P1, - "", - ""); - I_MethodWithDefaults3(void, addActionAt, IN, unsigned int, frame, , IN, osgAnimation::Action *, action, , IN, int, priority, 0, - Properties::VIRTUAL, - __void__addActionAt__unsigned_int__Action_P1__int, - "", - ""); - I_MethodWithDefaults3(void, addActionAt, IN, double, t, , IN, osgAnimation::Action *, action, , IN, int, priority, 0, - Properties::VIRTUAL, - __void__addActionAt__double__Action_P1__int, - "", - ""); - I_MethodWithDefaults2(void, addActionNow, IN, osgAnimation::Action *, action, , IN, int, priority, 0, - Properties::NON_VIRTUAL, - __void__addActionNow__Action_P1__int, - "", - ""); - I_Method0(void, clearActions, - Properties::NON_VIRTUAL, - __void__clearActions, - "", - ""); - I_Method1(void, update, IN, double, simulationTime, - Properties::VIRTUAL, - __void__update__double, - "", - ""); - I_Method1(void, setLastFrameEvaluated, IN, unsigned int, frame, - Properties::NON_VIRTUAL, - __void__setLastFrameEvaluated__unsigned_int, - "", - ""); - I_Method1(void, setEvaluating, IN, bool, state, - Properties::NON_VIRTUAL, - __void__setEvaluating__bool, - "", - ""); - I_Method1(void, traverse, IN, osgAnimation::ActionVisitor &, visitor, - Properties::VIRTUAL, - __void__traverse__ActionVisitor_R1, - "", - ""); - I_Method1(void, setStats, IN, osg::Stats *, stats, - Properties::NON_VIRTUAL, - __void__setStats__osg_Stats_P1, - "", - ""); - I_Method0(osg::Stats *, getStats, - Properties::NON_VIRTUAL, - __osg_Stats_P1__getStats, - "", - ""); - I_Method1(void, collectStats, IN, bool, state, - Properties::NON_VIRTUAL, - __void__collectStats__bool, - "", - ""); - I_Method0(osgAnimation::StatsActionVisitor *, getStatsVisitor, - Properties::NON_VIRTUAL, - __osgAnimation_StatsActionVisitor_P1__getStatsVisitor, - "", - ""); - I_Method0(const osgAnimation::Timeline::ActionLayers &, getActionLayers, - Properties::NON_VIRTUAL, - __C5_ActionLayers_R1__getActionLayers, - "", - ""); - I_Method0(void, processPendingOperation, - Properties::NON_VIRTUAL, - __void__processPendingOperation, - "", - ""); - I_Method1(void, setAnimationManager, IN, osgAnimation::AnimationManagerBase *, x, - Properties::NON_VIRTUAL, - __void__setAnimationManager__AnimationManagerBase_P1, - "", - ""); - I_ProtectedMethod1(void, internalRemoveAction, IN, osgAnimation::Action *, action, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__internalRemoveAction__Action_P1, - "", - ""); - I_ProtectedMethod2(void, internalAddAction, IN, int, priority, IN, const osgAnimation::FrameAction &, ftl, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__internalAddAction__int__C5_FrameAction_R1, - "", - ""); - I_SimpleProperty(const osgAnimation::Timeline::ActionLayers &, ActionLayers, - __C5_ActionLayers_R1__getActionLayers, - 0); - I_SimpleProperty(osgAnimation::AnimationManagerBase *, AnimationManager, - 0, - __void__setAnimationManager__AnimationManagerBase_P1); - I_SimpleProperty(unsigned int, CurrentFrame, - __unsigned_int__getCurrentFrame, - 0); - I_SimpleProperty(double, CurrentTime, - __double__getCurrentTime, - 0); - I_SimpleProperty(bool, Evaluating, - __bool__getEvaluating, - __void__setEvaluating__bool); - I_SimpleProperty(unsigned int, LastFrameEvaluated, - 0, - __void__setLastFrameEvaluated__unsigned_int); - I_SimpleProperty(osg::Stats *, Stats, - __osg_Stats_P1__getStats, - __void__setStats__osg_Stats_P1); - I_SimpleProperty(osgAnimation::StatsActionVisitor *, StatsVisitor, - __osgAnimation_StatsActionVisitor_P1__getStatsVisitor, - 0); - I_SimpleProperty(osgAnimation::Timeline::TimelineStatus, Status, - __TimelineStatus__getStatus, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< int COMMA osgAnimation::Timeline::ActionList >) - diff --git a/src/osgWrappers/introspection/osgAnimation/TimelineAnimationManager.cpp b/src/osgWrappers/introspection/osgAnimation/TimelineAnimationManager.cpp deleted file mode 100644 index 935ab9deb..000000000 --- a/src/osgWrappers/introspection/osgAnimation/TimelineAnimationManager.cpp +++ /dev/null @@ -1,88 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::TimelineAnimationManager) - I_DeclaringFile("osgAnimation/TimelineAnimationManager"); - I_BaseType(osgAnimation::AnimationManagerBase); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____TimelineAnimationManager, - "", - ""); - I_Constructor1(IN, const osgAnimation::AnimationManagerBase &, manager, - Properties::NON_EXPLICIT, - ____TimelineAnimationManager__C5_AnimationManagerBase_R1, - "", - ""); - I_Constructor2(IN, const osgAnimation::TimelineAnimationManager &, nc, IN, const osg::CopyOp &, x, - ____TimelineAnimationManager__C5_TimelineAnimationManager_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osgAnimation::Timeline *, getTimeline, - Properties::NON_VIRTUAL, - __Timeline_P1__getTimeline, - "", - ""); - I_Method0(const osgAnimation::Timeline *, getTimeline, - Properties::NON_VIRTUAL, - __C5_Timeline_P1__getTimeline, - "", - ""); - I_Method1(void, update, IN, double, time, - Properties::VIRTUAL, - __void__update__double, - "", - ""); - I_SimpleProperty(osgAnimation::Timeline *, Timeline, - __Timeline_P1__getTimeline, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp b/src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp deleted file mode 100644 index 71708bcbb..000000000 --- a/src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateBone) - I_DeclaringFile("osgAnimation/UpdateBone"); - I_BaseType(osgAnimation::UpdateMatrixTransform); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults1(IN, const std::string &, name, "", - Properties::NON_EXPLICIT, - ____UpdateBone__C5_std_string_R1, - "", - ""); - I_Constructor2(IN, const osgAnimation::UpdateBone &, x, IN, const osg::CopyOp &, x, - ____UpdateBone__C5_UpdateBone_R1__C5_osg_CopyOp_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp b/src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp deleted file mode 100644 index 9ebb56287..000000000 --- a/src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp +++ /dev/null @@ -1,87 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateMaterial) - I_DeclaringFile("osgAnimation/UpdateMaterial"); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults1(IN, const std::string &, name, "", - Properties::NON_EXPLICIT, - ____UpdateMaterial__C5_std_string_R1, - "", - ""); - I_Constructor2(IN, const osgAnimation::UpdateMaterial &, apc, IN, const osg::CopyOp &, copyop, - ____UpdateMaterial__C5_UpdateMaterial_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(void, update, IN, osg::Material &, material, - Properties::NON_VIRTUAL, - __void__update__osg_Material_R1, - "", - ""); - I_Method1(bool, link, IN, osgAnimation::Channel *, channel, - Properties::VIRTUAL, - __bool__link__Channel_P1, - "", - ""); - I_Method0(osgAnimation::Vec4Target *, getDiffuse, - Properties::NON_VIRTUAL, - __Vec4Target_P1__getDiffuse, - "", - ""); - I_SimpleProperty(osgAnimation::Vec4Target *, Diffuse, - __Vec4Target_P1__getDiffuse, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp b/src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp deleted file mode 100644 index 60f9507d0..000000000 --- a/src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp +++ /dev/null @@ -1,86 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateMatrixTransform) - I_DeclaringFile("osgAnimation/UpdateMatrixTransform"); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults1(IN, const std::string &, name, "", - Properties::NON_EXPLICIT, - ____UpdateMatrixTransform__C5_std_string_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgAnimation::UpdateMatrixTransform &, apc, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____UpdateMatrixTransform__C5_UpdateMatrixTransform_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(bool, link, IN, osgAnimation::Channel *, channel, - Properties::VIRTUAL, - __bool__link__osgAnimation_Channel_P1, - "", - ""); - I_Method0(osgAnimation::StackedTransform &, getStackedTransforms, - Properties::NON_VIRTUAL, - __StackedTransform_R1__getStackedTransforms, - "", - ""); - I_Method0(const osgAnimation::StackedTransform &, getStackedTransforms, - Properties::NON_VIRTUAL, - __C5_StackedTransform_R1__getStackedTransforms, - "", - ""); - I_SimpleProperty(osgAnimation::StackedTransform &, StackedTransforms, - __StackedTransform_R1__getStackedTransforms, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/Vec3Packed.cpp b/src/osgWrappers/introspection/osgAnimation/Vec3Packed.cpp deleted file mode 100644 index f9cebc9a7..000000000 --- a/src/osgWrappers/introspection/osgAnimation/Vec3Packed.cpp +++ /dev/null @@ -1,72 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgAnimation::Vec3ArrayPacked) - I_DeclaringFile("osgAnimation/Vec3Packed"); - I_Constructor0(____Vec3ArrayPacked, - "", - ""); - I_Method1(void, analyze, IN, const std::vector< osg::Vec3 > &, src, - Properties::NON_VIRTUAL, - __void__analyze__C5_std_vectorT1_osg_Vec3__R1, - "", - ""); - I_Method1(void, compress, IN, const std::vector< osg::Vec3 > &, src, - Properties::NON_VIRTUAL, - __void__compress__C5_std_vectorT1_osg_Vec3__R1, - "", - ""); - I_PublicMemberProperty(std::vector< osgAnimation::Vec3Packed >, mVecCompressed); - I_PublicMemberProperty(osg::Vec3, mMin); - I_PublicMemberProperty(osg::Vec3, mScale); - I_PublicMemberProperty(osg::Vec3, mScaleInv); -END_REFLECTOR - -TYPE_NAME_ALIAS(unsigned int, osgAnimation::Vec3Packed::uint32_t) - -BEGIN_VALUE_REFLECTOR(osgAnimation::Vec3Packed) - I_DeclaringFile("osgAnimation/Vec3Packed"); - I_Constructor1(IN, osgAnimation::Vec3Packed::uint32_t, val, - Properties::NON_EXPLICIT, - ____Vec3Packed__uint32_t, - "", - ""); - I_Constructor0(____Vec3Packed, - "", - ""); - I_Method3(void, uncompress, IN, const osg::Vec3 &, scale, IN, const osg::Vec3 &, min, IN, osg::Vec3 &, result, - Properties::NON_VIRTUAL, - __void__uncompress__C5_osg_Vec3_R1__C5_osg_Vec3_R1__osg_Vec3_R1, - "", - ""); - I_Method3(void, compress, IN, const osg::Vec3f &, src, IN, const osg::Vec3f &, min, IN, const osg::Vec3f &, scaleInv, - Properties::NON_VIRTUAL, - __void__compress__C5_osg_Vec3f_R1__C5_osg_Vec3f_R1__C5_osg_Vec3f_R1, - "", - ""); - I_PublicMemberProperty(osgAnimation::Vec3Packed::uint32_t, m32bits); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgAnimation/VertexInfluence.cpp b/src/osgWrappers/introspection/osgAnimation/VertexInfluence.cpp deleted file mode 100644 index 587333207..000000000 --- a/src/osgWrappers/introspection/osgAnimation/VertexInfluence.cpp +++ /dev/null @@ -1,212 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgAnimation::VertexInfluence) - I_DeclaringFile("osgAnimation/VertexInfluence"); - I_Constructor0(____VertexInfluence, - "", - ""); - I_Method0(const std::string &, getName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getName, - "", - ""); - I_Method1(void, setName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setName__C5_std_string_R1, - "", - ""); - I_SimpleProperty(const std::string &, Name, - __C5_std_string_R1__getName, - __void__setName__C5_std_string_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgAnimation::VertexInfluenceMap) - I_DeclaringFile("osgAnimation/VertexInfluence"); - I_BaseType(osg::Object); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____VertexInfluenceMap, - "", - ""); - I_Constructor2(IN, const osgAnimation::VertexInfluenceMap &, x, IN, const osg::CopyOp &, x, - ____VertexInfluenceMap__C5_osgAnimation_VertexInfluenceMap_R1__C5_osg_CopyOp_R1, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osgAnimation::VertexInfluence >, osgAnimation::VertexInfluenceSet::BoneToVertexList) - -TYPE_NAME_ALIAS(std::vector< osgAnimation::VertexInfluenceSet::BoneWeight >, osgAnimation::VertexInfluenceSet::BoneWeightList) - -TYPE_NAME_ALIAS(std::map< int COMMA osgAnimation::VertexInfluenceSet::BoneWeightList >, osgAnimation::VertexInfluenceSet::VertexIndexToBoneWeightMap) - -TYPE_NAME_ALIAS(std::vector< osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSet >, osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSetList) - -BEGIN_VALUE_REFLECTOR(osgAnimation::VertexInfluenceSet) - I_DeclaringFile("osgAnimation/VertexInfluence"); - I_Constructor0(____VertexInfluenceSet, - "", - ""); - I_Method0(const osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSetList &, getUniqVertexSetToBoneSetList, - Properties::NON_VIRTUAL, - __C5_UniqVertexSetToBoneSetList_R1__getUniqVertexSetToBoneSetList, - "", - ""); - I_Method1(void, addVertexInfluence, IN, const osgAnimation::VertexInfluence &, v, - Properties::NON_VIRTUAL, - __void__addVertexInfluence__C5_VertexInfluence_R1, - "", - ""); - I_Method0(void, buildVertex2BoneList, - Properties::NON_VIRTUAL, - __void__buildVertex2BoneList, - "", - ""); - I_Method0(void, buildUniqVertexSetToBoneSetList, - Properties::NON_VIRTUAL, - __void__buildUniqVertexSetToBoneSetList, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_Method0(const osgAnimation::VertexInfluenceSet::VertexIndexToBoneWeightMap &, getVertexToBoneList, - Properties::NON_VIRTUAL, - __C5_VertexIndexToBoneWeightMap_R1__getVertexToBoneList, - "", - ""); - I_SimpleProperty(const osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSetList &, UniqVertexSetToBoneSetList, - __C5_UniqVertexSetToBoneSetList_R1__getUniqVertexSetToBoneSetList, - 0); - I_SimpleProperty(const osgAnimation::VertexInfluenceSet::VertexIndexToBoneWeightMap &, VertexToBoneList, - __C5_VertexIndexToBoneWeightMap_R1__getVertexToBoneList, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::VertexInfluenceSet::BoneWeight) - I_DeclaringFile("osgAnimation/VertexInfluence"); - I_Constructor2(IN, const std::string &, name, IN, float, weight, - ____BoneWeight__C5_std_string_R1__float, - "", - ""); - I_Method0(const std::string &, getBoneName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getBoneName, - "", - ""); - I_Method0(float, getWeight, - Properties::NON_VIRTUAL, - __float__getWeight, - "", - ""); - I_Method1(void, setWeight, IN, float, weight, - Properties::NON_VIRTUAL, - __void__setWeight__float, - "", - ""); - I_SimpleProperty(const std::string &, BoneName, - __C5_std_string_R1__getBoneName, - 0); - I_SimpleProperty(float, Weight, - __float__getWeight, - __void__setWeight__float); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSet) - I_DeclaringFile("osgAnimation/VertexInfluence"); - I_Constructor0(____UniqVertexSetToBoneSet, - "", - ""); - I_Method1(void, setBones, IN, osgAnimation::VertexInfluenceSet::BoneWeightList &, bones, - Properties::NON_VIRTUAL, - __void__setBones__BoneWeightList_R1, - "", - ""); - I_Method0(const osgAnimation::VertexInfluenceSet::BoneWeightList &, getBones, - Properties::NON_VIRTUAL, - __C5_BoneWeightList_R1__getBones, - "", - ""); - I_Method0(std::vector< int > &, getVertexes, - Properties::NON_VIRTUAL, - __std_vectorT1_int__R1__getVertexes, - "", - ""); - I_Method0(const std::vector< int > &, getVertexes, - Properties::NON_VIRTUAL, - __C5_std_vectorT1_int__R1__getVertexes, - "", - ""); - I_SimpleProperty(osgAnimation::VertexInfluenceSet::BoneWeightList &, Bones, - 0, - __void__setBones__BoneWeightList_R1); - I_SimpleProperty(std::vector< int > &, Vertexes, - __std_vectorT1_int__R1__getVertexes, - 0); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::pair< int COMMA float >, osgAnimation::VertexIndexWeight) - -TYPE_NAME_ALIAS(std::vector< osgAnimation::VertexIndexWeight >, osgAnimation::VertexList) - -STD_MAP_REFLECTOR(std::map< int COMMA osgAnimation::VertexInfluenceSet::BoneWeightList >) - -STD_PAIR_REFLECTOR(std::pair< int COMMA float >) - -STD_VECTOR_REFLECTOR(std::vector< osgAnimation::VertexIndexWeight >) - -STD_VECTOR_REFLECTOR(std::vector< osgAnimation::VertexInfluence >) - -STD_VECTOR_REFLECTOR(std::vector< osgAnimation::VertexInfluenceSet::BoneWeight >) - -STD_VECTOR_REFLECTOR(std::vector< osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSet >) - diff --git a/src/osgWrappers/introspection/osgDB/Archive.cpp b/src/osgWrappers/introspection/osgDB/Archive.cpp deleted file mode 100644 index 9d725658b..000000000 --- a/src/osgWrappers/introspection/osgDB/Archive.cpp +++ /dev/null @@ -1,118 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< std::string >, osgDB::Archive::FileNameList) - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::Archive) - I_DeclaringFile("osgDB/Archive"); - I_BaseType(osgDB::ReaderWriter); - I_Constructor0(____Archive, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, acceptsExtension, IN, const std::string &, x, - Properties::VIRTUAL, - __bool__acceptsExtension__C5_std_string_R1, - "return true if ReaderWriter accepts specified file extension. ", - ""); - I_Method0(void, close, - Properties::PURE_VIRTUAL, - __void__close, - "close the archive. ", - ""); - I_Method1(bool, fileExists, IN, const std::string &, filename, - Properties::PURE_VIRTUAL, - __bool__fileExists__C5_std_string_R1, - "return true if file exists in archive. ", - ""); - I_Method0(std::string, getMasterFileName, - Properties::PURE_VIRTUAL, - __std_string__getMasterFileName, - "Get the file name which represents the master file recorded in the Archive. ", - ""); - I_Method1(bool, getFileNames, IN, osgDB::Archive::FileNameList &, fileNameList, - Properties::PURE_VIRTUAL, - __bool__getFileNames__FileNameList_R1, - "Get the full list of file names available in the archive. ", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, x, , IN, const osgDB::Options *, x, NULL, - Properties::PURE_VIRTUAL, - __ReadResult__readObject__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, x, , IN, const osgDB::Options *, x, NULL, - Properties::PURE_VIRTUAL, - __ReadResult__readImage__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, x, , IN, const osgDB::Options *, x, NULL, - Properties::PURE_VIRTUAL, - __ReadResult__readHeightField__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, x, , IN, const osgDB::Options *, x, NULL, - Properties::PURE_VIRTUAL, - __ReadResult__readNode__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, const std::string &, x, , IN, const osgDB::Options *, x, NULL, - Properties::PURE_VIRTUAL, - __WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, const std::string &, x, , IN, const osgDB::Options *, x, NULL, - Properties::PURE_VIRTUAL, - __WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, const std::string &, x, , IN, const osgDB::Options *, x, NULL, - Properties::PURE_VIRTUAL, - __WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, const std::string &, x, , IN, const osgDB::Options *, x, NULL, - Properties::PURE_VIRTUAL, - __WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_SimpleProperty(std::string, MasterFileName, - __std_string__getMasterFileName, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/AuthenticationMap.cpp b/src/osgWrappers/introspection/osgDB/AuthenticationMap.cpp deleted file mode 100644 index c560de13c..000000000 --- a/src/osgWrappers/introspection/osgDB/AuthenticationMap.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgDB::AuthenticationDetails::HttpAuthentication) - I_DeclaringFile("osgDB/AuthenticationMap"); - I_EnumLabel(osgDB::AuthenticationDetails::BASIC); - I_EnumLabel(osgDB::AuthenticationDetails::DIGEST); - I_EnumLabel(osgDB::AuthenticationDetails::NTLM); - I_EnumLabel(osgDB::AuthenticationDetails::GSSNegotiate); - I_EnumLabel(osgDB::AuthenticationDetails::ANY); - I_EnumLabel(osgDB::AuthenticationDetails::ANYSAFE); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgDB::AuthenticationDetails) - I_DeclaringFile("osgDB/AuthenticationMap"); - I_BaseType(osg::Referenced); - I_ConstructorWithDefaults3(IN, const std::string &, u, , IN, const std::string &, p, , IN, osgDB::AuthenticationDetails::HttpAuthentication, auth, osgDB::AuthenticationDetails::BASIC, - ____AuthenticationDetails__C5_std_string_R1__C5_std_string_R1__HttpAuthentication, - "", - ""); - I_PublicMemberProperty(std::string, username); - I_PublicMemberProperty(std::string, password); - I_PublicMemberProperty(osgDB::AuthenticationDetails::HttpAuthentication, httpAuthentication); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgDB::AuthenticationMap) - I_DeclaringFile("osgDB/AuthenticationMap"); - I_BaseType(osg::Referenced); - I_Constructor0(____AuthenticationMap, - "", - ""); - I_Method2(void, addAuthenticationDetails, IN, const std::string &, path, IN, osgDB::AuthenticationDetails *, details, - Properties::VIRTUAL, - __void__addAuthenticationDetails__C5_std_string_R1__AuthenticationDetails_P1, - "", - ""); - I_Method1(const osgDB::AuthenticationDetails *, getAuthenticationDetails, IN, const std::string &, path, - Properties::VIRTUAL, - __C5_AuthenticationDetails_P1__getAuthenticationDetails__C5_std_string_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/Callbacks.cpp b/src/osgWrappers/introspection/osgDB/Callbacks.cpp deleted file mode 100644 index b94fba6c7..000000000 --- a/src/osgWrappers/introspection/osgDB/Callbacks.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgDB::FileLocationCallback::Location) - I_DeclaringFile("osgDB/Callbacks"); - I_EnumLabel(osgDB::FileLocationCallback::LOCAL_FILE); - I_EnumLabel(osgDB::FileLocationCallback::REMOTE_FILE); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::FileLocationCallback) - I_DeclaringFile("osgDB/Callbacks"); - I_VirtualBaseType(osg::Referenced); - I_Constructor0(____FileLocationCallback, - "", - ""); - I_Method2(osgDB::FileLocationCallback::Location, fileLocation, IN, const std::string &, filename, IN, const osgDB::Options *, options, - Properties::PURE_VIRTUAL, - __Location__fileLocation__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method0(bool, useFileCache, - Properties::PURE_VIRTUAL, - __bool__useFileCache, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgDB::FindFileCallback) - I_DeclaringFile("osgDB/Callbacks"); - I_VirtualBaseType(osg::Referenced); - I_Constructor0(____FindFileCallback, - "", - ""); - I_Method3(std::string, findDataFile, IN, const std::string &, filename, IN, const osgDB::Options *, options, IN, osgDB::CaseSensitivity, caseSensitivity, - Properties::VIRTUAL, - __std_string__findDataFile__C5_std_string_R1__C5_Options_P1__CaseSensitivity, - "", - ""); - I_Method3(std::string, findLibraryFile, IN, const std::string &, filename, IN, const osgDB::Options *, options, IN, osgDB::CaseSensitivity, caseSensitivity, - Properties::VIRTUAL, - __std_string__findLibraryFile__C5_std_string_R1__C5_Options_P1__CaseSensitivity, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgDB::ReadFileCallback) - I_DeclaringFile("osgDB/Callbacks"); - I_VirtualBaseType(osg::Referenced); - I_Constructor0(____ReadFileCallback, - "", - ""); - I_Method4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, filename, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::Options *, useObjectCache, - Properties::VIRTUAL, - __ReaderWriter_ReadResult__openArchive__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, filename, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_ReadResult__readObject__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, filename, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_ReadResult__readImage__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, filename, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_ReadResult__readHeightField__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, filename, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_ReadResult__readNode__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, filename, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_ReadResult__readShader__C5_std_string_R1__C5_Options_P1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgDB::WriteFileCallback) - I_DeclaringFile("osgDB/Callbacks"); - I_VirtualBaseType(osg::Referenced); - I_Constructor0(____WriteFileCallback, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgDB::CaseSensitivity) - I_DeclaringFile("osgDB/Callbacks"); - I_EnumLabel(osgDB::CASE_SENSITIVE); - I_EnumLabel(osgDB::CASE_INSENSITIVE); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::deque< std::string >, osgDB::FilePathList) - -STD_VECTOR_REFLECTOR(std::deque< std::string >) - diff --git a/src/osgWrappers/introspection/osgDB/DatabasePager.cpp b/src/osgWrappers/introspection/osgDB/DatabasePager.cpp deleted file mode 100644 index b7de66e9a..000000000 --- a/src/osgWrappers/introspection/osgDB/DatabasePager.cpp +++ /dev/null @@ -1,750 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgDB::DatabasePager::DrawablePolicy) - I_DeclaringFile("osgDB/DatabasePager"); - I_EnumLabel(osgDB::DatabasePager::DO_NOT_MODIFY_DRAWABLE_SETTINGS); - I_EnumLabel(osgDB::DatabasePager::USE_DISPLAY_LISTS); - I_EnumLabel(osgDB::DatabasePager::USE_VERTEX_BUFFER_OBJECTS); - I_EnumLabel(osgDB::DatabasePager::USE_VERTEX_ARRAYS); -END_REFLECTOR - -TYPE_NAME_ALIAS(OpenThreads::Thread::ThreadPriority, osgDB::DatabasePager::ThreadPriority) - -TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osg::StateSet > >, osgDB::DatabasePager::StateSetList) - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Drawable > >, osgDB::DatabasePager::DrawableList) - -TYPE_NAME_ALIAS(std::pair< osgDB::DatabasePager::StateSetList COMMA osgDB::DatabasePager::DrawableList >, osgDB::DatabasePager::DataToCompile) - -TYPE_NAME_ALIAS(std::map< unsigned int COMMA osgDB::DatabasePager::DataToCompile >, osgDB::DatabasePager::DataToCompileMap) - -TYPE_NAME_ALIAS(std::set< unsigned int >, osgDB::DatabasePager::ActiveGraphicsContexts) - -TYPE_NAME_ALIAS(std::vector< osg::observer_ptr< osg::GraphicsContext > >, osgDB::DatabasePager::CompileGraphicsContexts) - -BEGIN_OBJECT_REFLECTOR(osgDB::DatabasePager) - I_DeclaringFile("osgDB/DatabasePager"); - I_BaseType(osg::NodeVisitor::DatabaseRequestHandler); - I_Constructor0(____DatabasePager, - "", - ""); - I_Constructor1(IN, const osgDB::DatabasePager &, rhs, - Properties::NON_EXPLICIT, - ____DatabasePager__C5_DatabasePager_R1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "", - ""); - I_Method0(osgDB::DatabasePager *, clone, - Properties::VIRTUAL, - __DatabasePager_P1__clone, - "Create a shallow copy on the DatabasePager. ", - ""); - I_Method6(void, requestNodeFile, IN, const std::string &, fileName, IN, osg::Group *, group, IN, float, priority, IN, const osg::FrameStamp *, framestamp, IN, osg::ref_ptr< osg::Referenced > &, databaseRequest, IN, const osg::Referenced *, options, - Properties::VIRTUAL, - __void__requestNodeFile__C5_std_string_R1__osg_Group_P1__float__C5_osg_FrameStamp_P1__osg_ref_ptrT1_osg_Referenced__R1__C5_osg_Referenced_P1, - "Add a request to load a node file to end the the database request list. ", - ""); - I_Method1(int, setSchedulePriority, IN, OpenThreads::Thread::ThreadPriority, priority, - Properties::NON_VIRTUAL, - __int__setSchedulePriority__OpenThreads_Thread_ThreadPriority, - "Set the priority of the database pager thread(s). ", - ""); - I_Method0(int, cancel, - Properties::VIRTUAL, - __int__cancel, - "Cancel the database pager thread(s). ", - ""); - I_Method0(bool, isRunning, - Properties::VIRTUAL, - __bool__isRunning, - "", - ""); - I_Method0(void, clear, - Properties::VIRTUAL, - __void__clear, - "Clear all internally cached structures. ", - ""); - I_MethodWithDefaults2(void, setUpThreads, IN, unsigned int, totalNumThreads, 2, IN, unsigned int, numHttpThreads, 1, - Properties::NON_VIRTUAL, - __void__setUpThreads__unsigned_int__unsigned_int, - "", - ""); - I_Method2(unsigned int, addDatabaseThread, IN, osgDB::DatabasePager::DatabaseThread::Mode, mode, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __unsigned_int__addDatabaseThread__DatabaseThread_Mode__C5_std_string_R1, - "", - ""); - I_Method1(osgDB::DatabasePager::DatabaseThread *, getDatabaseThread, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __DatabaseThread_P1__getDatabaseThread__unsigned_int, - "", - ""); - I_Method1(const osgDB::DatabasePager::DatabaseThread *, getDatabaseThread, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_DatabaseThread_P1__getDatabaseThread__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumDatabaseThreads, - Properties::NON_VIRTUAL, - __unsigned_int__getNumDatabaseThreads, - "", - ""); - I_Method1(void, setDatabasePagerThreadPause, IN, bool, pause, - Properties::NON_VIRTUAL, - __void__setDatabasePagerThreadPause__bool, - "Set whether the database pager thread should be paused or not. ", - ""); - I_Method0(bool, getDatabasePagerThreadPause, - Properties::NON_VIRTUAL, - __bool__getDatabasePagerThreadPause, - "Get whether the database pager thread should is paused or not. ", - ""); - I_Method1(void, setAcceptNewDatabaseRequests, IN, bool, acceptNewRequests, - Properties::NON_VIRTUAL, - __void__setAcceptNewDatabaseRequests__bool, - "Set whether new database request calls are accepted or ignored. ", - ""); - I_Method0(bool, getAcceptNewDatabaseRequests, - Properties::NON_VIRTUAL, - __bool__getAcceptNewDatabaseRequests, - "Get whether new database request calls are accepted or ignored. ", - ""); - I_Method0(int, getNumFramesActive, - Properties::NON_VIRTUAL, - __int__getNumFramesActive, - "Get the number of frames that are currently active. ", - ""); - I_Method1(void, signalBeginFrame, IN, const osg::FrameStamp *, framestamp, - Properties::VIRTUAL, - __void__signalBeginFrame__C5_osg_FrameStamp_P1, - "Signal the database thread that the update, cull and draw has begun for a new frame. ", - "Note, this is called by the application so that the database pager can go to sleep while the CPU is busy on the main rendering threads. "); - I_Method0(void, signalEndFrame, - Properties::VIRTUAL, - __void__signalEndFrame, - "Signal the database thread that the update, cull and draw dispatch has completed. ", - "Note, this is called by the application so that the database pager can go to wake back up now the main rendering threads are iddle waiting for the next frame. "); - I_MethodWithDefaults2(void, registerPagedLODs, IN, osg::Node *, subgraph, , IN, int, frameNumber, 0, - Properties::VIRTUAL, - __void__registerPagedLODs__osg_Node_P1__int, - "Find all PagedLOD nodes in a subgraph and register them with the DatabasePager so it can keep track of expired nodes. ", - "note, should be only be called from the update thread. "); - I_Method1(void, setDoPreCompile, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setDoPreCompile__bool, - "Set whether the database pager should pre compile OpenGL objects before allowing them to be merged into the scene graph. ", - "Pre compilation helps reduce the chances of frame drops, but also slows the speed at which tiles are merged as they have to be compiled first. "); - I_Method0(bool, getDoPreCompile, - Properties::NON_VIRTUAL, - __bool__getDoPreCompile, - "Get whether the database pager should pre compile OpenGL objects before allowing them to be merged into the scene graph. ", - ""); - I_Method1(void, setTargetFrameRate, IN, double, tfr, - Properties::NON_VIRTUAL, - __void__setTargetFrameRate__double, - "Set the target frame rate that the DatabasePager should assume. ", - "Typically one would set this to the value refresh rate of your display system i.e. 60Hz. Default value is 100. Usage notes. The TargetFrameRate and the MinimumTimeAvailableForGLCompileAndDeletePerFrame parameters are not directly used by DatabasePager, but are should be used as a guide for how long to set aside per frame for compiling and deleting OpenGL objects - ie. the value to use when calling DatabasePager::compileGLObjectgs(state,availableTime,). The longer amount of time to set aside cthe faster databases will be paged in but with increased chance of frame drops, the lower the amount of time the set aside the slower databases will paged it but with better chance of avoid any frame drops. The default values are chosen to achieve the later when running on a modern mid to high end PC. The way to compute the amount of available time use a scheme such as : availableTime = maximum(1.0/targetFrameRate - timeTakenDuringUpdateCullAndDraw, minimumTimeAvailableForGLCompileAndDeletePerFrame). "); - I_Method0(double, getTargetFrameRate, - Properties::NON_VIRTUAL, - __double__getTargetFrameRate, - "Get the target frame rate that the DatabasePager should assume. ", - ""); - I_Method1(void, setMinimumTimeAvailableForGLCompileAndDeletePerFrame, IN, double, ta, - Properties::NON_VIRTUAL, - __void__setMinimumTimeAvailableForGLCompileAndDeletePerFrame__double, - "Set the minimum amount of time (in seconds) that should be made available for compiling and delete OpenGL objects per frame. ", - "Default value is 0.001 (1 millisecond). For usage see notes in setTargetFrameRate. "); - I_Method0(double, getMinimumTimeAvailableForGLCompileAndDeletePerFrame, - Properties::NON_VIRTUAL, - __double__getMinimumTimeAvailableForGLCompileAndDeletePerFrame, - "Get the minimum amount of time that should be made available for compiling and delete OpenGL objects per frame. ", - "For usage see notes in setTargetFrameRate. "); - I_Method1(void, setMaximumNumOfObjectsToCompilePerFrame, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setMaximumNumOfObjectsToCompilePerFrame__unsigned_int, - "Set the maximum number of OpenGL objects that the page should attempt to compile per frame. ", - "Note, Lower values reduces chances of a frame drop but lower the rate that database will be paged in at. Default value is 8. "); - I_Method0(unsigned int, getMaximumNumOfObjectsToCompilePerFrame, - Properties::NON_VIRTUAL, - __unsigned_int__getMaximumNumOfObjectsToCompilePerFrame, - "Get the maximum number of OpenGL objects that the page should attempt to compile per frame. ", - ""); - I_Method1(void, setTargetMaximumNumberOfPageLOD, IN, unsigned int, target, - Properties::NON_VIRTUAL, - __void__setTargetMaximumNumberOfPageLOD__unsigned_int, - "Set the target maximum number of PagedLOD to maintain in memory. ", - "Note, if more than the target number are required for rendering of a frame then these active PagedLOD are excempt from being expiried. But once the number of active drops back below the target the inactive PagedLOD will be trimmed back to the target number. "); - I_Method0(unsigned int, getTargetMaximumNumberOfPageLOD, - Properties::NON_VIRTUAL, - __unsigned_int__getTargetMaximumNumberOfPageLOD, - "Get the target maximum number of PagedLOD to maintain in memory. ", - ""); - I_Method1(void, setExpiryDelay, IN, double, expiryDelay, - Properties::NON_VIRTUAL, - __void__setExpiryDelay__double, - "Deprecated. ", - ""); - I_Method0(double, getExpiryDelay, - Properties::NON_VIRTUAL, - __double__getExpiryDelay, - "Deprecated. ", - ""); - I_Method1(void, setExpiryFrames, IN, int, expiryFrames, - Properties::NON_VIRTUAL, - __void__setExpiryFrames__int, - "Deprecated. ", - ""); - I_Method0(int, getExpiryFrames, - Properties::NON_VIRTUAL, - __int__getExpiryFrames, - "Deprecated. ", - ""); - I_Method1(void, setReleaseDelay, IN, double, releaseDelay, - Properties::NON_VIRTUAL, - __void__setReleaseDelay__double, - "Deprecated. ", - ""); - I_Method0(double, getReleaseDelay, - Properties::NON_VIRTUAL, - __double__getReleaseDelay, - "Deprecated. ", - ""); - I_Method1(void, setReleaseFrames, IN, int, releaseFrames, - Properties::NON_VIRTUAL, - __void__setReleaseFrames__int, - "Deprecated. ", - ""); - I_Method0(int, getReleaseFrames, - Properties::NON_VIRTUAL, - __int__getReleaseFrames, - "Deprecated. ", - ""); - I_Method1(void, setDeleteRemovedSubgraphsInDatabaseThread, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setDeleteRemovedSubgraphsInDatabaseThread__bool, - "Set whether the removed subgraphs should be deleted in the database thread or not. ", - ""); - I_Method0(bool, getDeleteRemovedSubgraphsInDatabaseThread, - Properties::NON_VIRTUAL, - __bool__getDeleteRemovedSubgraphsInDatabaseThread, - "Get whether the removed subgraphs should be deleted in the database thread or not. ", - ""); - I_Method1(void, setDrawablePolicy, IN, osgDB::DatabasePager::DrawablePolicy, policy, - Properties::NON_VIRTUAL, - __void__setDrawablePolicy__DrawablePolicy, - "Set how loaded drawables should be handled w.r.t their display list/vertex buffer object/vertex array settings. ", - ""); - I_Method0(osgDB::DatabasePager::DrawablePolicy, getDrawablePolicy, - Properties::NON_VIRTUAL, - __DrawablePolicy__getDrawablePolicy, - "Get how loaded drawables should be handled w.r.t their display list/vertex buffer object/vertex array settings. ", - ""); - I_Method2(void, setUnrefImageDataAfterApplyPolicy, IN, bool, changeAutoUnRef, IN, bool, valueAutoUnRef, - Properties::NON_VIRTUAL, - __void__setUnrefImageDataAfterApplyPolicy__bool__bool, - "Set whether newly loaded textures should have their UnrefImageDataAfterApply set to a specified value. ", - ""); - I_Method2(void, getUnrefImageDataAfterApplyPolicy, IN, bool &, changeAutoUnRef, IN, bool &, valueAutoUnRef, - Properties::NON_VIRTUAL, - __void__getUnrefImageDataAfterApplyPolicy__bool_R1__bool_R1, - "Get whether newly loaded textures should have their UnrefImageDataAfterApply set to a specified value. ", - ""); - I_Method2(void, setMaxAnisotropyPolicy, IN, bool, changeAnisotropy, IN, float, valueAnisotropy, - Properties::NON_VIRTUAL, - __void__setMaxAnisotropyPolicy__bool__float, - "Set whether newly loaded textures should have their MaxAnisotopy set to a specified value. ", - ""); - I_Method2(void, getMaxAnisotropyPolicy, IN, bool &, changeAnisotropy, IN, float &, valueAnisotropy, - Properties::NON_VIRTUAL, - __void__getMaxAnisotropyPolicy__bool_R1__float_R1, - "Set whether newly loaded textures should have their MaxAnisotopy set to a specified value. ", - ""); - I_Method0(bool, requiresUpdateSceneGraph, - Properties::NON_VIRTUAL, - __bool__requiresUpdateSceneGraph, - "Return true if there are pending updates to the scene graph that require a call to updateSceneGraph(double). ", - ""); - I_Method1(void, updateSceneGraph, IN, const osg::FrameStamp &, frameStamp, - Properties::VIRTUAL, - __void__updateSceneGraph__C5_osg_FrameStamp_R1, - "Merge the changes to the scene graph by calling calling removeExpiredSubgraphs then addLoadedDataToSceneGraph. ", - "Note, must only be called from single thread update phase. "); - I_Method2(void, setCompileGLObjectsForContextID, IN, unsigned int, contextID, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setCompileGLObjectsForContextID__unsigned_int__bool, - "Turn the compilation of rendering objects for specified graphics context on (true) or off(false). ", - ""); - I_Method1(bool, getCompileGLObjectsForContextID, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __bool__getCompileGLObjectsForContextID__unsigned_int, - "Get whether the compilation of rendering objects for specified graphics context on (true) or off(false). ", - ""); - I_Method1(bool, requiresExternalCompileGLObjects, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - __bool__requiresExternalCompileGLObjects__unsigned_int, - "Return true if an external draw thread should call compileGLObjects(. ", - ".) or not. "); - I_Method0(bool, requiresCompileGLObjects, - Properties::NON_VIRTUAL, - __bool__requiresCompileGLObjects, - "Return true if there are pending compile operations that are required. ", - "If requiresCompileGLObjects() return true the application should call compileGLObjects() . "); - I_Method2(void, compileGLObjects, IN, osg::State &, state, IN, double &, availableTime, - Properties::VIRTUAL, - __void__compileGLObjects__osg_State_R1__double_R1, - "Compile the rendering objects (display lists,texture objects, VBO's) on loaded subgraph. ", - "note, should only be called from the draw thread. Note, must only be called from a valid graphics context. "); - I_Method1(void, compileAllGLObjects, IN, osg::State &, state, - Properties::VIRTUAL, - __void__compileAllGLObjects__osg_State_R1, - "Compile the rendering objects (display lists,texture objects, VBO's) on loaded subgraph. ", - "note, should only be called from the draw thread. Note, must only be called from a valid graphics context. "); - I_Method0(unsigned int, getFileRequestListSize, - Properties::NON_VIRTUAL, - __unsigned_int__getFileRequestListSize, - "Report how many items are in the _fileRequestList queue. ", - ""); - I_Method0(unsigned int, getDataToCompileListSize, - Properties::NON_VIRTUAL, - __unsigned_int__getDataToCompileListSize, - "Report how many items are in the _dataToCompileList queue. ", - ""); - I_Method0(unsigned int, getDataToMergeListSize, - Properties::NON_VIRTUAL, - __unsigned_int__getDataToMergeListSize, - "Report how many items are in the _dataToCompileList queue. ", - ""); - I_Method0(bool, getRequestsInProgress, - Properties::NON_VIRTUAL, - __bool__getRequestsInProgress, - "Report whether any requests are in the pager. ", - ""); - I_Method0(double, getMinimumTimeToMergeTile, - Properties::NON_VIRTUAL, - __double__getMinimumTimeToMergeTile, - "Get the minimum time between the first request for a tile to be loaded and the time of its merge into the main scene graph. ", - ""); - I_Method0(double, getMaximumTimeToMergeTile, - Properties::NON_VIRTUAL, - __double__getMaximumTimeToMergeTile, - "Get the maximum time between the first request for a tile to be loaded and the time of its merge into the main scene graph. ", - ""); - I_Method0(double, getAverageTimeToMergeTiles, - Properties::NON_VIRTUAL, - __double__getAverageTimeToMergeTiles, - "Get the average time between the first request for a tile to be loaded and the time of its merge into the main scene graph. ", - ""); - I_Method0(void, resetStats, - Properties::NON_VIRTUAL, - __void__resetStats, - "Reset the Stats variables. ", - ""); - I_StaticMethod0(osg::ref_ptr< osgDB::DatabasePager > &, prototype, - __osg_ref_ptrT1_DatabasePager__R1__prototype_S, - "get the prototype singleton used by DatabasePager::create(). ", - ""); - I_StaticMethod0(osgDB::DatabasePager *, create, - __DatabasePager_P1__create_S, - "create a DatabasePager by cloning DatabasePager::prototype(). ", - ""); - I_ProtectedMethod1(bool, isCompiled, IN, osg::Texture *, texture, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__isCompiled__osg_Texture_P1, - "", - ""); - I_ProtectedMethod1(bool, isCompiled, IN, osg::StateSet *, stateSet, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__isCompiled__osg_StateSet_P1, - "", - ""); - I_ProtectedMethod1(bool, isCompiled, IN, const osg::Drawable *, drawable, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__isCompiled__C5_osg_Drawable_P1, - "", - ""); - I_ProtectedMethod1(void, removeExpiredSubgraphs, IN, const osg::FrameStamp &, frameStamp, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__removeExpiredSubgraphs__C5_osg_FrameStamp_R1, - "Iterate through the active PagedLOD nodes children removing children which havn't been visited since specified expiryTime. ", - "note, should be only be called from the update thread. "); - I_ProtectedMethod1(void, addLoadedDataToSceneGraph, IN, const osg::FrameStamp &, frameStamp, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addLoadedDataToSceneGraph__C5_osg_FrameStamp_R1, - "Add the loaded data to the scene graph. ", - ""); - I_SimpleProperty(bool, AcceptNewDatabaseRequests, - __bool__getAcceptNewDatabaseRequests, - __void__setAcceptNewDatabaseRequests__bool); - I_SimpleProperty(double, AverageTimeToMergeTiles, - __double__getAverageTimeToMergeTiles, - 0); - I_IndexedProperty(bool, CompileGLObjectsForContextID, - __bool__getCompileGLObjectsForContextID__unsigned_int, - __void__setCompileGLObjectsForContextID__unsigned_int__bool, - 0); - I_SimpleProperty(unsigned int, DataToCompileListSize, - __unsigned_int__getDataToCompileListSize, - 0); - I_SimpleProperty(unsigned int, DataToMergeListSize, - __unsigned_int__getDataToMergeListSize, - 0); - I_SimpleProperty(bool, DatabasePagerThreadPause, - __bool__getDatabasePagerThreadPause, - __void__setDatabasePagerThreadPause__bool); - I_ArrayProperty(osgDB::DatabasePager::DatabaseThread *, DatabaseThread, - __DatabaseThread_P1__getDatabaseThread__unsigned_int, - 0, - __unsigned_int__getNumDatabaseThreads, - 0, - 0, - 0); - I_SimpleProperty(bool, DeleteRemovedSubgraphsInDatabaseThread, - __bool__getDeleteRemovedSubgraphsInDatabaseThread, - __void__setDeleteRemovedSubgraphsInDatabaseThread__bool); - I_SimpleProperty(bool, DoPreCompile, - __bool__getDoPreCompile, - __void__setDoPreCompile__bool); - I_SimpleProperty(osgDB::DatabasePager::DrawablePolicy, DrawablePolicy, - __DrawablePolicy__getDrawablePolicy, - __void__setDrawablePolicy__DrawablePolicy); - I_SimpleProperty(double, ExpiryDelay, - __double__getExpiryDelay, - __void__setExpiryDelay__double); - I_SimpleProperty(int, ExpiryFrames, - __int__getExpiryFrames, - __void__setExpiryFrames__int); - I_SimpleProperty(unsigned int, FileRequestListSize, - __unsigned_int__getFileRequestListSize, - 0); - I_SimpleProperty(unsigned int, MaximumNumOfObjectsToCompilePerFrame, - __unsigned_int__getMaximumNumOfObjectsToCompilePerFrame, - __void__setMaximumNumOfObjectsToCompilePerFrame__unsigned_int); - I_SimpleProperty(double, MaximumTimeToMergeTile, - __double__getMaximumTimeToMergeTile, - 0); - I_SimpleProperty(double, MinimumTimeAvailableForGLCompileAndDeletePerFrame, - __double__getMinimumTimeAvailableForGLCompileAndDeletePerFrame, - __void__setMinimumTimeAvailableForGLCompileAndDeletePerFrame__double); - I_SimpleProperty(double, MinimumTimeToMergeTile, - __double__getMinimumTimeToMergeTile, - 0); - I_SimpleProperty(double, ReleaseDelay, - __double__getReleaseDelay, - __void__setReleaseDelay__double); - I_SimpleProperty(int, ReleaseFrames, - __int__getReleaseFrames, - __void__setReleaseFrames__int); - I_SimpleProperty(bool, RequestsInProgress, - __bool__getRequestsInProgress, - 0); - I_SimpleProperty(OpenThreads::Thread::ThreadPriority, SchedulePriority, - 0, - __int__setSchedulePriority__OpenThreads_Thread_ThreadPriority); - I_SimpleProperty(double, TargetFrameRate, - __double__getTargetFrameRate, - __void__setTargetFrameRate__double); - I_SimpleProperty(unsigned int, TargetMaximumNumberOfPageLOD, - __unsigned_int__getTargetMaximumNumberOfPageLOD, - __void__setTargetMaximumNumberOfPageLOD__unsigned_int); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgDB::DatabasePager::DatabaseThread::Mode) - I_DeclaringFile("osgDB/DatabasePager"); - I_EnumLabel(osgDB::DatabasePager::DatabaseThread::HANDLE_ALL_REQUESTS); - I_EnumLabel(osgDB::DatabasePager::DatabaseThread::HANDLE_NON_HTTP); - I_EnumLabel(osgDB::DatabasePager::DatabaseThread::HANDLE_ONLY_HTTP); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgDB::DatabasePager::DatabaseThread) - I_DeclaringFile("osgDB/DatabasePager"); - I_BaseType(osg::Referenced); - I_BaseType(OpenThreads::Thread); - I_Constructor3(IN, osgDB::DatabasePager *, pager, IN, osgDB::DatabasePager::DatabaseThread::Mode, mode, IN, const std::string &, name, - ____DatabaseThread__DatabasePager_P1__Mode__C5_std_string_R1, - "", - ""); - I_Constructor2(IN, const osgDB::DatabasePager::DatabaseThread &, dt, IN, osgDB::DatabasePager *, pager, - ____DatabaseThread__C5_DatabaseThread_R1__DatabasePager_P1, - "", - ""); - I_Method1(void, setName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setName__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getName, - "", - ""); - I_Method1(void, setDone, IN, bool, done, - Properties::NON_VIRTUAL, - __void__setDone__bool, - "", - ""); - I_Method0(bool, getDone, - Properties::NON_VIRTUAL, - __bool__getDone, - "", - ""); - I_Method1(void, setActive, IN, bool, active, - Properties::NON_VIRTUAL, - __void__setActive__bool, - "", - ""); - I_Method0(bool, getActive, - Properties::NON_VIRTUAL, - __bool__getActive, - "", - ""); - I_Method0(double, getTimeSinceStartOfIteration, - Properties::NON_VIRTUAL, - __double__getTimeSinceStartOfIteration, - "", - ""); - I_Method0(int, cancel, - Properties::VIRTUAL, - __int__cancel, - "Cancel the thread. ", - "Equivalent to SIGKILL.0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(void, run, - Properties::VIRTUAL, - __void__run, - "Thread's run method. ", - "Must be implemented by derived classes. This is where the action happens. "); - I_SimpleProperty(bool, Active, - __bool__getActive, - __void__setActive__bool); - I_SimpleProperty(bool, Done, - __bool__getDone, - __void__setDone__bool); - I_SimpleProperty(const std::string &, Name, - __C5_std_string_R1__getName, - __void__setName__C5_std_string_R1); - I_SimpleProperty(double, TimeSinceStartOfIteration, - __double__getTimeSinceStartOfIteration, - 0); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::DatabasePager::PagedLODList) - I_DeclaringFile("osgDB/DatabasePager"); - I_BaseType(osg::Referenced); - I_Constructor0(____PagedLODList, - "", - ""); - I_Method0(osgDB::DatabasePager::PagedLODList *, clone, - Properties::PURE_VIRTUAL, - __PagedLODList_P1__clone, - "", - ""); - I_Method0(void, clear, - Properties::PURE_VIRTUAL, - __void__clear, - "", - ""); - I_Method0(unsigned int, size, - Properties::PURE_VIRTUAL, - __unsigned_int__size, - "", - ""); - I_Method2(void, moveInactivePagedLODTo, IN, osgDB::DatabasePager::PagedLODList &, inactivePagedLODList, IN, const osg::FrameStamp &, framestamp, - Properties::PURE_VIRTUAL, - __void__moveInactivePagedLODTo__PagedLODList_R1__C5_osg_FrameStamp_R1, - "", - ""); - I_Method2(void, moveActivePagedLODTo, IN, osgDB::DatabasePager::PagedLODList &, activePagedLODList, IN, const osg::FrameStamp &, framestamp, - Properties::PURE_VIRTUAL, - __void__moveActivePagedLODTo__PagedLODList_R1__C5_osg_FrameStamp_R1, - "", - ""); - I_Method4(void, removeExpiredChildren, IN, int &, numberChildrenToRemove, IN, double, expiryTime, IN, int, expiryFrame, IN, osg::NodeList &, childrenRemoved, - Properties::PURE_VIRTUAL, - __void__removeExpiredChildren__int_R1__double__int__osg_NodeList_R1, - "", - ""); - I_Method1(void, removeNodes, IN, osg::NodeList &, nodesToRemove, - Properties::PURE_VIRTUAL, - __void__removeNodes__osg_NodeList_R1, - "", - ""); - I_Method1(void, insertPagedLOD, IN, const osg::observer_ptr< osg::PagedLOD > &, plod, - Properties::PURE_VIRTUAL, - __void__insertPagedLOD__C5_osg_observer_ptrT1_osg_PagedLOD__R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::observer_ptr< osg::GraphicsContext >) - I_DeclaringFile("osg/observer_ptr"); - I_Constructor0(____observer_ptr, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::GraphicsContext > &, rp, - Properties::NON_EXPLICIT, - ____observer_ptr__C5_ref_ptrT1_T__R1, - "Create a observer_ptr from a ref_ptr. ", - ""); - I_Constructor1(IN, osg::GraphicsContext *, rp, - Properties::NON_EXPLICIT, - ____observer_ptr__T_P1, - "Create a observer_ptr from a raw pointer. ", - "For compatibility; the result might not be lockable. "); - I_Constructor1(IN, const osg::observer_ptr< osg::GraphicsContext > &, wp, - Properties::NON_EXPLICIT, - ____observer_ptr__C5_observer_ptr_R1, - "", - ""); - I_Method1(bool, lock, IN, osg::ref_ptr< osg::GraphicsContext > &, rptr, - Properties::NON_VIRTUAL, - __bool__lock__ref_ptrT1_T__R1, - "Assign the observer_ptr to a ref_ptr. ", - "The ref_ptr will be valid if the referenced object hasn't been deleted and has a ref count > 0. "); - I_Method0(osg::GraphicsContext *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_SimpleProperty(osg::GraphicsContext *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::observer_ptr< osg::PagedLOD >) - I_DeclaringFile("osg/observer_ptr"); - I_Constructor0(____observer_ptr, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::PagedLOD > &, rp, - Properties::NON_EXPLICIT, - ____observer_ptr__C5_ref_ptrT1_T__R1, - "Create a observer_ptr from a ref_ptr. ", - ""); - I_Constructor1(IN, osg::PagedLOD *, rp, - Properties::NON_EXPLICIT, - ____observer_ptr__T_P1, - "Create a observer_ptr from a raw pointer. ", - "For compatibility; the result might not be lockable. "); - I_Constructor1(IN, const osg::observer_ptr< osg::PagedLOD > &, wp, - Properties::NON_EXPLICIT, - ____observer_ptr__C5_observer_ptr_R1, - "", - ""); - I_Method1(bool, lock, IN, osg::ref_ptr< osg::PagedLOD > &, rptr, - Properties::NON_VIRTUAL, - __bool__lock__ref_ptrT1_T__R1, - "Assign the observer_ptr to a ref_ptr. ", - "The ref_ptr will be valid if the referenced object hasn't been deleted and has a ref count > 0. "); - I_Method0(osg::PagedLOD *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_SimpleProperty(osg::PagedLOD *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::DatabasePager >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgDB::DatabasePager *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgDB::DatabasePager > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgDB::DatabasePager > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgDB::DatabasePager *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgDB::DatabasePager *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgDB::DatabasePager > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgDB::DatabasePager *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< unsigned int COMMA osgDB::DatabasePager::DataToCompile >) - -STD_PAIR_REFLECTOR(std::pair< osgDB::DatabasePager::StateSetList COMMA osgDB::DatabasePager::DrawableList >) - -STD_SET_REFLECTOR(std::set< osg::ref_ptr< osg::StateSet > >) - -STD_SET_REFLECTOR(std::set< unsigned int >) - -STD_VECTOR_REFLECTOR(std::vector< osg::observer_ptr< osg::GraphicsContext > >) - diff --git a/src/osgWrappers/introspection/osgDB/DatabaseRevisions.cpp b/src/osgWrappers/introspection/osgDB/DatabaseRevisions.cpp deleted file mode 100644 index 782d7ce6c..000000000 --- a/src/osgWrappers/introspection/osgDB/DatabaseRevisions.cpp +++ /dev/null @@ -1,358 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::set< std::string >, osgDB::DatabaseRevision::FileNames) - -BEGIN_OBJECT_REFLECTOR(osgDB::DatabaseRevision) - I_DeclaringFile("osgDB/DatabaseRevisions"); - I_BaseType(osg::Object); - I_Constructor0(____DatabaseRevision, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgDB::DatabaseRevision &, revision, , IN, const osg::CopyOp, x, osg::CopyOp::SHALLOW_COPY, - ____DatabaseRevision__C5_DatabaseRevision_R1__C5_osg_CopyOp, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setDatabasePath, IN, const std::string &, path, - Properties::NON_VIRTUAL, - __void__setDatabasePath__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getDatabasePath, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getDatabasePath, - "", - ""); - I_Method1(void, setFilesAdded, IN, osgDB::FileList *, fileList, - Properties::NON_VIRTUAL, - __void__setFilesAdded__FileList_P1, - "", - ""); - I_Method0(osgDB::FileList *, getFilesAdded, - Properties::NON_VIRTUAL, - __FileList_P1__getFilesAdded, - "", - ""); - I_Method0(const osgDB::FileList *, getFilesAdded, - Properties::NON_VIRTUAL, - __C5_FileList_P1__getFilesAdded, - "", - ""); - I_Method1(void, setFilesRemoved, IN, osgDB::FileList *, fileList, - Properties::NON_VIRTUAL, - __void__setFilesRemoved__FileList_P1, - "", - ""); - I_Method0(osgDB::FileList *, getFilesRemoved, - Properties::NON_VIRTUAL, - __FileList_P1__getFilesRemoved, - "", - ""); - I_Method0(const osgDB::FileList *, getFilesRemoved, - Properties::NON_VIRTUAL, - __C5_FileList_P1__getFilesRemoved, - "", - ""); - I_Method1(void, setFilesModified, IN, osgDB::FileList *, fileList, - Properties::NON_VIRTUAL, - __void__setFilesModified__FileList_P1, - "", - ""); - I_Method0(osgDB::FileList *, getFilesModified, - Properties::NON_VIRTUAL, - __FileList_P1__getFilesModified, - "", - ""); - I_Method0(const osgDB::FileList *, getFilesModified, - Properties::NON_VIRTUAL, - __C5_FileList_P1__getFilesModified, - "", - ""); - I_Method1(bool, isFileBlackListed, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __bool__isFileBlackListed__C5_std_string_R1, - "", - ""); - I_Method1(bool, removeFile, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __bool__removeFile__C5_std_string_R1, - "", - ""); - I_SimpleProperty(const std::string &, DatabasePath, - __C5_std_string_R1__getDatabasePath, - __void__setDatabasePath__C5_std_string_R1); - I_SimpleProperty(osgDB::FileList *, FilesAdded, - __FileList_P1__getFilesAdded, - __void__setFilesAdded__FileList_P1); - I_SimpleProperty(osgDB::FileList *, FilesModified, - __FileList_P1__getFilesModified, - __void__setFilesModified__FileList_P1); - I_SimpleProperty(osgDB::FileList *, FilesRemoved, - __FileList_P1__getFilesRemoved, - __void__setFilesRemoved__FileList_P1); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgDB::DatabaseRevision > >, osgDB::DatabaseRevisions::DatabaseRevisionList) - -BEGIN_OBJECT_REFLECTOR(osgDB::DatabaseRevisions) - I_DeclaringFile("osgDB/DatabaseRevisions"); - I_BaseType(osg::Object); - I_Constructor0(____DatabaseRevisions, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgDB::DatabaseRevisions &, revisions, , IN, const osg::CopyOp, x, osg::CopyOp::SHALLOW_COPY, - ____DatabaseRevisions__C5_DatabaseRevisions_R1__C5_osg_CopyOp, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setDatabasePath, IN, const std::string &, path, - Properties::NON_VIRTUAL, - __void__setDatabasePath__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getDatabasePath, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getDatabasePath, - "", - ""); - I_Method1(void, addRevision, IN, osgDB::DatabaseRevision *, revision, - Properties::NON_VIRTUAL, - __void__addRevision__DatabaseRevision_P1, - "", - ""); - I_Method1(void, removeRevision, IN, osgDB::DatabaseRevision *, revision, - Properties::NON_VIRTUAL, - __void__removeRevision__DatabaseRevision_P1, - "", - ""); - I_Method1(osgDB::DatabaseRevision *, getDatabaseRevision, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __DatabaseRevision_P1__getDatabaseRevision__unsigned_int, - "", - ""); - I_Method0(osgDB::DatabaseRevisions::DatabaseRevisionList &, getDatabaseRevisionList, - Properties::NON_VIRTUAL, - __DatabaseRevisionList_R1__getDatabaseRevisionList, - "", - ""); - I_Method0(const osgDB::DatabaseRevisions::DatabaseRevisionList &, getDatabaseRevisionList, - Properties::NON_VIRTUAL, - __C5_DatabaseRevisionList_R1__getDatabaseRevisionList, - "", - ""); - I_Method1(bool, isFileBlackListed, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __bool__isFileBlackListed__C5_std_string_R1, - "", - ""); - I_Method1(bool, removeFile, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __bool__removeFile__C5_std_string_R1, - "", - ""); - I_SimpleProperty(const std::string &, DatabasePath, - __C5_std_string_R1__getDatabasePath, - __void__setDatabasePath__C5_std_string_R1); - I_SimpleProperty(osgDB::DatabaseRevisions::DatabaseRevisionList &, DatabaseRevisionList, - __DatabaseRevisionList_R1__getDatabaseRevisionList, - 0); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::set< std::string >, osgDB::FileList::FileNames) - -BEGIN_OBJECT_REFLECTOR(osgDB::FileList) - I_DeclaringFile("osgDB/DatabaseRevisions"); - I_BaseType(osg::Object); - I_Constructor0(____FileList, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgDB::FileList &, fileList, , IN, const osg::CopyOp, x, osg::CopyOp::SHALLOW_COPY, - ____FileList__C5_FileList_R1__C5_osg_CopyOp, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osgDB::FileList::FileNames &, getFileNames, - Properties::NON_VIRTUAL, - __FileNames_R1__getFileNames, - "", - ""); - I_Method0(const osgDB::FileList::FileNames &, getFileNames, - Properties::NON_VIRTUAL, - __C5_FileNames_R1__getFileNames, - "", - ""); - I_Method0(bool, empty, - Properties::NON_VIRTUAL, - __bool__empty, - "", - ""); - I_Method1(bool, containsFile, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __bool__containsFile__C5_std_string_R1, - "", - ""); - I_Method1(void, addFile, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __void__addFile__C5_std_string_R1, - "", - ""); - I_Method1(bool, removeFile, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __bool__removeFile__C5_std_string_R1, - "", - ""); - I_Method1(void, append, IN, osgDB::FileList *, fileList, - Properties::NON_VIRTUAL, - __void__append__FileList_P1, - "", - ""); - I_SimpleProperty(osgDB::FileList::FileNames &, FileNames, - __FileNames_R1__getFileNames, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::DatabaseRevision >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgDB::DatabaseRevision *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgDB::DatabaseRevision > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgDB::DatabaseRevision > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgDB::DatabaseRevision *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgDB::DatabaseRevision *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgDB::DatabaseRevision > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgDB::DatabaseRevision *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_SET_REFLECTOR(std::set< std::string >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgDB::DatabaseRevision > >) - diff --git a/src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp b/src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp deleted file mode 100644 index 8925859e5..000000000 --- a/src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp +++ /dev/null @@ -1,196 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::list< std::string >, osgDB::DeprecatedDotOsgWrapperManager::FileNames) - -BEGIN_OBJECT_REFLECTOR(osgDB::DeprecatedDotOsgWrapperManager) - I_DeclaringFile("osgDB/DotOsgWrapper"); - I_BaseType(osg::Referenced); - I_Constructor0(____DeprecatedDotOsgWrapperManager, - "", - ""); - I_Method1(void, addDotOsgWrapper, IN, osgDB::DotOsgWrapper *, wrapper, - Properties::NON_VIRTUAL, - __void__addDotOsgWrapper__DotOsgWrapper_P1, - "", - ""); - I_Method1(void, removeDotOsgWrapper, IN, osgDB::DotOsgWrapper *, wrapper, - Properties::NON_VIRTUAL, - __void__removeDotOsgWrapper__DotOsgWrapper_P1, - "", - ""); - I_Method2(osg::Object *, readObjectOfType, IN, const osg::Object &, compObj, IN, osgDB::Input &, fr, - Properties::NON_VIRTUAL, - __osg_Object_P1__readObjectOfType__C5_osg_Object_R1__Input_R1, - "", - ""); - I_Method2(osg::Object *, readObjectOfType, IN, const osgDB::basic_type_wrapper &, btw, IN, osgDB::Input &, fr, - Properties::NON_VIRTUAL, - __osg_Object_P1__readObjectOfType__C5_basic_type_wrapper_R1__Input_R1, - "", - ""); - I_Method1(osg::Object *, readObject, IN, osgDB::Input &, fr, - Properties::NON_VIRTUAL, - __osg_Object_P1__readObject__Input_R1, - "", - ""); - I_Method1(osg::Image *, readImage, IN, osgDB::Input &, fr, - Properties::NON_VIRTUAL, - __osg_Image_P1__readImage__Input_R1, - "", - ""); - I_Method1(osg::Drawable *, readDrawable, IN, osgDB::Input &, fr, - Properties::NON_VIRTUAL, - __osg_Drawable_P1__readDrawable__Input_R1, - "", - ""); - I_Method1(osg::Uniform *, readUniform, IN, osgDB::Input &, fr, - Properties::NON_VIRTUAL, - __osg_Uniform_P1__readUniform__Input_R1, - "", - ""); - I_Method1(osg::StateAttribute *, readStateAttribute, IN, osgDB::Input &, fr, - Properties::NON_VIRTUAL, - __osg_StateAttribute_P1__readStateAttribute__Input_R1, - "", - ""); - I_Method1(osg::Node *, readNode, IN, osgDB::Input &, fr, - Properties::NON_VIRTUAL, - __osg_Node_P1__readNode__Input_R1, - "", - ""); - I_Method1(osg::Shader *, readShader, IN, osgDB::Input &, fr, - Properties::NON_VIRTUAL, - __osg_Shader_P1__readShader__Input_R1, - "", - ""); - I_Method2(bool, writeObject, IN, const osg::Object &, obj, IN, osgDB::Output &, fw, - Properties::NON_VIRTUAL, - __bool__writeObject__C5_osg_Object_R1__Output_R1, - "", - ""); - I_Method2(bool, getLibraryFileNamesToTry, IN, const std::string &, name, IN, osgDB::DeprecatedDotOsgWrapperManager::FileNames &, fileNames, - Properties::NON_VIRTUAL, - __bool__getLibraryFileNamesToTry__C5_std_string_R1__FileNames_R1, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgDB::DotOsgWrapper::ReadWriteMode) - I_DeclaringFile("osgDB/DotOsgWrapper"); - I_EnumLabel(osgDB::DotOsgWrapper::READ_AND_WRITE); - I_EnumLabel(osgDB::DotOsgWrapper::READ_ONLY); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< std::string >, osgDB::DotOsgWrapper::Associates) - -TYPE_NAME_ALIAS(bool (*)(osg::Object&,osgDB::Input&), osgDB::DotOsgWrapper::ReadFunc) - -TYPE_NAME_ALIAS(bool (*)(const osg::Object&,osgDB::Output&), osgDB::DotOsgWrapper::WriteFunc) - -BEGIN_OBJECT_REFLECTOR(osgDB::DotOsgWrapper) - I_DeclaringFile("osgDB/DotOsgWrapper"); - I_BaseType(osg::Referenced); - I_ConstructorWithDefaults6(IN, osg::Object *, proto, , IN, const std::string &, name, , IN, const std::string &, associates, , IN, osgDB::DotOsgWrapper::ReadFunc, readFunc, , IN, osgDB::DotOsgWrapper::WriteFunc, writeFunc, , IN, osgDB::DotOsgWrapper::ReadWriteMode, readWriteMode, osgDB::DotOsgWrapper::READ_AND_WRITE, - ____DotOsgWrapper__osg_Object_P1__C5_std_string_R1__C5_std_string_R1__ReadFunc__WriteFunc__ReadWriteMode, - "", - ""); - I_Method0(const osg::Object *, getPrototype, - Properties::NON_VIRTUAL, - __C5_osg_Object_P1__getPrototype, - "", - ""); - I_Method0(const std::string &, getName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getName, - "", - ""); - I_Method0(const osgDB::DotOsgWrapper::Associates &, getAssociates, - Properties::NON_VIRTUAL, - __C5_Associates_R1__getAssociates, - "", - ""); - I_Method0(osgDB::DotOsgWrapper::ReadFunc, getReadFunc, - Properties::NON_VIRTUAL, - __ReadFunc__getReadFunc, - "", - ""); - I_Method0(osgDB::DotOsgWrapper::WriteFunc, getWriteFunc, - Properties::NON_VIRTUAL, - __WriteFunc__getWriteFunc, - "", - ""); - I_Method0(osgDB::DotOsgWrapper::ReadWriteMode, getReadWriteMode, - Properties::NON_VIRTUAL, - __ReadWriteMode__getReadWriteMode, - "", - ""); - I_ProtectedConstructor0(____DotOsgWrapper, - "protected to prevent inappropriate creation of wrappers. ", - ""); - I_ProtectedConstructor1(IN, osgDB::DotOsgWrapper &, x, - Properties::NON_EXPLICIT, - ____DotOsgWrapper__DotOsgWrapper_R1, - "protected to prevent inappropriate creation of wrappers. ", - ""); - I_SimpleProperty(const osgDB::DotOsgWrapper::Associates &, Associates, - __C5_Associates_R1__getAssociates, - 0); - I_SimpleProperty(const std::string &, Name, - __C5_std_string_R1__getName, - 0); - I_SimpleProperty(const osg::Object *, Prototype, - __C5_osg_Object_P1__getPrototype, - 0); - I_SimpleProperty(osgDB::DotOsgWrapper::ReadFunc, ReadFunc, - __ReadFunc__getReadFunc, - 0); - I_SimpleProperty(osgDB::DotOsgWrapper::ReadWriteMode, ReadWriteMode, - __ReadWriteMode__getReadWriteMode, - 0); - I_SimpleProperty(osgDB::DotOsgWrapper::WriteFunc, WriteFunc, - __WriteFunc__getWriteFunc, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgDB::RegisterDotOsgWrapperProxy) - I_DeclaringFile("osgDB/DotOsgWrapper"); - I_ConstructorWithDefaults6(IN, osg::Object *, proto, , IN, const std::string &, name, , IN, const std::string &, associates, , IN, osgDB::DotOsgWrapper::ReadFunc, readFunc, , IN, osgDB::DotOsgWrapper::WriteFunc, writeFunc, , IN, osgDB::DotOsgWrapper::ReadWriteMode, readWriteMode, osgDB::DotOsgWrapper::READ_AND_WRITE, - ____RegisterDotOsgWrapperProxy__osg_Object_P1__C5_std_string_R1__C5_std_string_R1__DotOsgWrapper_ReadFunc__DotOsgWrapper_WriteFunc__DotOsgWrapper_ReadWriteMode, - "", - ""); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< std::string >) - diff --git a/src/osgWrappers/introspection/osgDB/DynamicLibrary.cpp b/src/osgWrappers/introspection/osgDB/DynamicLibrary.cpp deleted file mode 100644 index 9a4dd1199..000000000 --- a/src/osgWrappers/introspection/osgDB/DynamicLibrary.cpp +++ /dev/null @@ -1,78 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(void *, osgDB::DynamicLibrary::HANDLE) - -TYPE_NAME_ALIAS(void *, osgDB::DynamicLibrary::PROC_ADDRESS) - -BEGIN_OBJECT_REFLECTOR(osgDB::DynamicLibrary) - I_DeclaringFile("osgDB/DynamicLibrary"); - I_BaseType(osg::Referenced); - I_StaticMethod1(osgDB::DynamicLibrary *, loadLibrary, IN, const std::string &, libraryName, - __DynamicLibrary_P1__loadLibrary__C5_std_string_R1_S, - "returns a pointer to a DynamicLibrary object on successfully opening of library returns NULL on failure. ", - ""); - I_Method0(const std::string &, getName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getName, - "return name of library stripped of path. ", - ""); - I_Method0(const std::string &, getFullName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getFullName, - "return name of library including full path to it. ", - ""); - I_Method0(osgDB::DynamicLibrary::HANDLE, getHandle, - Properties::NON_VIRTUAL, - __HANDLE__getHandle, - "return handle to .dso/.dll dynamic library itself. ", - ""); - I_Method1(osgDB::DynamicLibrary::PROC_ADDRESS, getProcAddress, IN, const std::string &, procName, - Properties::NON_VIRTUAL, - __PROC_ADDRESS__getProcAddress__C5_std_string_R1, - "return address of function located in library. ", - ""); - I_ProtectedConstructor0(____DynamicLibrary, - "disallow default constructor. ", - ""); - I_ProtectedConstructor1(IN, const osgDB::DynamicLibrary &, x, - Properties::NON_EXPLICIT, - ____DynamicLibrary__C5_DynamicLibrary_R1, - "disallow copy constructor. ", - ""); - I_ProtectedConstructor2(IN, const std::string &, name, IN, osgDB::DynamicLibrary::HANDLE, handle, - ____DynamicLibrary__C5_std_string_R1__HANDLE, - "Disallow public construction so that users have to go through loadLibrary() above which returns NULL on failure, a valid DynamicLibrary object on success. ", - ""); - I_SimpleProperty(const std::string &, FullName, - __C5_std_string_R1__getFullName, - 0); - I_SimpleProperty(osgDB::DynamicLibrary::HANDLE, Handle, - __HANDLE__getHandle, - 0); - I_SimpleProperty(const std::string &, Name, - __C5_std_string_R1__getName, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/FileCache.cpp b/src/osgWrappers/introspection/osgDB/FileCache.cpp deleted file mode 100644 index 0980667ba..000000000 --- a/src/osgWrappers/introspection/osgDB/FileCache.cpp +++ /dev/null @@ -1,194 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgDB::DatabaseRevisions > >, osgDB::FileCache::DatabaseRevisionsList) - -BEGIN_OBJECT_REFLECTOR(osgDB::FileCache) - I_DeclaringFile("osgDB/FileCache"); - I_BaseType(osg::Referenced); - I_Constructor1(IN, const std::string &, path, - Properties::NON_EXPLICIT, - ____FileCache__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getFileCachePath, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getFileCachePath, - "", - ""); - I_Method1(bool, isFileAppropriateForFileCache, IN, const std::string &, originalFileName, - Properties::VIRTUAL, - __bool__isFileAppropriateForFileCache__C5_std_string_R1, - "", - ""); - I_Method1(std::string, createCacheFileName, IN, const std::string &, originalFileName, - Properties::VIRTUAL, - __std_string__createCacheFileName__C5_std_string_R1, - "", - ""); - I_Method1(bool, existsInCache, IN, const std::string &, originalFileName, - Properties::VIRTUAL, - __bool__existsInCache__C5_std_string_R1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, originalFileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_ReadResult__readImage__C5_std_string_R1__C5_osgDB_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, image, IN, const std::string &, originalFileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_osgDB_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, originalFileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_ReadResult__readObject__C5_std_string_R1__C5_osgDB_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, object, IN, const std::string &, originalFileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_osgDB_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, originalFileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_ReadResult__readHeightField__C5_std_string_R1__C5_osgDB_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, hf, IN, const std::string &, originalFileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_osgDB_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, originalFileName, , IN, const osgDB::Options *, options, , IN, bool, buildKdTreeIfRequired, true, - Properties::VIRTUAL, - __ReaderWriter_ReadResult__readNode__C5_std_string_R1__C5_osgDB_Options_P1__bool, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, node, IN, const std::string &, originalFileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_osgDB_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, originalFileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_ReadResult__readShader__C5_std_string_R1__C5_osgDB_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, shader, IN, const std::string &, originalFileName, IN, const osgDB::Options *, options, - Properties::VIRTUAL, - __ReaderWriter_WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_osgDB_Options_P1, - "", - ""); - I_Method1(bool, loadDatabaseRevisionsForFile, IN, const std::string &, originanlFileName, - Properties::NON_VIRTUAL, - __bool__loadDatabaseRevisionsForFile__C5_std_string_R1, - "", - ""); - I_Method0(osgDB::FileCache::DatabaseRevisionsList &, getDatabaseRevisionsList, - Properties::NON_VIRTUAL, - __DatabaseRevisionsList_R1__getDatabaseRevisionsList, - "", - ""); - I_Method1(bool, isCachedFileBlackListed, IN, const std::string &, originalFileName, - Properties::NON_VIRTUAL, - __bool__isCachedFileBlackListed__C5_std_string_R1, - "", - ""); - I_ProtectedMethod1(osgDB::FileList *, readFileList, IN, const std::string &, originalFileName, - Properties::NON_VIRTUAL, - Properties::CONST, - __FileList_P1__readFileList__C5_std_string_R1, - "", - ""); - I_ProtectedMethod1(bool, removeFileFromBlackListed, IN, const std::string &, originalFileName, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__removeFileFromBlackListed__C5_std_string_R1, - "", - ""); - I_SimpleProperty(osgDB::FileCache::DatabaseRevisionsList &, DatabaseRevisionsList, - __DatabaseRevisionsList_R1__getDatabaseRevisionsList, - 0); - I_SimpleProperty(const std::string &, FileCachePath, - __C5_std_string_R1__getFileCachePath, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::DatabaseRevisions >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgDB::DatabaseRevisions *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgDB::DatabaseRevisions > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgDB::DatabaseRevisions > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgDB::DatabaseRevisions *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgDB::DatabaseRevisions *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgDB::DatabaseRevisions > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgDB::DatabaseRevisions *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgDB::DatabaseRevisions > >) - diff --git a/src/osgWrappers/introspection/osgDB/FileUtils.cpp b/src/osgWrappers/introspection/osgDB/FileUtils.cpp deleted file mode 100644 index c7d35955f..000000000 --- a/src/osgWrappers/introspection/osgDB/FileUtils.cpp +++ /dev/null @@ -1,45 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgDB::FileType) - I_DeclaringFile("osgDB/FileUtils"); - I_EnumLabel(osgDB::FILE_NOT_FOUND); - I_EnumLabel(osgDB::REGULAR_FILE); - I_EnumLabel(osgDB::DIRECTORY); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< std::string >, osgDB::DirectoryContents) - -BEGIN_ENUM_REFLECTOR(osgDB::FileOpResult::Value) - I_DeclaringFile("osgDB/FileUtils"); - I_EnumLabel(osgDB::FileOpResult::OK); - I_EnumLabel(osgDB::FileOpResult::SOURCE_EQUALS_DESTINATION); - I_EnumLabel(osgDB::FileOpResult::BAD_ARGUMENT); - I_EnumLabel(osgDB::FileOpResult::SOURCE_MISSING); - I_EnumLabel(osgDB::FileOpResult::SOURCE_NOT_OPENED); - I_EnumLabel(osgDB::FileOpResult::DESTINATION_NOT_OPENED); - I_EnumLabel(osgDB::FileOpResult::READ_ERROR); - I_EnumLabel(osgDB::FileOpResult::WRITE_ERROR); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/ImageOptions.cpp b/src/osgWrappers/introspection/osgDB/ImageOptions.cpp deleted file mode 100644 index ae116f9b7..000000000 --- a/src/osgWrappers/introspection/osgDB/ImageOptions.cpp +++ /dev/null @@ -1,146 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgDB::ImageOptions::ImageWindowMode) - I_DeclaringFile("osgDB/ImageOptions"); - I_EnumLabel(osgDB::ImageOptions::ALL_IMAGE); - I_EnumLabel(osgDB::ImageOptions::RATIO_WINDOW); - I_EnumLabel(osgDB::ImageOptions::PIXEL_WINDOW); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgDB::ImageOptions::ImageSamplingMode) - I_DeclaringFile("osgDB/ImageOptions"); - I_EnumLabel(osgDB::ImageOptions::NEAREST); - I_EnumLabel(osgDB::ImageOptions::LINEAR); - I_EnumLabel(osgDB::ImageOptions::CUBIC); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgDB::ImageOptions) - I_DeclaringFile("osgDB/ImageOptions"); - I_BaseType(osgDB::Options); - I_Constructor0(____ImageOptions, - "", - ""); - I_Constructor1(IN, const std::string &, str, - Properties::NON_EXPLICIT, - ____ImageOptions__C5_std_string_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgDB::ImageOptions &, options, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ImageOptions__C5_ImageOptions_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, init, - Properties::NON_VIRTUAL, - __void__init, - "", - ""); - I_PublicMemberProperty(osgDB::ImageOptions::ImageSamplingMode, _sourceImageSamplingMode); - I_PublicMemberProperty(osgDB::ImageOptions::ImageWindowMode, _sourceImageWindowMode); - I_PublicMemberProperty(osgDB::ImageOptions::RatioWindow, _sourceRatioWindow); - I_PublicMemberProperty(osgDB::ImageOptions::PixelWindow, _sourcePixelWindow); - I_PublicMemberProperty(osg::ref_ptr< osg::Image >, _destinationImage); - I_PublicMemberProperty(osgDB::ImageOptions::ImageWindowMode, _destinationImageWindowMode); - I_PublicMemberProperty(osgDB::ImageOptions::RatioWindow, _destinationRatioWindow); - I_PublicMemberProperty(osgDB::ImageOptions::PixelWindow, _destinationPixelWindow); - I_PublicMemberProperty(GLenum, _destinationDataType); - I_PublicMemberProperty(GLenum, _destinationPixelFormat); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgDB::ImageOptions::PixelWindow) - I_DeclaringFile("osgDB/ImageOptions"); - I_Constructor0(____PixelWindow, - "", - ""); - I_Method4(void, set, IN, unsigned int, x, IN, unsigned int, y, IN, unsigned int, w, IN, unsigned int, h, - Properties::NON_VIRTUAL, - __void__set__unsigned_int__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_PublicMemberProperty(unsigned int, windowX); - I_PublicMemberProperty(unsigned int, windowY); - I_PublicMemberProperty(unsigned int, windowWidth); - I_PublicMemberProperty(unsigned int, windowHeight); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgDB::ImageOptions::RatioWindow) - I_DeclaringFile("osgDB/ImageOptions"); - I_Constructor0(____RatioWindow, - "", - ""); - I_Method4(void, set, IN, double, x, IN, double, y, IN, double, w, IN, double, h, - Properties::NON_VIRTUAL, - __void__set__double__double__double__double, - "", - ""); - I_PublicMemberProperty(double, windowX); - I_PublicMemberProperty(double, windowY); - I_PublicMemberProperty(double, windowWidth); - I_PublicMemberProperty(double, windowHeight); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgDB::ImageOptions::TexCoordRange) - I_DeclaringFile("osgDB/ImageOptions"); - I_BaseType(osg::Referenced); - I_Constructor0(____TexCoordRange, - "", - ""); - I_Method4(void, set, IN, double, x, IN, double, y, IN, double, w, IN, double, h, - Properties::NON_VIRTUAL, - __void__set__double__double__double__double, - "", - ""); - I_PublicMemberProperty(double, _x); - I_PublicMemberProperty(double, _y); - I_PublicMemberProperty(double, _w); - I_PublicMemberProperty(double, _h); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/ImagePager.cpp b/src/osgWrappers/introspection/osgDB/ImagePager.cpp deleted file mode 100644 index acaed24fe..000000000 --- a/src/osgWrappers/introspection/osgDB/ImagePager.cpp +++ /dev/null @@ -1,139 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgDB::ImagePager) - I_DeclaringFile("osgDB/ImagePager"); - I_BaseType(osg::NodeVisitor::ImageRequestHandler); - I_Constructor0(____ImagePager, - "", - ""); - I_Method1(osgDB::ImagePager::ImageThread *, getImageThread, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __ImageThread_P1__getImageThread__unsigned_int, - "", - ""); - I_Method1(const osgDB::ImagePager::ImageThread *, getImageThread, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_ImageThread_P1__getImageThread__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumImageThreads, - Properties::NON_VIRTUAL, - __unsigned_int__getNumImageThreads, - "", - ""); - I_Method1(void, setPreLoadTime, IN, double, preLoadTime, - Properties::NON_VIRTUAL, - __void__setPreLoadTime__double, - "", - ""); - I_Method0(double, getPreLoadTime, - Properties::VIRTUAL, - __double__getPreLoadTime, - "", - ""); - I_Method1(osg::Image *, readImageFile, IN, const std::string &, fileName, - Properties::VIRTUAL, - __osg_Image_P1__readImageFile__C5_std_string_R1, - "", - ""); - I_Method5(void, requestImageFile, IN, const std::string &, fileName, IN, osg::Object *, attachmentPoint, IN, int, attachmentIndex, IN, double, timeToMergeBy, IN, const osg::FrameStamp *, framestamp, - Properties::VIRTUAL, - __void__requestImageFile__C5_std_string_R1__osg_Object_P1__int__double__C5_osg_FrameStamp_P1, - "", - ""); - I_Method0(bool, requiresUpdateSceneGraph, - Properties::VIRTUAL, - __bool__requiresUpdateSceneGraph, - "Return true if there are pending updates to the scene graph that require a call to updateSceneGraph(double). ", - ""); - I_Method1(void, updateSceneGraph, IN, const osg::FrameStamp &, frameStamp, - Properties::VIRTUAL, - __void__updateSceneGraph__C5_osg_FrameStamp_R1, - "Merge the changes to the scene graph. ", - ""); - I_Method0(int, cancel, - Properties::NON_VIRTUAL, - __int__cancel, - "", - ""); - I_ArrayProperty(osgDB::ImagePager::ImageThread *, ImageThread, - __ImageThread_P1__getImageThread__unsigned_int, - 0, - __unsigned_int__getNumImageThreads, - 0, - 0, - 0); - I_SimpleProperty(double, PreLoadTime, - __double__getPreLoadTime, - __void__setPreLoadTime__double); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgDB::ImagePager::ImageThread::Mode) - I_DeclaringFile("osgDB/ImagePager"); - I_EnumLabel(osgDB::ImagePager::ImageThread::HANDLE_ALL_REQUESTS); - I_EnumLabel(osgDB::ImagePager::ImageThread::HANDLE_NON_HTTP); - I_EnumLabel(osgDB::ImagePager::ImageThread::HANDLE_ONLY_HTTP); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgDB::ImagePager::ImageThread) - I_DeclaringFile("osgDB/ImagePager"); - I_BaseType(osg::Referenced); - I_BaseType(OpenThreads::Thread); - I_Constructor3(IN, osgDB::ImagePager *, pager, IN, osgDB::ImagePager::ImageThread::Mode, mode, IN, const std::string &, name, - ____ImageThread__ImagePager_P1__Mode__C5_std_string_R1, - "", - ""); - I_Constructor2(IN, const osgDB::ImagePager::ImageThread &, dt, IN, osgDB::ImagePager *, pager, - ____ImageThread__C5_ImageThread_R1__ImagePager_P1, - "", - ""); - I_Method1(void, setDone, IN, bool, done, - Properties::NON_VIRTUAL, - __void__setDone__bool, - "", - ""); - I_Method0(bool, getDone, - Properties::NON_VIRTUAL, - __bool__getDone, - "", - ""); - I_Method0(int, cancel, - Properties::VIRTUAL, - __int__cancel, - "Cancel the thread. ", - "Equivalent to SIGKILL.0 if normal, -1 if errno set, errno code otherwise. "); - I_Method0(void, run, - Properties::VIRTUAL, - __void__run, - "Thread's run method. ", - "Must be implemented by derived classes. This is where the action happens. "); - I_SimpleProperty(bool, Done, - __bool__getDone, - __void__setDone__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/Input.cpp b/src/osgWrappers/introspection/osgDB/Input.cpp deleted file mode 100644 index 8723bcfe2..000000000 --- a/src/osgWrappers/introspection/osgDB/Input.cpp +++ /dev/null @@ -1,648 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgDB::Field::FieldType) - I_DeclaringFile("osgDB/Input"); - I_EnumLabel(osgDB::Field::OPEN_BRACKET); - I_EnumLabel(osgDB::Field::CLOSE_BRACKET); - I_EnumLabel(osgDB::Field::STRING); - I_EnumLabel(osgDB::Field::WORD); - I_EnumLabel(osgDB::Field::REAL); - I_EnumLabel(osgDB::Field::INTEGER); - I_EnumLabel(osgDB::Field::BLANK); - I_EnumLabel(osgDB::Field::UNINITIALISED); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgDB::Field) - I_DeclaringFile("osgDB/Input"); - I_Constructor0(____Field, - "", - ""); - I_Constructor1(IN, const osgDB::Field &, field, - Properties::NON_EXPLICIT, - ____Field__C5_Field_R1, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method1(void, addChar, IN, char, c, - Properties::NON_VIRTUAL, - __void__addChar__char, - "", - ""); - I_Method0(int, getNoCharacters, - Properties::NON_VIRTUAL, - __int__getNoCharacters, - "", - ""); - I_MethodWithDefaults1(void, setWithinQuotes, IN, bool, withinQuotes, true, - Properties::NON_VIRTUAL, - __void__setWithinQuotes__bool, - "", - ""); - I_Method0(bool, getWithinQuotes, - Properties::NON_VIRTUAL, - __bool__getWithinQuotes, - "", - ""); - I_Method1(void, setNoNestedBrackets, IN, int, no, - Properties::NON_VIRTUAL, - __void__setNoNestedBrackets__int, - "", - ""); - I_Method0(int, getNoNestedBrackets, - Properties::NON_VIRTUAL, - __int__getNoNestedBrackets, - "", - ""); - I_Method0(osgDB::Field::FieldType, getFieldType, - Properties::NON_VIRTUAL, - __FieldType__getFieldType, - "", - ""); - I_Method0(bool, isValid, - Properties::NON_VIRTUAL, - __bool__isValid, - "", - ""); - I_Method0(bool, isOpenBracket, - Properties::NON_VIRTUAL, - __bool__isOpenBracket, - "", - ""); - I_Method0(bool, isCloseBracket, - Properties::NON_VIRTUAL, - __bool__isCloseBracket, - "", - ""); - I_Method0(bool, isWord, - Properties::NON_VIRTUAL, - __bool__isWord, - "", - ""); - I_Method1(bool, matchWord, IN, const char *, str, - Properties::NON_VIRTUAL, - __bool__matchWord__C5_char_P1, - "", - ""); - I_Method2(bool, matchWord, IN, const char *, str, IN, int, noCharacters, - Properties::NON_VIRTUAL, - __bool__matchWord__C5_char_P1__int, - "", - ""); - I_Method0(bool, isString, - Properties::NON_VIRTUAL, - __bool__isString, - "", - ""); - I_Method1(bool, matchString, IN, const char *, str, - Properties::NON_VIRTUAL, - __bool__matchString__C5_char_P1, - "", - ""); - I_Method2(bool, matchString, IN, const char *, str, IN, int, noCharacters, - Properties::NON_VIRTUAL, - __bool__matchString__C5_char_P1__int, - "", - ""); - I_Method0(bool, isQuotedString, - Properties::NON_VIRTUAL, - __bool__isQuotedString, - "", - ""); - I_Method0(const char *, getStr, - Properties::NON_VIRTUAL, - __C5_char_P1__getStr, - "", - ""); - I_Method0(char *, takeStr, - Properties::NON_VIRTUAL, - __char_P1__takeStr, - "", - ""); - I_Method0(bool, isInt, - Properties::NON_VIRTUAL, - __bool__isInt, - "", - ""); - I_Method1(bool, matchInt, IN, int, i, - Properties::NON_VIRTUAL, - __bool__matchInt__int, - "", - ""); - I_Method1(bool, getInt, IN, int &, i, - Properties::NON_VIRTUAL, - __bool__getInt__int_R1, - "", - ""); - I_Method0(bool, isUInt, - Properties::NON_VIRTUAL, - __bool__isUInt, - "", - ""); - I_Method1(bool, matchUInt, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __bool__matchUInt__unsigned_int, - "", - ""); - I_Method1(bool, getUInt, IN, unsigned int &, i, - Properties::NON_VIRTUAL, - __bool__getUInt__unsigned_int_R1, - "", - ""); - I_Method0(bool, isFloat, - Properties::NON_VIRTUAL, - __bool__isFloat, - "", - ""); - I_Method1(bool, matchFloat, IN, float, f, - Properties::NON_VIRTUAL, - __bool__matchFloat__float, - "", - ""); - I_Method1(bool, getFloat, IN, float &, f, - Properties::NON_VIRTUAL, - __bool__getFloat__float_R1, - "", - ""); - I_Method1(bool, getFloat, IN, double &, f, - Properties::NON_VIRTUAL, - __bool__getFloat__double_R1, - "", - ""); - I_StaticMethodWithDefaults2(osgDB::Field::FieldType, calculateFieldType, IN, const char *, str, , IN, bool, withinQuotes, false, - __FieldType__calculateFieldType__C5_char_P1__bool_S, - "", - ""); - I_ProtectedMethod0(void, _init, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___init, - "", - ""); - I_ProtectedMethod0(void, _free, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___free, - "", - ""); - I_ProtectedMethod1(void, _copy, IN, const osgDB::Field &, ic, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___copy__C5_Field_R1, - "", - ""); - I_SimpleProperty(osgDB::Field::FieldType, FieldType, - __FieldType__getFieldType, - 0); - I_SimpleProperty(int, NoCharacters, - __int__getNoCharacters, - 0); - I_SimpleProperty(int, NoNestedBrackets, - __int__getNoNestedBrackets, - __void__setNoNestedBrackets__int); - I_SimpleProperty(const char *, Str, - __C5_char_P1__getStr, - 0); - I_SimpleProperty(bool, WithinQuotes, - __bool__getWithinQuotes, - __void__setWithinQuotes__bool); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgDB::FieldReader) - I_DeclaringFile("osgDB/Input"); - I_Constructor0(____FieldReader, - "", - ""); - I_Constructor1(IN, const osgDB::FieldReader &, ic, - Properties::NON_EXPLICIT, - ____FieldReader__C5_FieldReader_R1, - "", - ""); - I_Method1(void, attach, IN, std::istream *, input, - Properties::NON_VIRTUAL, - __void__attach__std_istream_P1, - "", - ""); - I_Method0(void, detach, - Properties::NON_VIRTUAL, - __void__detach, - "", - ""); - I_Method0(bool, eof, - Properties::VIRTUAL, - __bool__eof, - "", - ""); - I_Method1(bool, readField, IN, osgDB::Field &, fieldPtr, - Properties::NON_VIRTUAL, - __bool__readField__Field_R1, - "", - ""); - I_Method0(void, ignoreField, - Properties::NON_VIRTUAL, - __void__ignoreField, - "", - ""); - I_Method0(int, getNoNestedBrackets, - Properties::NON_VIRTUAL, - __int__getNoNestedBrackets, - "no of unmatched `{' encountered so far in file ", - ""); - I_SimpleProperty(int, NoNestedBrackets, - __int__getNoNestedBrackets, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgDB::FieldReaderIterator) - I_DeclaringFile("osgDB/Input"); - I_Constructor0(____FieldReaderIterator, - "", - ""); - I_Constructor1(IN, const osgDB::FieldReaderIterator &, ic, - Properties::NON_EXPLICIT, - ____FieldReaderIterator__C5_FieldReaderIterator_R1, - "", - ""); - I_Method1(void, attach, IN, std::istream *, input, - Properties::NON_VIRTUAL, - __void__attach__std_istream_P1, - "", - ""); - I_Method0(void, detach, - Properties::NON_VIRTUAL, - __void__detach, - "", - ""); - I_Method0(bool, eof, - Properties::VIRTUAL, - __bool__eof, - "", - ""); - I_Method0(osgDB::FieldReader &, getFieldReader, - Properties::NON_VIRTUAL, - __FieldReader_R1__getFieldReader, - "", - ""); - I_Method2(void, insert, IN, int, pos, IN, osgDB::Field *, field, - Properties::NON_VIRTUAL, - __void__insert__int__Field_P1, - "", - ""); - I_Method2(void, insert, IN, int, pos, IN, const char *, str, - Properties::NON_VIRTUAL, - __void__insert__int__C5_char_P1, - "", - ""); - I_Method1(osgDB::Field &, field, IN, int, pos, - Properties::NON_VIRTUAL, - __Field_R1__field__int, - "", - ""); - I_Method0(void, advanceOverCurrentFieldOrBlock, - Properties::NON_VIRTUAL, - __void__advanceOverCurrentFieldOrBlock, - "increments the iterator of the next simple field or whole block if the current field[0] is an open bracket ", - ""); - I_Method0(void, advanceToEndOfCurrentBlock, - Properties::NON_VIRTUAL, - __void__advanceToEndOfCurrentBlock, - "", - ""); - I_Method1(void, advanceToEndOfBlock, IN, int, noNestBrackets, - Properties::NON_VIRTUAL, - __void__advanceToEndOfBlock__int, - "", - ""); - I_Method1(bool, matchSequence, IN, const char *, str, - Properties::NON_VIRTUAL, - __bool__matchSequence__C5_char_P1, - "", - ""); - I_Method2(bool, readSequence, IN, const char *, keyword, IN, std::string &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__C5_char_P1__std_string_R1, - "", - ""); - I_Method2(bool, readSequence, IN, const char *, keyword, IN, unsigned int &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__C5_char_P1__unsigned_int_R1, - "", - ""); - I_Method2(bool, readSequence, IN, const char *, keyword, IN, int &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__C5_char_P1__int_R1, - "", - ""); - I_Method2(bool, readSequence, IN, const char *, keyword, IN, float &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__C5_char_P1__float_R1, - "", - ""); - I_Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec2f &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__C5_char_P1__osg_Vec2f_R1, - "", - ""); - I_Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec3f &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__C5_char_P1__osg_Vec3f_R1, - "", - ""); - I_Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec4f &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__C5_char_P1__osg_Vec4f_R1, - "", - ""); - I_Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec2d &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__C5_char_P1__osg_Vec2d_R1, - "", - ""); - I_Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec3d &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__C5_char_P1__osg_Vec3d_R1, - "", - ""); - I_Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec4d &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__C5_char_P1__osg_Vec4d_R1, - "", - ""); - I_Method1(bool, readSequence, IN, std::string &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__std_string_R1, - "", - ""); - I_Method1(bool, readSequence, IN, unsigned int &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__unsigned_int_R1, - "", - ""); - I_Method1(bool, readSequence, IN, int &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__int_R1, - "", - ""); - I_Method1(bool, readSequence, IN, float &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__float_R1, - "", - ""); - I_Method1(bool, readSequence, IN, osg::Vec2f &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__osg_Vec2f_R1, - "", - ""); - I_Method1(bool, readSequence, IN, osg::Vec3f &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__osg_Vec3f_R1, - "", - ""); - I_Method1(bool, readSequence, IN, osg::Vec4f &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__osg_Vec4f_R1, - "", - ""); - I_Method1(bool, readSequence, IN, osg::Vec2d &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__osg_Vec2d_R1, - "", - ""); - I_Method1(bool, readSequence, IN, osg::Vec3d &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__osg_Vec3d_R1, - "", - ""); - I_Method1(bool, readSequence, IN, osg::Vec4d &, value, - Properties::NON_VIRTUAL, - __bool__readSequence__osg_Vec4d_R1, - "", - ""); - I_SimpleProperty(osgDB::FieldReader &, FieldReader, - __FieldReader_R1__getFieldReader, - 0); -END_REFLECTOR - -TYPE_NAME_ALIAS(osg::ArgumentParser::Parameter, osgDB::Input::Parameter) - -BEGIN_OBJECT_REFLECTOR(osgDB::Input) - I_DeclaringFile("osgDB/Input"); - I_BaseType(osgDB::FieldReaderIterator); - I_Constructor0(____Input, - "", - ""); - I_Method1(void, setOptions, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __void__setOptions__C5_Options_P1, - "", - ""); - I_Method0(const osgDB::Options *, getOptions, - Properties::NON_VIRTUAL, - __C5_Options_P1__getOptions, - "", - ""); - I_Method1(osg::Object *, readObjectOfType, IN, const osg::Object &, compObj, - Properties::VIRTUAL, - __osg_Object_P1__readObjectOfType__C5_osg_Object_R1, - "", - ""); - I_Method1(osg::Object *, readObjectOfType, IN, const osgDB::basic_type_wrapper &, btw, - Properties::VIRTUAL, - __osg_Object_P1__readObjectOfType__C5_basic_type_wrapper_R1, - "", - ""); - I_Method0(osg::Object *, readObject, - Properties::VIRTUAL, - __osg_Object_P1__readObject, - "", - ""); - I_Method0(osg::Image *, readImage, - Properties::VIRTUAL, - __osg_Image_P1__readImage, - "", - ""); - I_Method0(osg::Drawable *, readDrawable, - Properties::VIRTUAL, - __osg_Drawable_P1__readDrawable, - "", - ""); - I_Method0(osg::StateAttribute *, readStateAttribute, - Properties::VIRTUAL, - __osg_StateAttribute_P1__readStateAttribute, - "", - ""); - I_Method0(osg::Uniform *, readUniform, - Properties::VIRTUAL, - __osg_Uniform_P1__readUniform, - "", - ""); - I_Method0(osg::Node *, readNode, - Properties::VIRTUAL, - __osg_Node_P1__readNode, - "", - ""); - I_Method0(osg::Shader *, readShader, - Properties::VIRTUAL, - __osg_Shader_P1__readShader, - "", - ""); - I_Method1(osg::Object *, readObject, IN, const std::string &, fileName, - Properties::VIRTUAL, - __osg_Object_P1__readObject__C5_std_string_R1, - "", - ""); - I_Method1(osg::Image *, readImage, IN, const std::string &, fileName, - Properties::VIRTUAL, - __osg_Image_P1__readImage__C5_std_string_R1, - "", - ""); - I_Method1(osg::Node *, readNode, IN, const std::string &, fileName, - Properties::VIRTUAL, - __osg_Node_P1__readNode__C5_std_string_R1, - "", - ""); - I_Method1(osg::Shader *, readShader, IN, const std::string &, fileName, - Properties::VIRTUAL, - __osg_Shader_P1__readShader__C5_std_string_R1, - "", - ""); - I_Method1(osg::Object *, getObjectForUniqueID, IN, const std::string &, uniqueID, - Properties::VIRTUAL, - __osg_Object_P1__getObjectForUniqueID__C5_std_string_R1, - "", - ""); - I_Method2(void, registerUniqueIDForObject, IN, const std::string &, uniqueID, IN, osg::Object *, obj, - Properties::VIRTUAL, - __void__registerUniqueIDForObject__C5_std_string_R1__osg_Object_P1, - "", - ""); - I_Method1(bool, read, IN, osgDB::Input::Parameter, value1, - Properties::NON_VIRTUAL, - __bool__read__Parameter, - "", - ""); - I_Method2(bool, read, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, - Properties::NON_VIRTUAL, - __bool__read__Parameter__Parameter, - "", - ""); - I_Method3(bool, read, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, - Properties::NON_VIRTUAL, - __bool__read__Parameter__Parameter__Parameter, - "", - ""); - I_Method4(bool, read, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, IN, osgDB::Input::Parameter, value4, - Properties::NON_VIRTUAL, - __bool__read__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method5(bool, read, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, IN, osgDB::Input::Parameter, value4, IN, osgDB::Input::Parameter, value5, - Properties::NON_VIRTUAL, - __bool__read__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method6(bool, read, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, IN, osgDB::Input::Parameter, value4, IN, osgDB::Input::Parameter, value5, IN, osgDB::Input::Parameter, value6, - Properties::NON_VIRTUAL, - __bool__read__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method7(bool, read, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, IN, osgDB::Input::Parameter, value4, IN, osgDB::Input::Parameter, value5, IN, osgDB::Input::Parameter, value6, IN, osgDB::Input::Parameter, value7, - Properties::NON_VIRTUAL, - __bool__read__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method8(bool, read, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, IN, osgDB::Input::Parameter, value4, IN, osgDB::Input::Parameter, value5, IN, osgDB::Input::Parameter, value6, IN, osgDB::Input::Parameter, value7, IN, osgDB::Input::Parameter, value8, - Properties::NON_VIRTUAL, - __bool__read__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method1(bool, read, IN, const char *, str, - Properties::NON_VIRTUAL, - __bool__read__C5_char_P1, - "", - ""); - I_Method2(bool, read, IN, const char *, str, IN, osgDB::Input::Parameter, value1, - Properties::NON_VIRTUAL, - __bool__read__C5_char_P1__Parameter, - "", - ""); - I_Method3(bool, read, IN, const char *, str, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, - Properties::NON_VIRTUAL, - __bool__read__C5_char_P1__Parameter__Parameter, - "", - ""); - I_Method4(bool, read, IN, const char *, str, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, - Properties::NON_VIRTUAL, - __bool__read__C5_char_P1__Parameter__Parameter__Parameter, - "", - ""); - I_Method5(bool, read, IN, const char *, str, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, IN, osgDB::Input::Parameter, value4, - Properties::NON_VIRTUAL, - __bool__read__C5_char_P1__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method6(bool, read, IN, const char *, str, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, IN, osgDB::Input::Parameter, value4, IN, osgDB::Input::Parameter, value5, - Properties::NON_VIRTUAL, - __bool__read__C5_char_P1__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method7(bool, read, IN, const char *, str, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, IN, osgDB::Input::Parameter, value4, IN, osgDB::Input::Parameter, value5, IN, osgDB::Input::Parameter, value6, - Properties::NON_VIRTUAL, - __bool__read__C5_char_P1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method8(bool, read, IN, const char *, str, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, IN, osgDB::Input::Parameter, value4, IN, osgDB::Input::Parameter, value5, IN, osgDB::Input::Parameter, value6, IN, osgDB::Input::Parameter, value7, - Properties::NON_VIRTUAL, - __bool__read__C5_char_P1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_Method9(bool, read, IN, const char *, str, IN, osgDB::Input::Parameter, value1, IN, osgDB::Input::Parameter, value2, IN, osgDB::Input::Parameter, value3, IN, osgDB::Input::Parameter, value4, IN, osgDB::Input::Parameter, value5, IN, osgDB::Input::Parameter, value6, IN, osgDB::Input::Parameter, value7, IN, osgDB::Input::Parameter, value8, - Properties::NON_VIRTUAL, - __bool__read__C5_char_P1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter, - "", - ""); - I_SimpleProperty(const osgDB::Options *, Options, - __C5_Options_P1__getOptions, - __void__setOptions__C5_Options_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/ObjectWrapper.cpp b/src/osgWrappers/introspection/osgDB/ObjectWrapper.cpp deleted file mode 100644 index 7a9bbfa92..000000000 --- a/src/osgWrappers/introspection/osgDB/ObjectWrapper.cpp +++ /dev/null @@ -1,26 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< std::string >, osgDB::StringList) - diff --git a/src/osgWrappers/introspection/osgDB/Options.cpp b/src/osgWrappers/introspection/osgDB/Options.cpp deleted file mode 100644 index 712ccbd31..000000000 --- a/src/osgWrappers/introspection/osgDB/Options.cpp +++ /dev/null @@ -1,303 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgDB::Options::CacheHintOptions) - I_DeclaringFile("osgDB/Options"); - I_EnumLabel(osgDB::Options::CACHE_NONE); - I_EnumLabel(osgDB::Options::CACHE_NODES); - I_EnumLabel(osgDB::Options::CACHE_IMAGES); - I_EnumLabel(osgDB::Options::CACHE_HEIGHTFIELDS); - I_EnumLabel(osgDB::Options::CACHE_ARCHIVES); - I_EnumLabel(osgDB::Options::CACHE_OBJECTS); - I_EnumLabel(osgDB::Options::CACHE_SHADERS); - I_EnumLabel(osgDB::Options::CACHE_ALL); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgDB::Options::PrecisionHint) - I_DeclaringFile("osgDB/Options"); - I_EnumLabel(osgDB::Options::FLOAT_PRECISION_ALL); - I_EnumLabel(osgDB::Options::DOUBLE_PRECISION_VERTEX); - I_EnumLabel(osgDB::Options::DOUBLE_PRECISION_NORMAL); - I_EnumLabel(osgDB::Options::DOUBLE_PRECISION_COLOR); - I_EnumLabel(osgDB::Options::DOUBLE_PRECISION_SECONDARY_COLOR); - I_EnumLabel(osgDB::Options::DOUBLE_PRECISION_FOG_COORD); - I_EnumLabel(osgDB::Options::DOUBLE_PRECISION_TEX_COORD); - I_EnumLabel(osgDB::Options::DOUBLE_PRECISION_VERTEX_ATTRIB); - I_EnumLabel(osgDB::Options::DOUBLE_PRECISION_ALL); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgDB::Options::BuildKdTreesHint) - I_DeclaringFile("osgDB/Options"); - I_EnumLabel(osgDB::Options::NO_PREFERENCE); - I_EnumLabel(osgDB::Options::DO_NOT_BUILD_KDTREES); - I_EnumLabel(osgDB::Options::BUILD_KDTREES); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgDB::Options) - I_DeclaringFile("osgDB/Options"); - I_BaseType(osg::Object); - I_Constructor0(____Options, - "", - ""); - I_Constructor1(IN, const std::string &, str, - Properties::NON_EXPLICIT, - ____Options__C5_std_string_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgDB::Options &, options, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Options__C5_Options_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osgDB::Options *, cloneOptions, - Properties::NON_VIRTUAL, - __Options_P1__cloneOptions, - "", - ""); - I_Method1(void, setOptionString, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __void__setOptionString__C5_std_string_R1, - "Set the general Options string. ", - ""); - I_Method0(const std::string &, getOptionString, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getOptionString, - "Get the general Options string. ", - ""); - I_Method1(void, setDatabasePath, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __void__setDatabasePath__C5_std_string_R1, - "Set the database path to use a hint of where to look when loading models. ", - ""); - I_Method0(osgDB::FilePathList &, getDatabasePathList, - Properties::NON_VIRTUAL, - __FilePathList_R1__getDatabasePathList, - "Get the database path which is used a hint of where to look when loading models. ", - ""); - I_Method0(const osgDB::FilePathList &, getDatabasePathList, - Properties::NON_VIRTUAL, - __C5_FilePathList_R1__getDatabasePathList, - "Get the const database path which is used a hint of where to look when loading models. ", - ""); - I_Method1(void, setObjectCacheHint, IN, osgDB::Options::CacheHintOptions, useObjectCache, - Properties::NON_VIRTUAL, - __void__setObjectCacheHint__CacheHintOptions, - "Set whether the Registry::ObjectCache should be used by default. ", - ""); - I_Method0(osgDB::Options::CacheHintOptions, getObjectCacheHint, - Properties::NON_VIRTUAL, - __CacheHintOptions__getObjectCacheHint, - "Get whether the Registry::ObjectCache should be used by default. ", - ""); - I_Method1(void, setPrecisionHint, IN, osgDB::Options::PrecisionHint, hint, - Properties::NON_VIRTUAL, - __void__setPrecisionHint__PrecisionHint, - "Set which geometry attributes plugins should import at double precision. ", - ""); - I_Method0(osgDB::Options::PrecisionHint, getPrecisionHint, - Properties::NON_VIRTUAL, - __PrecisionHint__getPrecisionHint, - "Get which geometry attributes plugins should import at double precision. ", - ""); - I_Method1(void, setBuildKdTreesHint, IN, osgDB::Options::BuildKdTreesHint, hint, - Properties::NON_VIRTUAL, - __void__setBuildKdTreesHint__BuildKdTreesHint, - "Set whether the KdTrees should be built for geometry in the loader model. ", - ""); - I_Method0(osgDB::Options::BuildKdTreesHint, getBuildKdTreesHint, - Properties::NON_VIRTUAL, - __BuildKdTreesHint__getBuildKdTreesHint, - "Get whether the KdTrees should be built for geometry in the loader model. ", - ""); - I_Method1(void, setAuthenticationMap, IN, osgDB::AuthenticationMap *, authenticationMap, - Properties::NON_VIRTUAL, - __void__setAuthenticationMap__AuthenticationMap_P1, - "Set the password map to be used by plugins when access files from secure locations. ", - ""); - I_Method0(const osgDB::AuthenticationMap *, getAuthenticationMap, - Properties::NON_VIRTUAL, - __C5_AuthenticationMap_P1__getAuthenticationMap, - "Get the password map to be used by plugins when access files from secure locations. ", - ""); - I_Method2(void, setPluginData, IN, const std::string &, s, IN, void *, v, - Properties::NON_VIRTUAL, - __void__setPluginData__C5_std_string_R1__void_P1, - "Sets a plugindata value PluginData with a string. ", - ""); - I_Method1(void *, getPluginData, IN, const std::string &, s, - Properties::NON_VIRTUAL, - __void_P1__getPluginData__C5_std_string_R1, - "Get a value from the PluginData. ", - ""); - I_Method1(const void *, getPluginData, IN, const std::string &, s, - Properties::NON_VIRTUAL, - __C5_void_P1__getPluginData__C5_std_string_R1, - "Get a value from the PluginData. ", - ""); - I_Method1(void, removePluginData, IN, const std::string &, s, - Properties::NON_VIRTUAL, - __void__removePluginData__C5_std_string_R1, - "Remove a value from the PluginData. ", - ""); - I_Method2(void, setPluginStringData, IN, const std::string &, s, IN, const std::string &, v, - Properties::NON_VIRTUAL, - __void__setPluginStringData__C5_std_string_R1__C5_std_string_R1, - "Sets a plugindata value PluginData with a string. ", - ""); - I_Method1(std::string &, getPluginStringData, IN, const std::string &, s, - Properties::NON_VIRTUAL, - __std_string_R1__getPluginStringData__C5_std_string_R1, - "Get a string from the PluginStrData. ", - ""); - I_Method1(const std::string, getPluginStringData, IN, const std::string &, s, - Properties::NON_VIRTUAL, - __C5_std_string__getPluginStringData__C5_std_string_R1, - "Get a value from the PluginData. ", - ""); - I_Method1(void, removePluginStringData, IN, const std::string &, s, - Properties::NON_VIRTUAL, - __void__removePluginStringData__C5_std_string_R1, - "Remove a value from the PluginData. ", - ""); - I_Method1(void, setFindFileCallback, IN, osgDB::FindFileCallback *, cb, - Properties::NON_VIRTUAL, - __void__setFindFileCallback__FindFileCallback_P1, - "Set the find callback to use in place of the default findFile calls. ", - ""); - I_Method0(osgDB::FindFileCallback *, getFindFileCallback, - Properties::NON_VIRTUAL, - __FindFileCallback_P1__getFindFileCallback, - "Get the const findFile callback. ", - ""); - I_Method1(void, setReadFileCallback, IN, osgDB::ReadFileCallback *, cb, - Properties::NON_VIRTUAL, - __void__setReadFileCallback__ReadFileCallback_P1, - "Set the read callback to use in place of the default readFile calls. ", - ""); - I_Method0(osgDB::ReadFileCallback *, getReadFileCallback, - Properties::NON_VIRTUAL, - __ReadFileCallback_P1__getReadFileCallback, - "Get the const readFile callback. ", - ""); - I_Method1(void, setWriteFileCallback, IN, osgDB::WriteFileCallback *, cb, - Properties::NON_VIRTUAL, - __void__setWriteFileCallback__WriteFileCallback_P1, - "Set the callback to use in place of the default writeFile calls. ", - ""); - I_Method0(osgDB::WriteFileCallback *, getWriteFileCallback, - Properties::NON_VIRTUAL, - __WriteFileCallback_P1__getWriteFileCallback, - "Get the const writeFile callback. ", - ""); - I_Method1(void, setFileLocationCallback, IN, osgDB::FileLocationCallback *, cb, - Properties::NON_VIRTUAL, - __void__setFileLocationCallback__FileLocationCallback_P1, - "Set the callback to use inform the DatabasePager whether a file is located on local or remote file system. ", - ""); - I_Method0(osgDB::FileLocationCallback *, getFileLocationCallback, - Properties::NON_VIRTUAL, - __FileLocationCallback_P1__getFileLocationCallback, - "Get the callback to use inform the DatabasePager whether a file is located on local or remote file system. ", - ""); - I_Method1(void, setFileCache, IN, osgDB::FileCache *, fileCache, - Properties::NON_VIRTUAL, - __void__setFileCache__FileCache_P1, - "Set the FileCache that is used to manage local storage of files downloaded from the internet. ", - ""); - I_Method0(osgDB::FileCache *, getFileCache, - Properties::NON_VIRTUAL, - __FileCache_P1__getFileCache, - "Get the FileCache that is used to manage local storage of files downloaded from the internet. ", - ""); - I_SimpleProperty(osgDB::AuthenticationMap *, AuthenticationMap, - 0, - __void__setAuthenticationMap__AuthenticationMap_P1); - I_SimpleProperty(osgDB::Options::BuildKdTreesHint, BuildKdTreesHint, - __BuildKdTreesHint__getBuildKdTreesHint, - __void__setBuildKdTreesHint__BuildKdTreesHint); - I_SimpleProperty(const std::string &, DatabasePath, - 0, - __void__setDatabasePath__C5_std_string_R1); - I_SimpleProperty(osgDB::FilePathList &, DatabasePathList, - __FilePathList_R1__getDatabasePathList, - 0); - I_SimpleProperty(osgDB::FileCache *, FileCache, - __FileCache_P1__getFileCache, - __void__setFileCache__FileCache_P1); - I_SimpleProperty(osgDB::FileLocationCallback *, FileLocationCallback, - __FileLocationCallback_P1__getFileLocationCallback, - __void__setFileLocationCallback__FileLocationCallback_P1); - I_SimpleProperty(osgDB::FindFileCallback *, FindFileCallback, - __FindFileCallback_P1__getFindFileCallback, - __void__setFindFileCallback__FindFileCallback_P1); - I_SimpleProperty(osgDB::Options::CacheHintOptions, ObjectCacheHint, - __CacheHintOptions__getObjectCacheHint, - __void__setObjectCacheHint__CacheHintOptions); - I_SimpleProperty(const std::string &, OptionString, - __C5_std_string_R1__getOptionString, - __void__setOptionString__C5_std_string_R1); - I_IndexedProperty(void *, PluginData, - __void_P1__getPluginData__C5_std_string_R1, - __void__setPluginData__C5_std_string_R1__void_P1, - 0); - I_SimpleProperty(osgDB::Options::PrecisionHint, PrecisionHint, - __PrecisionHint__getPrecisionHint, - __void__setPrecisionHint__PrecisionHint); - I_SimpleProperty(osgDB::ReadFileCallback *, ReadFileCallback, - __ReadFileCallback_P1__getReadFileCallback, - __void__setReadFileCallback__ReadFileCallback_P1); - I_SimpleProperty(osgDB::WriteFileCallback *, WriteFileCallback, - __WriteFileCallback_P1__getWriteFileCallback, - __void__setWriteFileCallback__WriteFileCallback_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/Output.cpp b/src/osgWrappers/introspection/osgDB/Output.cpp deleted file mode 100644 index 9c062602b..000000000 --- a/src/osgWrappers/introspection/osgDB/Output.cpp +++ /dev/null @@ -1,34 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgDB::Output::PathNameHint) - I_DeclaringFile("osgDB/Output"); - I_EnumLabel(osgDB::Output::AS_IS); - I_EnumLabel(osgDB::Output::FULL_PATH); - I_EnumLabel(osgDB::Output::RELATIVE_PATH); - I_EnumLabel(osgDB::Output::FILENAME_ONLY); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/ParameterOutput.cpp b/src/osgWrappers/introspection/osgDB/ParameterOutput.cpp deleted file mode 100644 index c62916d31..000000000 --- a/src/osgWrappers/introspection/osgDB/ParameterOutput.cpp +++ /dev/null @@ -1,53 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgDB::ParameterOutput) - I_DeclaringFile("osgDB/ParameterOutput"); - I_Constructor1(IN, osgDB::Output &, fw, - Properties::NON_EXPLICIT, - ____ParameterOutput__Output_R1, - "", - ""); - I_Constructor2(IN, osgDB::Output &, fw, IN, int, numItemsPerLine, - ____ParameterOutput__Output_R1__int, - "", - ""); - I_Method0(void, begin, - Properties::NON_VIRTUAL, - __void__begin, - "", - ""); - I_Method0(void, newLine, - Properties::NON_VIRTUAL, - __void__newLine, - "", - ""); - I_Method0(void, end, - Properties::NON_VIRTUAL, - __void__end, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/PluginQuery.cpp b/src/osgWrappers/introspection/osgDB/PluginQuery.cpp deleted file mode 100644 index 95502457d..000000000 --- a/src/osgWrappers/introspection/osgDB/PluginQuery.cpp +++ /dev/null @@ -1,89 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriterInfo) - I_DeclaringFile("osgDB/PluginQuery"); - I_BaseType(osg::Referenced); - I_Constructor0(____ReaderWriterInfo, - "", - ""); - I_PublicMemberProperty(std::string, plugin); - I_PublicMemberProperty(std::string, description); - I_PublicMemberProperty(osgDB::ReaderWriter::FormatDescriptionMap, protocols); - I_PublicMemberProperty(osgDB::ReaderWriter::FormatDescriptionMap, extensions); - I_PublicMemberProperty(osgDB::ReaderWriter::FormatDescriptionMap, options); - I_PublicMemberProperty(osgDB::ReaderWriter::Features, features); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::list< std::string >, osgDB::FileNameList) - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgDB::ReaderWriterInfo > >, osgDB::ReaderWriterInfoList) - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::ReaderWriterInfo >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgDB::ReaderWriterInfo *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgDB::ReaderWriterInfo > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgDB::ReaderWriterInfo > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgDB::ReaderWriterInfo *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgDB::ReaderWriterInfo *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgDB::ReaderWriterInfo > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgDB::ReaderWriterInfo *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgDB::ReaderWriterInfo > >) - diff --git a/src/osgWrappers/introspection/osgDB/ReaderWriter.cpp b/src/osgWrappers/introspection/osgDB/ReaderWriter.cpp deleted file mode 100644 index 19277e71a..000000000 --- a/src/osgWrappers/introspection/osgDB/ReaderWriter.cpp +++ /dev/null @@ -1,501 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::Features) - I_DeclaringFile("osgDB/ReaderWriter"); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_NONE); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_OBJECT); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_IMAGE); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_HEIGHT_FIELD); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_NODE); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_SHADER); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_OBJECT); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_IMAGE); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_HEIGHT_FIELD); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_NODE); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_SHADER); - I_EnumLabel(osgDB::ReaderWriter::FEATURE_ALL); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ArchiveStatus) - I_DeclaringFile("osgDB/ReaderWriter"); - I_EnumLabel(osgDB::ReaderWriter::READ); - I_EnumLabel(osgDB::ReaderWriter::WRITE); - I_EnumLabel(osgDB::ReaderWriter::CREATE); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osgDB::ReaderWriter::FormatDescriptionMap) - -TYPE_NAME_ALIAS(std::list< std::string >, osgDB::ReaderWriter::FeatureList) - -TYPE_NAME_ALIAS(osgDB::Options, osgDB::ReaderWriter::Options) - -BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter) - I_DeclaringFile("osgDB/ReaderWriter"); - I_BaseType(osg::Object); - I_Constructor0(____ReaderWriter, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgDB::ReaderWriter &, rw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ReaderWriter__C5_ReaderWriter_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedProtocols, - Properties::VIRTUAL, - __C5_FormatDescriptionMap_R1__supportedProtocols, - "return which protocols are supported by ReaderWriter. ", - ""); - I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedExtensions, - Properties::VIRTUAL, - __C5_FormatDescriptionMap_R1__supportedExtensions, - "return which list of file extensions supported by ReaderWriter. ", - ""); - I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedOptions, - Properties::VIRTUAL, - __C5_FormatDescriptionMap_R1__supportedOptions, - "return which list of file extensions supported by ReaderWriter. ", - ""); - I_Method1(bool, acceptsExtension, IN, const std::string &, x, - Properties::VIRTUAL, - __bool__acceptsExtension__C5_std_string_R1, - "return true if ReaderWriter accepts specified file extension. ", - ""); - I_Method0(osgDB::ReaderWriter::Features, supportedFeatures, - Properties::VIRTUAL, - __Features__supportedFeatures, - "return available features ", - ""); - I_Method2(bool, fileExists, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, - Properties::VIRTUAL, - __bool__fileExists__C5_std_string_R1__C5_Options_P1, - "determine if a file exists, normally the default implementation will be approrpiate for local file access but with plugins like the libcurl based on it will return true if the file is accessible a server. ", - ""); - I_MethodWithDefaults4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, x, , IN, osgDB::ReaderWriter::ArchiveStatus, x, , IN, unsigned, int, 4096, IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__openArchive__C5_std_string_R1__ArchiveStatus__unsigned__C5_Options_P1, - "open an archive for reading, writing, or to create an empty archive for writing to. ", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, openArchive, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__openArchive__std_istream_R1__C5_Options_P1, - "open an archive for reading. ", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__readObject__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__readImage__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__readHeightField__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__readNode__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__readShader__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__readObject__std_istream_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__readImage__std_istream_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__readHeightField__std_istream_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__readNode__std_istream_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readShader, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __ReadResult__readShader__std_istream_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __WriteResult__writeObject__C5_osg_Object_R1__std_ostream_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __WriteResult__writeImage__C5_osg_Image_R1__std_ostream_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __WriteResult__writeHeightField__C5_osg_HeightField_R1__std_ostream_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __WriteResult__writeNode__C5_osg_Node_R1__std_ostream_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, - Properties::VIRTUAL, - __WriteResult__writeShader__C5_osg_Shader_R1__std_ostream_R1__C5_Options_P1, - "", - ""); - I_Method2(void, supportsProtocol, IN, const std::string &, fmt, IN, const std::string &, description, - Properties::NON_VIRTUAL, - __void__supportsProtocol__C5_std_string_R1__C5_std_string_R1, - "Specify fmt string as a supported protocol. ", - "Please note, this method should usually only be used internally by subclasses of ReaderWriter, Only in special cases will a ReaderWriter implementation be able to handle a protocol format that is wasn't original designed for. To know whether it's safe to inject a new protocol format to an existing ReaderWriter you will need to review the source code and dependencies of that ReaderWriter. "); - I_Method2(void, supportsExtension, IN, const std::string &, ext, IN, const std::string &, description, - Properties::NON_VIRTUAL, - __void__supportsExtension__C5_std_string_R1__C5_std_string_R1, - "Specify ext string as a supported file extension. ", - "Please note, this method should usually only be used internally by subclasses of ReaderWriter. Only in special cases will a ReaderWriter implementation be able to handle a file extension that is wasn't original designed for. To know whether it's safe to inject a new file extension to an existing ReaderWriter you will need to review the the source code and dependencies of that ReaderWriter. "); - I_Method2(void, supportsOption, IN, const std::string &, opt, IN, const std::string &, description, - Properties::NON_VIRTUAL, - __void__supportsOption__C5_std_string_R1__C5_std_string_R1, - "Specify option string as a supported option string. ", - "Please note, this should usually only be used internally by subclasses of ReaderWriter. "); - I_StaticMethod1(osgDB::ReaderWriter::FeatureList, featureAsString, IN, osgDB::ReaderWriter::Features, feature, - __FeatureList__featureAsString__Features_S, - "return feature as string ", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ReadResult::ReadStatus) - I_DeclaringFile("osgDB/ReaderWriter"); - I_EnumLabel(osgDB::ReaderWriter::ReadResult::NOT_IMPLEMENTED); - I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED); - I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_NOT_FOUND); - I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_LOADED); - I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE); - I_EnumLabel(osgDB::ReaderWriter::ReadResult::ERROR_IN_READING_FILE); - I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_REQUESTED); - I_EnumLabel(osgDB::ReaderWriter::ReadResult::INSUFFICIENT_MEMORY_TO_LOAD); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::ReadResult) - I_DeclaringFile("osgDB/ReaderWriter"); - I_ConstructorWithDefaults1(IN, osgDB::ReaderWriter::ReadResult::ReadStatus, status, osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED, - Properties::NON_EXPLICIT, - ____ReadResult__ReadStatus, - "", - ""); - I_Constructor1(IN, const std::string &, m, - Properties::NON_EXPLICIT, - ____ReadResult__C5_std_string_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, osg::Object *, obj, , IN, osgDB::ReaderWriter::ReadResult::ReadStatus, status, osgDB::ReaderWriter::ReadResult::FILE_LOADED, - ____ReadResult__osg_Object_P1__ReadStatus, - "", - ""); - I_Constructor1(IN, const osgDB::ReaderWriter::ReadResult &, rr, - Properties::NON_EXPLICIT, - ____ReadResult__C5_ReadResult_R1, - "", - ""); - I_Method0(osg::Object *, getObject, - Properties::NON_VIRTUAL, - __osg_Object_P1__getObject, - "", - ""); - I_Method0(osg::Image *, getImage, - Properties::NON_VIRTUAL, - __osg_Image_P1__getImage, - "", - ""); - I_Method0(osg::HeightField *, getHeightField, - Properties::NON_VIRTUAL, - __osg_HeightField_P1__getHeightField, - "", - ""); - I_Method0(osg::Node *, getNode, - Properties::NON_VIRTUAL, - __osg_Node_P1__getNode, - "", - ""); - I_Method0(osgDB::Archive *, getArchive, - Properties::NON_VIRTUAL, - __osgDB_Archive_P1__getArchive, - "", - ""); - I_Method0(osg::Shader *, getShader, - Properties::NON_VIRTUAL, - __osg_Shader_P1__getShader, - "", - ""); - I_Method0(bool, validObject, - Properties::NON_VIRTUAL, - __bool__validObject, - "", - ""); - I_Method0(bool, validImage, - Properties::NON_VIRTUAL, - __bool__validImage, - "", - ""); - I_Method0(bool, validHeightField, - Properties::NON_VIRTUAL, - __bool__validHeightField, - "", - ""); - I_Method0(bool, validNode, - Properties::NON_VIRTUAL, - __bool__validNode, - "", - ""); - I_Method0(bool, validArchive, - Properties::NON_VIRTUAL, - __bool__validArchive, - "", - ""); - I_Method0(bool, validShader, - Properties::NON_VIRTUAL, - __bool__validShader, - "", - ""); - I_Method0(osg::Object *, takeObject, - Properties::NON_VIRTUAL, - __osg_Object_P1__takeObject, - "", - ""); - I_Method0(osg::Image *, takeImage, - Properties::NON_VIRTUAL, - __osg_Image_P1__takeImage, - "", - ""); - I_Method0(osg::HeightField *, takeHeightField, - Properties::NON_VIRTUAL, - __osg_HeightField_P1__takeHeightField, - "", - ""); - I_Method0(osg::Node *, takeNode, - Properties::NON_VIRTUAL, - __osg_Node_P1__takeNode, - "", - ""); - I_Method0(osgDB::Archive *, takeArchive, - Properties::NON_VIRTUAL, - __osgDB_Archive_P1__takeArchive, - "", - ""); - I_Method0(osg::Shader *, takeShader, - Properties::NON_VIRTUAL, - __osg_Shader_P1__takeShader, - "", - ""); - I_Method0(std::string &, message, - Properties::NON_VIRTUAL, - __std_string_R1__message, - "", - ""); - I_Method0(const std::string &, message, - Properties::NON_VIRTUAL, - __C5_std_string_R1__message, - "", - ""); - I_Method0(osgDB::ReaderWriter::ReadResult::ReadStatus, status, - Properties::NON_VIRTUAL, - __ReadStatus__status, - "", - ""); - I_Method0(bool, success, - Properties::NON_VIRTUAL, - __bool__success, - "", - ""); - I_Method0(bool, loadedFromCache, - Properties::NON_VIRTUAL, - __bool__loadedFromCache, - "", - ""); - I_Method0(bool, error, - Properties::NON_VIRTUAL, - __bool__error, - "", - ""); - I_Method0(bool, notHandled, - Properties::NON_VIRTUAL, - __bool__notHandled, - "", - ""); - I_Method0(bool, notFound, - Properties::NON_VIRTUAL, - __bool__notFound, - "", - ""); - I_Method0(bool, notEnoughMemory, - Properties::NON_VIRTUAL, - __bool__notEnoughMemory, - "", - ""); - I_SimpleProperty(osgDB::Archive *, Archive, - __osgDB_Archive_P1__getArchive, - 0); - I_SimpleProperty(osg::HeightField *, HeightField, - __osg_HeightField_P1__getHeightField, - 0); - I_SimpleProperty(osg::Image *, Image, - __osg_Image_P1__getImage, - 0); - I_SimpleProperty(osg::Node *, Node, - __osg_Node_P1__getNode, - 0); - I_SimpleProperty(osg::Object *, Object, - __osg_Object_P1__getObject, - 0); - I_SimpleProperty(osg::Shader *, Shader, - __osg_Shader_P1__getShader, - 0); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::WriteResult::WriteStatus) - I_DeclaringFile("osgDB/ReaderWriter"); - I_EnumLabel(osgDB::ReaderWriter::WriteResult::NOT_IMPLEMENTED); - I_EnumLabel(osgDB::ReaderWriter::WriteResult::FILE_NOT_HANDLED); - I_EnumLabel(osgDB::ReaderWriter::WriteResult::FILE_SAVED); - I_EnumLabel(osgDB::ReaderWriter::WriteResult::ERROR_IN_WRITING_FILE); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::WriteResult) - I_DeclaringFile("osgDB/ReaderWriter"); - I_ConstructorWithDefaults1(IN, osgDB::ReaderWriter::WriteResult::WriteStatus, status, osgDB::ReaderWriter::WriteResult::FILE_NOT_HANDLED, - Properties::NON_EXPLICIT, - ____WriteResult__WriteStatus, - "", - ""); - I_Constructor1(IN, const std::string &, m, - Properties::NON_EXPLICIT, - ____WriteResult__C5_std_string_R1, - "", - ""); - I_Constructor1(IN, const osgDB::ReaderWriter::WriteResult &, rr, - Properties::NON_EXPLICIT, - ____WriteResult__C5_WriteResult_R1, - "", - ""); - I_Method0(std::string &, message, - Properties::NON_VIRTUAL, - __std_string_R1__message, - "", - ""); - I_Method0(const std::string &, message, - Properties::NON_VIRTUAL, - __C5_std_string_R1__message, - "", - ""); - I_Method0(osgDB::ReaderWriter::WriteResult::WriteStatus, status, - Properties::NON_VIRTUAL, - __WriteStatus__status, - "", - ""); - I_Method0(bool, success, - Properties::NON_VIRTUAL, - __bool__success, - "", - ""); - I_Method0(bool, error, - Properties::NON_VIRTUAL, - __bool__error, - "", - ""); - I_Method0(bool, notHandled, - Properties::NON_VIRTUAL, - __bool__notHandled, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/Registry.cpp b/src/osgWrappers/introspection/osgDB/Registry.cpp deleted file mode 100644 index 1cc0c49c9..000000000 --- a/src/osgWrappers/introspection/osgDB/Registry.cpp +++ /dev/null @@ -1,731 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::basic_type_wrapper) - I_DeclaringFile("osgDB/Registry"); - I_Constructor0(____basic_type_wrapper, - "", - ""); - I_Method1(bool, matches, IN, const osg::Object *, proto, - Properties::PURE_VIRTUAL, - __bool__matches__C5_osg_Object_P1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgDB::PluginFunctionProxy) - I_DeclaringFile("osgDB/Registry"); - I_Constructor1(IN, CPluginFunction, function, - Properties::NON_EXPLICIT, - ____PluginFunctionProxy__CPluginFunction, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgDB::Registry::LoadStatus) - I_DeclaringFile("osgDB/Registry"); - I_EnumLabel(osgDB::Registry::NOT_LOADED); - I_EnumLabel(osgDB::Registry::PREVIOUSLY_LOADED); - I_EnumLabel(osgDB::Registry::LOADED); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >, osgDB::Registry::ReaderWriterList) - -TYPE_NAME_ALIAS(class osgDB::FindFileCallback, osgDB::Registry::FindFileCallback) - -TYPE_NAME_ALIAS(class osgDB::ReadFileCallback, osgDB::Registry::ReadFileCallback) - -TYPE_NAME_ALIAS(class osgDB::WriteFileCallback, osgDB::Registry::WriteFileCallback) - -TYPE_NAME_ALIAS(class osgDB::FileLocationCallback, osgDB::Registry::FileLocationCallback) - -BEGIN_OBJECT_REFLECTOR(osgDB::Registry) - I_DeclaringFile("osgDB/Registry"); - I_BaseType(osg::Referenced); - I_StaticMethodWithDefaults1(osgDB::Registry *, instance, IN, bool, erase, false, - __Registry_P1__instance__bool_S, - "", - ""); - I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, commandLine, - Properties::NON_VIRTUAL, - __void__readCommandLine__osg_ArgumentParser_R1, - "read the command line arguments. ", - ""); - I_Method2(void, addFileExtensionAlias, IN, const std::string, mapExt, IN, const std::string, toExt, - Properties::NON_VIRTUAL, - __void__addFileExtensionAlias__C5_std_string__C5_std_string, - "register an .fileextension alias to mapExt toExt, the later should the the extension name of the readerwriter plugin library. ", - "For example to map .tif files to the tiff loader, use addExtAlias(\"tif\",\"tiff\") which will enable .tif to be read by the libdb_tiff readerwriter plugin. "); - I_Method1(bool, readPluginAliasConfigurationFile, IN, const std::string &, file, - Properties::NON_VIRTUAL, - __bool__readPluginAliasConfigurationFile__C5_std_string_R1, - "Reads a file that configures extension mappings. ", - "File is ASCII text and each line contains the parameters to the addFileExtensionAlias method. Lines can be commented out with an initial '#' character. "); - I_Method2(void, addMimeTypeExtensionMapping, IN, const std::string, fromMimeType, IN, const std::string, toExt, - Properties::NON_VIRTUAL, - __void__addMimeTypeExtensionMapping__C5_std_string__C5_std_string, - "Registers a mapping of a mime-type to an extension. ", - "A process fetching data over HTTP can use this facility to determine the proper ReaderWriter to use when there is no filename extension to rely upon. "); - I_Method1(void, addReaderWriter, IN, osgDB::ReaderWriter *, rw, - Properties::NON_VIRTUAL, - __void__addReaderWriter__ReaderWriter_P1, - "", - ""); - I_Method1(void, removeReaderWriter, IN, osgDB::ReaderWriter *, rw, - Properties::NON_VIRTUAL, - __void__removeReaderWriter__ReaderWriter_P1, - "", - ""); - I_Method1(std::string, createLibraryNameForFile, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __std_string__createLibraryNameForFile__C5_std_string_R1, - "create the platform specific library name associated with file. ", - ""); - I_Method1(std::string, createLibraryNameForExtension, IN, const std::string &, ext, - Properties::NON_VIRTUAL, - __std_string__createLibraryNameForExtension__C5_std_string_R1, - "create the platform specific library name associated with file extension. ", - ""); - I_Method1(std::string, createLibraryNameForNodeKit, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __std_string__createLibraryNameForNodeKit__C5_std_string_R1, - "create the platform specific library name associated with nodekit library name. ", - ""); - I_Method1(osgDB::Registry::LoadStatus, loadLibrary, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __LoadStatus__loadLibrary__C5_std_string_R1, - "find the library in the OSG_LIBRARY_PATH and load it. ", - ""); - I_Method1(bool, closeLibrary, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __bool__closeLibrary__C5_std_string_R1, - "close the attached library with specified name. ", - ""); - I_Method0(void, closeAllLibraries, - Properties::NON_VIRTUAL, - __void__closeAllLibraries, - "close all libraries. ", - ""); - I_Method1(osgDB::ReaderWriter *, getReaderWriterForExtension, IN, const std::string &, ext, - Properties::NON_VIRTUAL, - __ReaderWriter_P1__getReaderWriterForExtension__C5_std_string_R1, - "get a reader writer which handles specified extension. ", - ""); - I_Method1(osgDB::ReaderWriter *, getReaderWriterForMimeType, IN, const std::string &, mimeType, - Properties::NON_VIRTUAL, - __ReaderWriter_P1__getReaderWriterForMimeType__C5_std_string_R1, - "gets a reader/writer that handles the extension mapped to by one of the registered mime-types. ", - ""); - I_Method0(osgDB::Registry::ReaderWriterList &, getReaderWriterList, - Properties::NON_VIRTUAL, - __ReaderWriterList_R1__getReaderWriterList, - "get list of all registered ReaderWriters. ", - ""); - I_Method0(const osgDB::Registry::ReaderWriterList &, getReaderWriterList, - Properties::NON_VIRTUAL, - __C5_ReaderWriterList_R1__getReaderWriterList, - "get const list of all registered ReaderWriters. ", - ""); - I_Method1(void, setFindFileCallback, IN, osgDB::Registry::FindFileCallback *, cb, - Properties::NON_VIRTUAL, - __void__setFindFileCallback__FindFileCallback_P1, - "Set the Registry callback to use in place of the default findFile calls. ", - ""); - I_Method0(osgDB::Registry::FindFileCallback *, getFindFileCallback, - Properties::NON_VIRTUAL, - __FindFileCallback_P1__getFindFileCallback, - "Get the findFile callback. ", - ""); - I_Method0(const osgDB::Registry::FindFileCallback *, getFindFileCallback, - Properties::NON_VIRTUAL, - __C5_FindFileCallback_P1__getFindFileCallback, - "Get the const findFile callback. ", - ""); - I_Method3(std::string, findDataFile, IN, const std::string &, fileName, IN, const osgDB::Options *, options, IN, osgDB::CaseSensitivity, caseSensitivity, - Properties::NON_VIRTUAL, - __std_string__findDataFile__C5_std_string_R1__C5_Options_P1__CaseSensitivity, - "", - ""); - I_Method3(std::string, findDataFileImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options, IN, osgDB::CaseSensitivity, caseSensitivity, - Properties::NON_VIRTUAL, - __std_string__findDataFileImplementation__C5_std_string_R1__C5_Options_P1__CaseSensitivity, - "", - ""); - I_Method3(std::string, findLibraryFile, IN, const std::string &, fileName, IN, const osgDB::Options *, options, IN, osgDB::CaseSensitivity, caseSensitivity, - Properties::NON_VIRTUAL, - __std_string__findLibraryFile__C5_std_string_R1__C5_Options_P1__CaseSensitivity, - "", - ""); - I_Method3(std::string, findLibraryFileImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options, IN, osgDB::CaseSensitivity, caseSensitivity, - Properties::NON_VIRTUAL, - __std_string__findLibraryFileImplementation__C5_std_string_R1__C5_Options_P1__CaseSensitivity, - "", - ""); - I_Method1(void, setReadFileCallback, IN, osgDB::Registry::ReadFileCallback *, cb, - Properties::NON_VIRTUAL, - __void__setReadFileCallback__ReadFileCallback_P1, - "Set the Registry callback to use in place of the default readFile calls. ", - ""); - I_Method0(osgDB::Registry::ReadFileCallback *, getReadFileCallback, - Properties::NON_VIRTUAL, - __ReadFileCallback_P1__getReadFileCallback, - "Get the readFile callback. ", - ""); - I_Method0(const osgDB::Registry::ReadFileCallback *, getReadFileCallback, - Properties::NON_VIRTUAL, - __C5_ReadFileCallback_P1__getReadFileCallback, - "Get the const readFile callback. ", - ""); - I_Method4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, fileName, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__openArchive__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_Options_P1, - "", - ""); - I_Method4(osgDB::ReaderWriter::ReadResult, openArchiveImplementation, IN, const std::string &, fileName, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__openArchiveImplementation__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, fileName, , IN, const osgDB::Options *, options, , IN, bool, buildKdTreeIfRequired, true, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__readObject__C5_std_string_R1__C5_Options_P1__bool, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readObjectImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__readObjectImplementation__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__readImage__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readImageImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__readImageImplementation__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__readHeightField__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readHeightFieldImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__readHeightFieldImplementation__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_MethodWithDefaults3(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, fileName, , IN, const osgDB::Options *, options, , IN, bool, buildKdTreeIfRequired, true, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__readNode__C5_std_string_R1__C5_Options_P1__bool, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readNodeImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__readNodeImplementation__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__readShader__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method2(osgDB::ReaderWriter::ReadResult, readShaderImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_ReadResult__readShaderImplementation__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method1(void, setWriteFileCallback, IN, osgDB::Registry::WriteFileCallback *, cb, - Properties::NON_VIRTUAL, - __void__setWriteFileCallback__WriteFileCallback_P1, - "Set the Registry callback to use in place of the default writeFile calls. ", - ""); - I_Method0(osgDB::Registry::WriteFileCallback *, getWriteFileCallback, - Properties::NON_VIRTUAL, - __WriteFileCallback_P1__getWriteFileCallback, - "Get the writeFile callback. ", - ""); - I_Method0(const osgDB::Registry::WriteFileCallback *, getWriteFileCallback, - Properties::NON_VIRTUAL, - __C5_WriteFileCallback_P1__getWriteFileCallback, - "Get the const writeFile callback. ", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeObjectImplementation, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_WriteResult__writeObjectImplementation__C5_osg_Object_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeImageImplementation, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_WriteResult__writeImageImplementation__C5_osg_Image_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightFieldImplementation, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_WriteResult__writeHeightFieldImplementation__C5_osg_HeightField_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, node, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeNodeImplementation, IN, const osg::Node &, node, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_WriteResult__writeNodeImplementation__C5_osg_Node_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method3(osgDB::ReaderWriter::WriteResult, writeShaderImplementation, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __ReaderWriter_WriteResult__writeShaderImplementation__C5_osg_Shader_R1__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method2(void, _buildKdTreeIfRequired, IN, osgDB::ReaderWriter::ReadResult &, result, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - __void___buildKdTreeIfRequired__ReaderWriter_ReadResult_R1__C5_Options_P1, - "", - ""); - I_Method1(void, setFileLocationCallback, IN, osgDB::Registry::FileLocationCallback *, cb, - Properties::NON_VIRTUAL, - __void__setFileLocationCallback__FileLocationCallback_P1, - "Set the callback to use inform the DatabasePager whether a file is located on local or remote file system. ", - ""); - I_Method0(osgDB::Registry::FileLocationCallback *, getFileLocationCallback, - Properties::NON_VIRTUAL, - __FileLocationCallback_P1__getFileLocationCallback, - "Get the callback to use inform the DatabasePager whether a file is located on local or remote file system. ", - ""); - I_Method1(void, setBuildKdTreesHint, IN, osgDB::Options::BuildKdTreesHint, hint, - Properties::NON_VIRTUAL, - __void__setBuildKdTreesHint__Options_BuildKdTreesHint, - "Set whether the KdTrees should be built for geometry in the loader model. ", - ""); - I_Method0(osgDB::Options::BuildKdTreesHint, getBuildKdTreesHint, - Properties::NON_VIRTUAL, - __Options_BuildKdTreesHint__getBuildKdTreesHint, - "Get whether the KdTrees should be built for geometry in the loader model. ", - ""); - I_Method1(void, setKdTreeBuilder, IN, osg::KdTreeBuilder *, builder, - Properties::NON_VIRTUAL, - __void__setKdTreeBuilder__osg_KdTreeBuilder_P1, - "Set the KdTreeBuilder visitor that is used to build KdTree on loaded models. ", - ""); - I_Method0(osg::KdTreeBuilder *, getKdTreeBuilder, - Properties::NON_VIRTUAL, - __osg_KdTreeBuilder_P1__getKdTreeBuilder, - "Get the KdTreeBuilder visitor that is used to build KdTree on loaded models. ", - ""); - I_Method1(void, setFileCache, IN, osgDB::FileCache *, fileCache, - Properties::NON_VIRTUAL, - __void__setFileCache__FileCache_P1, - "Set the FileCache that is used to manage local storage of files downloaded from the internet. ", - ""); - I_Method0(osgDB::FileCache *, getFileCache, - Properties::NON_VIRTUAL, - __FileCache_P1__getFileCache, - "Get the FileCache that is used to manage local storage of files downloaded from the internet. ", - ""); - I_Method0(const osgDB::FileCache *, getFileCache, - Properties::NON_VIRTUAL, - __C5_FileCache_P1__getFileCache, - "Get the const FileCache that is used to manage local storage of files downloaded from the internet. ", - ""); - I_Method1(void, setAuthenticationMap, IN, osgDB::AuthenticationMap *, authenticationMap, - Properties::NON_VIRTUAL, - __void__setAuthenticationMap__AuthenticationMap_P1, - "Set the password map to be used by plugins when access files from secure locations. ", - ""); - I_Method0(osgDB::AuthenticationMap *, getAuthenticationMap, - Properties::NON_VIRTUAL, - __AuthenticationMap_P1__getAuthenticationMap, - "Get the password map to be used by plugins when access files from secure locations. ", - ""); - I_Method0(const osgDB::AuthenticationMap *, getAuthenticationMap, - Properties::NON_VIRTUAL, - __C5_AuthenticationMap_P1__getAuthenticationMap, - "Get the password map to be used by plugins when access files from secure locations. ", - ""); - I_Method1(void, setCreateNodeFromImage, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setCreateNodeFromImage__bool, - "", - ""); - I_Method0(bool, getCreateNodeFromImage, - Properties::NON_VIRTUAL, - __bool__getCreateNodeFromImage, - "", - ""); - I_Method1(void, setOptions, IN, osgDB::Options *, opt, - Properties::NON_VIRTUAL, - __void__setOptions__Options_P1, - "", - ""); - I_Method0(osgDB::Options *, getOptions, - Properties::NON_VIRTUAL, - __Options_P1__getOptions, - "", - ""); - I_Method0(const osgDB::Options *, getOptions, - Properties::NON_VIRTUAL, - __C5_Options_P1__getOptions, - "", - ""); - I_Method0(void, initFilePathLists, - Properties::NON_VIRTUAL, - __void__initFilePathLists, - "initialize 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. ", - ""); - I_Method0(void, initDataFilePathList, - Properties::NON_VIRTUAL, - __void__initDataFilePathList, - "initialize the Data FilePath by reading the OSG_FILE_PATH environmental variable. ", - ""); - I_Method1(void, setDataFilePathList, IN, const osgDB::FilePathList &, filepath, - Properties::NON_VIRTUAL, - __void__setDataFilePathList__C5_FilePathList_R1, - "Set the data file path using a list of paths stored in a FilePath, which is used when search for data files. ", - ""); - I_Method1(void, setDataFilePathList, IN, const std::string &, paths, - Properties::NON_VIRTUAL, - __void__setDataFilePathList__C5_std_string_R1, - "Set the data file path using a single string delimited either with ';' (Windows) or ':' (All other platforms), which is used when search for data files. ", - ""); - I_Method0(osgDB::FilePathList &, getDataFilePathList, - Properties::NON_VIRTUAL, - __FilePathList_R1__getDataFilePathList, - "get the data file path which is used when search for data files. ", - ""); - I_Method0(const osgDB::FilePathList &, getDataFilePathList, - Properties::NON_VIRTUAL, - __C5_FilePathList_R1__getDataFilePathList, - "get the const data file path which is used when search for data files. ", - ""); - I_Method0(void, initLibraryFilePathList, - Properties::NON_VIRTUAL, - __void__initLibraryFilePathList, - "initialize the Library FilePath by reading the OSG_LIBRARY_PATH and the appropriate system environmental variables ", - ""); - I_Method1(void, setLibraryFilePathList, IN, const osgDB::FilePathList &, filepath, - Properties::NON_VIRTUAL, - __void__setLibraryFilePathList__C5_FilePathList_R1, - "Set the library file path using a list of paths stored in a FilePath, which is used when search for data files. ", - ""); - I_Method1(void, setLibraryFilePathList, IN, const std::string &, paths, - Properties::NON_VIRTUAL, - __void__setLibraryFilePathList__C5_std_string_R1, - "Set the library file path using a single string delimited either with ';' (Windows) or ':' (All other platforms), which is used when search for data files. ", - ""); - I_Method0(osgDB::FilePathList &, getLibraryFilePathList, - Properties::NON_VIRTUAL, - __FilePathList_R1__getLibraryFilePathList, - "get the library file path which is used when search for library (dso/dll's) files. ", - ""); - I_Method0(const osgDB::FilePathList &, getLibraryFilePathList, - Properties::NON_VIRTUAL, - __C5_FilePathList_R1__getLibraryFilePathList, - "get the const library file path which is used when search for library (dso/dll's) files. ", - ""); - I_Method1(void, updateTimeStampOfObjectsInCacheWithExternalReferences, IN, const osg::FrameStamp &, frameStamp, - Properties::NON_VIRTUAL, - __void__updateTimeStampOfObjectsInCacheWithExternalReferences__C5_osg_FrameStamp_R1, - "For each object in the cache which has an reference count greater than 1 (and therefore referenced by elsewhere in the application) set the time stamp for that object in the cache to specified time. ", - "This would typically be called once per frame by applications which are doing database paging, and need to prune objects that are no longer required. The time used is taken from the FrameStamp::getReferenceTime(). "); - I_Method1(void, removeExpiredObjectsInCache, IN, const osg::FrameStamp &, frameStamp, - Properties::NON_VIRTUAL, - __void__removeExpiredObjectsInCache__C5_osg_FrameStamp_R1, - "Removed object in the cache which have a time stamp at or before the specified expiry time. ", - "This would typically be called once per frame by applications which are doing database paging, and need to prune objects that are no longer required, and called after the a called after the call to updateTimeStampOfObjectsInCacheWithExternalReferences(frameStamp). "); - I_Method1(void, setExpiryDelay, IN, double, expiryDelay, - Properties::NON_VIRTUAL, - __void__setExpiryDelay__double, - "set hint to viewer code calling removeExpiredObjectsInCache to specify how long it should give before expiring objects in Registry cache, ", - ""); - I_Method0(double, getExpiryDelay, - Properties::NON_VIRTUAL, - __double__getExpiryDelay, - "", - ""); - I_Method0(void, clearObjectCache, - Properties::NON_VIRTUAL, - __void__clearObjectCache, - "Remove all objects in the cache regardless of having external references or expiry times. ", - ""); - I_MethodWithDefaults3(void, addEntryToObjectCache, IN, const std::string &, filename, , IN, osg::Object *, object, , IN, double, timestamp, 0.0, - Properties::NON_VIRTUAL, - __void__addEntryToObjectCache__C5_std_string_R1__osg_Object_P1__double, - "Add a filename,object,timestamp triple to the Registry::ObjectCache. ", - ""); - I_Method1(osg::Object *, getFromObjectCache, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __osg_Object_P1__getFromObjectCache__C5_std_string_R1, - "Get an object from the object cache. ", - ""); - I_Method2(void, addToArchiveCache, IN, const std::string &, fileName, IN, osgDB::Archive *, archive, - Properties::NON_VIRTUAL, - __void__addToArchiveCache__C5_std_string_R1__osgDB_Archive_P1, - "Add archive to archive cache so that future calls reference this archive. ", - ""); - I_Method1(void, removeFromArchiveCache, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __void__removeFromArchiveCache__C5_std_string_R1, - "Remove archive from cache. ", - ""); - I_Method1(osgDB::Archive *, getFromArchiveCache, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __osgDB_Archive_P1__getFromArchiveCache__C5_std_string_R1, - "Get an archive from the archive cache. ", - ""); - I_Method0(void, clearArchiveCache, - Properties::NON_VIRTUAL, - __void__clearArchiveCache, - "Remove all archives from the archive cache. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::NON_VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objexts for all graphics contexts. "); - I_Method1(osgDB::DynamicLibrary *, getLibrary, IN, const std::string &, fileName, - Properties::NON_VIRTUAL, - __DynamicLibrary_P1__getLibrary__C5_std_string_R1, - "get the attached library with specified name. ", - ""); - I_Method1(void, setSharedStateManager, IN, osgDB::SharedStateManager *, SharedStateManager, - Properties::NON_VIRTUAL, - __void__setSharedStateManager__SharedStateManager_P1, - "Set the SharedStateManager. ", - ""); - I_Method0(osgDB::SharedStateManager *, getOrCreateSharedStateManager, - Properties::NON_VIRTUAL, - __SharedStateManager_P1__getOrCreateSharedStateManager, - "Get the SharedStateManager, creating one if one is not already created. ", - ""); - I_Method0(osgDB::SharedStateManager *, getSharedStateManager, - Properties::NON_VIRTUAL, - __SharedStateManager_P1__getSharedStateManager, - "Get the SharedStateManager. ", - "Return 0 if no SharedStateManager has been assigned. "); - I_Method1(void, addArchiveExtension, IN, const std::string, ext, - Properties::NON_VIRTUAL, - __void__addArchiveExtension__C5_std_string, - "Add an Archive extension. ", - ""); - I_Method1(void, registerProtocol, IN, const std::string &, protocol, - Properties::NON_VIRTUAL, - __void__registerProtocol__C5_std_string_R1, - "registers a protocol ", - ""); - I_Method1(bool, isProtocolRegistered, IN, const std::string &, protocol, - Properties::NON_VIRTUAL, - __bool__isProtocolRegistered__C5_std_string_R1, - "returns true, if named protocol is registered ", - ""); - I_Method0(osgDB::DeprecatedDotOsgWrapperManager *, getDeprecatedDotOsgObjectWrapperManager, - Properties::NON_VIRTUAL, - __DeprecatedDotOsgWrapperManager_P1__getDeprecatedDotOsgObjectWrapperManager, - "Get the ObjectWrapperManager that is used to store all the ObjectWrappers. ", - ""); - I_ProtectedConstructor0(____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 ", - ""); - - I_ProtectedMethod0(void, destruct, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__destruct, - "", - ""); - I_ProtectedMethod1(osgDB::ReaderWriter::ReadResult, read, IN, const osgDB::Registry::ReadFunctor &, readFunctor, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __ReaderWriter_ReadResult__read__C5_ReadFunctor_R1, - "", - ""); - I_ProtectedMethod2(osgDB::ReaderWriter::ReadResult, readImplementation, IN, const osgDB::Registry::ReadFunctor &, readFunctor, IN, osgDB::Options::CacheHintOptions, cacheHint, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __ReaderWriter_ReadResult__readImplementation__C5_ReadFunctor_R1__Options_CacheHintOptions, - "", - ""); - I_SimpleProperty(osgDB::AuthenticationMap *, AuthenticationMap, - __AuthenticationMap_P1__getAuthenticationMap, - __void__setAuthenticationMap__AuthenticationMap_P1); - I_SimpleProperty(osgDB::Options::BuildKdTreesHint, BuildKdTreesHint, - __Options_BuildKdTreesHint__getBuildKdTreesHint, - __void__setBuildKdTreesHint__Options_BuildKdTreesHint); - I_SimpleProperty(bool, CreateNodeFromImage, - __bool__getCreateNodeFromImage, - __void__setCreateNodeFromImage__bool); - I_SimpleProperty(const osgDB::FilePathList &, DataFilePathList, - __C5_FilePathList_R1__getDataFilePathList, - __void__setDataFilePathList__C5_FilePathList_R1); - I_SimpleProperty(osgDB::DeprecatedDotOsgWrapperManager *, DeprecatedDotOsgObjectWrapperManager, - __DeprecatedDotOsgWrapperManager_P1__getDeprecatedDotOsgObjectWrapperManager, - 0); - I_SimpleProperty(double, ExpiryDelay, - __double__getExpiryDelay, - __void__setExpiryDelay__double); - I_SimpleProperty(osgDB::FileCache *, FileCache, - __FileCache_P1__getFileCache, - __void__setFileCache__FileCache_P1); - I_SimpleProperty(osgDB::Registry::FileLocationCallback *, FileLocationCallback, - __FileLocationCallback_P1__getFileLocationCallback, - __void__setFileLocationCallback__FileLocationCallback_P1); - I_SimpleProperty(osgDB::Registry::FindFileCallback *, FindFileCallback, - __FindFileCallback_P1__getFindFileCallback, - __void__setFindFileCallback__FindFileCallback_P1); - I_SimpleProperty(osg::KdTreeBuilder *, KdTreeBuilder, - __osg_KdTreeBuilder_P1__getKdTreeBuilder, - __void__setKdTreeBuilder__osg_KdTreeBuilder_P1); - I_SimpleProperty(const osgDB::FilePathList &, LibraryFilePathList, - __C5_FilePathList_R1__getLibraryFilePathList, - __void__setLibraryFilePathList__C5_FilePathList_R1); - - I_SimpleProperty(osgDB::Options *, Options, - __Options_P1__getOptions, - __void__setOptions__Options_P1); - I_SimpleProperty(osgDB::Registry::ReadFileCallback *, ReadFileCallback, - __ReadFileCallback_P1__getReadFileCallback, - __void__setReadFileCallback__ReadFileCallback_P1); - I_SimpleProperty(osgDB::Registry::ReaderWriterList &, ReaderWriterList, - __ReaderWriterList_R1__getReaderWriterList, - 0); - I_SimpleProperty(osgDB::SharedStateManager *, SharedStateManager, - __SharedStateManager_P1__getSharedStateManager, - __void__setSharedStateManager__SharedStateManager_P1); - I_SimpleProperty(osgDB::Registry::WriteFileCallback *, WriteFileCallback, - __WriteFileCallback_P1__getWriteFileCallback, - __void__setWriteFileCallback__WriteFileCallback_P1); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::Registry::ReadFunctor) - I_DeclaringFile("osgDB/Registry"); - I_Constructor2(IN, const std::string &, filename, IN, const osgDB::Options *, options, - ____ReadFunctor__C5_std_string_R1__C5_Options_P1, - "", - ""); - I_Method1(osgDB::ReaderWriter::ReadResult, doRead, IN, osgDB::ReaderWriter &, rw, - Properties::PURE_VIRTUAL, - __ReaderWriter_ReadResult__doRead__ReaderWriter_R1, - "", - ""); - I_Method1(bool, isValid, IN, osgDB::ReaderWriter::ReadResult &, readResult, - Properties::PURE_VIRTUAL, - __bool__isValid__ReaderWriter_ReadResult_R1, - "", - ""); - I_Method1(bool, isValid, IN, osg::Object *, object, - Properties::PURE_VIRTUAL, - __bool__isValid__osg_Object_P1, - "", - ""); - I_PublicMemberProperty(std::string, _filename); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::ReaderWriter >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgDB::ReaderWriter *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgDB::ReaderWriter > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgDB::ReaderWriter > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgDB::ReaderWriter *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgDB::ReaderWriter *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgDB::ReaderWriter > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgDB::ReaderWriter *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >) - diff --git a/src/osgWrappers/introspection/osgDB/SharedStateManager.cpp b/src/osgWrappers/introspection/osgDB/SharedStateManager.cpp deleted file mode 100644 index 8bae2809e..000000000 --- a/src/osgWrappers/introspection/osgDB/SharedStateManager.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgDB::SharedStateManager::ShareMode) - I_DeclaringFile("osgDB/SharedStateManager"); - I_EnumLabel(osgDB::SharedStateManager::SHARE_NONE); - I_EnumLabel(osgDB::SharedStateManager::SHARE_STATIC_TEXTURES); - I_EnumLabel(osgDB::SharedStateManager::SHARE_UNSPECIFIED_TEXTURES); - I_EnumLabel(osgDB::SharedStateManager::SHARE_DYNAMIC_TEXTURES); - I_EnumLabel(osgDB::SharedStateManager::SHARE_STATIC_STATESETS); - I_EnumLabel(osgDB::SharedStateManager::SHARE_UNSPECIFIED_STATESETS); - I_EnumLabel(osgDB::SharedStateManager::SHARE_DYNAMIC_STATESETS); - I_EnumLabel(osgDB::SharedStateManager::SHARE_TEXTURES); - I_EnumLabel(osgDB::SharedStateManager::SHARE_STATESETS); - I_EnumLabel(osgDB::SharedStateManager::SHARE_ALL); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgDB::SharedStateManager) - I_DeclaringFile("osgDB/SharedStateManager"); - I_BaseType(osg::NodeVisitor); - I_ConstructorWithDefaults1(IN, unsigned int, mode, osgDB::SharedStateManager::SHARE_ALL, - Properties::NON_EXPLICIT, - ____SharedStateManager__unsigned_int, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method1(void, setShareMode, IN, unsigned int, mode, - Properties::NON_VIRTUAL, - __void__setShareMode__unsigned_int, - "", - ""); - I_Method0(unsigned int, getShareMode, - Properties::NON_VIRTUAL, - __unsigned_int__getShareMode, - "", - ""); - I_Method0(void, prune, - Properties::NON_VIRTUAL, - __void__prune, - "", - ""); - I_MethodWithDefaults2(void, share, IN, osg::Node *, node, , IN, OpenThreads::Mutex *, mt, 0, - Properties::NON_VIRTUAL, - __void__share__osg_Node_P1__OpenThreads_Mutex_P1, - "", - ""); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(bool, isShared, IN, osg::StateSet *, stateSet, - Properties::NON_VIRTUAL, - __bool__isShared__osg_StateSet_P1, - "", - ""); - I_ProtectedMethod1(bool, shareTexture, IN, osg::Object::DataVariance, variance, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__shareTexture__osg_Object_DataVariance, - "", - ""); - I_ProtectedMethod1(bool, shareStateSet, IN, osg::Object::DataVariance, variance, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__shareStateSet__osg_Object_DataVariance, - "", - ""); - I_ProtectedMethod2(void, process, IN, osg::StateSet *, ss, IN, osg::Object *, parent, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__process__osg_StateSet_P1__osg_Object_P1, - "", - ""); - I_ProtectedMethod1(osg::StateAttribute *, find, IN, osg::StateAttribute *, sa, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_StateAttribute_P1__find__osg_StateAttribute_P1, - "", - ""); - I_ProtectedMethod1(osg::StateSet *, find, IN, osg::StateSet *, ss, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_StateSet_P1__find__osg_StateSet_P1, - "", - ""); - I_ProtectedMethod2(void, setStateSet, IN, osg::StateSet *, ss, IN, osg::Object *, object, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setStateSet__osg_StateSet_P1__osg_Object_P1, - "", - ""); - I_ProtectedMethod1(void, shareTextures, IN, osg::StateSet *, ss, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__shareTextures__osg_StateSet_P1, - "", - ""); - I_SimpleProperty(unsigned int, ShareMode, - __unsigned_int__getShareMode, - __void__setShareMode__unsigned_int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgDB/XmlParser.cpp b/src/osgWrappers/introspection/osgDB/XmlParser.cpp deleted file mode 100644 index ac49dab82..000000000 --- a/src/osgWrappers/introspection/osgDB/XmlParser.cpp +++ /dev/null @@ -1,224 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgDB::XmlNode::NodeType) - I_DeclaringFile("osgDB/XmlParser"); - I_EnumLabel(osgDB::XmlNode::UNASSIGNED); - I_EnumLabel(osgDB::XmlNode::ATOM); - I_EnumLabel(osgDB::XmlNode::NODE); - I_EnumLabel(osgDB::XmlNode::GROUP); - I_EnumLabel(osgDB::XmlNode::ROOT); - I_EnumLabel(osgDB::XmlNode::COMMENT); - I_EnumLabel(osgDB::XmlNode::INFORMATION); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osgDB::XmlNode::Properties) - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgDB::XmlNode > >, osgDB::XmlNode::Children) - -BEGIN_OBJECT_REFLECTOR(osgDB::XmlNode) - I_DeclaringFile("osgDB/XmlParser"); - I_BaseType(osg::Referenced); - I_Constructor0(____XmlNode, - "", - ""); - I_Method0(std::string, getTrimmedContents, - Properties::NON_VIRTUAL, - __std_string__getTrimmedContents, - "", - ""); - I_Method1(bool, read, IN, osgDB::XmlNode::Input &, input, - Properties::NON_VIRTUAL, - __bool__read__Input_R1, - "", - ""); - I_MethodWithDefaults2(bool, write, IN, std::ostream &, fout, , IN, const std::string &, indent, "", - Properties::NON_VIRTUAL, - __bool__write__std_ostream_R1__C5_std_string_R1, - "", - ""); - I_MethodWithDefaults3(bool, write, IN, const osgDB::XmlNode::ControlMap &, controlMap, , IN, std::ostream &, fout, , IN, const std::string &, indent, "", - Properties::NON_VIRTUAL, - __bool__write__C5_ControlMap_R1__std_ostream_R1__C5_std_string_R1, - "", - ""); - I_Method3(bool, writeString, IN, const osgDB::XmlNode::ControlMap &, controlMap, IN, std::ostream &, fout, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __bool__writeString__C5_ControlMap_R1__std_ostream_R1__C5_std_string_R1, - "", - ""); - I_ProtectedMethod3(bool, writeChildren, IN, const osgDB::XmlNode::ControlMap &, controlMap, IN, std::ostream &, fout, IN, const std::string &, indent, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__writeChildren__C5_ControlMap_R1__std_ostream_R1__C5_std_string_R1, - "", - ""); - I_ProtectedMethod2(bool, writeProperties, IN, const osgDB::XmlNode::ControlMap &, controlMap, IN, std::ostream &, fout, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__writeProperties__C5_ControlMap_R1__std_ostream_R1, - "", - ""); - I_SimpleProperty(std::string, TrimmedContents, - __std_string__getTrimmedContents, - 0); - I_PublicMemberProperty(osgDB::XmlNode::NodeType, type); - I_PublicMemberProperty(std::string, name); - I_PublicMemberProperty(std::string, contents); - I_PublicMemberProperty(osgDB::XmlNode::Properties, properties); - I_PublicMemberProperty(osgDB::XmlNode::Children, children); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< std::string COMMA int >, osgDB::XmlNode::ControlMap::ControlToCharacterMap) - -TYPE_NAME_ALIAS(std::map< int COMMA std::string >, osgDB::XmlNode::ControlMap::CharacterToControlMap) - -BEGIN_VALUE_REFLECTOR(osgDB::XmlNode::ControlMap) - I_DeclaringFile("osgDB/XmlParser"); - I_Constructor0(____ControlMap, - "", - ""); - I_Method2(void, addControlToCharacter, IN, const std::string &, control, IN, int, c, - Properties::NON_VIRTUAL, - __void__addControlToCharacter__C5_std_string_R1__int, - "", - ""); - I_PublicMemberProperty(osgDB::XmlNode::ControlMap::ControlToCharacterMap, _controlToCharacterMap); - I_PublicMemberProperty(osgDB::XmlNode::ControlMap::CharacterToControlMap, _characterToControlMap); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::string::size_type, osgDB::XmlNode::Input::size_type) - -BEGIN_OBJECT_REFLECTOR(osgDB::XmlNode::Input) - I_DeclaringFile("osgDB/XmlParser"); - I_BaseType(osgDB::XmlNode::ControlMap); - I_Constructor0(____Input, - "", - ""); - I_Constructor1(IN, const osgDB::XmlNode::Input &, x, - Properties::NON_EXPLICIT, - ____Input__C5_Input_R1, - "", - ""); - I_Method1(void, open, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __void__open__C5_std_string_R1, - "", - ""); - I_Method1(void, attach, IN, std::istream &, istream, - Properties::NON_VIRTUAL, - __void__attach__std_istream_R1, - "", - ""); - I_Method0(void, readAllDataIntoBuffer, - Properties::NON_VIRTUAL, - __void__readAllDataIntoBuffer, - "", - ""); - I_Method0(osgDB::XmlNode::Input::size_type, currentPosition, - Properties::NON_VIRTUAL, - __size_type__currentPosition, - "", - ""); - I_Method0(int, get, - Properties::NON_VIRTUAL, - __int__get, - "", - ""); - I_Method0(void, skipWhiteSpace, - Properties::NON_VIRTUAL, - __void__skipWhiteSpace, - "", - ""); - I_MethodWithDefaults2(std::string, substr, IN, osgDB::XmlNode::Input::size_type, pos, , IN, osgDB::XmlNode::Input::size_type, n, std::string::npos, - Properties::NON_VIRTUAL, - __std_string__substr__size_type__size_type, - "", - ""); - I_Method1(osgDB::XmlNode::Input::size_type, find, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __size_type__find__C5_std_string_R1, - "", - ""); - I_Method1(bool, match, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __bool__match__C5_std_string_R1, - "", - ""); - I_SimpleProperty(int, , - __int__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::XmlNode >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgDB::XmlNode *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgDB::XmlNode > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgDB::XmlNode > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgDB::XmlNode *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgDB::XmlNode *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgDB::XmlNode > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgDB::XmlNode *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< int COMMA std::string >) - -STD_MAP_REFLECTOR(std::map< std::string COMMA int >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgDB::XmlNode > >) - diff --git a/src/osgWrappers/introspection/osgFX/AnisotropicLighting.cpp b/src/osgWrappers/introspection/osgFX/AnisotropicLighting.cpp deleted file mode 100644 index fe6af0c82..000000000 --- a/src/osgWrappers/introspection/osgFX/AnisotropicLighting.cpp +++ /dev/null @@ -1,122 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgFX::AnisotropicLighting) - I_DeclaringFile("osgFX/AnisotropicLighting"); - I_BaseType(osgFX::Effect); - I_Constructor0(____AnisotropicLighting, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgFX::AnisotropicLighting &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AnisotropicLighting__C5_AnisotropicLighting_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(const char *, effectName, - Properties::VIRTUAL, - __C5_char_P1__effectName, - "get the name of this Effect ", - ""); - I_Method0(const char *, effectDescription, - Properties::VIRTUAL, - __C5_char_P1__effectDescription, - "get a brief description of this Effect ", - ""); - I_Method0(const char *, effectAuthor, - Properties::VIRTUAL, - __C5_char_P1__effectAuthor, - "get the effect author's name ", - ""); - I_Method0(osg::Image *, getLightingMap, - Properties::NON_VIRTUAL, - __osg_Image_P1__getLightingMap, - "get the lighting map ", - ""); - I_Method0(const osg::Image *, getLightingMap, - Properties::NON_VIRTUAL, - __C5_osg_Image_P1__getLightingMap, - "get the const lighting map ", - ""); - I_Method1(void, setLightingMap, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__setLightingMap__osg_Image_P1, - "set the lighting map ", - ""); - I_Method0(int, getLightNumber, - Properties::NON_VIRTUAL, - __int__getLightNumber, - "get the OpenGL light number ", - ""); - I_Method1(void, setLightNumber, IN, int, n, - Properties::NON_VIRTUAL, - __void__setLightNumber__int, - "set the OpenGL light number that will be used in lighting computations ", - ""); - I_ProtectedMethod0(bool, define_techniques, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__define_techniques, - "abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ", - "You will usually call addTechnique() inside this method. "); - I_SimpleProperty(int, LightNumber, - __int__getLightNumber, - __void__setLightNumber__int); - I_SimpleProperty(osg::Image *, LightingMap, - __osg_Image_P1__getLightingMap, - __void__setLightingMap__osg_Image_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgFX/BumpMapping.cpp b/src/osgWrappers/introspection/osgFX/BumpMapping.cpp deleted file mode 100644 index 5b6c9049d..000000000 --- a/src/osgWrappers/introspection/osgFX/BumpMapping.cpp +++ /dev/null @@ -1,188 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgFX::BumpMapping) - I_DeclaringFile("osgFX/BumpMapping"); - I_BaseType(osgFX::Effect); - I_Constructor0(____BumpMapping, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgFX::BumpMapping &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____BumpMapping__C5_BumpMapping_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(const char *, effectName, - Properties::VIRTUAL, - __C5_char_P1__effectName, - "get the name of this Effect ", - ""); - I_Method0(const char *, effectDescription, - Properties::VIRTUAL, - __C5_char_P1__effectDescription, - "get a brief description of this Effect ", - ""); - I_Method0(const char *, effectAuthor, - Properties::VIRTUAL, - __C5_char_P1__effectAuthor, - "get the effect author's name ", - ""); - I_Method0(int, getLightNumber, - Properties::NON_VIRTUAL, - __int__getLightNumber, - "get the OpenGL light number ", - ""); - I_Method1(void, setLightNumber, IN, int, n, - Properties::NON_VIRTUAL, - __void__setLightNumber__int, - "set the OpenGL light number that will be used in lighting computations ", - ""); - I_Method0(int, getDiffuseTextureUnit, - Properties::NON_VIRTUAL, - __int__getDiffuseTextureUnit, - "get the texture unit that contains diffuse color texture. ", - "Default is 1 "); - I_Method1(void, setDiffuseTextureUnit, IN, int, n, - Properties::NON_VIRTUAL, - __void__setDiffuseTextureUnit__int, - "set the texture unit that contains diffuse color texture. ", - "Default is 1 "); - I_Method0(int, getNormalMapTextureUnit, - Properties::NON_VIRTUAL, - __int__getNormalMapTextureUnit, - "get the texture unit that contains normal map texture. ", - "Default is 0 "); - I_Method1(void, setNormalMapTextureUnit, IN, int, n, - Properties::NON_VIRTUAL, - __void__setNormalMapTextureUnit__int, - "set the texture unit that contains normal map texture. ", - "Default is 0 "); - I_Method0(osg::Texture2D *, getOverrideDiffuseTexture, - Properties::NON_VIRTUAL, - __osg_Texture2D_P1__getOverrideDiffuseTexture, - "get the diffuse color texture that overrides children's texture ", - ""); - I_Method0(const osg::Texture2D *, getOverrideDiffuseTexture, - Properties::NON_VIRTUAL, - __C5_osg_Texture2D_P1__getOverrideDiffuseTexture, - "get the const diffuse color texture that overrides children's texture ", - ""); - I_Method1(void, setOverrideDiffuseTexture, IN, osg::Texture2D *, texture, - Properties::NON_VIRTUAL, - __void__setOverrideDiffuseTexture__osg_Texture2D_P1, - "set the diffuse color texture that overrides children's texture ", - ""); - I_Method0(osg::Texture2D *, getOverrideNormalMapTexture, - Properties::NON_VIRTUAL, - __osg_Texture2D_P1__getOverrideNormalMapTexture, - "get the normal map texture that overrides children's texture ", - ""); - I_Method0(const osg::Texture2D *, getOverrideNormalMapTexture, - Properties::NON_VIRTUAL, - __C5_osg_Texture2D_P1__getOverrideNormalMapTexture, - "get the const normal map texture that overrides children's texture ", - ""); - I_Method1(void, setOverrideNormalMapTexture, IN, osg::Texture2D *, texture, - Properties::NON_VIRTUAL, - __void__setOverrideNormalMapTexture__osg_Texture2D_P1, - "set the normal map texture that overrides children's texture ", - ""); - I_Method1(void, prepareGeometry, IN, osg::Geometry *, geo, - Properties::NON_VIRTUAL, - __void__prepareGeometry__osg_Geometry_P1, - "prepare a Geometry for bump lighting. ", - "Tangent-space basis vectors are generated and attached to the geometry as vertex attribute arrays. "); - I_Method1(void, prepareNode, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__prepareNode__osg_Node_P1, - "prepare a Node for bump lighting, calling prepareGeometry() for each Geometry ", - ""); - I_Method0(void, prepareChildren, - Properties::NON_VIRTUAL, - __void__prepareChildren, - "prepare children for bump lighting. ", - "Actually calls prepareNode() for each child "); - I_Method0(void, setUpDemo, - Properties::VIRTUAL, - __void__setUpDemo, - "set up a demo environment with predefined diffuse and normal maps, as well as texture coordinates ", - ""); - I_ProtectedMethod0(bool, define_techniques, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__define_techniques, - "abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ", - "You will usually call addTechnique() inside this method. "); - I_SimpleProperty(int, DiffuseTextureUnit, - __int__getDiffuseTextureUnit, - __void__setDiffuseTextureUnit__int); - I_SimpleProperty(int, LightNumber, - __int__getLightNumber, - __void__setLightNumber__int); - I_SimpleProperty(int, NormalMapTextureUnit, - __int__getNormalMapTextureUnit, - __void__setNormalMapTextureUnit__int); - I_SimpleProperty(osg::Texture2D *, OverrideDiffuseTexture, - __osg_Texture2D_P1__getOverrideDiffuseTexture, - __void__setOverrideDiffuseTexture__osg_Texture2D_P1); - I_SimpleProperty(osg::Texture2D *, OverrideNormalMapTexture, - __osg_Texture2D_P1__getOverrideNormalMapTexture, - __void__setOverrideNormalMapTexture__osg_Texture2D_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgFX/Cartoon.cpp b/src/osgWrappers/introspection/osgFX/Cartoon.cpp deleted file mode 100644 index 957982b48..000000000 --- a/src/osgWrappers/introspection/osgFX/Cartoon.cpp +++ /dev/null @@ -1,130 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgFX::Cartoon) - I_DeclaringFile("osgFX/Cartoon"); - I_BaseType(osgFX::Effect); - I_Constructor0(____Cartoon, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgFX::Cartoon &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Cartoon__C5_Cartoon_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(const char *, effectName, - Properties::VIRTUAL, - __C5_char_P1__effectName, - "get the name of this Effect ", - ""); - I_Method0(const char *, effectDescription, - Properties::VIRTUAL, - __C5_char_P1__effectDescription, - "get a brief description of this Effect ", - ""); - I_Method0(const char *, effectAuthor, - Properties::VIRTUAL, - __C5_char_P1__effectAuthor, - "get the effect author's name ", - ""); - I_Method0(const osg::Vec4 &, getOutlineColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getOutlineColor, - "get the outline color ", - ""); - I_Method1(void, setOutlineColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setOutlineColor__C5_osg_Vec4_R1, - "set the outline color ", - ""); - I_Method0(float, getOutlineLineWidth, - Properties::NON_VIRTUAL, - __float__getOutlineLineWidth, - "get the outline line width ", - ""); - I_Method1(void, setOutlineLineWidth, IN, float, w, - Properties::NON_VIRTUAL, - __void__setOutlineLineWidth__float, - "set the outline line width ", - ""); - I_Method0(int, getLightNumber, - Properties::NON_VIRTUAL, - __int__getLightNumber, - "get the OpenGL light number ", - ""); - I_Method1(void, setLightNumber, IN, int, n, - Properties::NON_VIRTUAL, - __void__setLightNumber__int, - "set the OpenGL light number that will be used in lighting computations ", - ""); - I_ProtectedMethod0(bool, define_techniques, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__define_techniques, - "abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ", - "You will usually call addTechnique() inside this method. "); - I_SimpleProperty(int, LightNumber, - __int__getLightNumber, - __void__setLightNumber__int); - I_SimpleProperty(const osg::Vec4 &, OutlineColor, - __C5_osg_Vec4_R1__getOutlineColor, - __void__setOutlineColor__C5_osg_Vec4_R1); - I_SimpleProperty(float, OutlineLineWidth, - __float__getOutlineLineWidth, - __void__setOutlineLineWidth__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgFX/Effect.cpp b/src/osgWrappers/introspection/osgFX/Effect.cpp deleted file mode 100644 index 1c73e112b..000000000 --- a/src/osgWrappers/introspection/osgFX/Effect.cpp +++ /dev/null @@ -1,156 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgFX::Effect::TechniqueSelection) - I_DeclaringFile("osgFX/Effect"); - I_EnumLabel(osgFX::Effect::AUTO_DETECT); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgFX::Effect) - I_DeclaringFile("osgFX/Effect"); - I_BaseType(osg::Group); - I_Constructor0(____Effect, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgFX::Effect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Effect__C5_Effect_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, effectName, - Properties::PURE_VIRTUAL, - __C5_char_P1__effectName, - "get the name of this Effect ", - ""); - I_Method0(const char *, effectDescription, - Properties::PURE_VIRTUAL, - __C5_char_P1__effectDescription, - "get a brief description of this Effect ", - ""); - I_Method0(const char *, effectAuthor, - Properties::PURE_VIRTUAL, - __C5_char_P1__effectAuthor, - "get the effect author's name ", - ""); - I_Method0(bool, getEnabled, - Properties::NON_VIRTUAL, - __bool__getEnabled, - "get whether the effect is enabled or not ", - ""); - I_Method1(void, setEnabled, IN, bool, v, - Properties::NON_VIRTUAL, - __void__setEnabled__bool, - "set whether the effect is enabled or not ", - ""); - I_Method0(void, setUpDemo, - Properties::VIRTUAL, - __void__setUpDemo, - "optional: set effect parameters to produce a visually significant result to be used in demo applications like osgfxbrowser. ", - "Default is to do nothing. "); - I_Method0(int, getNumTechniques, - Properties::NON_VIRTUAL, - __int__getNumTechniques, - "get the number of techniques defined for this Effect ", - ""); - I_Method1(osgFX::Technique *, getTechnique, IN, int, i, - Properties::NON_VIRTUAL, - __Technique_P1__getTechnique__int, - "get the i-th Technique ", - ""); - I_Method1(const osgFX::Technique *, getTechnique, IN, int, i, - Properties::NON_VIRTUAL, - __C5_Technique_P1__getTechnique__int, - "get the i-th const Technique ", - ""); - I_Method0(int, getSelectedTechnique, - Properties::NON_VIRTUAL, - __int__getSelectedTechnique, - "get the index of the currently selected Technique ", - ""); - I_MethodWithDefaults1(void, selectTechnique, IN, int, i, osgFX::Effect::AUTO_DETECT, - Properties::NON_VIRTUAL, - __void__selectTechnique__int, - "select a technique or enable automatic detection ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "custom traversal ", - ""); - I_Method1(void, inherited_traverse, IN, osg::NodeVisitor &, nv, - Properties::NON_VIRTUAL, - __void__inherited_traverse__osg_NodeVisitor_R1, - "default traversal ", - ""); - I_ProtectedMethod0(void, dirtyTechniques, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__dirtyTechniques, - "force rebuilding of techniques on next traversal ", - ""); - I_ProtectedMethod1(void, addTechnique, IN, osgFX::Technique *, tech, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addTechnique__Technique_P1, - "add a technique to the Effect ", - ""); - I_ProtectedMethod0(bool, define_techniques, - Properties::PURE_VIRTUAL, - Properties::NON_CONST, - __bool__define_techniques, - "abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ", - "You will usually call addTechnique() inside this method. "); - I_SimpleProperty(bool, Enabled, - __bool__getEnabled, - __void__setEnabled__bool); - I_SimpleProperty(int, SelectedTechnique, - __int__getSelectedTechnique, - 0); - I_ArrayProperty(osgFX::Technique *, Technique, - __Technique_P1__getTechnique__int, - 0, - __int__getNumTechniques, - 0, - 0, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgFX/MultiTextureControl.cpp b/src/osgWrappers/introspection/osgFX/MultiTextureControl.cpp deleted file mode 100644 index 2095598c3..000000000 --- a/src/osgWrappers/introspection/osgFX/MultiTextureControl.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgFX::MultiTextureControl) - I_DeclaringFile("osgFX/MultiTextureControl"); - I_BaseType(osg::Group); - I_Constructor0(____MultiTextureControl, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgFX::MultiTextureControl &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____MultiTextureControl__C5_MultiTextureControl_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method2(void, setTextureWeight, IN, unsigned int, unit, IN, float, weight, - Properties::NON_VIRTUAL, - __void__setTextureWeight__unsigned_int__float, - "", - ""); - I_Method1(float, getTextureWeight, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __float__getTextureWeight__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumTextureWeights, - Properties::NON_VIRTUAL, - __unsigned_int__getNumTextureWeights, - "", - ""); - I_ProtectedMethod0(void, updateStateSet, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__updateStateSet, - "", - ""); - I_ArrayProperty(float, TextureWeight, - __float__getTextureWeight__unsigned_int, - __void__setTextureWeight__unsigned_int__float, - __unsigned_int__getNumTextureWeights, - 0, - 0, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgFX/Outline.cpp b/src/osgWrappers/introspection/osgFX/Outline.cpp deleted file mode 100644 index 361faf150..000000000 --- a/src/osgWrappers/introspection/osgFX/Outline.cpp +++ /dev/null @@ -1,117 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgFX::Outline) - I_DeclaringFile("osgFX/Outline"); - I_BaseType(osgFX::Effect); - I_Constructor0(____Outline, - "Constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgFX::Outline &, copy, , IN, const osg::CopyOp &, op, osg::CopyOp::SHALLOW_COPY, - ____Outline__C5_Outline_R1__C5_osg_CopyOp_R1, - "Copy constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(const char *, effectName, - Properties::VIRTUAL, - __C5_char_P1__effectName, - "get the name of this Effect ", - ""); - I_Method0(const char *, effectDescription, - Properties::VIRTUAL, - __C5_char_P1__effectDescription, - "get a brief description of this Effect ", - ""); - I_Method0(const char *, effectAuthor, - Properties::VIRTUAL, - __C5_char_P1__effectAuthor, - "get the effect author's name ", - ""); - I_Method1(void, setWidth, IN, float, w, - Properties::NON_VIRTUAL, - __void__setWidth__float, - "Set outline width. ", - ""); - I_Method0(float, getWidth, - Properties::NON_VIRTUAL, - __float__getWidth, - "Get outline width. ", - ""); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_osg_Vec4_R1, - "Set outline color. ", - ""); - I_Method0(const osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColor, - "Get outline color. ", - ""); - I_ProtectedMethod0(bool, define_techniques, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__define_techniques, - "Define available techniques. ", - ""); - I_SimpleProperty(const osg::Vec4 &, Color, - __C5_osg_Vec4_R1__getColor, - __void__setColor__C5_osg_Vec4_R1); - I_SimpleProperty(float, Width, - __float__getWidth, - __void__setWidth__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgFX/Registry.cpp b/src/osgWrappers/introspection/osgFX/Registry.cpp deleted file mode 100644 index bb9f396b2..000000000 --- a/src/osgWrappers/introspection/osgFX/Registry.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ref_ptr< const osgFX::Effect > >, osgFX::Registry::EffectMap) - -BEGIN_OBJECT_REFLECTOR(osgFX::Registry) - I_DeclaringFile("osgFX/Registry"); - I_BaseType(osg::Referenced); - I_StaticMethod0(osgFX::Registry *, instance, - __Registry_P1__instance_S, - "", - ""); - I_Method1(void, registerEffect, IN, const osgFX::Effect *, effect, - Properties::NON_VIRTUAL, - __void__registerEffect__C5_Effect_P1, - "", - ""); - I_Method0(const osgFX::Registry::EffectMap &, getEffectMap, - Properties::NON_VIRTUAL, - __C5_EffectMap_R1__getEffectMap, - "", - ""); - I_ProtectedConstructor0(____Registry, - "", - ""); - I_SimpleProperty(const osgFX::Registry::EffectMap &, EffectMap, - __C5_EffectMap_R1__getEffectMap, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgFX::Registry::Proxy) - I_DeclaringFile("osgFX/Registry"); - I_Constructor1(IN, const osgFX::Effect *, effect, - Properties::NON_EXPLICIT, - ____Proxy__C5_Effect_P1, - "", - ""); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ref_ptr< const osgFX::Effect > >) - diff --git a/src/osgWrappers/introspection/osgFX/Scribe.cpp b/src/osgWrappers/introspection/osgFX/Scribe.cpp deleted file mode 100644 index 7b158ce6b..000000000 --- a/src/osgWrappers/introspection/osgFX/Scribe.cpp +++ /dev/null @@ -1,117 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgFX::Scribe) - I_DeclaringFile("osgFX/Scribe"); - I_BaseType(osgFX::Effect); - I_Constructor0(____Scribe, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgFX::Scribe &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Scribe__C5_Scribe_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(const char *, effectName, - Properties::VIRTUAL, - __C5_char_P1__effectName, - "get the name of this Effect ", - ""); - I_Method0(const char *, effectDescription, - Properties::VIRTUAL, - __C5_char_P1__effectDescription, - "get a brief description of this Effect ", - ""); - I_Method0(const char *, effectAuthor, - Properties::VIRTUAL, - __C5_char_P1__effectAuthor, - "get the effect author's name ", - ""); - I_Method0(const osg::Vec4 &, getWireframeColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getWireframeColor, - "get the wireframe color ", - ""); - I_Method1(void, setWireframeColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setWireframeColor__C5_osg_Vec4_R1, - "set the wireframe color ", - ""); - I_Method0(float, getWireframeLineWidth, - Properties::NON_VIRTUAL, - __float__getWireframeLineWidth, - "get the wireframe line width ", - ""); - I_Method1(void, setWireframeLineWidth, IN, float, w, - Properties::NON_VIRTUAL, - __void__setWireframeLineWidth__float, - "set the wireframe line width ", - ""); - I_ProtectedMethod0(bool, define_techniques, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__define_techniques, - "abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ", - "You will usually call addTechnique() inside this method. "); - I_SimpleProperty(const osg::Vec4 &, WireframeColor, - __C5_osg_Vec4_R1__getWireframeColor, - __void__setWireframeColor__C5_osg_Vec4_R1); - I_SimpleProperty(float, WireframeLineWidth, - __float__getWireframeLineWidth, - __void__setWireframeLineWidth__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgFX/SpecularHighlights.cpp b/src/osgWrappers/introspection/osgFX/SpecularHighlights.cpp deleted file mode 100644 index 611d5bb2d..000000000 --- a/src/osgWrappers/introspection/osgFX/SpecularHighlights.cpp +++ /dev/null @@ -1,143 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgFX::SpecularHighlights) - I_DeclaringFile("osgFX/SpecularHighlights"); - I_BaseType(osgFX::Effect); - I_Constructor0(____SpecularHighlights, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgFX::SpecularHighlights &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____SpecularHighlights__C5_SpecularHighlights_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(const char *, effectName, - Properties::VIRTUAL, - __C5_char_P1__effectName, - "get the name of this Effect ", - ""); - I_Method0(const char *, effectDescription, - Properties::VIRTUAL, - __C5_char_P1__effectDescription, - "get a brief description of this Effect ", - ""); - I_Method0(const char *, effectAuthor, - Properties::VIRTUAL, - __C5_char_P1__effectAuthor, - "get the effect author's name ", - ""); - I_Method0(int, getLightNumber, - Properties::NON_VIRTUAL, - __int__getLightNumber, - "get the OpenGL light number ", - ""); - I_Method1(void, setLightNumber, IN, int, n, - Properties::NON_VIRTUAL, - __void__setLightNumber__int, - "set the OpenGL light number that will be used in lighting computations ", - ""); - I_Method0(int, getTextureUnit, - Properties::NON_VIRTUAL, - __int__getTextureUnit, - "get the texture unit number ", - ""); - I_Method1(void, setTextureUnit, IN, int, n, - Properties::NON_VIRTUAL, - __void__setTextureUnit__int, - "set the texture unit that will be used to apply the cube map ", - ""); - I_Method0(const osg::Vec4 &, getSpecularColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getSpecularColor, - "get the specular color ", - ""); - I_Method1(void, setSpecularColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setSpecularColor__C5_osg_Vec4_R1, - "set the specular color ", - ""); - I_Method0(float, getSpecularExponent, - Properties::NON_VIRTUAL, - __float__getSpecularExponent, - "get the specular exponent ", - ""); - I_Method1(void, setSpecularExponent, IN, float, e, - Properties::NON_VIRTUAL, - __void__setSpecularExponent__float, - "set the specular exponent ", - ""); - I_ProtectedMethod0(bool, define_techniques, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__define_techniques, - "abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ", - "You will usually call addTechnique() inside this method. "); - I_SimpleProperty(int, LightNumber, - __int__getLightNumber, - __void__setLightNumber__int); - I_SimpleProperty(const osg::Vec4 &, SpecularColor, - __C5_osg_Vec4_R1__getSpecularColor, - __void__setSpecularColor__C5_osg_Vec4_R1); - I_SimpleProperty(float, SpecularExponent, - __float__getSpecularExponent, - __void__setSpecularExponent__float); - I_SimpleProperty(int, TextureUnit, - __int__getTextureUnit, - __void__setTextureUnit__int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgFX/Technique.cpp b/src/osgWrappers/introspection/osgFX/Technique.cpp deleted file mode 100644 index 13dec4ec5..000000000 --- a/src/osgWrappers/introspection/osgFX/Technique.cpp +++ /dev/null @@ -1,111 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgFX::Technique) - I_DeclaringFile("osgFX/Technique"); - I_BaseType(osg::Referenced); - I_Constructor0(____Technique, - "", - ""); - I_Method0(const char *, techniqueName, - Properties::VIRTUAL, - __C5_char_P1__techniqueName, - "get the name of this Technique ", - ""); - I_Method0(const char *, techniqueDescription, - Properties::VIRTUAL, - __C5_char_P1__techniqueDescription, - "get a brief description of this Technique ", - ""); - I_Method1(void, getRequiredExtensions, IN, std::vector< std::string > &, x, - Properties::VIRTUAL, - __void__getRequiredExtensions__std_vectorT1_std_string__R1, - "collect the GL extension strings which are required for this technique to work properly. ", - "This method is called from the default implementation of validate(). "); - I_Method1(bool, validate, IN, osg::State &, x, - Properties::VIRTUAL, - __bool__validate__osg_State_R1, - "tests whether this technique is valid for the current rendering context. ", - "The default behavior is to call getRequiredExtensions() and check for extension availability. "); - I_Method0(int, getNumPasses, - Properties::NON_VIRTUAL, - __int__getNumPasses, - "get the number of rendering passes defined in this Technique ", - ""); - I_Method1(osg::StateSet *, getPassStateSet, IN, int, i, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getPassStateSet__int, - "get the StateSet object associated to the i-th pass ", - ""); - I_Method1(const osg::StateSet *, getPassStateSet, IN, int, i, - Properties::NON_VIRTUAL, - __C5_osg_StateSet_P1__getPassStateSet__int, - "get the const StateSet object associated to the i-th pass ", - ""); - I_Method2(void, traverse, IN, osg::NodeVisitor &, nv, IN, osgFX::Effect *, fx, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1__Effect_P1, - "traverse children with multipass if necessary. ", - "By default this method simply calls the protected method traverse_implementation(); you can override it to change the default behavior. Don't call this method directly as it is called by osgFX::Effect "); - I_ProtectedConstructor1(IN, const osgFX::Technique &, x, - Properties::NON_EXPLICIT, - ____Technique__C5_Technique_R1, - "", - ""); - I_ProtectedMethod0(void, dirtyPasses, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__dirtyPasses, - "force rebuilding of pass nodes on next traversal ", - ""); - I_ProtectedMethodWithDefaults1(void, addPass, IN, osg::StateSet *, ss, 0, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addPass__osg_StateSet_P1, - "create a new pass node, add it to the technique and associate a StateSet ", - ""); - I_ProtectedMethod1(osg::Node *, getOverrideChild, IN, int, x, - Properties::VIRTUAL, - Properties::NON_CONST, - __osg_Node_P1__getOverrideChild__int, - "optional: return a node that overrides the child node on a specified pass ", - ""); - I_ProtectedMethod0(void, define_passes, - Properties::PURE_VIRTUAL, - Properties::NON_CONST, - __void__define_passes, - "define the rendering passes that make up this technique. ", - "You must implement this method in derived classes to add the required passes. "); - I_ProtectedMethod2(void, traverse_implementation, IN, osg::NodeVisitor &, nv, IN, osgFX::Effect *, fx, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__traverse_implementation__osg_NodeVisitor_R1__Effect_P1, - "traverse children with multipass if necessary. ", - "Don't call this method directly unless you are in a customized version of traverse(). "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgFX/Validator.cpp b/src/osgWrappers/introspection/osgFX/Validator.cpp deleted file mode 100644 index f2c61caca..000000000 --- a/src/osgWrappers/introspection/osgFX/Validator.cpp +++ /dev/null @@ -1,99 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgFX::Validator) - I_DeclaringFile("osgFX/Validator"); - I_BaseType(osg::StateAttribute); - I_Constructor0(____Validator, - "", - ""); - I_Constructor1(IN, osgFX::Effect *, effect, - Properties::NON_EXPLICIT, - ____Validator__Effect_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgFX::Validator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Validator__C5_Validator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an attribute, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "Return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "Return the name of the attribute's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method0(osg::StateAttribute::Type, getType, - Properties::VIRTUAL, - __Type__getType, - "Return the Type identifier of the attribute's class type. ", - ""); - I_Method1(void, apply, IN, osg::State &, x, - Properties::VIRTUAL, - __void__apply__osg_State_R1, - "apply the OpenGL state attributes. ", - "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); - I_Method1(void, compileGLObjects, IN, osg::State &, x, - Properties::VIRTUAL, - __void__compileGLObjects__osg_State_R1, - "Default to nothing to compile - all state is applied immediately. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, sa, - Properties::VIRTUAL, - __int__compare__C5_osg_StateAttribute_R1, - "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method0(void, disable, - Properties::NON_VIRTUAL, - __void__disable, - "", - ""); - I_SimpleProperty(osg::StateAttribute::Type, Type, - __Type__getType, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/AnimationPathManipulator.cpp b/src/osgWrappers/introspection/osgGA/AnimationPathManipulator.cpp deleted file mode 100644 index 7701e4cd2..000000000 --- a/src/osgWrappers/introspection/osgGA/AnimationPathManipulator.cpp +++ /dev/null @@ -1,148 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgGA::AnimationPathManipulator) - I_DeclaringFile("osgGA/AnimationPathManipulator"); - I_BaseType(osgGA::CameraManipulator); - I_ConstructorWithDefaults1(IN, osg::AnimationPath *, animationPath, 0, - Properties::NON_EXPLICIT, - ____AnimationPathManipulator__osg_AnimationPath_P1, - "", - ""); - I_Constructor1(IN, const std::string &, filename, - Properties::NON_EXPLICIT, - ____AnimationPathManipulator__C5_std_string_R1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setPrintOutTimingInfo, IN, bool, printOutTimingInfo, - Properties::NON_VIRTUAL, - __void__setPrintOutTimingInfo__bool, - "", - ""); - I_Method0(bool, getPrintOutTimingInfo, - Properties::NON_VIRTUAL, - __bool__getPrintOutTimingInfo, - "", - ""); - I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix, - Properties::VIRTUAL, - __void__setByMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix, - Properties::VIRTUAL, - __void__setByInverseMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getMatrix, - "get the position of the manipulator as 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getInverseMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getInverseMatrix, - "get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ", - ""); - I_Method1(void, setAnimationPath, IN, osg::AnimationPath *, animationPath, - Properties::NON_VIRTUAL, - __void__setAnimationPath__osg_AnimationPath_P1, - "", - ""); - I_Method0(osg::AnimationPath *, getAnimationPath, - Properties::NON_VIRTUAL, - __osg_AnimationPath_P1__getAnimationPath, - "", - ""); - I_Method0(const osg::AnimationPath *, getAnimationPath, - Properties::NON_VIRTUAL, - __C5_osg_AnimationPath_P1__getAnimationPath, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Start/restart the manipulator. ", - "FIXME: what does this actually mean? Provide examples. "); - I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Move the camera to the default position. ", - "May be ignored by manipulators if home functionality is not appropriate. "); - I_Method1(void, home, IN, double, x, - Properties::VIRTUAL, - __void__home__double, - "Move the camera to the default position. ", - "This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications. "); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_ProtectedMethod1(void, handleFrame, IN, double, time, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handleFrame__double, - "", - ""); - I_SimpleProperty(osg::AnimationPath *, AnimationPath, - __osg_AnimationPath_P1__getAnimationPath, - __void__setAnimationPath__osg_AnimationPath_P1); - I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix, - 0, - __void__setByInverseMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(const osg::Matrixd &, ByMatrix, - 0, - __void__setByMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(osg::Matrixd, InverseMatrix, - __osg_Matrixd__getInverseMatrix, - 0); - I_SimpleProperty(osg::Matrixd, Matrix, - __osg_Matrixd__getMatrix, - 0); - I_SimpleProperty(bool, PrintOutTimingInfo, - __bool__getPrintOutTimingInfo, - __void__setPrintOutTimingInfo__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/CameraManipulator.cpp b/src/osgWrappers/introspection/osgGA/CameraManipulator.cpp deleted file mode 100644 index c0fe6f166..000000000 --- a/src/osgWrappers/introspection/osgGA/CameraManipulator.cpp +++ /dev/null @@ -1,233 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::CameraManipulator) - I_DeclaringFile("osgGA/CameraManipulator"); - I_BaseType(osgGA::GUIEventHandler); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setCoordinateFrameCallback, IN, osgGA::CameraManipulator::CoordinateFrameCallback *, cb, - Properties::VIRTUAL, - __void__setCoordinateFrameCallback__CoordinateFrameCallback_P1, - "set the coordinate frame which callback tells the manipulator which way is up, east and north. ", - ""); - I_Method0(osgGA::CameraManipulator::CoordinateFrameCallback *, getCoordinateFrameCallback, - Properties::NON_VIRTUAL, - __CoordinateFrameCallback_P1__getCoordinateFrameCallback, - "get the coordinate frame callback which tells the manipulator which way is up, east and north. ", - ""); - I_Method0(const osgGA::CameraManipulator::CoordinateFrameCallback *, getCoordinateFrameCallback, - Properties::NON_VIRTUAL, - __C5_CoordinateFrameCallback_P1__getCoordinateFrameCallback, - "get the coordinate frame callback which tells the manipulator which way is up, east and north. ", - ""); - I_Method1(osg::CoordinateFrame, getCoordinateFrame, IN, const osg::Vec3d &, position, - Properties::NON_VIRTUAL, - __osg_CoordinateFrame__getCoordinateFrame__C5_osg_Vec3d_R1, - "get the coordinate frame. ", - ""); - I_Method1(osg::Vec3d, getSideVector, IN, const osg::CoordinateFrame &, cf, - Properties::NON_VIRTUAL, - __osg_Vec3d__getSideVector__C5_osg_CoordinateFrame_R1, - "", - ""); - I_Method1(osg::Vec3d, getFrontVector, IN, const osg::CoordinateFrame &, cf, - Properties::NON_VIRTUAL, - __osg_Vec3d__getFrontVector__C5_osg_CoordinateFrame_R1, - "", - ""); - I_Method1(osg::Vec3d, getUpVector, IN, const osg::CoordinateFrame &, cf, - Properties::NON_VIRTUAL, - __osg_Vec3d__getUpVector__C5_osg_CoordinateFrame_R1, - "", - ""); - I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix, - Properties::PURE_VIRTUAL, - __void__setByMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix, - Properties::PURE_VIRTUAL, - __void__setByInverseMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getMatrix, - Properties::PURE_VIRTUAL, - __osg_Matrixd__getMatrix, - "get the position of the manipulator as 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getInverseMatrix, - Properties::PURE_VIRTUAL, - __osg_Matrixd__getInverseMatrix, - "get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ", - ""); - I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode, - Properties::VIRTUAL, - __osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode, - "Get the FusionDistanceMode. ", - "Used by SceneView for setting up stereo convergence. "); - I_Method0(float, getFusionDistanceValue, - Properties::VIRTUAL, - __float__getFusionDistanceValue, - "Get the FusionDistanceValue. ", - "Used by SceneView for setting up stereo convergence. "); - I_Method1(void, setIntersectTraversalMask, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setIntersectTraversalMask__unsigned_int, - "Set the mask to use when set up intersection traversal such as used in manipulators that follow terrain or have collision detection. ", - "The intersection traversal mask is useful for controlling what parts of the scene graph should be used for intersection purposes. "); - I_Method0(unsigned int, getIntersectTraversalMask, - Properties::NON_VIRTUAL, - __unsigned_int__getIntersectTraversalMask, - "Get the mask to use when set up intersection traversal such as used in manipulators that follow terrain or have collision detection. ", - ""); - I_Method1(void, setNode, IN, osg::Node *, x, - Properties::VIRTUAL, - __void__setNode__osg_Node_P1, - "Attach a node to the manipulator, automatically detaching any previously attached node. ", - "setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model. "); - I_Method0(const osg::Node *, getNode, - Properties::VIRTUAL, - __C5_osg_Node_P1__getNode, - "Return const node if attached. ", - ""); - I_Method0(osg::Node *, getNode, - Properties::VIRTUAL, - __osg_Node_P1__getNode, - "Return node if attached. ", - ""); - I_MethodWithDefaults4(void, setHomePosition, IN, const osg::Vec3d &, eye, , IN, const osg::Vec3d &, center, , IN, const osg::Vec3d &, up, , IN, bool, autoComputeHomePosition, false, - Properties::VIRTUAL, - __void__setHomePosition__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__bool, - "Manually set the home position, and set the automatic compute of home position. ", - ""); - I_Method3(void, getHomePosition, IN, osg::Vec3d &, eye, IN, osg::Vec3d &, center, IN, osg::Vec3d &, up, - Properties::VIRTUAL, - __void__getHomePosition__osg_Vec3d_R1__osg_Vec3d_R1__osg_Vec3d_R1, - "Get the manually set home position. ", - ""); - I_Method1(void, setAutoComputeHomePosition, IN, bool, flag, - Properties::VIRTUAL, - __void__setAutoComputeHomePosition__bool, - "Set whether the automatic compute of the home position is enabled. ", - ""); - I_Method0(bool, getAutoComputeHomePosition, - Properties::NON_VIRTUAL, - __bool__getAutoComputeHomePosition, - "Get whether the automatic compute of the home position is enabled. ", - ""); - I_MethodWithDefaults2(void, computeHomePosition, IN, const osg::Camera *, camera, NULL, IN, bool, useBoundingBox, false, - Properties::VIRTUAL, - __void__computeHomePosition__C5_osg_Camera_P1__bool, - "Compute the home position. ", - ""); - I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Move the camera to the default position. ", - "May be ignored by manipulators if home functionality is not appropriate. "); - I_Method1(void, home, IN, double, x, - Properties::VIRTUAL, - __void__home__double, - "Move the camera to the default position. ", - "This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications. "); - I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Start/restart the manipulator. ", - "FIXME: what does this actually mean? Provide examples. "); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Handle events, return true if handled, false otherwise. ", - ""); - I_ProtectedConstructor0(____CameraManipulator, - "", - ""); - I_ProtectedConstructorWithDefaults2(IN, const osgGA::CameraManipulator &, mm, , IN, const osg::CopyOp &, copyOp, osg::CopyOp::SHALLOW_COPY, - ____CameraManipulator__C5_CameraManipulator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ProtectedMethod0(std::string, getManipulatorName, - Properties::NON_VIRTUAL, - Properties::CONST, - __std_string__getManipulatorName, - "", - ""); - I_SimpleProperty(bool, AutoComputeHomePosition, - __bool__getAutoComputeHomePosition, - __void__setAutoComputeHomePosition__bool); - I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix, - 0, - __void__setByInverseMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(const osg::Matrixd &, ByMatrix, - 0, - __void__setByMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(osgGA::CameraManipulator::CoordinateFrameCallback *, CoordinateFrameCallback, - __CoordinateFrameCallback_P1__getCoordinateFrameCallback, - __void__setCoordinateFrameCallback__CoordinateFrameCallback_P1); - I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode, - __osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode, - 0); - I_SimpleProperty(float, FusionDistanceValue, - __float__getFusionDistanceValue, - 0); - I_SimpleProperty(unsigned int, IntersectTraversalMask, - __unsigned_int__getIntersectTraversalMask, - __void__setIntersectTraversalMask__unsigned_int); - I_SimpleProperty(osg::Matrixd, InverseMatrix, - __osg_Matrixd__getInverseMatrix, - 0); - I_SimpleProperty(osg::Matrixd, Matrix, - __osg_Matrixd__getMatrix, - 0); - I_SimpleProperty(osg::Node *, Node, - __osg_Node_P1__getNode, - __void__setNode__osg_Node_P1); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::CameraManipulator::CoordinateFrameCallback) - I_DeclaringFile("osgGA/CameraManipulator"); - I_BaseType(osg::Referenced); - I_Constructor0(____CoordinateFrameCallback, - "", - ""); - I_Method1(osg::CoordinateFrame, getCoordinateFrame, IN, const osg::Vec3d &, position, - Properties::PURE_VIRTUAL, - __osg_CoordinateFrame__getCoordinateFrame__C5_osg_Vec3d_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/CameraViewSwitchManipulator.cpp b/src/osgWrappers/introspection/osgGA/CameraViewSwitchManipulator.cpp deleted file mode 100644 index a243853df..000000000 --- a/src/osgWrappers/introspection/osgGA/CameraViewSwitchManipulator.cpp +++ /dev/null @@ -1,157 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::CameraView > >, osgGA::CameraViewSwitchManipulator::CameraViewList) - -BEGIN_OBJECT_REFLECTOR(osgGA::CameraViewSwitchManipulator) - I_DeclaringFile("osgGA/CameraViewSwitchManipulator"); - I_BaseType(osgGA::CameraManipulator); - I_Constructor0(____CameraViewSwitchManipulator, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setByMatrix, IN, const osg::Matrixd &, x, - Properties::VIRTUAL, - __void__setByMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, x, - Properties::VIRTUAL, - __void__setByInverseMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getMatrix, - "get the position of the manipulator as 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getInverseMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getInverseMatrix, - "get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ", - ""); - I_Method1(void, setNode, IN, osg::Node *, x, - Properties::VIRTUAL, - __void__setNode__osg_Node_P1, - "Attach a node to the manipulator. ", - "Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model. "); - I_Method0(const osg::Node *, getNode, - Properties::VIRTUAL, - __C5_osg_Node_P1__getNode, - "Return node if attached. ", - ""); - I_Method0(osg::Node *, getNode, - Properties::VIRTUAL, - __osg_Node_P1__getNode, - "Return node if attached. ", - ""); - I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Start/restart the manipulator. ", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix, - 0, - __void__setByInverseMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(const osg::Matrixd &, ByMatrix, - 0, - __void__setByMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(osg::Matrixd, InverseMatrix, - __osg_Matrixd__getInverseMatrix, - 0); - I_SimpleProperty(osg::Matrixd, Matrix, - __osg_Matrixd__getMatrix, - 0); - I_SimpleProperty(osg::Node *, Node, - __osg_Node_P1__getNode, - __void__setNode__osg_Node_P1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::CameraView >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::CameraView *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::CameraView > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::CameraView > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::CameraView *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::CameraView *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::CameraView > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::CameraView *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::CameraView > >) - diff --git a/src/osgWrappers/introspection/osgGA/DriveManipulator.cpp b/src/osgWrappers/introspection/osgGA/DriveManipulator.cpp deleted file mode 100644 index 1263247eb..000000000 --- a/src/osgWrappers/introspection/osgGA/DriveManipulator.cpp +++ /dev/null @@ -1,186 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator) - I_DeclaringFile("osgGA/DriveManipulator"); - I_BaseType(osgGA::CameraManipulator); - I_Constructor0(____DriveManipulator, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix, - Properties::VIRTUAL, - __void__setByMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix, - Properties::VIRTUAL, - __void__setByInverseMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getMatrix, - "get the position of the manipulator as 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getInverseMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getInverseMatrix, - "get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ", - ""); - I_Method1(void, setNode, IN, osg::Node *, x, - Properties::VIRTUAL, - __void__setNode__osg_Node_P1, - "Attach a node to the manipulator, automatically detaching any previously attached node. ", - "setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model. "); - I_Method0(const osg::Node *, getNode, - Properties::VIRTUAL, - __C5_osg_Node_P1__getNode, - "Return const node if attached. ", - ""); - I_Method0(osg::Node *, getNode, - Properties::VIRTUAL, - __osg_Node_P1__getNode, - "Return node if attached. ", - ""); - I_Method0(void, computeHomePosition, - Properties::VIRTUAL, - __void__computeHomePosition, - "", - ""); - I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Move the camera to the default position. ", - "May be ignored by manipulators if home functionality is not appropriate. "); - I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Start/restart the manipulator. ", - "FIXME: what does this actually mean? Provide examples. "); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_Method1(void, setModelScale, IN, double, in_ms, - Properties::NON_VIRTUAL, - __void__setModelScale__double, - "", - ""); - I_Method0(double, getModelScale, - Properties::NON_VIRTUAL, - __double__getModelScale, - "", - ""); - I_Method1(void, setVelocity, IN, double, in_vel, - Properties::NON_VIRTUAL, - __void__setVelocity__double, - "", - ""); - I_Method0(double, getVelocity, - Properties::NON_VIRTUAL, - __double__getVelocity, - "", - ""); - I_Method1(void, setHeight, IN, double, in_h, - Properties::NON_VIRTUAL, - __void__setHeight__double, - "", - ""); - I_Method0(double, getHeight, - Properties::NON_VIRTUAL, - __double__getHeight, - "", - ""); - I_ProtectedMethod4(bool, intersect, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end, IN, osg::Vec3d &, intersection, IN, osg::Vec3d &, normal, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__intersect__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_ProtectedMethod0(void, flushMouseEventStack, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__flushMouseEventStack, - "Reset the internal GUIEvent stack. ", - ""); - I_ProtectedMethod1(void, addMouseEvent, IN, const osgGA::GUIEventAdapter &, ea, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addMouseEvent__C5_GUIEventAdapter_R1, - "Add the current mouse GUIEvent to internal stack. ", - ""); - I_ProtectedMethod3(void, computePosition, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, lv, IN, const osg::Vec3d &, up, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computePosition__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1, - "", - ""); - I_ProtectedMethod0(bool, calcMovement, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__calcMovement, - "For the give mouse movement calculate the movement of the camera. ", - "Return true is camera has moved and a redraw is required. "); - I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix, - 0, - __void__setByInverseMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(const osg::Matrixd &, ByMatrix, - 0, - __void__setByMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(double, Height, - __double__getHeight, - __void__setHeight__double); - I_SimpleProperty(osg::Matrixd, InverseMatrix, - __osg_Matrixd__getInverseMatrix, - 0); - I_SimpleProperty(osg::Matrixd, Matrix, - __osg_Matrixd__getMatrix, - 0); - I_SimpleProperty(double, ModelScale, - __double__getModelScale, - __void__setModelScale__double); - I_SimpleProperty(osg::Node *, Node, - __osg_Node_P1__getNode, - __void__setNode__osg_Node_P1); - I_SimpleProperty(double, Velocity, - __double__getVelocity, - __void__setVelocity__double); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/EventQueue.cpp b/src/osgWrappers/introspection/osgGA/EventQueue.cpp deleted file mode 100644 index 78e9577ea..000000000 --- a/src/osgWrappers/introspection/osgGA/EventQueue.cpp +++ /dev/null @@ -1,345 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >, osgGA::EventQueue::Events) - -BEGIN_OBJECT_REFLECTOR(osgGA::EventQueue) - I_DeclaringFile("osgGA/EventQueue"); - I_BaseType(osg::Referenced); - I_ConstructorWithDefaults1(IN, osgGA::GUIEventAdapter::MouseYOrientation, mouseYOrientation, osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS, - Properties::NON_EXPLICIT, - ____EventQueue__GUIEventAdapter_MouseYOrientation, - "", - ""); - I_Method1(void, setEvents, IN, osgGA::EventQueue::Events &, events, - Properties::NON_VIRTUAL, - __void__setEvents__Events_R1, - "Set events. ", - ""); - I_Method1(bool, takeEvents, IN, osgGA::EventQueue::Events &, events, - Properties::NON_VIRTUAL, - __bool__takeEvents__Events_R1, - "Take the entire event queue leaving the EventQueue' event queue empty. ", - ""); - I_Method1(bool, copyEvents, IN, osgGA::EventQueue::Events &, events, - Properties::NON_VIRTUAL, - __bool__copyEvents__Events_R1, - "Take a copy the entire event queue leaving the EventQueue' event queue intact. ", - ""); - I_Method1(void, appendEvents, IN, osgGA::EventQueue::Events &, events, - Properties::NON_VIRTUAL, - __void__appendEvents__Events_R1, - "Add events to end of event queue. ", - ""); - I_Method1(void, addEvent, IN, osgGA::GUIEventAdapter *, event, - Properties::NON_VIRTUAL, - __void__addEvent__GUIEventAdapter_P1, - "Add an event to the end of the event queue. ", - ""); - I_Method1(void, setUseFixedMouseInputRange, IN, bool, useFixedMouseInputRange, - Properties::NON_VIRTUAL, - __void__setUseFixedMouseInputRange__bool, - "Specify if mouse coordinates should be transformed into a pre defined input range, or whether they should be simply based on as local coordinates to the window that generated the mouse events. ", - ""); - I_Method0(bool, getUseFixedMouseInputRange, - Properties::NON_VIRTUAL, - __bool__getUseFixedMouseInputRange, - "Get whether the mouse coordinates should be transformed into a pre defined input range. ", - ""); - I_Method1(void, setGraphicsContext, IN, osg::GraphicsContext *, context, - Properties::NON_VIRTUAL, - __void__setGraphicsContext__osg_GraphicsContext_P1, - "Set the graphics context associated with this event queue. ", - ""); - I_Method4(void, setMouseInputRange, IN, float, xMin, IN, float, yMin, IN, float, xMax, IN, float, yMax, - Properties::NON_VIRTUAL, - __void__setMouseInputRange__float__float__float__float, - "Set the mouse input range. ", - ""); - I_Method4(void, windowResize, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__windowResize__int__int__int__int, - "Method for adapting window resize event, placing this event on the back of the event queue. ", - ""); - I_Method5(void, windowResize, IN, int, x, IN, int, y, IN, int, width, IN, int, height, IN, double, time, - Properties::NON_VIRTUAL, - __void__windowResize__int__int__int__int__double, - "Method for adapting window resize event, placing this event on the back of the event queue, with specified time. ", - ""); - I_Method1(void, mouseScroll, IN, osgGA::GUIEventAdapter::ScrollingMotion, sm, - Properties::NON_VIRTUAL, - __void__mouseScroll__GUIEventAdapter_ScrollingMotion, - "Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ", - ""); - I_Method2(void, mouseScroll, IN, osgGA::GUIEventAdapter::ScrollingMotion, sm, IN, double, time, - Properties::NON_VIRTUAL, - __void__mouseScroll__GUIEventAdapter_ScrollingMotion__double, - "Method for adapting mouse scroll wheel events, placing this event on the back of the event queue, with specified time. ", - ""); - I_Method2(void, mouseScroll2D, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - __void__mouseScroll2D__float__float, - "Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ", - ""); - I_Method3(void, mouseScroll2D, IN, float, x, IN, float, y, IN, double, time, - Properties::NON_VIRTUAL, - __void__mouseScroll2D__float__float__double, - "Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ", - ""); - I_Method1(void, penPressure, IN, float, pressure, - Properties::NON_VIRTUAL, - __void__penPressure__float, - "Method for adapting pen pressure events, placing this event on the back of the event queue. ", - ""); - I_Method2(void, penPressure, IN, float, pressure, IN, double, time, - Properties::NON_VIRTUAL, - __void__penPressure__float__double, - "Method for adapting pen pressure events, placing this event on the back of the event queue, with specified time. ", - ""); - I_Method3(void, penOrientation, IN, float, tiltX, IN, float, tiltY, IN, float, rotation, - Properties::NON_VIRTUAL, - __void__penOrientation__float__float__float, - "Method for adapting pen orientation events, placing this event on the back of the event queue. ", - ""); - I_Method4(void, penOrientation, IN, float, tiltX, IN, float, tiltY, IN, float, rotation, IN, double, time, - Properties::NON_VIRTUAL, - __void__penOrientation__float__float__float__double, - "Method for adapting pen orientation events, placing this event on the back of the event queue, with specified time. ", - ""); - I_Method2(void, penProximity, IN, osgGA::GUIEventAdapter::TabletPointerType, pt, IN, bool, isEntering, - Properties::NON_VIRTUAL, - __void__penProximity__GUIEventAdapter_TabletPointerType__bool, - "Method for adapting pen proximity events, placing this event on the back of the event queue. ", - ""); - I_Method3(void, penProximity, IN, osgGA::GUIEventAdapter::TabletPointerType, pt, IN, bool, isEntering, IN, double, time, - Properties::NON_VIRTUAL, - __void__penProximity__GUIEventAdapter_TabletPointerType__bool__double, - "Method for adapting pen proximity events, placing this event on the back of the event queue, with specified time. ", - ""); - I_Method2(void, mouseWarped, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - __void__mouseWarped__float__float, - "Method for updating in response to a mouse warp. ", - "Note, just moves the mouse position without creating a new event for it. "); - I_Method2(void, mouseMotion, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - __void__mouseMotion__float__float, - "Method for adapting mouse motion events, placing this event on the back of the event queue. ", - ""); - I_Method3(void, mouseMotion, IN, float, x, IN, float, y, IN, double, time, - Properties::NON_VIRTUAL, - __void__mouseMotion__float__float__double, - "Method for adapting mouse motion events, placing this event on the back of the event queue, with specified time. ", - ""); - I_Method3(void, mouseButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button, - Properties::NON_VIRTUAL, - __void__mouseButtonPress__float__float__unsigned_int, - "Method for adapting mouse button pressed events, placing this event on the back of the event queue. ", - "Button numbering is 1 for left mouse button, 2 for middle, 3 for right. "); - I_Method4(void, mouseButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time, - Properties::NON_VIRTUAL, - __void__mouseButtonPress__float__float__unsigned_int__double, - "Method for adapting mouse button pressed events, placing this event on the back of the event queue, with specified time. ", - "Button numbering is 1 for left mouse button, 2 for middle, 3 for right. "); - I_Method3(void, mouseDoubleButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button, - Properties::NON_VIRTUAL, - __void__mouseDoubleButtonPress__float__float__unsigned_int, - "Method for adapting mouse button pressed events, placing this event on the back of the event queue. ", - "Button numbering is 1 for left mouse button, 2 for middle, 3 for right. "); - I_Method4(void, mouseDoubleButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time, - Properties::NON_VIRTUAL, - __void__mouseDoubleButtonPress__float__float__unsigned_int__double, - "Method for adapting mouse button pressed events, placing this event on the back of the event queue, with specified time. ", - "Button numbering is 1 for left mouse button, 2 for middle, 3 for right. "); - I_Method3(void, mouseButtonRelease, IN, float, x, IN, float, y, IN, unsigned int, button, - Properties::NON_VIRTUAL, - __void__mouseButtonRelease__float__float__unsigned_int, - "Method for adapting mouse button release events, placing this event on the back of the event queue. ", - "Button numbering is 1 for left mouse button, 2 for middle, 3 for right. "); - I_Method4(void, mouseButtonRelease, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time, - Properties::NON_VIRTUAL, - __void__mouseButtonRelease__float__float__unsigned_int__double, - "Method for adapting mouse button release events, placing this event on the back of the event queue, with specified time. ", - "Button numbering is 1 for left mouse button, 2 for middle, 3 for right. "); - I_Method1(void, keyPress, IN, int, key, - Properties::NON_VIRTUAL, - __void__keyPress__int, - "Method for adapting keyboard press events. ", - "Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings. "); - I_Method2(void, keyPress, IN, int, key, IN, double, time, - Properties::NON_VIRTUAL, - __void__keyPress__int__double, - "Method for adapting keyboard press events. ", - "Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings, with specified time. "); - I_Method1(void, keyRelease, IN, int, key, - Properties::NON_VIRTUAL, - __void__keyRelease__int, - "Method for adapting keyboard press events. ", - "Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings. "); - I_Method2(void, keyRelease, IN, int, key, IN, double, time, - Properties::NON_VIRTUAL, - __void__keyRelease__int__double, - "Method for adapting keyboard press events. ", - "Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings, with specified time. "); - I_Method0(void, closeWindow, - Properties::NON_VIRTUAL, - __void__closeWindow, - "Method for adapting close window events. ", - ""); - I_Method1(void, closeWindow, IN, double, time, - Properties::NON_VIRTUAL, - __void__closeWindow__double, - "Method for adapting close window event with specified event time. ", - ""); - I_Method0(void, quitApplication, - Properties::NON_VIRTUAL, - __void__quitApplication, - "Method for adapting application quit events. ", - ""); - I_Method1(void, quitApplication, IN, double, time, - Properties::NON_VIRTUAL, - __void__quitApplication__double, - "Method for adapting application quit events with specified event time. ", - ""); - I_Method1(void, frame, IN, double, time, - Properties::NON_VIRTUAL, - __void__frame__double, - "Method for adapting frame events. ", - ""); - I_Method1(void, setStartTick, IN, osg::Timer_t, tick, - Properties::NON_VIRTUAL, - __void__setStartTick__osg_Timer_t, - "", - ""); - I_Method0(osg::Timer_t, getStartTick, - Properties::NON_VIRTUAL, - __osg_Timer_t__getStartTick, - "", - ""); - I_Method0(double, getTime, - Properties::NON_VIRTUAL, - __double__getTime, - "", - ""); - I_Method0(osgGA::GUIEventAdapter *, createEvent, - Properties::NON_VIRTUAL, - __GUIEventAdapter_P1__createEvent, - "convenience method for create an event ready to fill in. ", - "Clones the getCurrentEventState() to produce a up to date event state. "); - I_Method1(void, setCurrentEventState, IN, osgGA::GUIEventAdapter *, ea, - Properties::NON_VIRTUAL, - __void__setCurrentEventState__GUIEventAdapter_P1, - "", - ""); - I_Method0(osgGA::GUIEventAdapter *, getCurrentEventState, - Properties::NON_VIRTUAL, - __GUIEventAdapter_P1__getCurrentEventState, - "", - ""); - I_Method0(const osgGA::GUIEventAdapter *, getCurrentEventState, - Properties::NON_VIRTUAL, - __C5_GUIEventAdapter_P1__getCurrentEventState, - "", - ""); - I_Method1(void, userEvent, IN, osg::Referenced *, userEventData, - Properties::NON_VIRTUAL, - __void__userEvent__osg_Referenced_P1, - "Method for adapting user defined events. ", - ""); - I_Method2(void, userEvent, IN, osg::Referenced *, userEventData, IN, double, time, - Properties::NON_VIRTUAL, - __void__userEvent__osg_Referenced_P1__double, - "Method for adapting user defined events with specified event time. ", - ""); - I_SimpleProperty(osgGA::GUIEventAdapter *, CurrentEventState, - __GUIEventAdapter_P1__getCurrentEventState, - __void__setCurrentEventState__GUIEventAdapter_P1); - I_SimpleProperty(osgGA::EventQueue::Events &, Events, - 0, - __void__setEvents__Events_R1); - I_SimpleProperty(osg::GraphicsContext *, GraphicsContext, - 0, - __void__setGraphicsContext__osg_GraphicsContext_P1); - I_SimpleProperty(osg::Timer_t, StartTick, - __osg_Timer_t__getStartTick, - __void__setStartTick__osg_Timer_t); - I_SimpleProperty(double, Time, - __double__getTime, - 0); - I_SimpleProperty(bool, UseFixedMouseInputRange, - __bool__getUseFixedMouseInputRange, - __void__setUseFixedMouseInputRange__bool); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::GUIEventAdapter >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgGA::GUIEventAdapter *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgGA::GUIEventAdapter > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgGA::GUIEventAdapter > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgGA::GUIEventAdapter *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgGA::GUIEventAdapter *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgGA::GUIEventAdapter > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgGA::GUIEventAdapter *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >) - diff --git a/src/osgWrappers/introspection/osgGA/EventVisitor.cpp b/src/osgWrappers/introspection/osgGA/EventVisitor.cpp deleted file mode 100644 index e0bf0b559..000000000 --- a/src/osgWrappers/introspection/osgGA/EventVisitor.cpp +++ /dev/null @@ -1,195 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >, osgGA::EventVisitor::EventList) - -BEGIN_OBJECT_REFLECTOR(osgGA::EventVisitor) - I_DeclaringFile("osgGA/EventVisitor"); - I_BaseType(osg::NodeVisitor); - I_Constructor0(____EventVisitor, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method1(void, setActionAdapter, IN, osgGA::GUIActionAdapter *, actionAdapter, - Properties::NON_VIRTUAL, - __void__setActionAdapter__osgGA_GUIActionAdapter_P1, - "", - ""); - I_Method0(osgGA::GUIActionAdapter *, getActionAdapter, - Properties::NON_VIRTUAL, - __osgGA_GUIActionAdapter_P1__getActionAdapter, - "", - ""); - I_Method0(const osgGA::GUIActionAdapter *, getActionAdapter, - Properties::NON_VIRTUAL, - __C5_osgGA_GUIActionAdapter_P1__getActionAdapter, - "", - ""); - I_Method1(void, addEvent, IN, osgGA::GUIEventAdapter *, event, - Properties::NON_VIRTUAL, - __void__addEvent__GUIEventAdapter_P1, - "", - ""); - I_Method1(void, removeEvent, IN, osgGA::GUIEventAdapter *, event, - Properties::NON_VIRTUAL, - __void__removeEvent__GUIEventAdapter_P1, - "", - ""); - I_Method1(void, setEventHandled, IN, bool, handled, - Properties::NON_VIRTUAL, - __void__setEventHandled__bool, - "", - ""); - I_Method0(bool, getEventHandled, - Properties::NON_VIRTUAL, - __bool__getEventHandled, - "", - ""); - I_Method1(void, setEvents, IN, const osgGA::EventQueue::Events &, events, - Properties::NON_VIRTUAL, - __void__setEvents__C5_EventQueue_Events_R1, - "", - ""); - I_Method0(osgGA::EventQueue::Events &, getEvents, - Properties::NON_VIRTUAL, - __EventQueue_Events_R1__getEvents, - "", - ""); - I_Method0(const osgGA::EventQueue::Events &, getEvents, - Properties::NON_VIRTUAL, - __C5_EventQueue_Events_R1__getEvents, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "During traversal each type of node calls its callbacks and its children traversed. ", - ""); - I_Method1(void, apply, IN, osg::Geode &, node, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Billboard &, node, - Properties::VIRTUAL, - __void__apply__osg_Billboard_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LightSource &, node, - Properties::VIRTUAL, - __void__apply__osg_LightSource_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Group &, node, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, node, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Projection &, node, - Properties::VIRTUAL, - __void__apply__osg_Projection_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Switch &, node, - Properties::VIRTUAL, - __void__apply__osg_Switch_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LOD &, node, - Properties::VIRTUAL, - __void__apply__osg_LOD_R1, - "", - ""); - I_Method1(void, apply, IN, osg::OccluderNode &, node, - Properties::VIRTUAL, - __void__apply__osg_OccluderNode_R1, - "", - ""); - I_ProtectedMethod1(void, handle_callbacks, IN, osg::StateSet *, stateset, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handle_callbacks__osg_StateSet_P1, - "", - ""); - I_ProtectedMethod1(void, handle_callbacks_and_traverse, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handle_callbacks_and_traverse__osg_Node_R1, - "", - ""); - I_ProtectedMethod1(void, handle_geode_callbacks, IN, osg::Geode &, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handle_geode_callbacks__osg_Geode_R1, - "", - ""); - I_ProtectedMethod1(void, traverseGeode, IN, osg::Geode &, geode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__traverseGeode__osg_Geode_R1, - "", - ""); - I_SimpleProperty(osgGA::GUIActionAdapter *, ActionAdapter, - __osgGA_GUIActionAdapter_P1__getActionAdapter, - __void__setActionAdapter__osgGA_GUIActionAdapter_P1); - I_SimpleProperty(bool, EventHandled, - __bool__getEventHandled, - __void__setEventHandled__bool); - I_SimpleProperty(const osgGA::EventQueue::Events &, Events, - __C5_EventQueue_Events_R1__getEvents, - __void__setEvents__C5_EventQueue_Events_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/FlightManipulator.cpp b/src/osgWrappers/introspection/osgGA/FlightManipulator.cpp deleted file mode 100644 index e86c043c6..000000000 --- a/src/osgWrappers/introspection/osgGA/FlightManipulator.cpp +++ /dev/null @@ -1,168 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgGA::FlightManipulator::YawControlMode) - I_DeclaringFile("osgGA/FlightManipulator"); - I_EnumLabel(osgGA::FlightManipulator::YAW_AUTOMATICALLY_WHEN_BANKED); - I_EnumLabel(osgGA::FlightManipulator::NO_AUTOMATIC_YAW); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgGA::FlightManipulator) - I_DeclaringFile("osgGA/FlightManipulator"); - I_BaseType(osgGA::FirstPersonManipulator); - I_ConstructorWithDefaults1(IN, int, flags, osgGA::StandardManipulator::UPDATE_MODEL_SIZE|osgGA::StandardManipulator::COMPUTE_HOME_USING_BBOX, - Properties::NON_EXPLICIT, - ____FlightManipulator__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgGA::FlightManipulator &, fpm, , IN, const osg::CopyOp &, copyOp, osg::CopyOp::SHALLOW_COPY, - ____FlightManipulator__C5_FlightManipulator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setYawControlMode, IN, osgGA::FlightManipulator::YawControlMode, ycm, - Properties::VIRTUAL, - __void__setYawControlMode__YawControlMode, - "", - ""); - I_Method0(osgGA::FlightManipulator::YawControlMode, getYawControlMode, - Properties::NON_VIRTUAL, - __YawControlMode__getYawControlMode, - "Returns the Yaw control for the flight model. ", - ""); - I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__home__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Move the camera to the default position. ", - "May be ignored by manipulators if home functionality is not appropriate. "); - I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__init__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Start/restart the manipulator. ", - "FIXME: what does this actually mean? Provide examples. "); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, x, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_ProtectedMethod2(bool, handleFrame, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__handleFrame__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_ProtectedMethod2(bool, handleMouseMove, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__handleMouseMove__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_ProtectedMethod2(bool, handleMouseDrag, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__handleMouseDrag__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_ProtectedMethod2(bool, handleMousePush, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__handleMousePush__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_ProtectedMethod2(bool, handleMouseRelease, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__handleMouseRelease__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_ProtectedMethod2(bool, handleKeyDown, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__handleKeyDown__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_ProtectedMethod2(bool, flightHandleEvent, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__flightHandleEvent__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_ProtectedMethod0(bool, performMovement, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__performMovement, - "", - ""); - I_ProtectedMethod3(bool, performMovementLeftMouseButton, IN, const double, eventTimeDelta, IN, const double, dx, IN, const double, dy, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__performMovementLeftMouseButton__C5_double__C5_double__C5_double, - "", - ""); - I_ProtectedMethod3(bool, performMovementMiddleMouseButton, IN, const double, eventTimeDelta, IN, const double, dx, IN, const double, dy, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__performMovementMiddleMouseButton__C5_double__C5_double__C5_double, - "", - ""); - I_ProtectedMethod3(bool, performMovementRightMouseButton, IN, const double, eventTimeDelta, IN, const double, dx, IN, const double, dy, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__performMovementRightMouseButton__C5_double__C5_double__C5_double, - "", - ""); - I_SimpleProperty(osgGA::FlightManipulator::YawControlMode, YawControlMode, - __YawControlMode__getYawControlMode, - __void__setYawControlMode__YawControlMode); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/GUIActionAdapter.cpp b/src/osgWrappers/introspection/osgGA/GUIActionAdapter.cpp deleted file mode 100644 index 38d8e174e..000000000 --- a/src/osgWrappers/introspection/osgGA/GUIActionAdapter.cpp +++ /dev/null @@ -1,52 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::GUIActionAdapter) - I_DeclaringFile("osgGA/GUIActionAdapter"); - I_Constructor0(____GUIActionAdapter, - "", - ""); - I_Method0(osg::View *, asView, - Properties::VIRTUAL, - __osg_View_P1__asView, - "Provide a mechanism for getting the osg::View associated with this GUIActionAdapter. ", - "One would use this to case view to osgViewer::View(er) if supported by the subclass. "); - I_Method0(void, requestRedraw, - Properties::PURE_VIRTUAL, - __void__requestRedraw, - "requestRedraw() requests a single redraw. ", - ""); - I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, needed, true, - Properties::PURE_VIRTUAL, - __void__requestContinuousUpdate__bool, - "requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a MatrixManipulator, though other GUIEventHandler's may also provide functionality). ", - "GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure. "); - I_Method2(void, requestWarpPointer, IN, float, x, IN, float, y, - Properties::PURE_VIRTUAL, - __void__requestWarpPointer__float__float, - "requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window. ", - "This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking a aircrafts joystick. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/GUIEventAdapter.cpp b/src/osgWrappers/introspection/osgGA/GUIEventAdapter.cpp deleted file mode 100644 index dbb4a25b7..000000000 --- a/src/osgWrappers/introspection/osgGA/GUIEventAdapter.cpp +++ /dev/null @@ -1,617 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::MouseButtonMask) - I_DeclaringFile("osgGA/GUIEventAdapter"); - I_EnumLabel(osgGA::GUIEventAdapter::LEFT_MOUSE_BUTTON); - I_EnumLabel(osgGA::GUIEventAdapter::MIDDLE_MOUSE_BUTTON); - I_EnumLabel(osgGA::GUIEventAdapter::RIGHT_MOUSE_BUTTON); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::EventType) - I_DeclaringFile("osgGA/GUIEventAdapter"); - I_EnumLabel(osgGA::GUIEventAdapter::NONE); - I_EnumLabel(osgGA::GUIEventAdapter::PUSH); - I_EnumLabel(osgGA::GUIEventAdapter::RELEASE); - I_EnumLabel(osgGA::GUIEventAdapter::DOUBLECLICK); - I_EnumLabel(osgGA::GUIEventAdapter::DRAG); - I_EnumLabel(osgGA::GUIEventAdapter::MOVE); - I_EnumLabel(osgGA::GUIEventAdapter::KEYDOWN); - I_EnumLabel(osgGA::GUIEventAdapter::KEYUP); - I_EnumLabel(osgGA::GUIEventAdapter::FRAME); - I_EnumLabel(osgGA::GUIEventAdapter::RESIZE); - I_EnumLabel(osgGA::GUIEventAdapter::SCROLL); - I_EnumLabel(osgGA::GUIEventAdapter::PEN_PRESSURE); - I_EnumLabel(osgGA::GUIEventAdapter::PEN_ORIENTATION); - I_EnumLabel(osgGA::GUIEventAdapter::PEN_PROXIMITY_ENTER); - I_EnumLabel(osgGA::GUIEventAdapter::PEN_PROXIMITY_LEAVE); - I_EnumLabel(osgGA::GUIEventAdapter::CLOSE_WINDOW); - I_EnumLabel(osgGA::GUIEventAdapter::QUIT_APPLICATION); - I_EnumLabel(osgGA::GUIEventAdapter::USER); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::KeySymbol) - I_DeclaringFile("osgGA/GUIEventAdapter"); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Space); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_BackSpace); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Tab); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Linefeed); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Clear); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Return); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Pause); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Scroll_Lock); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Sys_Req); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Escape); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Delete); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Home); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Left); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Up); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Right); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Down); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Prior); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Page_Up); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Next); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Page_Down); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_End); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Begin); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Select); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Print); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Execute); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Insert); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Undo); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Redo); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Menu); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Find); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Cancel); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Help); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Break); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Mode_switch); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Script_switch); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Num_Lock); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Space); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Tab); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Enter); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F1); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F2); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F3); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F4); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Home); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Left); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Up); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Right); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Down); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Prior); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Page_Up); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Next); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Page_Down); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_End); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Begin); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Insert); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Delete); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Equal); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Multiply); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Add); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Separator); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Subtract); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Decimal); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Divide); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_0); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_1); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_2); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_3); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_4); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_5); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_6); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_7); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_8); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_9); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F1); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F2); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F3); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F4); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F5); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F6); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F7); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F8); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F9); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F10); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F11); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F12); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F13); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F14); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F15); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F16); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F17); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F18); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F19); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F20); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F21); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F22); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F23); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F24); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F25); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F26); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F27); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F28); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F29); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F30); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F31); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F32); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F33); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F34); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_F35); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_L); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_R); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Control_L); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Control_R); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Caps_Lock); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_Lock); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Meta_L); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Meta_R); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Alt_L); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Alt_R); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Super_L); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Super_R); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Hyper_L); - I_EnumLabel(osgGA::GUIEventAdapter::KEY_Hyper_R); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::ModKeyMask) - I_DeclaringFile("osgGA/GUIEventAdapter"); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_SHIFT); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_SHIFT); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_CTRL); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_CTRL); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_ALT); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_ALT); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_META); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_META); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_SUPER); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_SUPER); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_HYPER); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_HYPER); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_NUM_LOCK); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_CAPS_LOCK); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_CTRL); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_SHIFT); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_ALT); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_META); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_SUPER); - I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_HYPER); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::MouseYOrientation) - I_DeclaringFile("osgGA/GUIEventAdapter"); - I_EnumLabel(osgGA::GUIEventAdapter::Y_INCREASING_UPWARDS); - I_EnumLabel(osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::ScrollingMotion) - I_DeclaringFile("osgGA/GUIEventAdapter"); - I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_NONE); - I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_LEFT); - I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_RIGHT); - I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_UP); - I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_DOWN); - I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_2D); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::TabletPointerType) - I_DeclaringFile("osgGA/GUIEventAdapter"); - I_EnumLabel(osgGA::GUIEventAdapter::UNKNOWN); - I_EnumLabel(osgGA::GUIEventAdapter::PEN); - I_EnumLabel(osgGA::GUIEventAdapter::PUCK); - I_EnumLabel(osgGA::GUIEventAdapter::ERASER); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventAdapter) - I_DeclaringFile("osgGA/GUIEventAdapter"); - I_BaseType(osg::Object); - I_Constructor0(____GUIEventAdapter, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgGA::GUIEventAdapter &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____GUIEventAdapter__C5_GUIEventAdapter_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setHandled, IN, bool, handled, - Properties::NON_VIRTUAL, - __void__setHandled__bool, - "Set whether this event has been handled by an event handler or not. ", - ""); - I_Method0(bool, getHandled, - Properties::NON_VIRTUAL, - __bool__getHandled, - "Get whether this event has been handled by an event handler or not. ", - ""); - I_Method1(void, setEventType, IN, osgGA::GUIEventAdapter::EventType, Type, - Properties::NON_VIRTUAL, - __void__setEventType__EventType, - "set the event type. ", - ""); - I_Method0(osgGA::GUIEventAdapter::EventType, getEventType, - Properties::VIRTUAL, - __EventType__getEventType, - "get the event type. ", - ""); - I_Method1(void, setTime, IN, double, time, - Properties::NON_VIRTUAL, - __void__setTime__double, - "set time in seconds of event. ", - ""); - I_Method0(double, getTime, - Properties::NON_VIRTUAL, - __double__getTime, - "get time in seconds of event. ", - ""); - I_Method0(double, time, - Properties::NON_VIRTUAL, - __double__time, - "deprecated function for getting time of event. ", - ""); - I_Method1(void, setGraphicsContext, IN, osg::GraphicsContext *, context, - Properties::NON_VIRTUAL, - __void__setGraphicsContext__osg_GraphicsContext_P1, - "", - ""); - I_Method0(const osg::GraphicsContext *, getGraphicsContext, - Properties::NON_VIRTUAL, - __C5_osg_GraphicsContext_P1__getGraphicsContext, - "", - ""); - I_MethodWithDefaults5(void, setWindowRectangle, IN, int, x, , IN, int, y, , IN, int, width, , IN, int, height, , IN, bool, updateMouseRange, true, - Properties::NON_VIRTUAL, - __void__setWindowRectangle__int__int__int__int__bool, - "set window rectangle. ", - ""); - I_Method0(int, getWindowX, - Properties::NON_VIRTUAL, - __int__getWindowX, - "get window x origin. ", - ""); - I_Method0(int, getWindowY, - Properties::NON_VIRTUAL, - __int__getWindowY, - "get window y origin. ", - ""); - I_Method0(int, getWindowWidth, - Properties::NON_VIRTUAL, - __int__getWindowWidth, - "get window width. ", - ""); - I_Method0(int, getWindowHeight, - Properties::NON_VIRTUAL, - __int__getWindowHeight, - "get window height. ", - ""); - I_Method1(void, setKey, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKey__int, - "set key pressed. ", - ""); - I_Method0(int, getKey, - Properties::VIRTUAL, - __int__getKey, - "get key pressed, return -1 if inappropriate for this GUIEventAdapter. ", - ""); - I_Method1(void, setButton, IN, int, button, - Properties::NON_VIRTUAL, - __void__setButton__int, - "set button pressed/released. ", - ""); - I_Method0(int, getButton, - Properties::NON_VIRTUAL, - __int__getButton, - "button pressed/released, return -1 if inappropriate for this GUIEventAdapter. ", - ""); - I_Method4(void, setInputRange, IN, float, Xmin, IN, float, Ymin, IN, float, Xmax, IN, float, Ymax, - Properties::NON_VIRTUAL, - __void__setInputRange__float__float__float__float, - "set mouse input range. ", - ""); - I_Method0(float, getXmin, - Properties::NON_VIRTUAL, - __float__getXmin, - "get mouse minimum x. ", - ""); - I_Method0(float, getXmax, - Properties::NON_VIRTUAL, - __float__getXmax, - "get mouse maximum x. ", - ""); - I_Method0(float, getYmin, - Properties::NON_VIRTUAL, - __float__getYmin, - "get mouse minimum y. ", - ""); - I_Method0(float, getYmax, - Properties::NON_VIRTUAL, - __float__getYmax, - "get mouse maximum y. ", - ""); - I_Method1(void, setX, IN, float, x, - Properties::NON_VIRTUAL, - __void__setX__float, - "set current mouse x position. ", - ""); - I_Method0(float, getX, - Properties::NON_VIRTUAL, - __float__getX, - "get current mouse x position. ", - ""); - I_Method1(void, setY, IN, float, y, - Properties::NON_VIRTUAL, - __void__setY__float, - "set current mouse y position. ", - ""); - I_Method0(float, getY, - Properties::NON_VIRTUAL, - __float__getY, - "get current mouse y position. ", - ""); - I_Method0(float, getXnormalized, - Properties::NON_VIRTUAL, - __float__getXnormalized, - "return the current mouse x value normalized to the range of -1 to 1. ", - "-1 would be the left hand side of the window. 0.0 would be the middle of the window. +1 would be the right hand side of the window. "); - I_Method0(float, getYnormalized, - Properties::NON_VIRTUAL, - __float__getYnormalized, - "return the current mouse y value normalized to the range of -1 to 1. ", - "-1 would be the bottom of the window. 0.0 would be the middle of the window. +1 would be the top of the window. "); - I_Method1(void, setMouseYOrientation, IN, osgGA::GUIEventAdapter::MouseYOrientation, myo, - Properties::NON_VIRTUAL, - __void__setMouseYOrientation__MouseYOrientation, - "set mouse-Y orientation (mouse-Y increases upwards or downwards). ", - ""); - I_Method0(osgGA::GUIEventAdapter::MouseYOrientation, getMouseYOrientation, - Properties::NON_VIRTUAL, - __MouseYOrientation__getMouseYOrientation, - "get mouse-Y orientation (mouse-Y increases upwards or downwards). ", - ""); - I_Method1(void, setButtonMask, IN, int, mask, - Properties::NON_VIRTUAL, - __void__setButtonMask__int, - "set current mouse button state. ", - ""); - I_Method0(int, getButtonMask, - Properties::NON_VIRTUAL, - __int__getButtonMask, - "get current mouse button state. ", - ""); - I_Method1(void, setModKeyMask, IN, int, mask, - Properties::NON_VIRTUAL, - __void__setModKeyMask__int, - "set modifier key mask. ", - ""); - I_Method0(int, getModKeyMask, - Properties::NON_VIRTUAL, - __int__getModKeyMask, - "get modifier key mask. ", - ""); - I_Method1(void, setScrollingMotion, IN, osgGA::GUIEventAdapter::ScrollingMotion, motion, - Properties::NON_VIRTUAL, - __void__setScrollingMotion__ScrollingMotion, - "set scrolling motion (for EventType::SCROLL). ", - ""); - I_Method0(osgGA::GUIEventAdapter::ScrollingMotion, getScrollingMotion, - Properties::NON_VIRTUAL, - __ScrollingMotion__getScrollingMotion, - "get scrolling motion (for EventType::SCROLL). ", - ""); - I_Method2(void, setScrollingMotionDelta, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - __void__setScrollingMotionDelta__float__float, - "set the scrolling delta to x,y and the scrolling motion to SCROLL_2D. ", - ""); - I_Method0(float, getScrollingDeltaX, - Properties::NON_VIRTUAL, - __float__getScrollingDeltaX, - "get the scrolling x-delta. ", - ""); - I_Method0(float, getScrollingDeltaY, - Properties::NON_VIRTUAL, - __float__getScrollingDeltaY, - "get the scrolling y-delta. ", - ""); - I_Method1(void, setPenPressure, IN, float, pressure, - Properties::NON_VIRTUAL, - __void__setPenPressure__float, - "set the tablet pen pressure (range 0..1). ", - ""); - I_Method0(float, getPenPressure, - Properties::NON_VIRTUAL, - __float__getPenPressure, - "get the tablet pen pressure (range 0..1). ", - ""); - I_Method1(void, setPenTiltX, IN, float, tiltX, - Properties::NON_VIRTUAL, - __void__setPenTiltX__float, - "set the tablet pen tiltX in degrees. ", - ""); - I_Method0(float, getPenTiltX, - Properties::NON_VIRTUAL, - __float__getPenTiltX, - "get the tablet pen tiltX in degrees. ", - ""); - I_Method1(void, setPenTiltY, IN, float, tiltY, - Properties::NON_VIRTUAL, - __void__setPenTiltY__float, - "set the tablet pen tiltY in degrees. ", - ""); - I_Method0(float, getPenTiltY, - Properties::NON_VIRTUAL, - __float__getPenTiltY, - "get the tablet pen tiltY in degrees. ", - ""); - I_Method1(void, setPenRotation, IN, float, rotation, - Properties::NON_VIRTUAL, - __void__setPenRotation__float, - "set the tablet pen rotation around the Z-axis in degrees. ", - ""); - I_Method0(float, getPenRotation, - Properties::NON_VIRTUAL, - __float__getPenRotation, - "get the tablet pen rotation around the Z-axis in degrees. ", - ""); - I_Method1(void, setTabletPointerType, IN, osgGA::GUIEventAdapter::TabletPointerType, pt, - Properties::NON_VIRTUAL, - __void__setTabletPointerType__TabletPointerType, - "set the tablet pointer type. ", - ""); - I_Method0(osgGA::GUIEventAdapter::TabletPointerType, getTabletPointerType, - Properties::NON_VIRTUAL, - __TabletPointerType__getTabletPointerType, - "get the tablet pointer type. ", - ""); - I_Method0(const osg::Matrix, getPenOrientation, - Properties::NON_VIRTUAL, - __C5_osg_Matrix__getPenOrientation, - "set the orientation from a tablet input device as a matrix. ", - ""); - I_StaticMethod0(osg::ref_ptr< osgGA::GUIEventAdapter > &, getAccumulatedEventState, - __osg_ref_ptrT1_GUIEventAdapter__R1__getAccumulatedEventState_S, - "Get the accumulated event state singleton. ", - "Typically all EventQueue will share this single GUIEventAdapter object for tracking the mouse position, keyboard and mouse masks. "); - I_SimpleProperty(int, Button, - __int__getButton, - __void__setButton__int); - I_SimpleProperty(int, ButtonMask, - __int__getButtonMask, - __void__setButtonMask__int); - I_SimpleProperty(osgGA::GUIEventAdapter::EventType, EventType, - __EventType__getEventType, - __void__setEventType__EventType); - I_SimpleProperty(osg::GraphicsContext *, GraphicsContext, - 0, - __void__setGraphicsContext__osg_GraphicsContext_P1); - I_SimpleProperty(bool, Handled, - __bool__getHandled, - __void__setHandled__bool); - I_SimpleProperty(int, Key, - __int__getKey, - __void__setKey__int); - I_SimpleProperty(int, ModKeyMask, - __int__getModKeyMask, - __void__setModKeyMask__int); - I_SimpleProperty(osgGA::GUIEventAdapter::MouseYOrientation, MouseYOrientation, - __MouseYOrientation__getMouseYOrientation, - __void__setMouseYOrientation__MouseYOrientation); - I_SimpleProperty(const osg::Matrix, PenOrientation, - __C5_osg_Matrix__getPenOrientation, - 0); - I_SimpleProperty(float, PenPressure, - __float__getPenPressure, - __void__setPenPressure__float); - I_SimpleProperty(float, PenRotation, - __float__getPenRotation, - __void__setPenRotation__float); - I_SimpleProperty(float, PenTiltX, - __float__getPenTiltX, - __void__setPenTiltX__float); - I_SimpleProperty(float, PenTiltY, - __float__getPenTiltY, - __void__setPenTiltY__float); - I_SimpleProperty(float, ScrollingDeltaX, - __float__getScrollingDeltaX, - 0); - I_SimpleProperty(float, ScrollingDeltaY, - __float__getScrollingDeltaY, - 0); - I_SimpleProperty(osgGA::GUIEventAdapter::ScrollingMotion, ScrollingMotion, - __ScrollingMotion__getScrollingMotion, - __void__setScrollingMotion__ScrollingMotion); - I_SimpleProperty(osgGA::GUIEventAdapter::TabletPointerType, TabletPointerType, - __TabletPointerType__getTabletPointerType, - __void__setTabletPointerType__TabletPointerType); - I_SimpleProperty(double, Time, - __double__getTime, - __void__setTime__double); - I_SimpleProperty(int, WindowHeight, - __int__getWindowHeight, - 0); - I_SimpleProperty(int, WindowWidth, - __int__getWindowWidth, - 0); - I_SimpleProperty(int, WindowX, - __int__getWindowX, - 0); - I_SimpleProperty(int, WindowY, - __int__getWindowY, - 0); - I_SimpleProperty(float, X, - __float__getX, - __void__setX__float); - I_SimpleProperty(float, Xmax, - __float__getXmax, - 0); - I_SimpleProperty(float, Xmin, - __float__getXmin, - 0); - I_SimpleProperty(float, Xnormalized, - __float__getXnormalized, - 0); - I_SimpleProperty(float, Y, - __float__getY, - __void__setY__float); - I_SimpleProperty(float, Ymax, - __float__getYmax, - 0); - I_SimpleProperty(float, Ymin, - __float__getYmin, - 0); - I_SimpleProperty(float, Ynormalized, - __float__getYnormalized, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/GUIEventHandler.cpp b/src/osgWrappers/introspection/osgGA/GUIEventHandler.cpp deleted file mode 100644 index 0187e9f54..000000000 --- a/src/osgWrappers/introspection/osgGA/GUIEventHandler.cpp +++ /dev/null @@ -1,125 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventHandler) - I_DeclaringFile("osgGA/GUIEventHandler"); - I_BaseType(osg::NodeCallback); - I_BaseType(osg::Drawable::EventCallback); - I_Constructor0(____GUIEventHandler, - "", - ""); - I_Constructor2(IN, const osgGA::GUIEventHandler &, eh, IN, const osg::CopyOp &, x, - ____GUIEventHandler__C5_GUIEventHandler_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method2(void, event, IN, osg::NodeVisitor *, nv, IN, osg::Drawable *, drawable, - Properties::VIRTUAL, - __void__event__osg_NodeVisitor_P1__osg_Drawable_P1, - "Event traversal drawable callback method. ", - ""); - I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, - "Handle events, return true if handled, false otherwise. ", - ""); - I_Method4(bool, handleWithCheckAgainstIgnoreHandledEventsMask, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, object, IN, osg::NodeVisitor *, nv, - Properties::NON_VIRTUAL, - __bool__handleWithCheckAgainstIgnoreHandledEventsMask__C5_GUIEventAdapter_R1__GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, - "Convenience method that only passes on to the handle(,,,) method events that either haven't been handled yet, or have been handled but haven't be set to be ignored by the IgnoreHandledEventsMask. ", - "Note, this method is an inline method, and not appropriate for users to override, override the handle(,,,) method instead. "); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_Method2(bool, handleWithCheckAgainstIgnoreHandledEventsMask, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, - Properties::NON_VIRTUAL, - __bool__handleWithCheckAgainstIgnoreHandledEventsMask__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Convenience method that only passes on to the handle(,) method events that either haven't been handled yet, or have been handled but haven't be set to be ignored by the IgnoreHandledEventsMask. ", - "Note, this method is an inline method, and not appropriate for users to override, override the handle(,) method instead. "); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, x, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_Method1(void, setIgnoreHandledEventsMask, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setIgnoreHandledEventsMask__unsigned_int, - "Set a mask of osgGA::GUIEeventAdapter::Event to be ignored if marked as handled. ", - ""); - I_Method0(unsigned int, getIgnoreHandledEventsMask, - Properties::NON_VIRTUAL, - __unsigned_int__getIgnoreHandledEventsMask, - "Get the event mask of the osgGA::GUIEeventAdapter::Event to be ignored if marked as handled. ", - ""); - I_SimpleProperty(unsigned int, IgnoreHandledEventsMask, - __unsigned_int__getIgnoreHandledEventsMask, - __void__setIgnoreHandledEventsMask__unsigned_int); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgGA::GUIEventHandlerVisitor) - I_DeclaringFile("osgGA/GUIEventHandler"); - I_Constructor0(____GUIEventHandlerVisitor, - "", - ""); - I_Method1(void, visit, IN, osgGA::GUIEventHandler &, x, - Properties::NON_VIRTUAL, - __void__visit__GUIEventHandler_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp b/src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp deleted file mode 100644 index cc1edf7bd..000000000 --- a/src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp +++ /dev/null @@ -1,276 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::pair< std::string COMMA osg::ref_ptr< osgGA::CameraManipulator > >, osgGA::KeySwitchMatrixManipulator::NamedManipulator) - -TYPE_NAME_ALIAS(std::map< int COMMA osgGA::KeySwitchMatrixManipulator::NamedManipulator >, osgGA::KeySwitchMatrixManipulator::KeyManipMap) - -BEGIN_OBJECT_REFLECTOR(osgGA::KeySwitchMatrixManipulator) - I_DeclaringFile("osgGA/KeySwitchMatrixManipulator"); - I_BaseType(osgGA::CameraManipulator); - I_Constructor0(____KeySwitchMatrixManipulator, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method3(void, addMatrixManipulator, IN, int, key, IN, std::string, name, IN, osgGA::CameraManipulator *, cm, - Properties::NON_VIRTUAL, - __void__addMatrixManipulator__int__std_string__CameraManipulator_P1, - "Add a camera manipulator with an associated name, and a key to trigger the switch,. ", - ""); - I_Method1(void, addNumberedMatrixManipulator, IN, osgGA::CameraManipulator *, cm, - Properties::NON_VIRTUAL, - __void__addNumberedMatrixManipulator__CameraManipulator_P1, - "Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd. ", - ""); - I_Method0(unsigned int, getNumMatrixManipulators, - Properties::NON_VIRTUAL, - __unsigned_int__getNumMatrixManipulators, - "", - ""); - I_Method1(void, selectMatrixManipulator, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__selectMatrixManipulator__unsigned_int, - "", - ""); - I_Method0(osgGA::KeySwitchMatrixManipulator::KeyManipMap &, getKeyManipMap, - Properties::NON_VIRTUAL, - __KeyManipMap_R1__getKeyManipMap, - "Get the complete list of manipulators attached to this keyswitch manipulator. ", - ""); - I_Method0(const osgGA::KeySwitchMatrixManipulator::KeyManipMap &, getKeyManipMap, - Properties::NON_VIRTUAL, - __C5_KeyManipMap_R1__getKeyManipMap, - "Get the const complete list of manipulators attached to this keyswitch manipulator. ", - ""); - I_Method0(osgGA::CameraManipulator *, getCurrentMatrixManipulator, - Properties::NON_VIRTUAL, - __CameraManipulator_P1__getCurrentMatrixManipulator, - "Get the current active manipulators. ", - ""); - I_Method0(const osgGA::CameraManipulator *, getCurrentMatrixManipulator, - Properties::NON_VIRTUAL, - __C5_CameraManipulator_P1__getCurrentMatrixManipulator, - "Get the const current active manipulators. ", - ""); - I_Method1(osgGA::CameraManipulator *, getMatrixManipulatorWithIndex, IN, unsigned int, key, - Properties::NON_VIRTUAL, - __CameraManipulator_P1__getMatrixManipulatorWithIndex__unsigned_int, - "Get manipulator assigned to a specified index. ", - ""); - I_Method1(const osgGA::CameraManipulator *, getMatrixManipulatorWithIndex, IN, unsigned int, key, - Properties::NON_VIRTUAL, - __C5_CameraManipulator_P1__getMatrixManipulatorWithIndex__unsigned_int, - "Get const manipulator assigned to a specified index. ", - ""); - I_Method1(osgGA::CameraManipulator *, getMatrixManipulatorWithKey, IN, unsigned int, key, - Properties::NON_VIRTUAL, - __CameraManipulator_P1__getMatrixManipulatorWithKey__unsigned_int, - "Get manipulator assigned to a specified key. ", - ""); - I_Method1(const osgGA::CameraManipulator *, getMatrixManipulatorWithKey, IN, unsigned int, key, - Properties::NON_VIRTUAL, - __C5_CameraManipulator_P1__getMatrixManipulatorWithKey__unsigned_int, - "Get const manipulator assigned to a specified key. ", - ""); - I_Method1(void, setCoordinateFrameCallback, IN, osgGA::CameraManipulator::CoordinateFrameCallback *, cb, - Properties::VIRTUAL, - __void__setCoordinateFrameCallback__CoordinateFrameCallback_P1, - "set the coordinate frame which callback tells the manipulator which way is up, east and north. ", - ""); - I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix, - Properties::VIRTUAL, - __void__setByMatrix__C5_osg_Matrixd_R1, - "Set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix, - Properties::VIRTUAL, - __void__setByInverseMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getMatrix, - "get the position of the manipulator as 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getInverseMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getInverseMatrix, - "get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ", - ""); - I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode, - Properties::VIRTUAL, - __osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode, - "Get the FusionDistanceMode. ", - "Used by SceneView for setting up stereo convergence. "); - I_Method0(float, getFusionDistanceValue, - Properties::VIRTUAL, - __float__getFusionDistanceValue, - "Get the FusionDistanceValue. ", - "Used by SceneView for setting up stereo convergence. "); - I_Method1(void, setNode, IN, osg::Node *, x, - Properties::VIRTUAL, - __void__setNode__osg_Node_P1, - "Attach a node to the manipulator, automatically detaching any previously attached node. ", - "setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model. "); - I_Method0(const osg::Node *, getNode, - Properties::VIRTUAL, - __C5_osg_Node_P1__getNode, - "Return const node if attached. ", - ""); - I_Method0(osg::Node *, getNode, - Properties::VIRTUAL, - __osg_Node_P1__getNode, - "Return node if attached. ", - ""); - I_MethodWithDefaults4(void, setHomePosition, IN, const osg::Vec3d &, eye, , IN, const osg::Vec3d &, center, , IN, const osg::Vec3d &, up, , IN, bool, autoComputeHomePosition, false, - Properties::VIRTUAL, - __void__setHomePosition__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__bool, - "Manually set the home position, and set the automatic compute of home position. ", - ""); - I_Method1(void, setAutoComputeHomePosition, IN, bool, flag, - Properties::VIRTUAL, - __void__setAutoComputeHomePosition__bool, - "Set whether the automatic compute of the home position is enabled. ", - ""); - I_Method0(void, computeHomePosition, - Properties::VIRTUAL, - __void__computeHomePosition, - "", - ""); - I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Move the camera to the default position. ", - "May be ignored by manipulators if home functionality is not appropriate. "); - I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Start/restart the manipulator. ", - "FIXME: what does this actually mean? Provide examples. "); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_SimpleProperty(bool, AutoComputeHomePosition, - 0, - __void__setAutoComputeHomePosition__bool); - I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix, - 0, - __void__setByInverseMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(const osg::Matrixd &, ByMatrix, - 0, - __void__setByMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(osgGA::CameraManipulator::CoordinateFrameCallback *, CoordinateFrameCallback, - 0, - __void__setCoordinateFrameCallback__CoordinateFrameCallback_P1); - I_SimpleProperty(osgGA::CameraManipulator *, CurrentMatrixManipulator, - __CameraManipulator_P1__getCurrentMatrixManipulator, - 0); - I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode, - __osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode, - 0); - I_SimpleProperty(float, FusionDistanceValue, - __float__getFusionDistanceValue, - 0); - I_SimpleProperty(osg::Matrixd, InverseMatrix, - __osg_Matrixd__getInverseMatrix, - 0); - I_SimpleProperty(osgGA::KeySwitchMatrixManipulator::KeyManipMap &, KeyManipMap, - __KeyManipMap_R1__getKeyManipMap, - 0); - I_SimpleProperty(osg::Matrixd, Matrix, - __osg_Matrixd__getMatrix, - 0); - I_SimpleProperty(osg::Node *, Node, - __osg_Node_P1__getNode, - __void__setNode__osg_Node_P1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::CameraManipulator >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgGA::CameraManipulator *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgGA::CameraManipulator > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgGA::CameraManipulator > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgGA::CameraManipulator *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgGA::CameraManipulator *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgGA::CameraManipulator > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgGA::CameraManipulator *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< int COMMA osgGA::KeySwitchMatrixManipulator::NamedManipulator >) - -STD_PAIR_REFLECTOR(std::pair< std::string COMMA osg::ref_ptr< osgGA::CameraManipulator > >) - diff --git a/src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp b/src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp deleted file mode 100644 index a66872188..000000000 --- a/src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp +++ /dev/null @@ -1,277 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgGA::NodeTrackerManipulator::TrackerMode) - I_DeclaringFile("osgGA/NodeTrackerManipulator"); - I_EnumLabel(osgGA::NodeTrackerManipulator::NODE_CENTER); - I_EnumLabel(osgGA::NodeTrackerManipulator::NODE_CENTER_AND_AZIM); - I_EnumLabel(osgGA::NodeTrackerManipulator::NODE_CENTER_AND_ROTATION); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgGA::NodeTrackerManipulator::RotationMode) - I_DeclaringFile("osgGA/NodeTrackerManipulator"); - I_EnumLabel(osgGA::NodeTrackerManipulator::TRACKBALL); - I_EnumLabel(osgGA::NodeTrackerManipulator::ELEVATION_AZIM); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::observer_ptr< osg::Node > >, osgGA::NodeTrackerManipulator::ObserverNodePath) - -BEGIN_OBJECT_REFLECTOR(osgGA::NodeTrackerManipulator) - I_DeclaringFile("osgGA/NodeTrackerManipulator"); - I_BaseType(osgGA::OrbitManipulator); - I_ConstructorWithDefaults1(IN, int, flags, osgGA::StandardManipulator::DEFAULT_SETTINGS, - Properties::NON_EXPLICIT, - ____NodeTrackerManipulator__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgGA::NodeTrackerManipulator &, om, , IN, const osg::CopyOp &, copyOp, osg::CopyOp::SHALLOW_COPY, - ____NodeTrackerManipulator__C5_NodeTrackerManipulator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setTrackNodePath, IN, const osg::NodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__setTrackNodePath__C5_osg_NodePath_R1, - "", - ""); - I_Method1(void, setTrackNodePath, IN, const osgGA::NodeTrackerManipulator::ObserverNodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__setTrackNodePath__C5_ObserverNodePath_R1, - "", - ""); - I_Method0(osgGA::NodeTrackerManipulator::ObserverNodePath &, getTrackNodePath, - Properties::NON_VIRTUAL, - __ObserverNodePath_R1__getTrackNodePath, - "", - ""); - I_Method1(void, setTrackNode, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__setTrackNode__osg_Node_P1, - "", - ""); - I_Method0(osg::Node *, getTrackNode, - Properties::NON_VIRTUAL, - __osg_Node_P1__getTrackNode, - "", - ""); - I_Method0(const osg::Node *, getTrackNode, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getTrackNode, - "", - ""); - I_Method1(void, setTrackerMode, IN, osgGA::NodeTrackerManipulator::TrackerMode, mode, - Properties::NON_VIRTUAL, - __void__setTrackerMode__TrackerMode, - "", - ""); - I_Method0(osgGA::NodeTrackerManipulator::TrackerMode, getTrackerMode, - Properties::NON_VIRTUAL, - __TrackerMode__getTrackerMode, - "", - ""); - I_Method1(void, setRotationMode, IN, osgGA::NodeTrackerManipulator::RotationMode, mode, - Properties::NON_VIRTUAL, - __void__setRotationMode__RotationMode, - "", - ""); - I_Method0(osgGA::NodeTrackerManipulator::RotationMode, getRotationMode, - Properties::NON_VIRTUAL, - __RotationMode__getRotationMode, - "", - ""); - I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix, - Properties::VIRTUAL, - __void__setByMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getMatrix, - "get the position of the manipulator as 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getInverseMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getInverseMatrix, - "get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ", - ""); - I_Method1(void, setNode, IN, osg::Node *, x, - Properties::VIRTUAL, - __void__setNode__osg_Node_P1, - "Attach a node to the manipulator, automatically detaching any previously attached node. ", - "setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model. "); - I_Method0(void, computeHomePosition, - Properties::VIRTUAL, - __void__computeHomePosition, - "", - ""); - I_ProtectedMethod3(bool, performMovementLeftMouseButton, IN, const double, eventTimeDelta, IN, const double, dx, IN, const double, dy, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__performMovementLeftMouseButton__C5_double__C5_double__C5_double, - "", - ""); - I_ProtectedMethod3(bool, performMovementMiddleMouseButton, IN, const double, eventTimeDelta, IN, const double, dx, IN, const double, dy, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__performMovementMiddleMouseButton__C5_double__C5_double__C5_double, - "", - ""); - I_ProtectedMethod3(bool, performMovementRightMouseButton, IN, const double, eventTimeDelta, IN, const double, dx, IN, const double, dy, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__performMovementRightMouseButton__C5_double__C5_double__C5_double, - "", - ""); - I_ProtectedMethod0(osg::NodePath, getNodePath, - Properties::NON_VIRTUAL, - Properties::CONST, - __osg_NodePath__getNodePath, - "", - ""); - I_ProtectedMethod0(bool, validateNodePath, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__validateNodePath, - "", - ""); - I_ProtectedMethod1(void, computeNodeWorldToLocal, IN, osg::Matrixd &, worldToLocal, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeNodeWorldToLocal__osg_Matrixd_R1, - "", - ""); - I_ProtectedMethod1(void, computeNodeLocalToWorld, IN, osg::Matrixd &, localToWorld, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeNodeLocalToWorld__osg_Matrixd_R1, - "", - ""); - I_ProtectedMethod2(void, computeNodeCenterAndRotation, IN, osg::Vec3d &, center, IN, osg::Quat &, rotation, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeNodeCenterAndRotation__osg_Vec3d_R1__osg_Quat_R1, - "", - ""); - I_ProtectedMethod3(void, computePosition, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, lv, IN, const osg::Vec3d &, up, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computePosition__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1, - "", - ""); - I_SimpleProperty(const osg::Matrixd &, ByMatrix, - 0, - __void__setByMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(osg::Matrixd, InverseMatrix, - __osg_Matrixd__getInverseMatrix, - 0); - I_SimpleProperty(osg::Matrixd, Matrix, - __osg_Matrixd__getMatrix, - 0); - I_SimpleProperty(osg::Node *, Node, - 0, - __void__setNode__osg_Node_P1); - I_SimpleProperty(osgGA::NodeTrackerManipulator::RotationMode, RotationMode, - __RotationMode__getRotationMode, - __void__setRotationMode__RotationMode); - I_SimpleProperty(osg::Node *, TrackNode, - __osg_Node_P1__getTrackNode, - __void__setTrackNode__osg_Node_P1); - I_SimpleProperty(osgGA::NodeTrackerManipulator::ObserverNodePath &, TrackNodePath, - __ObserverNodePath_R1__getTrackNodePath, - 0); - I_SimpleProperty(osgGA::NodeTrackerManipulator::TrackerMode, TrackerMode, - __TrackerMode__getTrackerMode, - __void__setTrackerMode__TrackerMode); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::observer_ptr< osg::Node >) - I_DeclaringFile("osg/observer_ptr"); - I_Constructor0(____observer_ptr, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Node > &, rp, - Properties::NON_EXPLICIT, - ____observer_ptr__C5_ref_ptrT1_T__R1, - "Create a observer_ptr from a ref_ptr. ", - ""); - I_Constructor1(IN, osg::Node *, rp, - Properties::NON_EXPLICIT, - ____observer_ptr__T_P1, - "Create a observer_ptr from a raw pointer. ", - "For compatibility; the result might not be lockable. "); - I_Constructor1(IN, const osg::observer_ptr< osg::Node > &, wp, - Properties::NON_EXPLICIT, - ____observer_ptr__C5_observer_ptr_R1, - "", - ""); - I_Method1(bool, lock, IN, osg::ref_ptr< osg::Node > &, rptr, - Properties::NON_VIRTUAL, - __bool__lock__ref_ptrT1_T__R1, - "Assign the observer_ptr to a ref_ptr. ", - "The ref_ptr will be valid if the referenced object hasn't been deleted and has a ref count > 0. "); - I_Method0(osg::Node *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_SimpleProperty(osg::Node *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::observer_ptr< osg::Node > >) - diff --git a/src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp b/src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp deleted file mode 100644 index 9225fd3f7..000000000 --- a/src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp +++ /dev/null @@ -1,298 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgGA::SphericalManipulator::RotationMode) - I_DeclaringFile("osgGA/SphericalManipulator"); - I_EnumLabel(osgGA::SphericalManipulator::ELEVATION_HEADING); - I_EnumLabel(osgGA::SphericalManipulator::HEADING); - I_EnumLabel(osgGA::SphericalManipulator::ELEVATION); - I_EnumLabel(osgGA::SphericalManipulator::MAP); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgGA::SphericalManipulator) - I_DeclaringFile("osgGA/SphericalManipulator"); - I_BaseType(osgGA::CameraManipulator); - I_Constructor0(____SphericalManipulator, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix, - Properties::VIRTUAL, - __void__setByMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix, - Properties::VIRTUAL, - __void__setByInverseMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getMatrix, - "get the position of the manipulator as 4x4 Matrix. ", - ""); - I_Method0(osg::Matrixd, getInverseMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getInverseMatrix, - "get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ", - ""); - I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode, - Properties::VIRTUAL, - __osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode, - "Get the FusionDistanceMode. ", - "Used by SceneView for setting up stereo convergence. "); - I_Method0(float, getFusionDistanceValue, - Properties::VIRTUAL, - __float__getFusionDistanceValue, - "Get the FusionDistanceValue. ", - "Used by SceneView for setting up stereo convergence. "); - I_Method1(void, setNode, IN, osg::Node *, x, - Properties::VIRTUAL, - __void__setNode__osg_Node_P1, - "Attach a node to the manipulator. ", - "Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model. "); - I_Method0(const osg::Node *, getNode, - Properties::VIRTUAL, - __C5_osg_Node_P1__getNode, - "Return node if attached. ", - ""); - I_Method0(osg::Node *, getNode, - Properties::VIRTUAL, - __osg_Node_P1__getNode, - "Return node if attached. ", - ""); - I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __void__home__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Move the camera to the default position. ", - "May be ignored by manipulators if home functionality is not appropriate. "); - I_Method1(void, home, IN, double, x, - Properties::VIRTUAL, - __void__home__double, - "Move the camera to the default position. ", - "This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications. "); - I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __void__init__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Start/restart the manipulator. ", - ""); - I_Method1(void, zoomOn, IN, const osg::BoundingSphere &, bound, - Properties::NON_VIRTUAL, - __void__zoomOn__C5_osg_BoundingSphere_R1, - "", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "handle events, return true if handled, false otherwise. ", - ""); - I_Method0(void, computeHomePosition, - Properties::VIRTUAL, - __void__computeHomePosition, - "Compute the home position. ", - ""); - I_Method4(void, computeViewPosition, IN, const osg::BoundingSphere &, bound, IN, double &, scale, IN, double &, distance, IN, osg::Vec3d &, center, - Properties::NON_VIRTUAL, - __void__computeViewPosition__C5_osg_BoundingSphere_R1__double_R1__double_R1__osg_Vec3d_R1, - "", - ""); - I_Method1(void, setCenter, IN, const osg::Vec3d &, center, - Properties::NON_VIRTUAL, - __void__setCenter__C5_osg_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getCenter, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getCenter, - "", - ""); - I_Method1(bool, setDistance, IN, double, distance, - Properties::NON_VIRTUAL, - __bool__setDistance__double, - "", - ""); - I_Method0(double, getDistance, - Properties::NON_VIRTUAL, - __double__getDistance, - "", - ""); - I_Method0(double, getHomeDistance, - Properties::NON_VIRTUAL, - __double__getHomeDistance, - "", - ""); - I_Method1(void, setHeading, IN, double, azimuth, - Properties::NON_VIRTUAL, - __void__setHeading__double, - "", - ""); - I_Method0(double, getHeading, - Properties::NON_VIRTUAL, - __double__getHeading, - "", - ""); - I_Method1(void, setElevation, IN, double, elevation, - Properties::NON_VIRTUAL, - __void__setElevation__double, - "", - ""); - I_Method0(double, getElevtion, - Properties::NON_VIRTUAL, - __double__getElevtion, - "", - ""); - I_Method0(double, getMinimumZoomScale, - Properties::NON_VIRTUAL, - __double__getMinimumZoomScale, - "get the minimum distance (as ratio) the eye point can be zoomed in ", - ""); - I_Method1(void, setMinimumZoomScale, IN, double, minimumZoomScale, - Properties::NON_VIRTUAL, - __void__setMinimumZoomScale__double, - "set the minimum distance (as ratio) the eye point can be zoomed in towards the center before the center is pushed forward. ", - ""); - I_Method1(void, setScroolWheelZoomDelta, IN, double, zoomDelta, - Properties::NON_VIRTUAL, - __void__setScroolWheelZoomDelta__double, - "set the mouse scroll wheel zoom delta. ", - "Range -1.0 to +1.0, -ve value inverts wheel direction and zero switches off scroll wheel. "); - I_Method0(double, getScroolWheelZoomDelta, - Properties::NON_VIRTUAL, - __double__getScroolWheelZoomDelta, - "get the mouse scroll wheel zoom delta. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_Method0(osgGA::SphericalManipulator::RotationMode, getRotationMode, - Properties::NON_VIRTUAL, - __RotationMode__getRotationMode, - "", - ""); - I_Method1(void, setRotationMode, IN, osgGA::SphericalManipulator::RotationMode, mode, - Properties::NON_VIRTUAL, - __void__setRotationMode__RotationMode, - "", - ""); - I_Method0(bool, getAllowThrow, - Properties::NON_VIRTUAL, - __bool__getAllowThrow, - "Returns true if the camera can be thrown, false otherwise. ", - "This defaults to true. "); - I_Method1(void, setAllowThrow, IN, bool, allowThrow, - Properties::NON_VIRTUAL, - __void__setAllowThrow__bool, - "Set the 'allow throw' flag. ", - "Releasing the mouse button while moving the camera results in a throw. "); - I_ProtectedMethod0(void, flushMouseEventStack, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__flushMouseEventStack, - "Reset the internal GUIEvent stack. ", - ""); - I_ProtectedMethod1(void, addMouseEvent, IN, const osgGA::GUIEventAdapter &, ea, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addMouseEvent__C5_osgGA_GUIEventAdapter_R1, - "Add the current mouse GUIEvent to internal stack. ", - ""); - I_ProtectedMethod0(bool, calcMovement, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__calcMovement, - "For the give mouse movement calculate the movement of the camera. ", - "Return true is camera has moved and a redraw is required. "); - I_ProtectedMethod0(bool, isMouseMoving, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__isMouseMoving, - "Check the speed at which the mouse is moving. ", - "If speed is below a threshold then return false, otherwise return true. "); - I_SimpleProperty(bool, AllowThrow, - __bool__getAllowThrow, - __void__setAllowThrow__bool); - I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix, - 0, - __void__setByInverseMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(const osg::Matrixd &, ByMatrix, - 0, - __void__setByMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(const osg::Vec3d &, Center, - __C5_osg_Vec3d_R1__getCenter, - __void__setCenter__C5_osg_Vec3d_R1); - I_SimpleProperty(double, Distance, - __double__getDistance, - __bool__setDistance__double); - I_SimpleProperty(double, Elevation, - 0, - __void__setElevation__double); - I_SimpleProperty(double, Elevtion, - __double__getElevtion, - 0); - I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode, - __osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode, - 0); - I_SimpleProperty(float, FusionDistanceValue, - __float__getFusionDistanceValue, - 0); - I_SimpleProperty(double, Heading, - __double__getHeading, - __void__setHeading__double); - I_SimpleProperty(double, HomeDistance, - __double__getHomeDistance, - 0); - I_SimpleProperty(osg::Matrixd, InverseMatrix, - __osg_Matrixd__getInverseMatrix, - 0); - I_SimpleProperty(osg::Matrixd, Matrix, - __osg_Matrixd__getMatrix, - 0); - I_SimpleProperty(double, MinimumZoomScale, - __double__getMinimumZoomScale, - __void__setMinimumZoomScale__double); - I_SimpleProperty(osg::Node *, Node, - __osg_Node_P1__getNode, - __void__setNode__osg_Node_P1); - I_SimpleProperty(osgGA::SphericalManipulator::RotationMode, RotationMode, - __RotationMode__getRotationMode, - __void__setRotationMode__RotationMode); - I_SimpleProperty(double, ScroolWheelZoomDelta, - __double__getScroolWheelZoomDelta, - __void__setScroolWheelZoomDelta__double); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/StateSetManipulator.cpp b/src/osgWrappers/introspection/osgGA/StateSetManipulator.cpp deleted file mode 100644 index 31d8fe842..000000000 --- a/src/osgWrappers/introspection/osgGA/StateSetManipulator.cpp +++ /dev/null @@ -1,206 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgGA::StateSetManipulator) - I_DeclaringFile("osgGA/StateSetManipulator"); - I_BaseType(osgGA::GUIEventHandler); - I_ConstructorWithDefaults1(IN, osg::StateSet *, stateset, 0, - Properties::NON_EXPLICIT, - ____StateSetManipulator__osg_StateSet_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setStateSet, IN, osg::StateSet *, x, - Properties::VIRTUAL, - __void__setStateSet__osg_StateSet_P1, - "attach a StateSet to the manipulator to be used for specifying view. ", - ""); - I_Method0(osg::StateSet *, getStateSet, - Properties::VIRTUAL, - __osg_StateSet_P1__getStateSet, - "get the attached a StateSet. ", - ""); - I_Method0(const osg::StateSet *, getStateSet, - Properties::VIRTUAL, - __C5_osg_StateSet_P1__getStateSet, - "get the attached a StateSet. ", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_Method1(void, setMaximumNumOfTextureUnits, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __void__setMaximumNumOfTextureUnits__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaximumNumOfTextureUnits, - Properties::NON_VIRTUAL, - __unsigned_int__getMaximumNumOfTextureUnits, - "", - ""); - I_Method1(void, setBackfaceEnabled, IN, bool, newbackface, - Properties::NON_VIRTUAL, - __void__setBackfaceEnabled__bool, - "", - ""); - I_Method0(bool, getBackfaceEnabled, - Properties::NON_VIRTUAL, - __bool__getBackfaceEnabled, - "", - ""); - I_Method1(void, setLightingEnabled, IN, bool, newlighting, - Properties::NON_VIRTUAL, - __void__setLightingEnabled__bool, - "", - ""); - I_Method0(bool, getLightingEnabled, - Properties::NON_VIRTUAL, - __bool__getLightingEnabled, - "", - ""); - I_Method1(void, setTextureEnabled, IN, bool, newtexture, - Properties::NON_VIRTUAL, - __void__setTextureEnabled__bool, - "", - ""); - I_Method0(bool, getTextureEnabled, - Properties::NON_VIRTUAL, - __bool__getTextureEnabled, - "", - ""); - I_Method1(void, setPolygonMode, IN, osg::PolygonMode::Mode, newpolygonmode, - Properties::NON_VIRTUAL, - __void__setPolygonMode__osg_PolygonMode_Mode, - "", - ""); - I_Method0(osg::PolygonMode::Mode, getPolygonMode, - Properties::NON_VIRTUAL, - __osg_PolygonMode_Mode__getPolygonMode, - "", - ""); - I_Method0(void, cyclePolygonMode, - Properties::NON_VIRTUAL, - __void__cyclePolygonMode, - "", - ""); - I_Method1(void, setKeyEventToggleBackfaceCulling, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventToggleBackfaceCulling__int, - "", - ""); - I_Method0(int, getKeyEventToggleBackfaceCulling, - Properties::NON_VIRTUAL, - __int__getKeyEventToggleBackfaceCulling, - "", - ""); - I_Method1(void, setKeyEventToggleLighting, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventToggleLighting__int, - "", - ""); - I_Method0(int, getKeyEventToggleLighting, - Properties::NON_VIRTUAL, - __int__getKeyEventToggleLighting, - "", - ""); - I_Method1(void, setKeyEventToggleTexturing, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventToggleTexturing__int, - "", - ""); - I_Method0(int, getKeyEventToggleTexturing, - Properties::NON_VIRTUAL, - __int__getKeyEventToggleTexturing, - "", - ""); - I_Method1(void, setKeyEventCyclePolygonMode, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventCyclePolygonMode__int, - "", - ""); - I_Method0(int, getKeyEventCyclePolygonMode, - Properties::NON_VIRTUAL, - __int__getKeyEventCyclePolygonMode, - "", - ""); - I_ProtectedMethod0(void, clone, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__clone, - "", - ""); - I_ProtectedMethod0(osg::PolygonMode *, getOrCreatePolygonMode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_PolygonMode_P1__getOrCreatePolygonMode, - "", - ""); - I_SimpleProperty(bool, BackfaceEnabled, - __bool__getBackfaceEnabled, - __void__setBackfaceEnabled__bool); - I_SimpleProperty(int, KeyEventCyclePolygonMode, - __int__getKeyEventCyclePolygonMode, - __void__setKeyEventCyclePolygonMode__int); - I_SimpleProperty(int, KeyEventToggleBackfaceCulling, - __int__getKeyEventToggleBackfaceCulling, - __void__setKeyEventToggleBackfaceCulling__int); - I_SimpleProperty(int, KeyEventToggleLighting, - __int__getKeyEventToggleLighting, - __void__setKeyEventToggleLighting__int); - I_SimpleProperty(int, KeyEventToggleTexturing, - __int__getKeyEventToggleTexturing, - __void__setKeyEventToggleTexturing__int); - I_SimpleProperty(bool, LightingEnabled, - __bool__getLightingEnabled, - __void__setLightingEnabled__bool); - I_SimpleProperty(unsigned int, MaximumNumOfTextureUnits, - __unsigned_int__getMaximumNumOfTextureUnits, - __void__setMaximumNumOfTextureUnits__unsigned_int); - I_SimpleProperty(osg::PolygonMode::Mode, PolygonMode, - __osg_PolygonMode_Mode__getPolygonMode, - __void__setPolygonMode__osg_PolygonMode_Mode); - I_SimpleProperty(osg::StateSet *, StateSet, - __osg_StateSet_P1__getStateSet, - __void__setStateSet__osg_StateSet_P1); - I_SimpleProperty(bool, TextureEnabled, - __bool__getTextureEnabled, - __void__setTextureEnabled__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp b/src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp deleted file mode 100644 index 4df56c471..000000000 --- a/src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp +++ /dev/null @@ -1,132 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgGA::TerrainManipulator::RotationMode) - I_DeclaringFile("osgGA/TerrainManipulator"); - I_EnumLabel(osgGA::TerrainManipulator::ELEVATION_AZIM_ROLL); - I_EnumLabel(osgGA::TerrainManipulator::ELEVATION_AZIM); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgGA::TerrainManipulator) - I_DeclaringFile("osgGA/TerrainManipulator"); - I_BaseType(osgGA::OrbitManipulator); - I_ConstructorWithDefaults1(IN, int, flags, osgGA::StandardManipulator::DEFAULT_SETTINGS, - Properties::NON_EXPLICIT, - ____TerrainManipulator__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgGA::TerrainManipulator &, tm, , IN, const osg::CopyOp &, copyOp, osg::CopyOp::SHALLOW_COPY, - ____TerrainManipulator__C5_TerrainManipulator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setRotationMode, IN, osgGA::TerrainManipulator::RotationMode, mode, - Properties::VIRTUAL, - __void__setRotationMode__RotationMode, - "", - ""); - I_Method0(osgGA::TerrainManipulator::RotationMode, getRotationMode, - Properties::NON_VIRTUAL, - __RotationMode__getRotationMode, - "", - ""); - I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix, - Properties::VIRTUAL, - __void__setByMatrix__C5_osg_Matrixd_R1, - "set the position of the matrix manipulator using a 4x4 Matrix. ", - ""); - I_Method3(void, setTransformation, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up, - Properties::VIRTUAL, - __void__setTransformation__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1, - "", - ""); - I_Method1(void, setNode, IN, osg::Node *, x, - Properties::VIRTUAL, - __void__setNode__osg_Node_P1, - "Attach a node to the manipulator, automatically detaching any previously attached node. ", - "setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model. "); - I_ProtectedMethod3(bool, performMovementMiddleMouseButton, IN, const double, eventTimeDelta, IN, const double, dx, IN, const double, dy, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__performMovementMiddleMouseButton__C5_double__C5_double__C5_double, - "", - ""); - I_ProtectedMethod3(bool, performMovementRightMouseButton, IN, const double, eventTimeDelta, IN, const double, dx, IN, const double, dy, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__performMovementRightMouseButton__C5_double__C5_double__C5_double, - "", - ""); - I_ProtectedMethod3(bool, intersect, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end, IN, osg::Vec3d &, intersection, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__intersect__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_ProtectedMethod0(void, clampOrientation, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__clampOrientation, - "", - ""); - I_SimpleProperty(const osg::Matrixd &, ByMatrix, - 0, - __void__setByMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(osg::Node *, Node, - 0, - __void__setNode__osg_Node_P1); - I_SimpleProperty(osgGA::TerrainManipulator::RotationMode, RotationMode, - __RotationMode__getRotationMode, - __void__setRotationMode__RotationMode); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/TrackballManipulator.cpp b/src/osgWrappers/introspection/osgGA/TrackballManipulator.cpp deleted file mode 100644 index bf77c466e..000000000 --- a/src/osgWrappers/introspection/osgGA/TrackballManipulator.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgGA::TrackballManipulator) - I_DeclaringFile("osgGA/TrackballManipulator"); - I_BaseType(osgGA::OrbitManipulator); - I_ConstructorWithDefaults1(IN, int, flags, osgGA::StandardManipulator::DEFAULT_SETTINGS, - Properties::NON_EXPLICIT, - ____TrackballManipulator__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgGA::TrackballManipulator &, tm, , IN, const osg::CopyOp &, copyOp, osg::CopyOp::SHALLOW_COPY, - ____TrackballManipulator__C5_TrackballManipulator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgGA/UFOManipulator.cpp b/src/osgWrappers/introspection/osgGA/UFOManipulator.cpp deleted file mode 100644 index ba8344389..000000000 --- a/src/osgWrappers/introspection/osgGA/UFOManipulator.cpp +++ /dev/null @@ -1,229 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgGA::UFOManipulator) - I_DeclaringFile("osgGA/UFOManipulator"); - I_BaseType(osgGA::CameraManipulator); - I_Constructor0(____UFOManipulator, - "Default constructor. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return className ", - "returns constant \"UFO\" "); - I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix, - Properties::VIRTUAL, - __void__setByMatrix__C5_osg_Matrixd_R1, - "Set the current position with a matrix. ", - " param matrix A viewpoint matrix. "); - I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, invmat, - Properties::VIRTUAL, - __void__setByInverseMatrix__C5_osg_Matrixd_R1, - "Set the current position with the inverse matrix. ", - " param invmat The inverse of a viewpoint matrix "); - I_Method0(osg::Matrixd, getMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getMatrix, - "Get the current viewmatrix. ", - ""); - I_Method0(osg::Matrixd, getInverseMatrix, - Properties::VIRTUAL, - __osg_Matrixd__getInverseMatrix, - "Get the current inverse view matrix. ", - ""); - I_Method1(void, setNode, IN, osg::Node *, node, - Properties::VIRTUAL, - __void__setNode__osg_Node_P1, - "Set the subgraph this manipulator is driving the eye through. ", - " param node root of subgraph "); - I_Method0(const osg::Node *, getNode, - Properties::VIRTUAL, - __C5_osg_Node_P1__getNode, - "Get the root node of the subgraph this manipulator is driving the eye through (const). ", - ""); - I_Method0(osg::Node *, getNode, - Properties::VIRTUAL, - __osg_Node_P1__getNode, - "Get the root node of the subgraph this manipulator is driving the eye through. ", - ""); - I_Method0(void, computeHomePosition, - Properties::VIRTUAL, - __void__computeHomePosition, - "Computes the home position based on the extents and scale of the scene graph rooted at node. ", - ""); - I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__home__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Sets the viewpoint matrix to the home position. ", - ""); - I_Method1(void, home, IN, double, x, - Properties::VIRTUAL, - __void__home__double, - "Move the camera to the default position. ", - "This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications. "); - I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1, - "Start/restart the manipulator. ", - "FIXME: what does this actually mean? Provide examples. "); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Handles incoming osgGA events. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Reports Usage parameters to the application. ", - ""); - I_Method3(void, getCurrentPositionAsLookAt, IN, osg::Vec3d &, eye, IN, osg::Vec3d &, center, IN, osg::Vec3d &, up, - Properties::NON_VIRTUAL, - __void__getCurrentPositionAsLookAt__osg_Vec3d_R1__osg_Vec3d_R1__osg_Vec3d_R1, - "Report the current position as LookAt vectors. ", - ""); - I_Method1(void, setMinHeight, IN, double, in_min_height, - Properties::NON_VIRTUAL, - __void__setMinHeight__double, - "", - ""); - I_Method0(double, getMinHeight, - Properties::NON_VIRTUAL, - __double__getMinHeight, - "", - ""); - I_Method1(void, setMinDistance, IN, double, in_min_dist, - Properties::NON_VIRTUAL, - __void__setMinDistance__double, - "", - ""); - I_Method0(double, getMinDistance, - Properties::NON_VIRTUAL, - __double__getMinDistance, - "", - ""); - I_Method1(void, setForwardSpeed, IN, double, in_fs, - Properties::NON_VIRTUAL, - __void__setForwardSpeed__double, - "", - ""); - I_Method0(double, getForwardSpeed, - Properties::NON_VIRTUAL, - __double__getForwardSpeed, - "", - ""); - I_Method1(void, setSideSpeed, IN, double, in_ss, - Properties::NON_VIRTUAL, - __void__setSideSpeed__double, - "", - ""); - I_Method0(double, getSideSpeed, - Properties::NON_VIRTUAL, - __double__getSideSpeed, - "", - ""); - I_Method1(void, setRotationSpeed, IN, double, in_rot_speed, - Properties::NON_VIRTUAL, - __void__setRotationSpeed__double, - "", - ""); - I_Method0(double, getRotationSpeed, - Properties::NON_VIRTUAL, - __double__getRotationSpeed, - "", - ""); - I_ProtectedMethod3(bool, intersect, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end, IN, osg::Vec3d &, intersection, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__intersect__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_ProtectedMethod0(void, _stop, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___stop, - "", - ""); - I_ProtectedMethod2(void, _keyDown, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___keyDown__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_ProtectedMethod2(void, _keyUp, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___keyUp__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_ProtectedMethod2(void, _frame, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___frame__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_ProtectedMethod0(void, _adjustPosition, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___adjustPosition, - "", - ""); - I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix, - 0, - __void__setByInverseMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(const osg::Matrixd &, ByMatrix, - 0, - __void__setByMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(double, ForwardSpeed, - __double__getForwardSpeed, - __void__setForwardSpeed__double); - I_SimpleProperty(osg::Matrixd, InverseMatrix, - __osg_Matrixd__getInverseMatrix, - 0); - I_SimpleProperty(osg::Matrixd, Matrix, - __osg_Matrixd__getMatrix, - 0); - I_SimpleProperty(double, MinDistance, - __double__getMinDistance, - __void__setMinDistance__double); - I_SimpleProperty(double, MinHeight, - __double__getMinHeight, - __void__setMinHeight__double); - I_SimpleProperty(osg::Node *, Node, - __osg_Node_P1__getNode, - __void__setNode__osg_Node_P1); - I_SimpleProperty(double, RotationSpeed, - __double__getRotationSpeed, - __void__setRotationSpeed__double); - I_SimpleProperty(double, SideSpeed, - __double__getSideSpeed, - __void__setSideSpeed__double); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/AntiSquish.cpp b/src/osgWrappers/introspection/osgManipulator/AntiSquish.cpp deleted file mode 100644 index 45d28ce04..000000000 --- a/src/osgWrappers/introspection/osgManipulator/AntiSquish.cpp +++ /dev/null @@ -1,95 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::AntiSquish) - I_DeclaringFile("osgManipulator/AntiSquish"); - I_BaseType(osg::MatrixTransform); - I_Constructor0(____AntiSquish, - "", - ""); - I_Constructor1(IN, const osg::Vec3d &, pivot, - Properties::NON_EXPLICIT, - ____AntiSquish__C5_osg_Vec3d_R1, - "", - ""); - I_Constructor2(IN, const osg::Vec3d &, pivot, IN, const osg::Vec3d &, position, - ____AntiSquish__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgManipulator::AntiSquish &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AntiSquish__C5_AntiSquish_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method1(void, setPivot, IN, const osg::Vec3d &, pvt, - Properties::NON_VIRTUAL, - __void__setPivot__C5_osg_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getPivot, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getPivot, - "", - ""); - I_Method1(void, setPosition, IN, const osg::Vec3d &, pos, - Properties::NON_VIRTUAL, - __void__setPosition__C5_osg_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getPosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getPosition, - "", - ""); - I_Method2(osg::Matrix, computeUnSquishedMatrix, IN, const osg::Matrix &, x, IN, bool &, flag, - Properties::NON_VIRTUAL, - __osg_Matrix__computeUnSquishedMatrix__C5_osg_Matrix_R1__bool_R1, - "", - ""); - I_SimpleProperty(const osg::Vec3d &, Pivot, - __C5_osg_Vec3d_R1__getPivot, - __void__setPivot__C5_osg_Vec3d_R1); - I_SimpleProperty(const osg::Vec3d &, Position, - __C5_osg_Vec3d_R1__getPosition, - __void__setPosition__C5_osg_Vec3d_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/Command.cpp b/src/osgWrappers/introspection/osgManipulator/Command.cpp deleted file mode 100644 index 13f95480f..000000000 --- a/src/osgWrappers/introspection/osgManipulator/Command.cpp +++ /dev/null @@ -1,445 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgManipulator::MotionCommand::Stage) - I_DeclaringFile("osgManipulator/Command"); - I_EnumLabel(osgManipulator::MotionCommand::NONE); - I_EnumLabel(osgManipulator::MotionCommand::START); - I_EnumLabel(osgManipulator::MotionCommand::MOVE); - I_EnumLabel(osgManipulator::MotionCommand::FINISH); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgManipulator::MotionCommand) - I_DeclaringFile("osgManipulator/Command"); - I_BaseType(osg::Referenced); - I_Constructor0(____MotionCommand, - "", - ""); - I_Method0(osgManipulator::MotionCommand *, createCommandInverse, - Properties::PURE_VIRTUAL, - __MotionCommand_P1__createCommandInverse, - "create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes. ", - ""); - I_Method0(osg::Matrix, getMotionMatrix, - Properties::PURE_VIRTUAL, - __osg_Matrix__getMotionMatrix, - "Gets the matrix for transforming the object being dragged. ", - "This matrix is in the command's coordinate systems. "); - I_Method2(void, setLocalToWorldAndWorldToLocal, IN, const osg::Matrix &, localToWorld, IN, const osg::Matrix &, worldToLocal, - Properties::NON_VIRTUAL, - __void__setLocalToWorldAndWorldToLocal__C5_osg_Matrix_R1__C5_osg_Matrix_R1, - "Sets the matrix for transforming the command's local coordinate system to the world/object coordinate system. ", - ""); - I_Method0(const osg::Matrix &, getLocalToWorld, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getLocalToWorld, - "Gets the matrix for transforming the command's local coordinate system to the world/object coordinate system. ", - ""); - I_Method0(const osg::Matrix &, getWorldToLocal, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getWorldToLocal, - "Gets the matrix for transforming the command's world/object coordinate system to the command's local coordinate system. ", - ""); - I_Method1(void, setStage, IN, const osgManipulator::MotionCommand::Stage, s, - Properties::NON_VIRTUAL, - __void__setStage__C5_Stage, - "", - ""); - I_Method0(osgManipulator::MotionCommand::Stage, getStage, - Properties::NON_VIRTUAL, - __Stage__getStage, - "", - ""); - I_SimpleProperty(const osg::Matrix &, LocalToWorld, - __C5_osg_Matrix_R1__getLocalToWorld, - 0); - I_SimpleProperty(osg::Matrix, MotionMatrix, - __osg_Matrix__getMotionMatrix, - 0); - I_SimpleProperty(osgManipulator::MotionCommand::Stage, Stage, - __Stage__getStage, - 0); - I_SimpleProperty(const osg::Matrix &, WorldToLocal, - __C5_osg_Matrix_R1__getWorldToLocal, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::Rotate3DCommand) - I_DeclaringFile("osgManipulator/Command"); - I_BaseType(osgManipulator::MotionCommand); - I_Constructor0(____Rotate3DCommand, - "", - ""); - I_Method0(osgManipulator::MotionCommand *, createCommandInverse, - Properties::VIRTUAL, - __MotionCommand_P1__createCommandInverse, - "create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes. ", - ""); - I_Method1(void, setRotation, IN, const osg::Quat &, rotation, - Properties::NON_VIRTUAL, - __void__setRotation__C5_osg_Quat_R1, - "", - ""); - I_Method0(const osg::Quat &, getRotation, - Properties::NON_VIRTUAL, - __C5_osg_Quat_R1__getRotation, - "", - ""); - I_Method0(osg::Matrix, getMotionMatrix, - Properties::VIRTUAL, - __osg_Matrix__getMotionMatrix, - "Gets the matrix for transforming the object being dragged. ", - "This matrix is in the command's coordinate systems. "); - I_SimpleProperty(osg::Matrix, MotionMatrix, - __osg_Matrix__getMotionMatrix, - 0); - I_SimpleProperty(const osg::Quat &, Rotation, - __C5_osg_Quat_R1__getRotation, - __void__setRotation__C5_osg_Quat_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale1DCommand) - I_DeclaringFile("osgManipulator/Command"); - I_BaseType(osgManipulator::MotionCommand); - I_Constructor0(____Scale1DCommand, - "", - ""); - I_Method0(osgManipulator::MotionCommand *, createCommandInverse, - Properties::VIRTUAL, - __MotionCommand_P1__createCommandInverse, - "create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes. ", - ""); - I_Method1(void, setScale, IN, double, s, - Properties::NON_VIRTUAL, - __void__setScale__double, - "", - ""); - I_Method0(double, getScale, - Properties::NON_VIRTUAL, - __double__getScale, - "", - ""); - I_Method1(void, setScaleCenter, IN, double, center, - Properties::NON_VIRTUAL, - __void__setScaleCenter__double, - "", - ""); - I_Method0(double, getScaleCenter, - Properties::NON_VIRTUAL, - __double__getScaleCenter, - "", - ""); - I_Method1(void, setReferencePoint, IN, double, rp, - Properties::NON_VIRTUAL, - __void__setReferencePoint__double, - "ReferencePoint is used only for snapping. ", - ""); - I_Method0(double, getReferencePoint, - Properties::NON_VIRTUAL, - __double__getReferencePoint, - "", - ""); - I_Method1(void, setMinScale, IN, double, min, - Properties::NON_VIRTUAL, - __void__setMinScale__double, - "", - ""); - I_Method0(double, getMinScale, - Properties::NON_VIRTUAL, - __double__getMinScale, - "", - ""); - I_Method0(osg::Matrix, getMotionMatrix, - Properties::VIRTUAL, - __osg_Matrix__getMotionMatrix, - "Gets the matrix for transforming the object being dragged. ", - "This matrix is in the command's coordinate systems. "); - I_SimpleProperty(double, MinScale, - __double__getMinScale, - __void__setMinScale__double); - I_SimpleProperty(osg::Matrix, MotionMatrix, - __osg_Matrix__getMotionMatrix, - 0); - I_SimpleProperty(double, ReferencePoint, - __double__getReferencePoint, - __void__setReferencePoint__double); - I_SimpleProperty(double, Scale, - __double__getScale, - __void__setScale__double); - I_SimpleProperty(double, ScaleCenter, - __double__getScaleCenter, - __void__setScaleCenter__double); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand) - I_DeclaringFile("osgManipulator/Command"); - I_BaseType(osgManipulator::MotionCommand); - I_Constructor0(____Scale2DCommand, - "", - ""); - I_Method0(osgManipulator::MotionCommand *, createCommandInverse, - Properties::VIRTUAL, - __MotionCommand_P1__createCommandInverse, - "create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes. ", - ""); - I_Method1(void, setScale, IN, const osg::Vec2d &, s, - Properties::NON_VIRTUAL, - __void__setScale__C5_osg_Vec2d_R1, - "", - ""); - I_Method0(const osg::Vec2d &, getScale, - Properties::NON_VIRTUAL, - __C5_osg_Vec2d_R1__getScale, - "", - ""); - I_Method1(void, setScaleCenter, IN, const osg::Vec2d &, center, - Properties::NON_VIRTUAL, - __void__setScaleCenter__C5_osg_Vec2d_R1, - "", - ""); - I_Method0(const osg::Vec2d &, getScaleCenter, - Properties::NON_VIRTUAL, - __C5_osg_Vec2d_R1__getScaleCenter, - "", - ""); - I_Method1(void, setReferencePoint, IN, const osg::Vec2d &, rp, - Properties::NON_VIRTUAL, - __void__setReferencePoint__C5_osg_Vec2d_R1, - "ReferencePoint is used only for snapping. ", - ""); - I_Method0(const osg::Vec2d &, getReferencePoint, - Properties::NON_VIRTUAL, - __C5_osg_Vec2d_R1__getReferencePoint, - "", - ""); - I_Method1(void, setMinScale, IN, const osg::Vec2d &, min, - Properties::NON_VIRTUAL, - __void__setMinScale__C5_osg_Vec2d_R1, - "", - ""); - I_Method0(const osg::Vec2d &, getMinScale, - Properties::NON_VIRTUAL, - __C5_osg_Vec2d_R1__getMinScale, - "", - ""); - I_Method0(osg::Matrix, getMotionMatrix, - Properties::VIRTUAL, - __osg_Matrix__getMotionMatrix, - "Gets the matrix for transforming the object being dragged. ", - "This matrix is in the command's coordinate systems. "); - I_SimpleProperty(const osg::Vec2d &, MinScale, - __C5_osg_Vec2d_R1__getMinScale, - __void__setMinScale__C5_osg_Vec2d_R1); - I_SimpleProperty(osg::Matrix, MotionMatrix, - __osg_Matrix__getMotionMatrix, - 0); - I_SimpleProperty(const osg::Vec2d &, ReferencePoint, - __C5_osg_Vec2d_R1__getReferencePoint, - __void__setReferencePoint__C5_osg_Vec2d_R1); - I_SimpleProperty(const osg::Vec2d &, Scale, - __C5_osg_Vec2d_R1__getScale, - __void__setScale__C5_osg_Vec2d_R1); - I_SimpleProperty(const osg::Vec2d &, ScaleCenter, - __C5_osg_Vec2d_R1__getScaleCenter, - __void__setScaleCenter__C5_osg_Vec2d_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::ScaleUniformCommand) - I_DeclaringFile("osgManipulator/Command"); - I_BaseType(osgManipulator::MotionCommand); - I_Constructor0(____ScaleUniformCommand, - "", - ""); - I_Method0(osgManipulator::MotionCommand *, createCommandInverse, - Properties::VIRTUAL, - __MotionCommand_P1__createCommandInverse, - "create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes. ", - ""); - I_Method1(void, setScale, IN, double, s, - Properties::NON_VIRTUAL, - __void__setScale__double, - "", - ""); - I_Method0(double, getScale, - Properties::NON_VIRTUAL, - __double__getScale, - "", - ""); - I_Method1(void, setScaleCenter, IN, const osg::Vec3d &, center, - Properties::NON_VIRTUAL, - __void__setScaleCenter__C5_osg_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getScaleCenter, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getScaleCenter, - "", - ""); - I_Method0(osg::Matrix, getMotionMatrix, - Properties::VIRTUAL, - __osg_Matrix__getMotionMatrix, - "Gets the matrix for transforming the object being dragged. ", - "This matrix is in the command's coordinate systems. "); - I_SimpleProperty(osg::Matrix, MotionMatrix, - __osg_Matrix__getMotionMatrix, - 0); - I_SimpleProperty(double, Scale, - __double__getScale, - __void__setScale__double); - I_SimpleProperty(const osg::Vec3d &, ScaleCenter, - __C5_osg_Vec3d_R1__getScaleCenter, - __void__setScaleCenter__C5_osg_Vec3d_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::TranslateInLineCommand) - I_DeclaringFile("osgManipulator/Command"); - I_BaseType(osgManipulator::MotionCommand); - I_Constructor0(____TranslateInLineCommand, - "", - ""); - I_Constructor2(IN, const osg::LineSegment::vec_type &, s, IN, const osg::LineSegment::vec_type &, e, - ____TranslateInLineCommand__C5_osg_LineSegment_vec_type_R1__C5_osg_LineSegment_vec_type_R1, - "", - ""); - I_Method0(osgManipulator::MotionCommand *, createCommandInverse, - Properties::VIRTUAL, - __MotionCommand_P1__createCommandInverse, - "create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes. ", - ""); - I_Method2(void, setLine, IN, const osg::LineSegment::vec_type &, s, IN, const osg::LineSegment::vec_type &, e, - Properties::NON_VIRTUAL, - __void__setLine__C5_osg_LineSegment_vec_type_R1__C5_osg_LineSegment_vec_type_R1, - "", - ""); - I_Method0(const osg::LineSegment::vec_type &, getLineStart, - Properties::NON_VIRTUAL, - __C5_osg_LineSegment_vec_type_R1__getLineStart, - "", - ""); - I_Method0(const osg::LineSegment::vec_type &, getLineEnd, - Properties::NON_VIRTUAL, - __C5_osg_LineSegment_vec_type_R1__getLineEnd, - "", - ""); - I_Method1(void, setTranslation, IN, const osg::Vec3 &, t, - Properties::NON_VIRTUAL, - __void__setTranslation__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getTranslation, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getTranslation, - "", - ""); - I_Method0(osg::Matrix, getMotionMatrix, - Properties::VIRTUAL, - __osg_Matrix__getMotionMatrix, - "Gets the matrix for transforming the object being dragged. ", - "This matrix is in the command's coordinate systems. "); - I_SimpleProperty(const osg::LineSegment::vec_type &, LineEnd, - __C5_osg_LineSegment_vec_type_R1__getLineEnd, - 0); - I_SimpleProperty(const osg::LineSegment::vec_type &, LineStart, - __C5_osg_LineSegment_vec_type_R1__getLineStart, - 0); - I_SimpleProperty(osg::Matrix, MotionMatrix, - __osg_Matrix__getMotionMatrix, - 0); - I_SimpleProperty(const osg::Vec3d &, Translation, - __C5_osg_Vec3d_R1__getTranslation, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::TranslateInPlaneCommand) - I_DeclaringFile("osgManipulator/Command"); - I_BaseType(osgManipulator::MotionCommand); - I_Constructor0(____TranslateInPlaneCommand, - "", - ""); - I_Constructor1(IN, const osg::Plane &, plane, - Properties::NON_EXPLICIT, - ____TranslateInPlaneCommand__C5_osg_Plane_R1, - "", - ""); - I_Method0(osgManipulator::MotionCommand *, createCommandInverse, - Properties::VIRTUAL, - __MotionCommand_P1__createCommandInverse, - "create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes. ", - ""); - I_Method1(void, setPlane, IN, const osg::Plane &, plane, - Properties::NON_VIRTUAL, - __void__setPlane__C5_osg_Plane_R1, - "", - ""); - I_Method0(const osg::Plane &, getPlane, - Properties::NON_VIRTUAL, - __C5_osg_Plane_R1__getPlane, - "", - ""); - I_Method1(void, setTranslation, IN, const osg::Vec3d &, t, - Properties::NON_VIRTUAL, - __void__setTranslation__C5_osg_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getTranslation, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getTranslation, - "", - ""); - I_Method1(void, setReferencePoint, IN, const osg::Vec3d &, rp, - Properties::NON_VIRTUAL, - __void__setReferencePoint__C5_osg_Vec3d_R1, - "ReferencePoint is used only for snapping. ", - ""); - I_Method0(const osg::Vec3d &, getReferencePoint, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getReferencePoint, - "", - ""); - I_Method0(osg::Matrix, getMotionMatrix, - Properties::VIRTUAL, - __osg_Matrix__getMotionMatrix, - "Gets the matrix for transforming the object being dragged. ", - "This matrix is in the command's coordinate systems. "); - I_SimpleProperty(osg::Matrix, MotionMatrix, - __osg_Matrix__getMotionMatrix, - 0); - I_SimpleProperty(const osg::Plane &, Plane, - __C5_osg_Plane_R1__getPlane, - __void__setPlane__C5_osg_Plane_R1); - I_SimpleProperty(const osg::Vec3d &, ReferencePoint, - __C5_osg_Vec3d_R1__getReferencePoint, - __void__setReferencePoint__C5_osg_Vec3d_R1); - I_SimpleProperty(const osg::Vec3d &, Translation, - __C5_osg_Vec3d_R1__getTranslation, - __void__setTranslation__C5_osg_Vec3d_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/CommandManager.cpp b/src/osgWrappers/introspection/osgManipulator/CommandManager.cpp deleted file mode 100644 index 3799e2c54..000000000 --- a/src/osgWrappers/introspection/osgManipulator/CommandManager.cpp +++ /dev/null @@ -1,104 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgManipulator::Selection > >, osgManipulator::CommandManager::Selections) - -BEGIN_OBJECT_REFLECTOR(osgManipulator::CommandManager) - I_DeclaringFile("osgManipulator/CommandManager"); - I_BaseType(osg::Referenced); - I_Constructor0(____CommandManager, - "", - ""); - I_Method2(bool, connect, IN, osgManipulator::Dragger &, dragger, IN, osgManipulator::Selection &, selection, - Properties::NON_VIRTUAL, - __bool__connect__Dragger_R1__Selection_R1, - "", - ""); - I_Method2(bool, connect, IN, osgManipulator::Dragger &, dragger, IN, osgManipulator::Constraint &, constraint, - Properties::NON_VIRTUAL, - __bool__connect__Dragger_R1__Constraint_R1, - "", - ""); - I_Method1(bool, disconnect, IN, osgManipulator::Dragger &, dragger, - Properties::NON_VIRTUAL, - __bool__disconnect__Dragger_R1, - "", - ""); - I_Method1(osgManipulator::CommandManager::Selections, getConnectedSelections, IN, osgManipulator::Dragger &, dragger, - Properties::NON_VIRTUAL, - __Selections__getConnectedSelections__Dragger_R1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgManipulator::Selection >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgManipulator::Selection *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgManipulator::Selection > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgManipulator::Selection > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgManipulator::Selection *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgManipulator::Selection *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgManipulator::Selection > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgManipulator::Selection *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgManipulator::Selection > >) - diff --git a/src/osgWrappers/introspection/osgManipulator/Constraint.cpp b/src/osgWrappers/introspection/osgManipulator/Constraint.cpp deleted file mode 100644 index 2801ee6f9..000000000 --- a/src/osgWrappers/introspection/osgManipulator/Constraint.cpp +++ /dev/null @@ -1,157 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::Constraint) - I_DeclaringFile("osgManipulator/Constraint"); - I_BaseType(osg::Referenced); - I_Method1(bool, constrain, IN, osgManipulator::MotionCommand &, x, - Properties::VIRTUAL, - __bool__constrain__MotionCommand_R1, - "", - ""); - I_Method1(bool, constrain, IN, osgManipulator::TranslateInLineCommand &, command, - Properties::VIRTUAL, - __bool__constrain__TranslateInLineCommand_R1, - "", - ""); - I_Method1(bool, constrain, IN, osgManipulator::TranslateInPlaneCommand &, command, - Properties::VIRTUAL, - __bool__constrain__TranslateInPlaneCommand_R1, - "", - ""); - I_Method1(bool, constrain, IN, osgManipulator::Scale1DCommand &, command, - Properties::VIRTUAL, - __bool__constrain__Scale1DCommand_R1, - "", - ""); - I_Method1(bool, constrain, IN, osgManipulator::Scale2DCommand &, command, - Properties::VIRTUAL, - __bool__constrain__Scale2DCommand_R1, - "", - ""); - I_Method1(bool, constrain, IN, osgManipulator::ScaleUniformCommand &, command, - Properties::VIRTUAL, - __bool__constrain__ScaleUniformCommand_R1, - "", - ""); - I_ProtectedConstructor1(IN, osg::Node &, refNode, - Properties::NON_EXPLICIT, - ____Constraint__osg_Node_R1, - "", - ""); - I_ProtectedMethod0(osg::Node &, getReferenceNode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Node_R1__getReferenceNode, - "", - ""); - I_ProtectedMethod0(const osg::Node &, getReferenceNode, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_osg_Node_R1__getReferenceNode, - "", - ""); - I_ProtectedMethod0(const osg::Matrix &, getLocalToWorld, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_osg_Matrix_R1__getLocalToWorld, - "", - ""); - I_ProtectedMethod0(const osg::Matrix &, getWorldToLocal, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_osg_Matrix_R1__getWorldToLocal, - "", - ""); - I_ProtectedMethod0(void, computeLocalToWorldAndWorldToLocal, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeLocalToWorldAndWorldToLocal, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::GridConstraint) - I_DeclaringFile("osgManipulator/Constraint"); - I_BaseType(osgManipulator::Constraint); - I_Constructor3(IN, osg::Node &, refNode, IN, const osg::Vec3d &, origin, IN, const osg::Vec3d &, spacing, - ____GridConstraint__osg_Node_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1, - "", - ""); - I_Method1(void, setOrigin, IN, const osg::Vec3d &, origin, - Properties::NON_VIRTUAL, - __void__setOrigin__C5_osg_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getOrigin, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getOrigin, - "", - ""); - I_Method1(void, setSpacing, IN, const osg::Vec3d &, spacing, - Properties::NON_VIRTUAL, - __void__setSpacing__C5_osg_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getSpacing, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getSpacing, - "", - ""); - I_Method1(bool, constrain, IN, osgManipulator::TranslateInLineCommand &, command, - Properties::VIRTUAL, - __bool__constrain__TranslateInLineCommand_R1, - "", - ""); - I_Method1(bool, constrain, IN, osgManipulator::TranslateInPlaneCommand &, command, - Properties::VIRTUAL, - __bool__constrain__TranslateInPlaneCommand_R1, - "", - ""); - I_Method1(bool, constrain, IN, osgManipulator::Scale1DCommand &, command, - Properties::VIRTUAL, - __bool__constrain__Scale1DCommand_R1, - "", - ""); - I_Method1(bool, constrain, IN, osgManipulator::Scale2DCommand &, command, - Properties::VIRTUAL, - __bool__constrain__Scale2DCommand_R1, - "", - ""); - I_Method1(bool, constrain, IN, osgManipulator::ScaleUniformCommand &, command, - Properties::VIRTUAL, - __bool__constrain__ScaleUniformCommand_R1, - "", - ""); - I_SimpleProperty(const osg::Vec3d &, Origin, - __C5_osg_Vec3d_R1__getOrigin, - __void__setOrigin__C5_osg_Vec3d_R1); - I_SimpleProperty(const osg::Vec3d &, Spacing, - __C5_osg_Vec3d_R1__getSpacing, - __void__setSpacing__C5_osg_Vec3d_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/Dragger.cpp b/src/osgWrappers/introspection/osgManipulator/Dragger.cpp deleted file mode 100644 index 49e982e84..000000000 --- a/src/osgWrappers/introspection/osgManipulator/Dragger.cpp +++ /dev/null @@ -1,694 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgManipulator::Dragger > >, osgManipulator::CompositeDragger::DraggerList) - -BEGIN_OBJECT_REFLECTOR(osgManipulator::CompositeDragger) - I_DeclaringFile("osgManipulator/Dragger"); - I_BaseType(osgManipulator::Dragger); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(const osgManipulator::CompositeDragger *, getComposite, - Properties::VIRTUAL, - __C5_CompositeDragger_P1__getComposite, - "Returns 0 if this Dragger is not a CompositeDragger. ", - ""); - I_Method0(osgManipulator::CompositeDragger *, getComposite, - Properties::VIRTUAL, - __CompositeDragger_P1__getComposite, - "Returns 0 if this Dragger is not a CompositeDragger. ", - ""); - I_Method1(void, setParentDragger, IN, osgManipulator::Dragger *, parent, - Properties::VIRTUAL, - __void__setParentDragger__Dragger_P1, - "Set/Get parent dragger. ", - "For simple draggers parent points to itself. For composite draggers parent points to the parent dragger that uses this dragger. "); - I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, - Properties::VIRTUAL, - __bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_Method1(bool, addDragger, IN, osgManipulator::Dragger *, dragger, - Properties::VIRTUAL, - __bool__addDragger__Dragger_P1, - "", - ""); - I_Method1(bool, removeDragger, IN, osgManipulator::Dragger *, dragger, - Properties::VIRTUAL, - __bool__removeDragger__Dragger_P1, - "", - ""); - I_Method0(unsigned int, getNumDraggers, - Properties::NON_VIRTUAL, - __unsigned_int__getNumDraggers, - "", - ""); - I_Method1(osgManipulator::Dragger *, getDragger, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Dragger_P1__getDragger__unsigned_int, - "", - ""); - I_Method1(const osgManipulator::Dragger *, getDragger, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Dragger_P1__getDragger__unsigned_int, - "", - ""); - I_Method1(bool, containsDragger, IN, const osgManipulator::Dragger *, dragger, - Properties::NON_VIRTUAL, - __bool__containsDragger__C5_Dragger_P1, - "", - ""); - I_Method1(osgManipulator::CompositeDragger::DraggerList::iterator, findDragger, IN, const osgManipulator::Dragger *, dragger, - Properties::NON_VIRTUAL, - __DraggerList_iterator__findDragger__C5_Dragger_P1, - "", - ""); - I_ProtectedConstructor0(____CompositeDragger, - "", - ""); - I_ProtectedConstructorWithDefaults2(IN, const osgManipulator::CompositeDragger &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____CompositeDragger__C5_CompositeDragger_R1__C5_osg_CopyOp_R1, - "", - ""); - I_SimpleProperty(osgManipulator::CompositeDragger *, Composite, - __CompositeDragger_P1__getComposite, - 0); - I_ArrayProperty(osgManipulator::Dragger *, Dragger, - __Dragger_P1__getDragger__unsigned_int, - 0, - __unsigned_int__getNumDraggers, - __bool__addDragger__Dragger_P1, - 0, - 0); - I_SimpleProperty(osgManipulator::Dragger *, ParentDragger, - 0, - __void__setParentDragger__Dragger_P1); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgManipulator::Constraint > >, osgManipulator::Dragger::Constraints) - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgManipulator::DraggerCallback > >, osgManipulator::Dragger::DraggerCallbacks) - -BEGIN_OBJECT_REFLECTOR(osgManipulator::Dragger) - I_DeclaringFile("osgManipulator/Dragger"); - I_BaseType(osg::MatrixTransform); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setParentDragger, IN, osgManipulator::Dragger *, parent, - Properties::VIRTUAL, - __void__setParentDragger__Dragger_P1, - "Set/Get parent dragger. ", - "For simple draggers parent points to itself. For composite draggers parent points to the parent dragger that uses this dragger. "); - I_Method0(osgManipulator::Dragger *, getParentDragger, - Properties::NON_VIRTUAL, - __Dragger_P1__getParentDragger, - "", - ""); - I_Method0(const osgManipulator::Dragger *, getParentDragger, - Properties::NON_VIRTUAL, - __C5_Dragger_P1__getParentDragger, - "", - ""); - I_Method0(const osgManipulator::CompositeDragger *, getComposite, - Properties::VIRTUAL, - __C5_CompositeDragger_P1__getComposite, - "Returns 0 if this Dragger is not a CompositeDragger. ", - ""); - I_Method0(osgManipulator::CompositeDragger *, getComposite, - Properties::VIRTUAL, - __CompositeDragger_P1__getComposite, - "Returns 0 if this Dragger is not a CompositeDragger. ", - ""); - I_Method1(void, setHandleEvents, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setHandleEvents__bool, - "", - ""); - I_Method0(bool, getHandleEvents, - Properties::NON_VIRTUAL, - __bool__getHandleEvents, - "", - ""); - I_Method1(void, setActivationModKeyMask, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setActivationModKeyMask__unsigned_int, - "", - ""); - I_Method0(unsigned int, getActivationModKeyMask, - Properties::NON_VIRTUAL, - __unsigned_int__getActivationModKeyMask, - "", - ""); - I_Method1(void, setActivationKeyEvent, IN, int, key, - Properties::NON_VIRTUAL, - __void__setActivationKeyEvent__int, - "", - ""); - I_Method0(int, getActivationKeyEvent, - Properties::NON_VIRTUAL, - __int__getActivationKeyEvent, - "", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, x, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_Method1(void, addConstraint, IN, osgManipulator::Constraint *, constraint, - Properties::NON_VIRTUAL, - __void__addConstraint__Constraint_P1, - "", - ""); - I_Method1(void, removeConstraint, IN, osgManipulator::Constraint *, constraint, - Properties::NON_VIRTUAL, - __void__removeConstraint__Constraint_P1, - "", - ""); - I_Method0(osgManipulator::Dragger::Constraints &, getConstraints, - Properties::NON_VIRTUAL, - __Constraints_R1__getConstraints, - "", - ""); - I_Method0(const osgManipulator::Dragger::Constraints &, getConstraints, - Properties::NON_VIRTUAL, - __C5_Constraints_R1__getConstraints, - "", - ""); - I_Method1(void, addDraggerCallback, IN, osgManipulator::DraggerCallback *, dc, - Properties::NON_VIRTUAL, - __void__addDraggerCallback__DraggerCallback_P1, - "", - ""); - I_Method1(void, removeDraggerCallback, IN, osgManipulator::DraggerCallback *, dc, - Properties::NON_VIRTUAL, - __void__removeDraggerCallback__DraggerCallback_P1, - "", - ""); - I_Method0(osgManipulator::Dragger::DraggerCallbacks &, getDraggerCallbacks, - Properties::NON_VIRTUAL, - __DraggerCallbacks_R1__getDraggerCallbacks, - "", - ""); - I_Method0(const osgManipulator::Dragger::DraggerCallbacks &, getDraggerCallbacks, - Properties::NON_VIRTUAL, - __C5_DraggerCallbacks_R1__getDraggerCallbacks, - "", - ""); - I_Method1(void, addTransformUpdating, IN, osg::MatrixTransform *, transform, - Properties::NON_VIRTUAL, - __void__addTransformUpdating__MatrixTransform_P1, - "", - ""); - I_Method1(void, removeTransformUpdating, IN, osg::MatrixTransform *, transform, - Properties::NON_VIRTUAL, - __void__removeTransformUpdating__MatrixTransform_P1, - "", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); - I_Method1(bool, receive, IN, const osgManipulator::MotionCommand &, command, - Properties::VIRTUAL, - __bool__receive__C5_MotionCommand_R1, - "", - ""); - I_Method1(void, dispatch, IN, osgManipulator::MotionCommand &, command, - Properties::NON_VIRTUAL, - __void__dispatch__MotionCommand_R1, - "", - ""); - I_Method1(void, setDraggerActive, IN, bool, active, - Properties::NON_VIRTUAL, - __void__setDraggerActive__bool, - "", - ""); - I_Method0(bool, getDraggerActive, - Properties::NON_VIRTUAL, - __bool__getDraggerActive, - "", - ""); - I_ProtectedConstructor0(____Dragger, - "", - ""); - I_ProtectedConstructorWithDefaults2(IN, const osgManipulator::Dragger &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Dragger__C5_Dragger_R1__C5_osg_CopyOp_R1, - "", - ""); - I_SimpleProperty(int, ActivationKeyEvent, - __int__getActivationKeyEvent, - __void__setActivationKeyEvent__int); - I_SimpleProperty(unsigned int, ActivationModKeyMask, - __unsigned_int__getActivationModKeyMask, - __void__setActivationModKeyMask__unsigned_int); - I_SimpleProperty(osgManipulator::CompositeDragger *, Composite, - __CompositeDragger_P1__getComposite, - 0); - I_SimpleProperty(osgManipulator::Dragger::Constraints &, Constraints, - __Constraints_R1__getConstraints, - 0); - I_SimpleProperty(bool, DraggerActive, - __bool__getDraggerActive, - __void__setDraggerActive__bool); - I_SimpleProperty(osgManipulator::Dragger::DraggerCallbacks &, DraggerCallbacks, - __DraggerCallbacks_R1__getDraggerCallbacks, - 0); - I_SimpleProperty(bool, HandleEvents, - __bool__getHandleEvents, - __void__setHandleEvents__bool); - I_SimpleProperty(osgManipulator::Dragger *, ParentDragger, - __Dragger_P1__getParentDragger, - __void__setParentDragger__Dragger_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::DraggerCallback) - I_DeclaringFile("osgManipulator/Dragger"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____DraggerCallback, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgManipulator::DraggerCallback &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____DraggerCallback__C5_DraggerCallback_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, receive, IN, const osgManipulator::MotionCommand &, x, - Properties::VIRTUAL, - __bool__receive__C5_MotionCommand_R1, - "Receive motion commands. ", - "Returns true on success. "); - I_Method1(bool, receive, IN, const osgManipulator::TranslateInLineCommand &, command, - Properties::VIRTUAL, - __bool__receive__C5_TranslateInLineCommand_R1, - "", - ""); - I_Method1(bool, receive, IN, const osgManipulator::TranslateInPlaneCommand &, command, - Properties::VIRTUAL, - __bool__receive__C5_TranslateInPlaneCommand_R1, - "", - ""); - I_Method1(bool, receive, IN, const osgManipulator::Scale1DCommand &, command, - Properties::VIRTUAL, - __bool__receive__C5_Scale1DCommand_R1, - "", - ""); - I_Method1(bool, receive, IN, const osgManipulator::Scale2DCommand &, command, - Properties::VIRTUAL, - __bool__receive__C5_Scale2DCommand_R1, - "", - ""); - I_Method1(bool, receive, IN, const osgManipulator::ScaleUniformCommand &, command, - Properties::VIRTUAL, - __bool__receive__C5_ScaleUniformCommand_R1, - "", - ""); - I_Method1(bool, receive, IN, const osgManipulator::Rotate3DCommand &, command, - Properties::VIRTUAL, - __bool__receive__C5_Rotate3DCommand_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::DraggerTransformCallback) - I_DeclaringFile("osgManipulator/Dragger"); - I_BaseType(osgManipulator::DraggerCallback); - I_Constructor1(IN, osg::MatrixTransform *, transform, - Properties::NON_EXPLICIT, - ____DraggerTransformCallback__osg_MatrixTransform_P1, - "", - ""); - I_Method1(bool, receive, IN, const osgManipulator::MotionCommand &, x, - Properties::VIRTUAL, - __bool__receive__C5_MotionCommand_R1, - "Receive motion commands. ", - "Returns true on success. "); - I_Method0(osg::MatrixTransform *, getTransform, - Properties::NON_VIRTUAL, - __osg_MatrixTransform_P1__getTransform, - "", - ""); - I_Method0(const osg::MatrixTransform *, getTransform, - Properties::NON_VIRTUAL, - __C5_osg_MatrixTransform_P1__getTransform, - "", - ""); - I_SimpleProperty(osg::MatrixTransform *, Transform, - __osg_MatrixTransform_P1__getTransform, - 0); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::pair< osg::NodePath COMMA osg::Vec3d >, osgManipulator::PointerInfo::NodePathIntersectionPair) - -TYPE_NAME_ALIAS(std::list< osgManipulator::PointerInfo::NodePathIntersectionPair >, osgManipulator::PointerInfo::IntersectionList) - -BEGIN_VALUE_REFLECTOR(osgManipulator::PointerInfo) - I_DeclaringFile("osgManipulator/Dragger"); - I_Constructor0(____PointerInfo, - "", - ""); - I_Constructor1(IN, const osgManipulator::PointerInfo &, rhs, - Properties::NON_EXPLICIT, - ____PointerInfo__C5_PointerInfo_R1, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(bool, completed, - Properties::NON_VIRTUAL, - __bool__completed, - "", - ""); - I_Method0(void, next, - Properties::NON_VIRTUAL, - __void__next, - "", - ""); - I_Method0(osg::Vec3d, getLocalIntersectPoint, - Properties::NON_VIRTUAL, - __osg_Vec3d__getLocalIntersectPoint, - "", - ""); - I_Method2(void, setNearFarPoints, IN, osg::Vec3d, nearPoint, IN, osg::Vec3d, farPoint, - Properties::NON_VIRTUAL, - __void__setNearFarPoints__osg_Vec3d__osg_Vec3d, - "", - ""); - I_Method0(const osg::Vec3d &, getEyeDir, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getEyeDir, - "", - ""); - I_Method2(void, getNearFarPoints, IN, osg::Vec3d &, nearPoint, IN, osg::Vec3d &, farPoint, - Properties::NON_VIRTUAL, - __void__getNearFarPoints__osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_Method1(bool, contains, IN, const osg::Node *, node, - Properties::NON_VIRTUAL, - __bool__contains__C5_osg_Node_P1, - "", - ""); - I_Method1(void, setCamera, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - __void__setCamera__osg_Camera_P1, - "", - ""); - I_Method2(void, addIntersection, IN, const osg::NodePath &, nodePath, IN, const osg::Vec3d &, intersectionPoint, - Properties::NON_VIRTUAL, - __void__addIntersection__C5_osg_NodePath_R1__C5_osg_Vec3d_R1, - "", - ""); - I_Method2(void, setMousePosition, IN, float, pixel_x, IN, float, pixel_y, - Properties::NON_VIRTUAL, - __void__setMousePosition__float__float, - "", - ""); - I_ProtectedMethod3(bool, projectWindowXYIntoObject, IN, const osg::Vec2d &, windowCoord, IN, osg::Vec3d &, nearPoint, IN, osg::Vec3d &, farPoint, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__projectWindowXYIntoObject__C5_osg_Vec2d_R1__osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_SimpleProperty(osg::Camera *, Camera, - 0, - __void__setCamera__osg_Camera_P1); - I_SimpleProperty(const osg::Vec3d &, EyeDir, - __C5_osg_Vec3d_R1__getEyeDir, - 0); - I_SimpleProperty(osg::Vec3d, LocalIntersectPoint, - __osg_Vec3d__getLocalIntersectPoint, - 0); - I_PublicMemberProperty(osgManipulator::PointerInfo::IntersectionList, _hitList); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgManipulator::Constraint >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgManipulator::Constraint *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgManipulator::Constraint > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgManipulator::Constraint > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgManipulator::Constraint *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgManipulator::Constraint *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgManipulator::Constraint > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgManipulator::Constraint *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgManipulator::Dragger >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgManipulator::Dragger *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgManipulator::Dragger > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgManipulator::Dragger > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgManipulator::Dragger *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgManipulator::Dragger *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgManipulator::Dragger > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgManipulator::Dragger *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgManipulator::DraggerCallback >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgManipulator::DraggerCallback *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgManipulator::DraggerCallback > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgManipulator::DraggerCallback > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgManipulator::DraggerCallback *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgManipulator::DraggerCallback *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgManipulator::DraggerCallback > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgManipulator::DraggerCallback *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osgManipulator::PointerInfo::NodePathIntersectionPair >) - -STD_PAIR_REFLECTOR(std::pair< osg::NodePath COMMA osg::Vec3d >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgManipulator::Constraint > >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgManipulator::Dragger > >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgManipulator::DraggerCallback > >) - diff --git a/src/osgWrappers/introspection/osgManipulator/Projector.cpp b/src/osgWrappers/introspection/osgManipulator/Projector.cpp deleted file mode 100644 index 96616c44a..000000000 --- a/src/osgWrappers/introspection/osgManipulator/Projector.cpp +++ /dev/null @@ -1,288 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::CylinderPlaneProjector) - I_DeclaringFile("osgManipulator/Projector"); - I_BaseType(osgManipulator::CylinderProjector); - I_Constructor0(____CylinderPlaneProjector, - "", - ""); - I_Constructor1(IN, osg::Cylinder *, cylinder, - Properties::NON_EXPLICIT, - ____CylinderPlaneProjector__osg_Cylinder_P1, - "", - ""); - I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3d &, projectedPoint, - Properties::VIRTUAL, - __bool__project__C5_PointerInfo_R1__osg_Vec3d_R1, - "Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. ", - "Returns true on successful projection. "); - I_Method0(bool, isProjectionOnCylinder, - Properties::NON_VIRTUAL, - __bool__isProjectionOnCylinder, - "Returns true if the previous projection was on the cylinder and false if the projection was on the plane. ", - ""); - I_Method4(osg::Quat, getRotation, IN, const osg::Vec3d &, p1, IN, bool, p1OnCyl, IN, const osg::Vec3d &, p2, IN, bool, p2OnCyl, - Properties::NON_VIRTUAL, - __osg_Quat__getRotation__C5_osg_Vec3d_R1__bool__C5_osg_Vec3d_R1__bool, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::CylinderProjector) - I_DeclaringFile("osgManipulator/Projector"); - I_BaseType(osgManipulator::Projector); - I_Constructor0(____CylinderProjector, - "", - ""); - I_Constructor1(IN, osg::Cylinder *, cylinder, - Properties::NON_EXPLICIT, - ____CylinderProjector__osg_Cylinder_P1, - "", - ""); - I_Method1(void, setCylinder, IN, osg::Cylinder *, cylinder, - Properties::NON_VIRTUAL, - __void__setCylinder__osg_Cylinder_P1, - "", - ""); - I_Method0(const osg::Cylinder *, getCylinder, - Properties::NON_VIRTUAL, - __C5_osg_Cylinder_P1__getCylinder, - "", - ""); - I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3d &, projectedPoint, - Properties::VIRTUAL, - __bool__project__C5_PointerInfo_R1__osg_Vec3d_R1, - "Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. ", - "Returns true on successful projection. "); - I_Method2(bool, isPointInFront, IN, const osgManipulator::PointerInfo &, pi, IN, const osg::Matrix &, localToWorld, - Properties::NON_VIRTUAL, - __bool__isPointInFront__C5_PointerInfo_R1__C5_osg_Matrix_R1, - "Returns true is the point is in front of the cylinder given the eye direction. ", - ""); - I_Method1(void, setFront, IN, bool, front, - Properties::NON_VIRTUAL, - __void__setFront__bool, - "", - ""); - I_SimpleProperty(osg::Cylinder *, Cylinder, - 0, - __void__setCylinder__osg_Cylinder_P1); - I_SimpleProperty(bool, Front, - 0, - __void__setFront__bool); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::LineProjector) - I_DeclaringFile("osgManipulator/Projector"); - I_BaseType(osgManipulator::Projector); - I_Constructor0(____LineProjector, - "", - ""); - I_Constructor2(IN, const osg::LineSegment::vec_type &, s, IN, const osg::LineSegment::vec_type &, e, - ____LineProjector__C5_osg_LineSegment_vec_type_R1__C5_osg_LineSegment_vec_type_R1, - "", - ""); - I_Method2(void, setLine, IN, const osg::LineSegment::vec_type &, s, IN, const osg::LineSegment::vec_type &, e, - Properties::NON_VIRTUAL, - __void__setLine__C5_osg_LineSegment_vec_type_R1__C5_osg_LineSegment_vec_type_R1, - "", - ""); - I_Method0(const osg::LineSegment::vec_type &, getLineStart, - Properties::NON_VIRTUAL, - __C5_osg_LineSegment_vec_type_R1__getLineStart, - "", - ""); - I_Method0(osg::LineSegment::vec_type &, getLineStart, - Properties::NON_VIRTUAL, - __osg_LineSegment_vec_type_R1__getLineStart, - "", - ""); - I_Method0(const osg::LineSegment::vec_type &, getLineEnd, - Properties::NON_VIRTUAL, - __C5_osg_LineSegment_vec_type_R1__getLineEnd, - "", - ""); - I_Method0(osg::LineSegment::vec_type &, getLineEnd, - Properties::NON_VIRTUAL, - __osg_LineSegment_vec_type_R1__getLineEnd, - "", - ""); - I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3d &, projectedPoint, - Properties::VIRTUAL, - __bool__project__C5_PointerInfo_R1__osg_Vec3d_R1, - "Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given line. ", - "Returns true on successful projection. "); - I_SimpleProperty(osg::LineSegment::vec_type &, LineEnd, - __osg_LineSegment_vec_type_R1__getLineEnd, - 0); - I_SimpleProperty(osg::LineSegment::vec_type &, LineStart, - __osg_LineSegment_vec_type_R1__getLineStart, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::PlaneProjector) - I_DeclaringFile("osgManipulator/Projector"); - I_BaseType(osgManipulator::Projector); - I_Constructor0(____PlaneProjector, - "", - ""); - I_Constructor1(IN, const osg::Plane &, plane, - Properties::NON_EXPLICIT, - ____PlaneProjector__C5_osg_Plane_R1, - "", - ""); - I_Method1(void, setPlane, IN, const osg::Plane &, plane, - Properties::NON_VIRTUAL, - __void__setPlane__C5_osg_Plane_R1, - "", - ""); - I_Method0(const osg::Plane &, getPlane, - Properties::NON_VIRTUAL, - __C5_osg_Plane_R1__getPlane, - "", - ""); - I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3d &, projectedPoint, - Properties::VIRTUAL, - __bool__project__C5_PointerInfo_R1__osg_Vec3d_R1, - "Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. ", - "Returns true on successful projection. "); - I_SimpleProperty(const osg::Plane &, Plane, - __C5_osg_Plane_R1__getPlane, - __void__setPlane__C5_osg_Plane_R1); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgManipulator::Projector) - I_DeclaringFile("osgManipulator/Projector"); - I_BaseType(osg::Referenced); - I_Constructor0(____Projector, - "", - ""); - I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3d &, projectedPoint, - Properties::PURE_VIRTUAL, - __bool__project__C5_PointerInfo_R1__osg_Vec3d_R1, - "Calculates the object/world coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto some shape or geometry (implemented in derived classes). ", - "SceneView in used for i projecting window coordinates into object coordinates and vice versa. Returns true on successful projection. "); - I_Method1(void, setLocalToWorld, IN, const osg::Matrix &, localToWorld, - Properties::NON_VIRTUAL, - __void__setLocalToWorld__C5_osg_Matrix_R1, - "Sets the matrix for transforming the projector's local coordinate system to the world/object coordinate system. ", - ""); - I_Method0(const osg::Matrix &, getLocalToWorld, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getLocalToWorld, - "Gets the matrix for transforming the projector's local coordinate system to the world/object coordinate system. ", - ""); - I_Method0(const osg::Matrix &, getWorldToLocal, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getWorldToLocal, - "Gets the matrix for transforming the world/object coordinate system to the command's local coordinate system. ", - ""); - I_SimpleProperty(const osg::Matrix &, LocalToWorld, - __C5_osg_Matrix_R1__getLocalToWorld, - __void__setLocalToWorld__C5_osg_Matrix_R1); - I_SimpleProperty(const osg::Matrix &, WorldToLocal, - __C5_osg_Matrix_R1__getWorldToLocal, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::SpherePlaneProjector) - I_DeclaringFile("osgManipulator/Projector"); - I_BaseType(osgManipulator::SphereProjector); - I_Constructor0(____SpherePlaneProjector, - "", - ""); - I_Constructor1(IN, osg::Sphere *, sphere, - Properties::NON_EXPLICIT, - ____SpherePlaneProjector__osg_Sphere_P1, - "", - ""); - I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3d &, projectedPoint, - Properties::VIRTUAL, - __bool__project__C5_PointerInfo_R1__osg_Vec3d_R1, - "Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given sphere. ", - "Returns true on successful projection. "); - I_Method0(bool, isProjectionOnSphere, - Properties::NON_VIRTUAL, - __bool__isProjectionOnSphere, - "Returns true if the previous projection was on the sphere and false if the projection was on the plane. ", - ""); - I_MethodWithDefaults5(osg::Quat, getRotation, IN, const osg::Vec3d &, p1, , IN, bool, p1OnSphere, , IN, const osg::Vec3d &, p2, , IN, bool, p2OnSphere, , IN, float, radialFactor, 0.0f, - Properties::NON_VIRTUAL, - __osg_Quat__getRotation__C5_osg_Vec3d_R1__bool__C5_osg_Vec3d_R1__bool__float, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::SphereProjector) - I_DeclaringFile("osgManipulator/Projector"); - I_BaseType(osgManipulator::Projector); - I_Constructor0(____SphereProjector, - "", - ""); - I_Constructor1(IN, osg::Sphere *, sphere, - Properties::NON_EXPLICIT, - ____SphereProjector__osg_Sphere_P1, - "", - ""); - I_Method1(void, setSphere, IN, osg::Sphere *, sphere, - Properties::NON_VIRTUAL, - __void__setSphere__osg_Sphere_P1, - "", - ""); - I_Method0(const osg::Sphere *, getSphere, - Properties::NON_VIRTUAL, - __C5_osg_Sphere_P1__getSphere, - "", - ""); - I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3d &, projectedPoint, - Properties::VIRTUAL, - __bool__project__C5_PointerInfo_R1__osg_Vec3d_R1, - "Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given sphere. ", - "Returns true on successful projection. "); - I_Method2(bool, isPointInFront, IN, const osgManipulator::PointerInfo &, pi, IN, const osg::Matrix &, localToWorld, - Properties::NON_VIRTUAL, - __bool__isPointInFront__C5_PointerInfo_R1__C5_osg_Matrix_R1, - "Returns true is the point is in front of the cylinder given the eye direction. ", - ""); - I_Method1(void, setFront, IN, bool, front, - Properties::NON_VIRTUAL, - __void__setFront__bool, - "", - ""); - I_SimpleProperty(bool, Front, - 0, - __void__setFront__bool); - I_SimpleProperty(osg::Sphere *, Sphere, - 0, - __void__setSphere__osg_Sphere_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/RotateCylinderDragger.cpp b/src/osgWrappers/introspection/osgManipulator/RotateCylinderDragger.cpp deleted file mode 100644 index 0f2aefbb0..000000000 --- a/src/osgWrappers/introspection/osgManipulator/RotateCylinderDragger.cpp +++ /dev/null @@ -1,93 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::RotateCylinderDragger) - I_DeclaringFile("osgManipulator/RotateCylinderDragger"); - I_BaseType(osgManipulator::Dragger); - I_Constructor0(____RotateCylinderDragger, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Handle pick events on dragger and generate TranslateInLine commands. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_osg_Vec4_R1, - "Set/Get color for dragger. ", - ""); - I_Method0(const osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColor, - "", - ""); - I_Method1(void, setPickColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setPickColor__C5_osg_Vec4_R1, - "Set/Get pick color for dragger. ", - "Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked. "); - I_Method0(const osg::Vec4 &, getPickColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getPickColor, - "", - ""); - I_SimpleProperty(const osg::Vec4 &, Color, - __C5_osg_Vec4_R1__getColor, - __void__setColor__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec4 &, PickColor, - __C5_osg_Vec4_R1__getPickColor, - __void__setPickColor__C5_osg_Vec4_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/RotateSphereDragger.cpp b/src/osgWrappers/introspection/osgManipulator/RotateSphereDragger.cpp deleted file mode 100644 index 82c2e57d7..000000000 --- a/src/osgWrappers/introspection/osgManipulator/RotateSphereDragger.cpp +++ /dev/null @@ -1,93 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::RotateSphereDragger) - I_DeclaringFile("osgManipulator/RotateSphereDragger"); - I_BaseType(osgManipulator::Dragger); - I_Constructor0(____RotateSphereDragger, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, x, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Handle pick events on dragger and generate TranslateInLine commands. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_osg_Vec4_R1, - "Set/Get color for dragger. ", - ""); - I_Method0(const osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColor, - "", - ""); - I_Method1(void, setPickColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setPickColor__C5_osg_Vec4_R1, - "Set/Get pick color for dragger. ", - "Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked. "); - I_Method0(const osg::Vec4 &, getPickColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getPickColor, - "", - ""); - I_SimpleProperty(const osg::Vec4 &, Color, - __C5_osg_Vec4_R1__getColor, - __void__setColor__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec4 &, PickColor, - __C5_osg_Vec4_R1__getPickColor, - __void__setPickColor__C5_osg_Vec4_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/Scale1DDragger.cpp b/src/osgWrappers/introspection/osgManipulator/Scale1DDragger.cpp deleted file mode 100644 index 188848f8e..000000000 --- a/src/osgWrappers/introspection/osgManipulator/Scale1DDragger.cpp +++ /dev/null @@ -1,177 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgManipulator::Scale1DDragger::ScaleMode) - I_DeclaringFile("osgManipulator/Scale1DDragger"); - I_EnumLabel(osgManipulator::Scale1DDragger::SCALE_WITH_ORIGIN_AS_PIVOT); - I_EnumLabel(osgManipulator::Scale1DDragger::SCALE_WITH_OPPOSITE_HANDLE_AS_PIVOT); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale1DDragger) - I_DeclaringFile("osgManipulator/Scale1DDragger"); - I_BaseType(osgManipulator::Dragger); - I_ConstructorWithDefaults1(IN, osgManipulator::Scale1DDragger::ScaleMode, scaleMode, osgManipulator::Scale1DDragger::SCALE_WITH_ORIGIN_AS_PIVOT, - Properties::NON_EXPLICIT, - ____Scale1DDragger__ScaleMode, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Handle pick events on dragger and generate TranslateInLine commands. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); - I_Method1(void, setMinScale, IN, double, min, - Properties::NON_VIRTUAL, - __void__setMinScale__double, - "Set/Get min scale for dragger. ", - ""); - I_Method0(double, getMinScale, - Properties::NON_VIRTUAL, - __double__getMinScale, - "", - ""); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_osg_Vec4_R1, - "Set/Get color for dragger. ", - ""); - I_Method0(const osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColor, - "", - ""); - I_Method1(void, setPickColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setPickColor__C5_osg_Vec4_R1, - "Set/Get pick color for dragger. ", - "Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked. "); - I_Method0(const osg::Vec4 &, getPickColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getPickColor, - "", - ""); - I_Method1(void, setLeftHandleNode, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - __void__setLeftHandleNode__osg_Node_R1, - "Set/Get left and right handle nodes for dragger. ", - ""); - I_Method1(void, setRightHandleNode, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - __void__setRightHandleNode__osg_Node_R1, - "", - ""); - I_Method0(osg::Node *, getLeftHandleNode, - Properties::NON_VIRTUAL, - __osg_Node_P1__getLeftHandleNode, - "", - ""); - I_Method0(const osg::Node *, getLeftHandleNode, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getLeftHandleNode, - "", - ""); - I_Method0(osg::Node *, getRightHandleNode, - Properties::NON_VIRTUAL, - __osg_Node_P1__getRightHandleNode, - "", - ""); - I_Method0(const osg::Node *, getRightHandleNode, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getRightHandleNode, - "", - ""); - I_Method1(void, setLeftHandlePosition, IN, double, pos, - Properties::NON_VIRTUAL, - __void__setLeftHandlePosition__double, - "Set left/right handle position. ", - ""); - I_Method0(double, getLeftHandlePosition, - Properties::NON_VIRTUAL, - __double__getLeftHandlePosition, - "", - ""); - I_Method1(void, setRightHandlePosition, IN, double, pos, - Properties::NON_VIRTUAL, - __void__setRightHandlePosition__double, - "", - ""); - I_Method0(double, getRightHandlePosition, - Properties::NON_VIRTUAL, - __double__getRightHandlePosition, - "", - ""); - I_SimpleProperty(const osg::Vec4 &, Color, - __C5_osg_Vec4_R1__getColor, - __void__setColor__C5_osg_Vec4_R1); - I_SimpleProperty(osg::Node &, LeftHandleNode, - 0, - __void__setLeftHandleNode__osg_Node_R1); - I_SimpleProperty(double, LeftHandlePosition, - __double__getLeftHandlePosition, - __void__setLeftHandlePosition__double); - I_SimpleProperty(double, MinScale, - __double__getMinScale, - __void__setMinScale__double); - I_SimpleProperty(const osg::Vec4 &, PickColor, - __C5_osg_Vec4_R1__getPickColor, - __void__setPickColor__C5_osg_Vec4_R1); - I_SimpleProperty(osg::Node &, RightHandleNode, - 0, - __void__setRightHandleNode__osg_Node_R1); - I_SimpleProperty(double, RightHandlePosition, - __double__getRightHandlePosition, - __void__setRightHandlePosition__double); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/Scale2DDragger.cpp b/src/osgWrappers/introspection/osgManipulator/Scale2DDragger.cpp deleted file mode 100644 index b7914b50c..000000000 --- a/src/osgWrappers/introspection/osgManipulator/Scale2DDragger.cpp +++ /dev/null @@ -1,240 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgManipulator::Scale2DDragger::ScaleMode) - I_DeclaringFile("osgManipulator/Scale2DDragger"); - I_EnumLabel(osgManipulator::Scale2DDragger::SCALE_WITH_ORIGIN_AS_PIVOT); - I_EnumLabel(osgManipulator::Scale2DDragger::SCALE_WITH_OPPOSITE_HANDLE_AS_PIVOT); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DDragger) - I_DeclaringFile("osgManipulator/Scale2DDragger"); - I_BaseType(osgManipulator::Dragger); - I_ConstructorWithDefaults1(IN, osgManipulator::Scale2DDragger::ScaleMode, scaleMode, osgManipulator::Scale2DDragger::SCALE_WITH_ORIGIN_AS_PIVOT, - Properties::NON_EXPLICIT, - ____Scale2DDragger__ScaleMode, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Handle pick events on dragger and generate TranslateInLine commands. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); - I_Method1(void, setMinScale, IN, const osg::Vec2d &, min, - Properties::NON_VIRTUAL, - __void__setMinScale__C5_osg_Vec2d_R1, - "Set/Get min scale for dragger. ", - ""); - I_Method0(const osg::Vec2d &, getMinScale, - Properties::NON_VIRTUAL, - __C5_osg_Vec2d_R1__getMinScale, - "", - ""); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_osg_Vec4_R1, - "Set/Get color for dragger. ", - ""); - I_Method0(const osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColor, - "", - ""); - I_Method1(void, setPickColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setPickColor__C5_osg_Vec4_R1, - "Set/Get pick color for dragger. ", - "Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked. "); - I_Method0(const osg::Vec4 &, getPickColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getPickColor, - "", - ""); - I_Method1(void, setTopLeftHandleNode, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - __void__setTopLeftHandleNode__osg_Node_R1, - "Set/Get the handle nodes for dragger. ", - ""); - I_Method0(osg::Node *, getTopLeftHandleNode, - Properties::NON_VIRTUAL, - __osg_Node_P1__getTopLeftHandleNode, - "", - ""); - I_Method0(const osg::Node *, getTopLeftHandleNode, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getTopLeftHandleNode, - "", - ""); - I_Method1(void, setBottomLeftHandleNode, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - __void__setBottomLeftHandleNode__osg_Node_R1, - "", - ""); - I_Method0(osg::Node *, getBottomLeftHandleNode, - Properties::NON_VIRTUAL, - __osg_Node_P1__getBottomLeftHandleNode, - "", - ""); - I_Method0(const osg::Node *, getBottomLeftHandleNode, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getBottomLeftHandleNode, - "", - ""); - I_Method1(void, setTopRightHandleNode, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - __void__setTopRightHandleNode__osg_Node_R1, - "", - ""); - I_Method0(osg::Node *, getTopRightHandleNode, - Properties::NON_VIRTUAL, - __osg_Node_P1__getTopRightHandleNode, - "", - ""); - I_Method0(const osg::Node *, getTopRightHandleNode, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getTopRightHandleNode, - "", - ""); - I_Method1(void, setBottomRightHandleNode, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - __void__setBottomRightHandleNode__osg_Node_R1, - "", - ""); - I_Method0(osg::Node *, getBottomRightHandleNode, - Properties::NON_VIRTUAL, - __osg_Node_P1__getBottomRightHandleNode, - "", - ""); - I_Method0(const osg::Node *, getBottomRightHandleNode, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getBottomRightHandleNode, - "", - ""); - I_Method1(void, setTopLeftHandlePosition, IN, const osg::Vec2d &, pos, - Properties::NON_VIRTUAL, - __void__setTopLeftHandlePosition__C5_osg_Vec2d_R1, - "Set/Get the handle nodes postion for dragger. ", - ""); - I_Method0(const osg::Vec2d &, getTopLeftHandlePosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec2d_R1__getTopLeftHandlePosition, - "", - ""); - I_Method1(void, setBottomLeftHandlePosition, IN, const osg::Vec2d &, pos, - Properties::NON_VIRTUAL, - __void__setBottomLeftHandlePosition__C5_osg_Vec2d_R1, - "", - ""); - I_Method0(const osg::Vec2d &, getBottomLeftHandlePosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec2d_R1__getBottomLeftHandlePosition, - "", - ""); - I_Method1(void, setTopRightHandlePosition, IN, const osg::Vec2d &, pos, - Properties::NON_VIRTUAL, - __void__setTopRightHandlePosition__C5_osg_Vec2d_R1, - "", - ""); - I_Method0(const osg::Vec2d &, getTopRightHandlePosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec2d_R1__getTopRightHandlePosition, - "", - ""); - I_Method1(void, setBottomRightHandlePosition, IN, const osg::Vec2d &, pos, - Properties::NON_VIRTUAL, - __void__setBottomRightHandlePosition__C5_osg_Vec2d_R1, - "", - ""); - I_Method0(const osg::Vec2d &, getBottomRightHandlePosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec2d_R1__getBottomRightHandlePosition, - "", - ""); - I_SimpleProperty(osg::Node &, BottomLeftHandleNode, - 0, - __void__setBottomLeftHandleNode__osg_Node_R1); - I_SimpleProperty(const osg::Vec2d &, BottomLeftHandlePosition, - __C5_osg_Vec2d_R1__getBottomLeftHandlePosition, - __void__setBottomLeftHandlePosition__C5_osg_Vec2d_R1); - I_SimpleProperty(osg::Node &, BottomRightHandleNode, - 0, - __void__setBottomRightHandleNode__osg_Node_R1); - I_SimpleProperty(const osg::Vec2d &, BottomRightHandlePosition, - __C5_osg_Vec2d_R1__getBottomRightHandlePosition, - __void__setBottomRightHandlePosition__C5_osg_Vec2d_R1); - I_SimpleProperty(const osg::Vec4 &, Color, - __C5_osg_Vec4_R1__getColor, - __void__setColor__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec2d &, MinScale, - __C5_osg_Vec2d_R1__getMinScale, - __void__setMinScale__C5_osg_Vec2d_R1); - I_SimpleProperty(const osg::Vec4 &, PickColor, - __C5_osg_Vec4_R1__getPickColor, - __void__setPickColor__C5_osg_Vec4_R1); - I_SimpleProperty(osg::Node &, TopLeftHandleNode, - 0, - __void__setTopLeftHandleNode__osg_Node_R1); - I_SimpleProperty(const osg::Vec2d &, TopLeftHandlePosition, - __C5_osg_Vec2d_R1__getTopLeftHandlePosition, - __void__setTopLeftHandlePosition__C5_osg_Vec2d_R1); - I_SimpleProperty(osg::Node &, TopRightHandleNode, - 0, - __void__setTopRightHandleNode__osg_Node_R1); - I_SimpleProperty(const osg::Vec2d &, TopRightHandlePosition, - __C5_osg_Vec2d_R1__getTopRightHandlePosition, - __void__setTopRightHandlePosition__C5_osg_Vec2d_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/ScaleAxisDragger.cpp b/src/osgWrappers/introspection/osgManipulator/ScaleAxisDragger.cpp deleted file mode 100644 index d42955f67..000000000 --- a/src/osgWrappers/introspection/osgManipulator/ScaleAxisDragger.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::ScaleAxisDragger) - I_DeclaringFile("osgManipulator/ScaleAxisDragger"); - I_BaseType(osgManipulator::CompositeDragger); - I_Constructor0(____ScaleAxisDragger, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/Selection.cpp b/src/osgWrappers/introspection/osgManipulator/Selection.cpp deleted file mode 100644 index cb2f1505c..000000000 --- a/src/osgWrappers/introspection/osgManipulator/Selection.cpp +++ /dev/null @@ -1,26 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::MatrixTransform, osgManipulator::Selection) - diff --git a/src/osgWrappers/introspection/osgManipulator/TabBoxDragger.cpp b/src/osgWrappers/introspection/osgManipulator/TabBoxDragger.cpp deleted file mode 100644 index d429ba0fe..000000000 --- a/src/osgWrappers/introspection/osgManipulator/TabBoxDragger.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::TabBoxDragger) - I_DeclaringFile("osgManipulator/TabBoxDragger"); - I_BaseType(osgManipulator::CompositeDragger); - I_Constructor0(____TabBoxDragger, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); - I_Method1(void, setPlaneColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setPlaneColor__C5_osg_Vec4_R1, - "", - ""); - I_SimpleProperty(const osg::Vec4 &, PlaneColor, - 0, - __void__setPlaneColor__C5_osg_Vec4_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/TabBoxTrackballDragger.cpp b/src/osgWrappers/introspection/osgManipulator/TabBoxTrackballDragger.cpp deleted file mode 100644 index f92f16cec..000000000 --- a/src/osgWrappers/introspection/osgManipulator/TabBoxTrackballDragger.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::TabBoxTrackballDragger) - I_DeclaringFile("osgManipulator/TabBoxTrackballDragger"); - I_BaseType(osgManipulator::CompositeDragger); - I_Constructor0(____TabBoxTrackballDragger, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/TabPlaneDragger.cpp b/src/osgWrappers/introspection/osgManipulator/TabPlaneDragger.cpp deleted file mode 100644 index 65b0503a3..000000000 --- a/src/osgWrappers/introspection/osgManipulator/TabPlaneDragger.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::TabPlaneDragger) - I_DeclaringFile("osgManipulator/TabPlaneDragger"); - I_BaseType(osgManipulator::CompositeDragger); - I_Constructor0(____TabPlaneDragger, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_MethodWithDefaults1(void, setupDefaultGeometry, IN, bool, twoSidedHandle, true, - Properties::NON_VIRTUAL, - __void__setupDefaultGeometry__bool, - "Setup default geometry for dragger. ", - ""); - I_Method1(void, setPlaneColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setPlaneColor__C5_osg_Vec4_R1, - "", - ""); - I_SimpleProperty(const osg::Vec4 &, PlaneColor, - 0, - __void__setPlaneColor__C5_osg_Vec4_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/TabPlaneTrackballDragger.cpp b/src/osgWrappers/introspection/osgManipulator/TabPlaneTrackballDragger.cpp deleted file mode 100644 index 8169d1d18..000000000 --- a/src/osgWrappers/introspection/osgManipulator/TabPlaneTrackballDragger.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::TabPlaneTrackballDragger) - I_DeclaringFile("osgManipulator/TabPlaneTrackballDragger"); - I_BaseType(osgManipulator::CompositeDragger); - I_Constructor0(____TabPlaneTrackballDragger, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); - I_Method1(void, setPlaneColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setPlaneColor__C5_osg_Vec4_R1, - "", - ""); - I_SimpleProperty(const osg::Vec4 &, PlaneColor, - 0, - __void__setPlaneColor__C5_osg_Vec4_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/TrackballDragger.cpp b/src/osgWrappers/introspection/osgManipulator/TrackballDragger.cpp deleted file mode 100644 index cd5c10c56..000000000 --- a/src/osgWrappers/introspection/osgManipulator/TrackballDragger.cpp +++ /dev/null @@ -1,60 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::TrackballDragger) - I_DeclaringFile("osgManipulator/TrackballDragger"); - I_BaseType(osgManipulator::CompositeDragger); - I_ConstructorWithDefaults1(IN, bool, useAutoTransform, false, - Properties::NON_EXPLICIT, - ____TrackballDragger__bool, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/Translate1DDragger.cpp b/src/osgWrappers/introspection/osgManipulator/Translate1DDragger.cpp deleted file mode 100644 index 1bafd3fb3..000000000 --- a/src/osgWrappers/introspection/osgManipulator/Translate1DDragger.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::Translate1DDragger) - I_DeclaringFile("osgManipulator/Translate1DDragger"); - I_BaseType(osgManipulator::Dragger); - I_Constructor0(____Translate1DDragger, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Constructor2(IN, const osg::Vec3d &, s, IN, const osg::Vec3d &, e, - ____Translate1DDragger__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1, - "", - ""); - I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Handle pick events on dragger and generate TranslateInLine commands. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_osg_Vec4_R1, - "Set/Get color for dragger. ", - ""); - I_Method0(const osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColor, - "", - ""); - I_Method1(void, setPickColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setPickColor__C5_osg_Vec4_R1, - "Set/Get pick color for dragger. ", - "Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked. "); - I_Method0(const osg::Vec4 &, getPickColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getPickColor, - "", - ""); - I_Method1(void, setCheckForNodeInNodePath, IN, bool, onOff, - Properties::NON_VIRTUAL, - __void__setCheckForNodeInNodePath__bool, - "", - ""); - I_SimpleProperty(bool, CheckForNodeInNodePath, - 0, - __void__setCheckForNodeInNodePath__bool); - I_SimpleProperty(const osg::Vec4 &, Color, - __C5_osg_Vec4_R1__getColor, - __void__setColor__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec4 &, PickColor, - __C5_osg_Vec4_R1__getPickColor, - __void__setPickColor__C5_osg_Vec4_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/Translate2DDragger.cpp b/src/osgWrappers/introspection/osgManipulator/Translate2DDragger.cpp deleted file mode 100644 index 686510337..000000000 --- a/src/osgWrappers/introspection/osgManipulator/Translate2DDragger.cpp +++ /dev/null @@ -1,99 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::Translate2DDragger) - I_DeclaringFile("osgManipulator/Translate2DDragger"); - I_BaseType(osgManipulator::Dragger); - I_Constructor0(____Translate2DDragger, - "", - ""); - I_Constructor1(IN, const osg::Plane &, plane, - Properties::NON_EXPLICIT, - ____Translate2DDragger__C5_osg_Plane_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Handle pick events on dragger and generate TranslateInLine commands. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_osg_Vec4_R1, - "Set/Get color for dragger. ", - ""); - I_Method0(const osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColor, - "", - ""); - I_Method1(void, setPickColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setPickColor__C5_osg_Vec4_R1, - "Set/Get pick color for dragger. ", - "Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked. "); - I_Method0(const osg::Vec4 &, getPickColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getPickColor, - "", - ""); - I_SimpleProperty(const osg::Vec4 &, Color, - __C5_osg_Vec4_R1__getColor, - __void__setColor__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec4 &, PickColor, - __C5_osg_Vec4_R1__getPickColor, - __void__setPickColor__C5_osg_Vec4_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/TranslateAxisDragger.cpp b/src/osgWrappers/introspection/osgManipulator/TranslateAxisDragger.cpp deleted file mode 100644 index b277ef7ab..000000000 --- a/src/osgWrappers/introspection/osgManipulator/TranslateAxisDragger.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::TranslateAxisDragger) - I_DeclaringFile("osgManipulator/TranslateAxisDragger"); - I_BaseType(osgManipulator::CompositeDragger); - I_Constructor0(____TranslateAxisDragger, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgManipulator/TranslatePlaneDragger.cpp b/src/osgWrappers/introspection/osgManipulator/TranslatePlaneDragger.cpp deleted file mode 100644 index 010a72bcb..000000000 --- a/src/osgWrappers/introspection/osgManipulator/TranslatePlaneDragger.cpp +++ /dev/null @@ -1,93 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgManipulator::TranslatePlaneDragger) - I_DeclaringFile("osgManipulator/TranslatePlaneDragger"); - I_BaseType(osgManipulator::CompositeDragger); - I_Constructor0(____TranslatePlaneDragger, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us, - Properties::VIRTUAL, - __bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_Method0(void, setupDefaultGeometry, - Properties::VIRTUAL, - __void__setupDefaultGeometry, - "Setup default geometry for dragger. ", - ""); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_osg_Vec4_R1, - "", - ""); - I_Method0(osgManipulator::Translate1DDragger *, getTranslate1DDragger, - Properties::NON_VIRTUAL, - __Translate1DDragger_P1__getTranslate1DDragger, - "", - ""); - I_Method0(osgManipulator::Translate2DDragger *, getTranslate2DDragger, - Properties::NON_VIRTUAL, - __Translate2DDragger_P1__getTranslate2DDragger, - "", - ""); - I_SimpleProperty(const osg::Vec4 &, Color, - 0, - __void__setColor__C5_osg_Vec4_R1); - I_SimpleProperty(osgManipulator::Translate1DDragger *, Translate1DDragger, - __Translate1DDragger_P1__getTranslate1DDragger, - 0); - I_SimpleProperty(osgManipulator::Translate2DDragger *, Translate2DDragger, - __Translate2DDragger_P1__getTranslate2DDragger, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/AccelOperator.cpp b/src/osgWrappers/introspection/osgParticle/AccelOperator.cpp deleted file mode 100644 index 598b52ea0..000000000 --- a/src/osgWrappers/introspection/osgParticle/AccelOperator.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::AccelOperator) - I_DeclaringFile("osgParticle/AccelOperator"); - I_BaseType(osgParticle::Operator); - I_Constructor0(____AccelOperator, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::AccelOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AccelOperator__C5_AccelOperator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const osg::Vec3 &, getAcceleration, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getAcceleration, - "Get the acceleration vector. ", - ""); - I_Method1(void, setAcceleration, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__setAcceleration__C5_osg_Vec3_R1, - "Set the acceleration vector. ", - ""); - I_MethodWithDefaults1(void, setToGravity, IN, float, scale, 1, - Properties::NON_VIRTUAL, - __void__setToGravity__float, - "Quickly set the acceleration vector to the gravity on earth (0, 0, -9.81). ", - "The acceleration will be multiplied by the scale parameter. "); - I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt, - Properties::VIRTUAL, - __void__operate__Particle_P1__double, - "Apply the acceleration to a particle. Do not call this method manually. ", - ""); - I_Method1(void, beginOperate, IN, osgParticle::Program *, prg, - Properties::VIRTUAL, - __void__beginOperate__Program_P1, - "Perform some initializations. Do not call this method manually. ", - ""); - I_SimpleProperty(const osg::Vec3 &, Acceleration, - __C5_osg_Vec3_R1__getAcceleration, - __void__setAcceleration__C5_osg_Vec3_R1); - I_SimpleProperty(float, ToGravity, - 0, - __void__setToGravity__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/AngularAccelOperator.cpp b/src/osgWrappers/introspection/osgParticle/AngularAccelOperator.cpp deleted file mode 100644 index 8b3a6d649..000000000 --- a/src/osgWrappers/introspection/osgParticle/AngularAccelOperator.cpp +++ /dev/null @@ -1,89 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::AngularAccelOperator) - I_DeclaringFile("osgParticle/AngularAccelOperator"); - I_BaseType(osgParticle::Operator); - I_Constructor0(____AngularAccelOperator, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::AngularAccelOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AngularAccelOperator__C5_AngularAccelOperator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const osg::Vec3 &, getAngularAcceleration, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getAngularAcceleration, - "Get the angular acceleration vector. ", - ""); - I_Method1(void, setAngularAcceleration, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__setAngularAcceleration__C5_osg_Vec3_R1, - "Set the angular acceleration vector. ", - ""); - I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt, - Properties::VIRTUAL, - __void__operate__Particle_P1__double, - "Apply the angular acceleration to a particle. Do not call this method manually. ", - ""); - I_Method1(void, beginOperate, IN, osgParticle::Program *, prg, - Properties::VIRTUAL, - __void__beginOperate__Program_P1, - "Perform some initializations. Do not call this method manually. ", - ""); - I_SimpleProperty(const osg::Vec3 &, AngularAcceleration, - __C5_osg_Vec3_R1__getAngularAcceleration, - __void__setAngularAcceleration__C5_osg_Vec3_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/BoxPlacer.cpp b/src/osgWrappers/introspection/osgParticle/BoxPlacer.cpp deleted file mode 100644 index 1aefd8f3a..000000000 --- a/src/osgWrappers/introspection/osgParticle/BoxPlacer.cpp +++ /dev/null @@ -1,133 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::BoxPlacer) - I_DeclaringFile("osgParticle/BoxPlacer"); - I_BaseType(osgParticle::CenteredPlacer); - I_Constructor0(____BoxPlacer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::BoxPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____BoxPlacer__C5_BoxPlacer_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const osgParticle::rangef &, getXRange, - Properties::NON_VIRTUAL, - __C5_rangef_R1__getXRange, - "Get the range of possible values along the X axis. ", - ""); - I_Method1(void, setXRange, IN, const osgParticle::rangef &, r, - Properties::NON_VIRTUAL, - __void__setXRange__C5_rangef_R1, - "Set the range of possible values along the X axis. ", - ""); - I_Method2(void, setXRange, IN, float, r1, IN, float, r2, - Properties::NON_VIRTUAL, - __void__setXRange__float__float, - "Set the range of possible values along the X axis. ", - ""); - I_Method0(const osgParticle::rangef &, getYRange, - Properties::NON_VIRTUAL, - __C5_rangef_R1__getYRange, - "Get the range of possible values along the Y axis. ", - ""); - I_Method1(void, setYRange, IN, const osgParticle::rangef &, r, - Properties::NON_VIRTUAL, - __void__setYRange__C5_rangef_R1, - "Set the range of possible values along the Y axis. ", - ""); - I_Method2(void, setYRange, IN, float, r1, IN, float, r2, - Properties::NON_VIRTUAL, - __void__setYRange__float__float, - "Set the range of possible values along the Y axis. ", - ""); - I_Method0(const osgParticle::rangef &, getZRange, - Properties::NON_VIRTUAL, - __C5_rangef_R1__getZRange, - "Get the range of possible values along the Z axis. ", - ""); - I_Method1(void, setZRange, IN, const osgParticle::rangef &, r, - Properties::NON_VIRTUAL, - __void__setZRange__C5_rangef_R1, - "Set the range of possible values along the Z axis. ", - ""); - I_Method2(void, setZRange, IN, float, r1, IN, float, r2, - Properties::NON_VIRTUAL, - __void__setZRange__float__float, - "Set the range of possible values along the Z axis. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, place, IN, osgParticle::Particle *, P, - Properties::VIRTUAL, - __void__place__Particle_P1, - "Place a particle. Do not call it manually. ", - ""); - I_Method0(osg::Vec3, getControlPosition, - Properties::VIRTUAL, - __osg_Vec3__getControlPosition, - "return the control position ", - ""); - I_SimpleProperty(osg::Vec3, ControlPosition, - __osg_Vec3__getControlPosition, - 0); - I_SimpleProperty(const osgParticle::rangef &, XRange, - __C5_rangef_R1__getXRange, - __void__setXRange__C5_rangef_R1); - I_SimpleProperty(const osgParticle::rangef &, YRange, - __C5_rangef_R1__getYRange, - __void__setYRange__C5_rangef_R1); - I_SimpleProperty(const osgParticle::rangef &, ZRange, - __C5_rangef_R1__getZRange, - __void__setZRange__C5_rangef_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/CenteredPlacer.cpp b/src/osgWrappers/introspection/osgParticle/CenteredPlacer.cpp deleted file mode 100644 index 7bf1dbff0..000000000 --- a/src/osgWrappers/introspection/osgParticle/CenteredPlacer.cpp +++ /dev/null @@ -1,72 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::CenteredPlacer) - I_DeclaringFile("osgParticle/CenteredPlacer"); - I_BaseType(osgParticle::Placer); - I_Constructor0(____CenteredPlacer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::CenteredPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____CenteredPlacer__C5_CenteredPlacer_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const osg::Vec3 &, getCenter, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getCenter, - "Get the center point. ", - ""); - I_Method1(void, setCenter, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__setCenter__C5_osg_Vec3_R1, - "Set the center point. ", - ""); - I_Method3(void, setCenter, IN, float, x, IN, float, y, IN, float, z, - Properties::NON_VIRTUAL, - __void__setCenter__float__float__float, - "Set the center point. ", - ""); - I_SimpleProperty(const osg::Vec3 &, Center, - __C5_osg_Vec3_R1__getCenter, - __void__setCenter__C5_osg_Vec3_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/ConnectedParticleSystem.cpp b/src/osgWrappers/introspection/osgParticle/ConnectedParticleSystem.cpp deleted file mode 100644 index b03f5b517..000000000 --- a/src/osgWrappers/introspection/osgParticle/ConnectedParticleSystem.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::ConnectedParticleSystem) - I_DeclaringFile("osgParticle/ConnectedParticleSystem"); - I_BaseType(osgParticle::ParticleSystem); - I_Constructor0(____ConnectedParticleSystem, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::ConnectedParticleSystem &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ConnectedParticleSystem__C5_ConnectedParticleSystem_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(osgParticle::Particle *, createParticle, IN, const osgParticle::Particle *, ptemplate, - Properties::VIRTUAL, - __Particle_P1__createParticle__C5_Particle_P1, - "Create a new particle from the specified template (or the default one if ptemplate is null). ", - ""); - I_Method1(void, reuseParticle, IN, int, i, - Properties::VIRTUAL, - __void__reuseParticle__int, - "Reuse the i-th particle. ", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1, - "Draw the connected particles as either a line or a quad strip, depending upon viewing distance. . ", - ""); - I_Method0(const osgParticle::Particle *, getStartParticle, - Properties::NON_VIRTUAL, - __C5_osgParticle_Particle_P1__getStartParticle, - "Get the (const) particle from where the line or quadstrip starts to be drawn. ", - ""); - I_Method0(osgParticle::Particle *, getStartParticle, - Properties::NON_VIRTUAL, - __osgParticle_Particle_P1__getStartParticle, - "Get the particle from where the line or quadstrip starts to be drawn. ", - ""); - I_Method1(void, setMaxNumberOfParticlesToSkip, IN, unsigned int, maxNumberofParticlesToSkip, - Properties::NON_VIRTUAL, - __void__setMaxNumberOfParticlesToSkip__unsigned_int, - "Set the maximum numbers of particles to be skipped during the predraw filtering. ", - ""); - I_Method0(unsigned int, getMaxNumberOfParticlesToSkip, - Properties::NON_VIRTUAL, - __unsigned_int__getMaxNumberOfParticlesToSkip, - "Get the maximum numbers of particles to be skipped during the predraw filtering. ", - ""); - I_SimpleProperty(unsigned int, MaxNumberOfParticlesToSkip, - __unsigned_int__getMaxNumberOfParticlesToSkip, - __void__setMaxNumberOfParticlesToSkip__unsigned_int); - I_SimpleProperty(osgParticle::Particle *, StartParticle, - __osgParticle_Particle_P1__getStartParticle, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/ConstantRateCounter.cpp b/src/osgWrappers/introspection/osgParticle/ConstantRateCounter.cpp deleted file mode 100644 index 0963c7db8..000000000 --- a/src/osgWrappers/introspection/osgParticle/ConstantRateCounter.cpp +++ /dev/null @@ -1,94 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::ConstantRateCounter) - I_DeclaringFile("osgParticle/ConstantRateCounter"); - I_BaseType(osgParticle::Counter); - I_Constructor0(____ConstantRateCounter, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::ConstantRateCounter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ConstantRateCounter__C5_ConstantRateCounter_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setMinimumNumberOfParticlesToCreate, IN, int, minNumToCreate, - Properties::NON_VIRTUAL, - __void__setMinimumNumberOfParticlesToCreate__int, - "", - ""); - I_Method0(int, getMinimumNumberOfParticlesToCreate, - Properties::NON_VIRTUAL, - __int__getMinimumNumberOfParticlesToCreate, - "", - ""); - I_Method1(void, setNumberOfParticlesPerSecondToCreate, IN, double, numPerSecond, - Properties::NON_VIRTUAL, - __void__setNumberOfParticlesPerSecondToCreate__double, - "", - ""); - I_Method0(double, getNumberOfParticlesPerSecondToCreate, - Properties::NON_VIRTUAL, - __double__getNumberOfParticlesPerSecondToCreate, - "", - ""); - I_Method1(int, numParticlesToCreate, IN, double, dt, - Properties::VIRTUAL, - __int__numParticlesToCreate__double, - "Return the number of particles to be created in this frame. ", - ""); - I_SimpleProperty(int, MinimumNumberOfParticlesToCreate, - __int__getMinimumNumberOfParticlesToCreate, - __void__setMinimumNumberOfParticlesToCreate__int); - I_SimpleProperty(double, NumberOfParticlesPerSecondToCreate, - __double__getNumberOfParticlesPerSecondToCreate, - __void__setNumberOfParticlesPerSecondToCreate__double); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/Counter.cpp b/src/osgWrappers/introspection/osgParticle/Counter.cpp deleted file mode 100644 index 139d41fa9..000000000 --- a/src/osgWrappers/introspection/osgParticle/Counter.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Counter) - I_DeclaringFile("osgParticle/Counter"); - I_BaseType(osg::Object); - I_Constructor0(____Counter, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::Counter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Counter__C5_Counter_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method1(int, numParticlesToCreate, IN, double, dt, - Properties::PURE_VIRTUAL, - __int__numParticlesToCreate__double, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/Emitter.cpp b/src/osgWrappers/introspection/osgParticle/Emitter.cpp deleted file mode 100644 index 9d98beaef..000000000 --- a/src/osgWrappers/introspection/osgParticle/Emitter.cpp +++ /dev/null @@ -1,98 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Emitter) - I_DeclaringFile("osgParticle/Emitter"); - I_BaseType(osgParticle::ParticleProcessor); - I_Constructor0(____Emitter, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::Emitter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Emitter__C5_Emitter_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(const osgParticle::Particle &, getParticleTemplate, - Properties::NON_VIRTUAL, - __C5_Particle_R1__getParticleTemplate, - "Get the particle template. ", - ""); - I_Method1(void, setParticleTemplate, IN, const osgParticle::Particle &, p, - Properties::NON_VIRTUAL, - __void__setParticleTemplate__C5_Particle_R1, - "Set the particle template (particle is copied). ", - ""); - I_Method0(bool, getUseDefaultTemplate, - Properties::NON_VIRTUAL, - __bool__getUseDefaultTemplate, - "Return whether the particle system's default template should be used. ", - ""); - I_Method1(void, setUseDefaultTemplate, IN, bool, v, - Properties::NON_VIRTUAL, - __void__setUseDefaultTemplate__bool, - "Set whether the default particle template should be used. ", - "When this flag is true, the particle template is ignored, and the particle system's default template is used instead. "); - I_ProtectedMethod1(void, process, IN, double, dt, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__process__double, - "", - ""); - I_ProtectedMethod1(void, emit, IN, double, dt, - Properties::PURE_VIRTUAL, - Properties::NON_CONST, - __void__emit__double, - "", - ""); - I_SimpleProperty(const osgParticle::Particle &, ParticleTemplate, - __C5_Particle_R1__getParticleTemplate, - __void__setParticleTemplate__C5_Particle_R1); - I_SimpleProperty(bool, UseDefaultTemplate, - __bool__getUseDefaultTemplate, - __void__setUseDefaultTemplate__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/ExplosionDebrisEffect.cpp b/src/osgWrappers/introspection/osgParticle/ExplosionDebrisEffect.cpp deleted file mode 100644 index 9d83e631e..000000000 --- a/src/osgWrappers/introspection/osgParticle/ExplosionDebrisEffect.cpp +++ /dev/null @@ -1,114 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::ExplosionDebrisEffect) - I_DeclaringFile("osgParticle/ExplosionDebrisEffect"); - I_BaseType(osgParticle::ParticleEffect); - I_ConstructorWithDefaults1(IN, bool, automaticSetup, true, - Properties::EXPLICIT, - ____ExplosionDebrisEffect__bool, - "", - ""); - I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f, - ____ExplosionDebrisEffect__C5_osg_Vec3_R1__float__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::ExplosionDebrisEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ExplosionDebrisEffect__C5_ExplosionDebrisEffect_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(void, setDefaults, - Properties::VIRTUAL, - __void__setDefaults, - "", - ""); - I_Method0(void, setUpEmitterAndProgram, - Properties::VIRTUAL, - __void__setUpEmitterAndProgram, - "", - ""); - I_Method0(osgParticle::Emitter *, getEmitter, - Properties::VIRTUAL, - __Emitter_P1__getEmitter, - "", - ""); - I_Method0(const osgParticle::Emitter *, getEmitter, - Properties::VIRTUAL, - __C5_Emitter_P1__getEmitter, - "", - ""); - I_Method0(osgParticle::Program *, getProgram, - Properties::VIRTUAL, - __Program_P1__getProgram, - "", - ""); - I_Method0(const osgParticle::Program *, getProgram, - Properties::VIRTUAL, - __C5_Program_P1__getProgram, - "", - ""); - I_SimpleProperty(osgParticle::Emitter *, Emitter, - __Emitter_P1__getEmitter, - 0); - I_SimpleProperty(osgParticle::Program *, Program, - __Program_P1__getProgram, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/ExplosionEffect.cpp b/src/osgWrappers/introspection/osgParticle/ExplosionEffect.cpp deleted file mode 100644 index ee30383ca..000000000 --- a/src/osgWrappers/introspection/osgParticle/ExplosionEffect.cpp +++ /dev/null @@ -1,114 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::ExplosionEffect) - I_DeclaringFile("osgParticle/ExplosionEffect"); - I_BaseType(osgParticle::ParticleEffect); - I_ConstructorWithDefaults1(IN, bool, automaticSetup, true, - Properties::EXPLICIT, - ____ExplosionEffect__bool, - "", - ""); - I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f, - ____ExplosionEffect__C5_osg_Vec3_R1__float__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::ExplosionEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ExplosionEffect__C5_ExplosionEffect_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(void, setDefaults, - Properties::VIRTUAL, - __void__setDefaults, - "", - ""); - I_Method0(void, setUpEmitterAndProgram, - Properties::VIRTUAL, - __void__setUpEmitterAndProgram, - "", - ""); - I_Method0(osgParticle::Emitter *, getEmitter, - Properties::VIRTUAL, - __Emitter_P1__getEmitter, - "", - ""); - I_Method0(const osgParticle::Emitter *, getEmitter, - Properties::VIRTUAL, - __C5_Emitter_P1__getEmitter, - "", - ""); - I_Method0(osgParticle::Program *, getProgram, - Properties::VIRTUAL, - __Program_P1__getProgram, - "", - ""); - I_Method0(const osgParticle::Program *, getProgram, - Properties::VIRTUAL, - __C5_Program_P1__getProgram, - "", - ""); - I_SimpleProperty(osgParticle::Emitter *, Emitter, - __Emitter_P1__getEmitter, - 0); - I_SimpleProperty(osgParticle::Program *, Program, - __Program_P1__getProgram, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/FireEffect.cpp b/src/osgWrappers/introspection/osgParticle/FireEffect.cpp deleted file mode 100644 index 69c6952cc..000000000 --- a/src/osgWrappers/introspection/osgParticle/FireEffect.cpp +++ /dev/null @@ -1,114 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::FireEffect) - I_DeclaringFile("osgParticle/FireEffect"); - I_BaseType(osgParticle::ParticleEffect); - I_ConstructorWithDefaults1(IN, bool, automaticSetup, true, - Properties::EXPLICIT, - ____FireEffect__bool, - "", - ""); - I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f, - ____FireEffect__C5_osg_Vec3_R1__float__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::FireEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____FireEffect__C5_FireEffect_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(void, setDefaults, - Properties::VIRTUAL, - __void__setDefaults, - "", - ""); - I_Method0(void, setUpEmitterAndProgram, - Properties::VIRTUAL, - __void__setUpEmitterAndProgram, - "", - ""); - I_Method0(osgParticle::Emitter *, getEmitter, - Properties::VIRTUAL, - __Emitter_P1__getEmitter, - "", - ""); - I_Method0(const osgParticle::Emitter *, getEmitter, - Properties::VIRTUAL, - __C5_Emitter_P1__getEmitter, - "", - ""); - I_Method0(osgParticle::Program *, getProgram, - Properties::VIRTUAL, - __Program_P1__getProgram, - "", - ""); - I_Method0(const osgParticle::Program *, getProgram, - Properties::VIRTUAL, - __C5_Program_P1__getProgram, - "", - ""); - I_SimpleProperty(osgParticle::Emitter *, Emitter, - __Emitter_P1__getEmitter, - 0); - I_SimpleProperty(osgParticle::Program *, Program, - __Program_P1__getProgram, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/ForceOperator.cpp b/src/osgWrappers/introspection/osgParticle/ForceOperator.cpp deleted file mode 100644 index 625466374..000000000 --- a/src/osgWrappers/introspection/osgParticle/ForceOperator.cpp +++ /dev/null @@ -1,89 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::ForceOperator) - I_DeclaringFile("osgParticle/ForceOperator"); - I_BaseType(osgParticle::Operator); - I_Constructor0(____ForceOperator, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::ForceOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ForceOperator__C5_ForceOperator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const osg::Vec3 &, getForce, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getForce, - "Get the force vector. ", - ""); - I_Method1(void, setForce, IN, const osg::Vec3 &, f, - Properties::NON_VIRTUAL, - __void__setForce__C5_osg_Vec3_R1, - "Set the force vector. ", - ""); - I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt, - Properties::VIRTUAL, - __void__operate__Particle_P1__double, - "Apply the force to a particle. Do not call this method manually. ", - ""); - I_Method1(void, beginOperate, IN, osgParticle::Program *, prg, - Properties::VIRTUAL, - __void__beginOperate__Program_P1, - "Perform some initialization. Do not call this method manually. ", - ""); - I_SimpleProperty(const osg::Vec3 &, Force, - __C5_osg_Vec3_R1__getForce, - __void__setForce__C5_osg_Vec3_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/Interpolator.cpp b/src/osgWrappers/introspection/osgParticle/Interpolator.cpp deleted file mode 100644 index fbabc4841..000000000 --- a/src/osgWrappers/introspection/osgParticle/Interpolator.cpp +++ /dev/null @@ -1,76 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Interpolator) - I_DeclaringFile("osgParticle/Interpolator"); - I_BaseType(osg::Object); - I_Constructor0(____Interpolator, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::Interpolator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Interpolator__C5_Interpolator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method3(float, interpolate, IN, float, t, IN, float, y1, IN, float, y2, - Properties::PURE_VIRTUAL, - __float__interpolate__float__float__float, - "Interpolate between floats. Must be overriden in descendant classes. ", - ""); - I_Method3(osg::Vec2, interpolate, IN, float, t, IN, const osg::Vec2 &, y1, IN, const osg::Vec2 &, y2, - Properties::VIRTUAL, - __osg_Vec2__interpolate__float__C5_osg_Vec2_R1__C5_osg_Vec2_R1, - "Interpolate between 2-dimensional vectors. Default behavior is to interpolate each component separately. ", - ""); - I_Method3(osg::Vec3, interpolate, IN, float, t, IN, const osg::Vec3 &, y1, IN, const osg::Vec3 &, y2, - Properties::VIRTUAL, - __osg_Vec3__interpolate__float__C5_osg_Vec3_R1__C5_osg_Vec3_R1, - "Interpolate between 3-dimensional vectors. Default behavior is to interpolate each component separately. ", - ""); - I_Method3(osg::Vec4, interpolate, IN, float, t, IN, const osg::Vec4 &, y1, IN, const osg::Vec4 &, y2, - Properties::VIRTUAL, - __osg_Vec4__interpolate__float__C5_osg_Vec4_R1__C5_osg_Vec4_R1, - "Interpolate between 4-dimensional vectors. Default behavior is to interpolate each component separately. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/LinearInterpolator.cpp b/src/osgWrappers/introspection/osgParticle/LinearInterpolator.cpp deleted file mode 100644 index dcbe63169..000000000 --- a/src/osgWrappers/introspection/osgParticle/LinearInterpolator.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::LinearInterpolator) - I_DeclaringFile("osgParticle/LinearInterpolator"); - I_BaseType(osgParticle::Interpolator); - I_Constructor0(____LinearInterpolator, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::LinearInterpolator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LinearInterpolator__C5_LinearInterpolator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method3(float, interpolate, IN, float, t, IN, float, y1, IN, float, y2, - Properties::VIRTUAL, - __float__interpolate__float__float__float, - "Interpolate between floats. Must be overriden in descendant classes. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/ModularEmitter.cpp b/src/osgWrappers/introspection/osgParticle/ModularEmitter.cpp deleted file mode 100644 index 23b735eb1..000000000 --- a/src/osgWrappers/introspection/osgParticle/ModularEmitter.cpp +++ /dev/null @@ -1,145 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::ModularEmitter) - I_DeclaringFile("osgParticle/ModularEmitter"); - I_BaseType(osgParticle::Emitter); - I_Constructor0(____ModularEmitter, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::ModularEmitter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ModularEmitter__C5_ModularEmitter_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(osgParticle::Counter *, getCounter, - Properties::NON_VIRTUAL, - __Counter_P1__getCounter, - "Get the counter object. ", - ""); - I_Method0(const osgParticle::Counter *, getCounter, - Properties::NON_VIRTUAL, - __C5_Counter_P1__getCounter, - "Get the const Counter object. ", - ""); - I_Method1(void, setCounter, IN, osgParticle::Counter *, c, - Properties::NON_VIRTUAL, - __void__setCounter__Counter_P1, - "Set the Counter object. ", - ""); - I_Method0(float, getNumParticlesToCreateMovementCompensationRatio, - Properties::NON_VIRTUAL, - __float__getNumParticlesToCreateMovementCompensationRatio, - "Get the ratio between number of particle to create in compensation for movement of the emitter. ", - ""); - I_Method1(void, setNumParticlesToCreateMovementCompensationRatio, IN, float, r, - Properties::NON_VIRTUAL, - __void__setNumParticlesToCreateMovementCompensationRatio__float, - "Set the ratio between number of particle to create in compenstation for movement of the emitter. ", - ""); - I_Method0(osgParticle::Placer *, getPlacer, - Properties::NON_VIRTUAL, - __Placer_P1__getPlacer, - "Get the Placer object. ", - ""); - I_Method0(const osgParticle::Placer *, getPlacer, - Properties::NON_VIRTUAL, - __C5_Placer_P1__getPlacer, - "Get the const Placer object. ", - ""); - I_Method1(void, setPlacer, IN, osgParticle::Placer *, p, - Properties::NON_VIRTUAL, - __void__setPlacer__Placer_P1, - "Set the Placer object. ", - ""); - I_Method0(osgParticle::Shooter *, getShooter, - Properties::NON_VIRTUAL, - __Shooter_P1__getShooter, - "Get the Shooter object. ", - ""); - I_Method0(const osgParticle::Shooter *, getShooter, - Properties::NON_VIRTUAL, - __C5_Shooter_P1__getShooter, - "Get the const Shooter object. ", - ""); - I_Method1(void, setShooter, IN, osgParticle::Shooter *, s, - Properties::NON_VIRTUAL, - __void__setShooter__Shooter_P1, - "Set the Shooter object. ", - ""); - I_ProtectedMethod1(void, emit, IN, double, dt, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__emit__double, - "", - ""); - I_SimpleProperty(osgParticle::Counter *, Counter, - __Counter_P1__getCounter, - __void__setCounter__Counter_P1); - I_SimpleProperty(float, NumParticlesToCreateMovementCompensationRatio, - 0, - __void__setNumParticlesToCreateMovementCompensationRatio__float); - I_SimpleProperty(osgParticle::Placer *, Placer, - __Placer_P1__getPlacer, - __void__setPlacer__Placer_P1); - I_SimpleProperty(osgParticle::Shooter *, Shooter, - __Shooter_P1__getShooter, - __void__setShooter__Shooter_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/ModularProgram.cpp b/src/osgWrappers/introspection/osgParticle/ModularProgram.cpp deleted file mode 100644 index 084127b0c..000000000 --- a/src/osgWrappers/introspection/osgParticle/ModularProgram.cpp +++ /dev/null @@ -1,101 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::ModularProgram) - I_DeclaringFile("osgParticle/ModularProgram"); - I_BaseType(osgParticle::Program); - I_Constructor0(____ModularProgram, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::ModularProgram &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ModularProgram__C5_ModularProgram_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(int, numOperators, - Properties::NON_VIRTUAL, - __int__numOperators, - "Get the number of operators. ", - ""); - I_Method1(void, addOperator, IN, osgParticle::Operator *, o, - Properties::NON_VIRTUAL, - __void__addOperator__Operator_P1, - "Add an operator to the list. ", - ""); - I_Method1(osgParticle::Operator *, getOperator, IN, int, i, - Properties::NON_VIRTUAL, - __Operator_P1__getOperator__int, - "Get a pointer to an operator in the list. ", - ""); - I_Method1(const osgParticle::Operator *, getOperator, IN, int, i, - Properties::NON_VIRTUAL, - __C5_Operator_P1__getOperator__int, - "Get a const pointer to an operator in the list. ", - ""); - I_Method1(void, removeOperator, IN, int, i, - Properties::NON_VIRTUAL, - __void__removeOperator__int, - "Remove an operator from the list. ", - ""); - I_ProtectedMethod1(void, execute, IN, double, dt, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__execute__double, - "Execute the program on the particle system. Must be overriden in descendant classes. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/MultiSegmentPlacer.cpp b/src/osgWrappers/introspection/osgParticle/MultiSegmentPlacer.cpp deleted file mode 100644 index 391f0cfee..000000000 --- a/src/osgWrappers/introspection/osgParticle/MultiSegmentPlacer.cpp +++ /dev/null @@ -1,117 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::MultiSegmentPlacer) - I_DeclaringFile("osgParticle/MultiSegmentPlacer"); - I_BaseType(osgParticle::Placer); - I_Constructor0(____MultiSegmentPlacer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::MultiSegmentPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____MultiSegmentPlacer__C5_MultiSegmentPlacer_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(int, numVertices, - Properties::NON_VIRTUAL, - __int__numVertices, - "Get the number of vertices which define the segments. ", - ""); - I_Method1(const osg::Vec3 &, getVertex, IN, int, i, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getVertex__int, - "Get a vertex. ", - ""); - I_Method2(void, setVertex, IN, int, i, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__setVertex__int__C5_osg_Vec3_R1, - "Set a vertex. ", - ""); - I_Method4(void, setVertex, IN, int, i, IN, float, x, IN, float, y, IN, float, z, - Properties::NON_VIRTUAL, - __void__setVertex__int__float__float__float, - "Set a vertex. ", - ""); - I_Method1(void, addVertex, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__addVertex__C5_osg_Vec3_R1, - "Add a vertex. ", - ""); - I_Method3(void, addVertex, IN, float, x, IN, float, y, IN, float, z, - Properties::NON_VIRTUAL, - __void__addVertex__float__float__float, - "Add a vertex. ", - ""); - I_Method1(void, removeVertex, IN, int, i, - Properties::NON_VIRTUAL, - __void__removeVertex__int, - "Remove a vertex. ", - ""); - I_Method1(void, place, IN, osgParticle::Particle *, P, - Properties::VIRTUAL, - __void__place__Particle_P1, - "Place a partice. Called automatically by ModularEmitter, do not call this method manually. ", - ""); - I_Method0(osg::Vec3, getControlPosition, - Properties::VIRTUAL, - __osg_Vec3__getControlPosition, - "return the control position ", - ""); - I_SimpleProperty(osg::Vec3, ControlPosition, - __osg_Vec3__getControlPosition, - 0); - I_IndexedProperty(const osg::Vec3 &, Vertex, - __C5_osg_Vec3_R1__getVertex__int, - __void__setVertex__int__C5_osg_Vec3_R1, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/Operator.cpp b/src/osgWrappers/introspection/osgParticle/Operator.cpp deleted file mode 100644 index 5f426ede7..000000000 --- a/src/osgWrappers/introspection/osgParticle/Operator.cpp +++ /dev/null @@ -1,83 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Operator) - I_DeclaringFile("osgParticle/Operator"); - I_BaseType(osg::Object); - I_Constructor0(____Operator, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::Operator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Operator__C5_Operator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(bool, isEnabled, - Properties::NON_VIRTUAL, - __bool__isEnabled, - "Get whether this operator is enabled. ", - ""); - I_Method1(void, setEnabled, IN, bool, v, - Properties::NON_VIRTUAL, - __void__setEnabled__bool, - "Enable or disable this operator. ", - ""); - I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt, - Properties::PURE_VIRTUAL, - __void__operate__Particle_P1__double, - "Do something on a particle. ", - "This method is called by ModularProgram objects to perform some operations on the particles. You must override it in descendant classes. Common operations consist of modifying the particle's velocity vector. The dt parameter is the time elapsed from last operation. "); - I_Method1(void, beginOperate, IN, osgParticle::Program *, x, - Properties::VIRTUAL, - __void__beginOperate__Program_P1, - "Do something before processing particles via the operate() method. ", - "Overriding this method could be necessary to query the calling Program object for the current reference frame. If the reference frame is RELATIVE_RF, then your class should prepare itself to do all operations in local coordinates. "); - I_Method0(void, endOperate, - Properties::VIRTUAL, - __void__endOperate, - "Do something after all particles have been processed. ", - ""); - I_SimpleProperty(bool, Enabled, - 0, - __void__setEnabled__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/Particle.cpp b/src/osgWrappers/introspection/osgParticle/Particle.cpp deleted file mode 100644 index d14f667f2..000000000 --- a/src/osgWrappers/introspection/osgParticle/Particle.cpp +++ /dev/null @@ -1,421 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgParticle::Particle::Shape) - I_DeclaringFile("osgParticle/Particle"); - I_EnumLabel(osgParticle::Particle::POINT); - I_EnumLabel(osgParticle::Particle::QUAD); - I_EnumLabel(osgParticle::Particle::QUAD_TRIANGLESTRIP); - I_EnumLabel(osgParticle::Particle::HEXAGON); - I_EnumLabel(osgParticle::Particle::LINE); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgParticle::Particle) - I_DeclaringFile("osgParticle/Particle"); - I_Constructor0(____Particle, - "", - ""); - I_Method0(osgParticle::Particle::Shape, getShape, - Properties::NON_VIRTUAL, - __Shape__getShape, - "Get the shape of the particle. ", - ""); - I_Method1(void, setShape, IN, osgParticle::Particle::Shape, s, - Properties::NON_VIRTUAL, - __void__setShape__Shape, - "Set the shape of the particle. ", - ""); - I_Method0(bool, isAlive, - Properties::NON_VIRTUAL, - __bool__isAlive, - "Get whether the particle is still alive. ", - ""); - I_Method0(double, getLifeTime, - Properties::NON_VIRTUAL, - __double__getLifeTime, - "Get the life time of the particle (in seconds). ", - ""); - I_Method0(double, getAge, - Properties::NON_VIRTUAL, - __double__getAge, - "Get the age of the particle (in seconds). ", - ""); - I_Method0(const osgParticle::rangef &, getSizeRange, - Properties::NON_VIRTUAL, - __C5_rangef_R1__getSizeRange, - "Get the minimum and maximum values for polygon size. ", - ""); - I_Method0(const osgParticle::rangef &, getAlphaRange, - Properties::NON_VIRTUAL, - __C5_rangef_R1__getAlphaRange, - "Get the minimum and maximum values for alpha. ", - ""); - I_Method0(const osgParticle::rangev4 &, getColorRange, - Properties::NON_VIRTUAL, - __C5_rangev4_R1__getColorRange, - "Get the minimum and maximum values for color. ", - ""); - I_Method0(const osgParticle::Interpolator *, getSizeInterpolator, - Properties::NON_VIRTUAL, - __C5_Interpolator_P1__getSizeInterpolator, - "Get the interpolator for computing the size of polygons. ", - ""); - I_Method0(const osgParticle::Interpolator *, getAlphaInterpolator, - Properties::NON_VIRTUAL, - __C5_Interpolator_P1__getAlphaInterpolator, - "Get the interpolator for computing alpha values. ", - ""); - I_Method0(const osgParticle::Interpolator *, getColorInterpolator, - Properties::NON_VIRTUAL, - __C5_Interpolator_P1__getColorInterpolator, - "Get the interpolator for computing color values. ", - ""); - I_Method0(float, getRadius, - Properties::NON_VIRTUAL, - __float__getRadius, - "Get the physical radius of the particle. ", - "For built-in operators to work correctly, lengths must be expressed in meters. "); - I_Method0(float, getMass, - Properties::NON_VIRTUAL, - __float__getMass, - "Get the mass of the particle. ", - "For built-in operators to work correctly, remember that the mass is expressed in kg. "); - I_Method0(float, getMassInv, - Properties::NON_VIRTUAL, - __float__getMassInv, - "Get 1 / getMass(). ", - ""); - I_Method0(const osg::Vec3 &, getPosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getPosition, - "Get the position vector. ", - ""); - I_Method0(const osg::Vec3 &, getVelocity, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getVelocity, - "Get the velocity vector. ", - "For built-in operators to work correctly, remember that velocity components are expressed in meters per second. "); - I_Method0(const osg::Vec3 &, getPreviousPosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getPreviousPosition, - "Get the previous position (the position before last update). ", - ""); - I_Method0(const osg::Vec3 &, getAngle, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getAngle, - "Get the angle vector. ", - ""); - I_Method0(const osg::Vec3 &, getAngularVelocity, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getAngularVelocity, - "Get the rotational velocity vector. ", - ""); - I_Method0(const osg::Vec3 &, getPreviousAngle, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getPreviousAngle, - "Get the previous angle vector. ", - ""); - I_Method0(const osg::Vec4 &, getCurrentColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getCurrentColor, - "Get the current color. ", - ""); - I_Method0(float, getCurrentAlpha, - Properties::NON_VIRTUAL, - __float__getCurrentAlpha, - "Get the current alpha. ", - ""); - I_Method0(float, getSTexCoord, - Properties::NON_VIRTUAL, - __float__getSTexCoord, - "Get the s texture coordinate of the bottom left of the particle. ", - ""); - I_Method0(float, getTTexCoord, - Properties::NON_VIRTUAL, - __float__getTTexCoord, - "Get the t texture coordinate of the bottom left of the particle. ", - ""); - I_Method0(int, getTileS, - Properties::NON_VIRTUAL, - __int__getTileS, - "Get width of texture tile. ", - ""); - I_Method0(int, getTileT, - Properties::NON_VIRTUAL, - __int__getTileT, - "Get height of texture tile. ", - ""); - I_Method0(int, getNumTiles, - Properties::NON_VIRTUAL, - __int__getNumTiles, - "Get number of texture tiles. ", - ""); - I_Method0(void, kill, - Properties::NON_VIRTUAL, - __void__kill, - "Kill the particle on next update NOTE: after calling this function, the isAlive() method will still return true until the particle is updated again. ", - ""); - I_Method1(void, setLifeTime, IN, double, t, - Properties::NON_VIRTUAL, - __void__setLifeTime__double, - "Set the life time of the particle. ", - ""); - I_Method1(void, setSizeRange, IN, const osgParticle::rangef &, r, - Properties::NON_VIRTUAL, - __void__setSizeRange__C5_rangef_R1, - "Set the minimum and maximum values for polygon size. ", - ""); - I_Method1(void, setAlphaRange, IN, const osgParticle::rangef &, r, - Properties::NON_VIRTUAL, - __void__setAlphaRange__C5_rangef_R1, - "Set the minimum and maximum values for alpha. ", - ""); - I_Method1(void, setColorRange, IN, const osgParticle::rangev4 &, r, - Properties::NON_VIRTUAL, - __void__setColorRange__C5_rangev4_R1, - "Set the minimum and maximum values for color. ", - ""); - I_Method1(void, setSizeInterpolator, IN, osgParticle::Interpolator *, ri, - Properties::NON_VIRTUAL, - __void__setSizeInterpolator__Interpolator_P1, - "Set the interpolator for computing size values. ", - ""); - I_Method1(void, setAlphaInterpolator, IN, osgParticle::Interpolator *, ai, - Properties::NON_VIRTUAL, - __void__setAlphaInterpolator__Interpolator_P1, - "Set the interpolator for computing alpha values. ", - ""); - I_Method1(void, setColorInterpolator, IN, osgParticle::Interpolator *, ci, - Properties::NON_VIRTUAL, - __void__setColorInterpolator__Interpolator_P1, - "Set the interpolator for computing color values. ", - ""); - I_Method1(void, setRadius, IN, float, r, - Properties::NON_VIRTUAL, - __void__setRadius__float, - "Set the physical radius of the particle. ", - "For built-in operators to work correctly, lengths must be expressed in meters. "); - I_Method1(void, setMass, IN, float, m, - Properties::NON_VIRTUAL, - __void__setMass__float, - "Set the mass of the particle. ", - "For built-in operators to work correctly, remember that the mass is expressed in kg. "); - I_Method1(void, setPosition, IN, const osg::Vec3 &, p, - Properties::NON_VIRTUAL, - __void__setPosition__C5_osg_Vec3_R1, - "Set the position vector. ", - ""); - I_Method1(void, setVelocity, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__setVelocity__C5_osg_Vec3_R1, - "Set the velocity vector. ", - "For built-in operators to work correctly, remember that velocity components are expressed in meters per second. "); - I_Method1(void, addVelocity, IN, const osg::Vec3 &, dv, - Properties::NON_VIRTUAL, - __void__addVelocity__C5_osg_Vec3_R1, - "Add a vector to the velocity vector. ", - ""); - I_Method1(void, transformPositionVelocity, IN, const osg::Matrix &, xform, - Properties::NON_VIRTUAL, - __void__transformPositionVelocity__C5_osg_Matrix_R1, - "Transform position and velocity vectors by a matrix. ", - ""); - I_Method3(void, transformPositionVelocity, IN, const osg::Matrix &, xform1, IN, const osg::Matrix &, xform2, IN, float, r, - Properties::NON_VIRTUAL, - __void__transformPositionVelocity__C5_osg_Matrix_R1__C5_osg_Matrix_R1__float, - "Transform position and velocity vectors by a combination of two matrices. ", - ""); - I_Method1(void, setAngle, IN, const osg::Vec3 &, a, - Properties::NON_VIRTUAL, - __void__setAngle__C5_osg_Vec3_R1, - "Set the angle vector. ", - ""); - I_Method1(void, setAngularVelocity, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__setAngularVelocity__C5_osg_Vec3_R1, - "Set the angular velocity vector. ", - "Components x, y and z are angles of rotation around the respective axis (in radians). "); - I_Method1(void, addAngularVelocity, IN, const osg::Vec3 &, dv, - Properties::NON_VIRTUAL, - __void__addAngularVelocity__C5_osg_Vec3_R1, - "Add a vector to the angular velocity vector. ", - ""); - I_Method1(void, transformAngleVelocity, IN, const osg::Matrix &, xform, - Properties::NON_VIRTUAL, - __void__transformAngleVelocity__C5_osg_Matrix_R1, - "Transform angle and angularVelocity vectors by a matrix. ", - ""); - I_Method1(bool, update, IN, double, dt, - Properties::NON_VIRTUAL, - __bool__update__double, - "Update the particle (don't call this method manually). ", - "This method is called automatically by ParticleSystem::update(); it updates the graphical properties of the particle for the current time, checks whether the particle is still alive, and then updates its position by computing P = P + V * dt (where P is the position and V is the velocity). "); - I_Method1(void, beginRender, IN, osg::GLBeginEndAdapter *, gl, - Properties::NON_VIRTUAL, - __void__beginRender__osg_GLBeginEndAdapter_P1, - "Perform some pre-rendering tasks. Called automatically by particle systems. ", - ""); - I_MethodWithDefaults5(void, render, IN, osg::GLBeginEndAdapter *, gl, , IN, const osg::Vec3 &, xpos, , IN, const osg::Vec3 &, px, , IN, const osg::Vec3 &, py, , IN, float, scale, 1.0f, - Properties::NON_VIRTUAL, - __void__render__osg_GLBeginEndAdapter_P1__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float, - "Render the particle. Called automatically by particle systems. ", - ""); - I_Method1(void, endRender, IN, osg::GLBeginEndAdapter *, gl, - Properties::NON_VIRTUAL, - __void__endRender__osg_GLBeginEndAdapter_P1, - "Perform some post-rendering tasks. Called automatically by particle systems. ", - ""); - I_Method0(float, getCurrentSize, - Properties::NON_VIRTUAL, - __float__getCurrentSize, - "Get the current (interpolated) polygon size. Valid only after the first call to update(). ", - ""); - I_Method4(void, setTextureTileRange, IN, int, sTile, IN, int, tTile, IN, int, startTile, IN, int, endTile, - Properties::NON_VIRTUAL, - __void__setTextureTileRange__int__int__int__int, - "Specify how the particle texture is tiled. ", - "All tiles in the given range are sequentially displayed during the lifetime of the particle. When no range is given, all tiles are displayed during the lifetime. "); - I_MethodWithDefaults3(void, setTextureTile, IN, int, sTile, , IN, int, tTile, , IN, int, end, -1, - Properties::NON_VIRTUAL, - __void__setTextureTile__int__int__int, - "Same as above, range starts at 0 and ends at end. ", - ""); - I_Method1(void, setPreviousParticle, IN, int, previous, - Properties::NON_VIRTUAL, - __void__setPreviousParticle__int, - "Set the previous particle. ", - ""); - I_Method0(int, getPreviousParticle, - Properties::NON_VIRTUAL, - __int__getPreviousParticle, - "Get the previous particle. ", - ""); - I_Method1(void, setNextParticle, IN, int, next, - Properties::NON_VIRTUAL, - __void__setNextParticle__int, - "Set the next particle. ", - ""); - I_Method0(int, getNextParticle, - Properties::NON_VIRTUAL, - __int__getNextParticle, - "Get the const next particle. ", - ""); - I_Method1(void, setUpTexCoordsAsPartOfConnectedParticleSystem, IN, osgParticle::ParticleSystem *, ps, - Properties::NON_VIRTUAL, - __void__setUpTexCoordsAsPartOfConnectedParticleSystem__ParticleSystem_P1, - "Method for initializing a particles texture coords as part of a connected particle system. ", - ""); - I_SimpleProperty(double, Age, - __double__getAge, - 0); - I_SimpleProperty(osgParticle::Interpolator *, AlphaInterpolator, - 0, - __void__setAlphaInterpolator__Interpolator_P1); - I_SimpleProperty(const osgParticle::rangef &, AlphaRange, - __C5_rangef_R1__getAlphaRange, - __void__setAlphaRange__C5_rangef_R1); - I_SimpleProperty(const osg::Vec3 &, Angle, - __C5_osg_Vec3_R1__getAngle, - __void__setAngle__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, AngularVelocity, - __C5_osg_Vec3_R1__getAngularVelocity, - __void__setAngularVelocity__C5_osg_Vec3_R1); - I_SimpleProperty(osgParticle::Interpolator *, ColorInterpolator, - 0, - __void__setColorInterpolator__Interpolator_P1); - I_SimpleProperty(const osgParticle::rangev4 &, ColorRange, - __C5_rangev4_R1__getColorRange, - __void__setColorRange__C5_rangev4_R1); - I_SimpleProperty(float, CurrentAlpha, - __float__getCurrentAlpha, - 0); - I_SimpleProperty(const osg::Vec4 &, CurrentColor, - __C5_osg_Vec4_R1__getCurrentColor, - 0); - I_SimpleProperty(float, CurrentSize, - __float__getCurrentSize, - 0); - I_SimpleProperty(double, LifeTime, - __double__getLifeTime, - __void__setLifeTime__double); - I_SimpleProperty(float, Mass, - __float__getMass, - __void__setMass__float); - I_SimpleProperty(float, MassInv, - __float__getMassInv, - 0); - I_SimpleProperty(int, NextParticle, - __int__getNextParticle, - __void__setNextParticle__int); - I_SimpleProperty(const osg::Vec3 &, Position, - __C5_osg_Vec3_R1__getPosition, - __void__setPosition__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, PreviousAngle, - __C5_osg_Vec3_R1__getPreviousAngle, - 0); - I_SimpleProperty(int, PreviousParticle, - __int__getPreviousParticle, - __void__setPreviousParticle__int); - I_SimpleProperty(const osg::Vec3 &, PreviousPosition, - __C5_osg_Vec3_R1__getPreviousPosition, - 0); - I_SimpleProperty(float, Radius, - __float__getRadius, - __void__setRadius__float); - I_SimpleProperty(float, STexCoord, - __float__getSTexCoord, - 0); - I_SimpleProperty(osgParticle::Particle::Shape, Shape, - __Shape__getShape, - __void__setShape__Shape); - I_SimpleProperty(osgParticle::Interpolator *, SizeInterpolator, - 0, - __void__setSizeInterpolator__Interpolator_P1); - I_SimpleProperty(const osgParticle::rangef &, SizeRange, - __C5_rangef_R1__getSizeRange, - __void__setSizeRange__C5_rangef_R1); - I_SimpleProperty(float, TTexCoord, - __float__getTTexCoord, - 0); - I_SimpleProperty(int, TileS, - __int__getTileS, - 0); - I_SimpleProperty(int, TileT, - __int__getTileT, - 0); - I_SimpleProperty(osgParticle::ParticleSystem *, UpTexCoordsAsPartOfConnectedParticleSystem, - 0, - __void__setUpTexCoordsAsPartOfConnectedParticleSystem__ParticleSystem_P1); - I_SimpleProperty(const osg::Vec3 &, Velocity, - __C5_osg_Vec3_R1__getVelocity, - __void__setVelocity__C5_osg_Vec3_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/ParticleEffect.cpp b/src/osgWrappers/introspection/osgParticle/ParticleEffect.cpp deleted file mode 100644 index 26ba2a0df..000000000 --- a/src/osgWrappers/introspection/osgParticle/ParticleEffect.cpp +++ /dev/null @@ -1,273 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleEffect) - I_DeclaringFile("osgParticle/ParticleEffect"); - I_BaseType(osg::Group); - I_ConstructorWithDefaults1(IN, bool, automaticSetup, true, - Properties::EXPLICIT, - ____ParticleEffect__bool, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::ParticleEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ParticleEffect__C5_ParticleEffect_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setAutomaticSetup, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setAutomaticSetup__bool, - "", - ""); - I_Method0(bool, getAutomaticSetup, - Properties::NON_VIRTUAL, - __bool__getAutomaticSetup, - "", - ""); - I_Method1(void, setUseLocalParticleSystem, IN, bool, local, - Properties::NON_VIRTUAL, - __void__setUseLocalParticleSystem__bool, - "", - ""); - I_Method0(bool, getUseLocalParticleSystem, - Properties::NON_VIRTUAL, - __bool__getUseLocalParticleSystem, - "", - ""); - I_Method1(void, setTextureFileName, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __void__setTextureFileName__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getTextureFileName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getTextureFileName, - "", - ""); - I_Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p, - Properties::NON_VIRTUAL, - __void__setDefaultParticleTemplate__C5_Particle_R1, - "", - ""); - I_Method0(const osgParticle::Particle &, getDefaultParticleTemplate, - Properties::NON_VIRTUAL, - __C5_Particle_R1__getDefaultParticleTemplate, - "", - ""); - I_Method1(void, setPosition, IN, const osg::Vec3 &, position, - Properties::NON_VIRTUAL, - __void__setPosition__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getPosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getPosition, - "", - ""); - I_Method1(void, setScale, IN, float, scale, - Properties::NON_VIRTUAL, - __void__setScale__float, - "", - ""); - I_Method0(float, getScale, - Properties::NON_VIRTUAL, - __float__getScale, - "", - ""); - I_Method1(void, setIntensity, IN, float, intensity, - Properties::NON_VIRTUAL, - __void__setIntensity__float, - "", - ""); - I_Method0(float, getIntensity, - Properties::NON_VIRTUAL, - __float__getIntensity, - "", - ""); - I_Method1(void, setStartTime, IN, double, startTime, - Properties::NON_VIRTUAL, - __void__setStartTime__double, - "", - ""); - I_Method0(double, getStartTime, - Properties::NON_VIRTUAL, - __double__getStartTime, - "", - ""); - I_Method1(void, setEmitterDuration, IN, double, duration, - Properties::NON_VIRTUAL, - __void__setEmitterDuration__double, - "", - ""); - I_Method0(double, getEmitterDuration, - Properties::NON_VIRTUAL, - __double__getEmitterDuration, - "", - ""); - I_Method1(void, setParticleDuration, IN, double, duration, - Properties::NON_VIRTUAL, - __void__setParticleDuration__double, - "", - ""); - I_Method0(double, getParticleDuration, - Properties::NON_VIRTUAL, - __double__getParticleDuration, - "", - ""); - I_Method1(void, setWind, IN, const osg::Vec3 &, wind, - Properties::NON_VIRTUAL, - __void__setWind__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getWind, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getWind, - "", - ""); - I_Method0(bool, areAllParticlesDead, - Properties::NON_VIRTUAL, - __bool__areAllParticlesDead, - "Get whether all particles are dead. ", - ""); - I_Method0(osgParticle::Emitter *, getEmitter, - Properties::PURE_VIRTUAL, - __Emitter_P1__getEmitter, - "", - ""); - I_Method0(const osgParticle::Emitter *, getEmitter, - Properties::PURE_VIRTUAL, - __C5_Emitter_P1__getEmitter, - "", - ""); - I_Method0(osgParticle::Program *, getProgram, - Properties::PURE_VIRTUAL, - __Program_P1__getProgram, - "", - ""); - I_Method0(const osgParticle::Program *, getProgram, - Properties::PURE_VIRTUAL, - __C5_Program_P1__getProgram, - "", - ""); - I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps, - Properties::NON_VIRTUAL, - __void__setParticleSystem__ParticleSystem_P1, - "", - ""); - I_Method0(osgParticle::ParticleSystem *, getParticleSystem, - Properties::NON_VIRTUAL, - __ParticleSystem_P1__getParticleSystem, - "", - ""); - I_Method0(const osgParticle::ParticleSystem *, getParticleSystem, - Properties::NON_VIRTUAL, - __C5_ParticleSystem_P1__getParticleSystem, - "", - ""); - I_Method0(void, setDefaults, - Properties::VIRTUAL, - __void__setDefaults, - "", - ""); - I_Method0(void, setUpEmitterAndProgram, - Properties::PURE_VIRTUAL, - __void__setUpEmitterAndProgram, - "", - ""); - I_Method0(void, buildEffect, - Properties::VIRTUAL, - __void__buildEffect, - "", - ""); - I_SimpleProperty(bool, AutomaticSetup, - __bool__getAutomaticSetup, - __void__setAutomaticSetup__bool); - I_SimpleProperty(const osgParticle::Particle &, DefaultParticleTemplate, - __C5_Particle_R1__getDefaultParticleTemplate, - __void__setDefaultParticleTemplate__C5_Particle_R1); - I_SimpleProperty(osgParticle::Emitter *, Emitter, - __Emitter_P1__getEmitter, - 0); - I_SimpleProperty(double, EmitterDuration, - __double__getEmitterDuration, - __void__setEmitterDuration__double); - I_SimpleProperty(float, Intensity, - __float__getIntensity, - __void__setIntensity__float); - I_SimpleProperty(double, ParticleDuration, - __double__getParticleDuration, - __void__setParticleDuration__double); - I_SimpleProperty(osgParticle::ParticleSystem *, ParticleSystem, - __ParticleSystem_P1__getParticleSystem, - __void__setParticleSystem__ParticleSystem_P1); - I_SimpleProperty(const osg::Vec3 &, Position, - __C5_osg_Vec3_R1__getPosition, - __void__setPosition__C5_osg_Vec3_R1); - I_SimpleProperty(osgParticle::Program *, Program, - __Program_P1__getProgram, - 0); - I_SimpleProperty(float, Scale, - __float__getScale, - __void__setScale__float); - I_SimpleProperty(double, StartTime, - __double__getStartTime, - __void__setStartTime__double); - I_SimpleProperty(const std::string &, TextureFileName, - __C5_std_string_R1__getTextureFileName, - __void__setTextureFileName__C5_std_string_R1); - I_SimpleProperty(bool, UseLocalParticleSystem, - __bool__getUseLocalParticleSystem, - __void__setUseLocalParticleSystem__bool); - I_SimpleProperty(const osg::Vec3 &, Wind, - __C5_osg_Vec3_R1__getWind, - __void__setWind__C5_osg_Vec3_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/ParticleProcessor.cpp b/src/osgWrappers/introspection/osgParticle/ParticleProcessor.cpp deleted file mode 100644 index b7ceed72e..000000000 --- a/src/osgWrappers/introspection/osgParticle/ParticleProcessor.cpp +++ /dev/null @@ -1,261 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgParticle::ParticleProcessor::ReferenceFrame) - I_DeclaringFile("osgParticle/ParticleProcessor"); - I_EnumLabel(osgParticle::ParticleProcessor::RELATIVE_RF); - I_EnumLabel(osgParticle::ParticleProcessor::ABSOLUTE_RF); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleProcessor) - I_DeclaringFile("osgParticle/ParticleProcessor"); - I_BaseType(osg::Node); - I_Constructor0(____ParticleProcessor, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::ParticleProcessor &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ParticleProcessor__C5_ParticleProcessor_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(osgParticle::ParticleProcessor::ReferenceFrame, getReferenceFrame, - Properties::NON_VIRTUAL, - __ReferenceFrame__getReferenceFrame, - "Get the reference frame. ", - ""); - I_Method1(void, setReferenceFrame, IN, osgParticle::ParticleProcessor::ReferenceFrame, rf, - Properties::NON_VIRTUAL, - __void__setReferenceFrame__ReferenceFrame, - "Set the reference frame. ", - ""); - I_Method0(bool, getEnabled, - Properties::NON_VIRTUAL, - __bool__getEnabled, - "Get whether this processor is enabled or not. ", - ""); - I_Method0(bool, isEnabled, - Properties::NON_VIRTUAL, - __bool__isEnabled, - "", - ""); - I_Method1(void, setEnabled, IN, bool, v, - Properties::NON_VIRTUAL, - __void__setEnabled__bool, - "Set whether this processor is enabled or not. ", - ""); - I_Method0(osgParticle::ParticleSystem *, getParticleSystem, - Properties::NON_VIRTUAL, - __ParticleSystem_P1__getParticleSystem, - "Get a pointer to the destination particle system. ", - ""); - I_Method0(const osgParticle::ParticleSystem *, getParticleSystem, - Properties::NON_VIRTUAL, - __C5_ParticleSystem_P1__getParticleSystem, - "Get a const pointer to the destination particle system. ", - ""); - I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps, - Properties::NON_VIRTUAL, - __void__setParticleSystem__ParticleSystem_P1, - "Set the destination particle system. ", - ""); - I_Method1(void, setEndless, IN, bool, type, - Properties::NON_VIRTUAL, - __void__setEndless__bool, - "Set the endless flag of this processor. ", - ""); - I_Method0(bool, getEndless, - Properties::NON_VIRTUAL, - __bool__getEndless, - "Check whether this processor is endless. ", - ""); - I_Method0(bool, isEndless, - Properties::NON_VIRTUAL, - __bool__isEndless, - "", - ""); - I_Method1(void, setLifeTime, IN, double, t, - Properties::NON_VIRTUAL, - __void__setLifeTime__double, - "Set the lifetime of this processor. ", - ""); - I_Method0(double, getLifeTime, - Properties::NON_VIRTUAL, - __double__getLifeTime, - "Get the lifetime of this processor. ", - ""); - I_Method1(void, setStartTime, IN, double, t, - Properties::NON_VIRTUAL, - __void__setStartTime__double, - "Set the start time of this processor. ", - ""); - I_Method0(double, getStartTime, - Properties::NON_VIRTUAL, - __double__getStartTime, - "Get the start time of this processor. ", - ""); - I_Method1(void, setCurrentTime, IN, double, t, - Properties::NON_VIRTUAL, - __void__setCurrentTime__double, - "Set the current time of this processor. ", - ""); - I_Method0(double, getCurrentTime, - Properties::NON_VIRTUAL, - __double__getCurrentTime, - "Get the current time of this processor. ", - ""); - I_Method1(void, setResetTime, IN, double, t, - Properties::NON_VIRTUAL, - __void__setResetTime__double, - "Set the reset time of this processor. A value of 0 disables reset. ", - ""); - I_Method0(double, getResetTime, - Properties::NON_VIRTUAL, - __double__getResetTime, - "Get the reset time of this processor. ", - ""); - I_Method0(bool, isAlive, - Properties::NON_VIRTUAL, - __bool__isAlive, - "Check whether the processor is alive with respect to start time and life duration. ", - "Note that this method may return true even if the processor has been disabled by calling setEnabled(false). To test whether the processor is actually processing particles or not, you should evaluate (isEnabled() && isAlive()). "); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method0(const osg::Matrix &, getLocalToWorldMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getLocalToWorldMatrix, - "Get the current local-to-world transformation matrix (valid only during cull traversal). ", - ""); - I_Method0(const osg::Matrix &, getWorldToLocalMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getWorldToLocalMatrix, - "Get the current world-to-local transformation matrix (valid only during cull traversal). ", - ""); - I_Method0(const osg::Matrix &, getPreviousLocalToWorldMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getPreviousLocalToWorldMatrix, - "Get the previous local-to-world transformation matrix (valid only during cull traversal). ", - ""); - I_Method0(const osg::Matrix &, getPreviousWorldToLocalMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getPreviousWorldToLocalMatrix, - "Get the previous world-to-local transformation matrix (valid only during cull traversal). ", - ""); - I_Method1(osg::Vec3, transformLocalToWorld, IN, const osg::Vec3 &, P, - Properties::NON_VIRTUAL, - __osg_Vec3__transformLocalToWorld__C5_osg_Vec3_R1, - "Transform a point from local to world coordinates (valid only during cull traversal). ", - ""); - I_Method1(osg::Vec3, rotateLocalToWorld, IN, const osg::Vec3 &, P, - Properties::NON_VIRTUAL, - __osg_Vec3__rotateLocalToWorld__C5_osg_Vec3_R1, - "Transform a vector from local to world coordinates, discarding translation (valid only during cull traversal). ", - ""); - I_Method1(osg::Vec3, transformWorldToLocal, IN, const osg::Vec3 &, P, - Properties::NON_VIRTUAL, - __osg_Vec3__transformWorldToLocal__C5_osg_Vec3_R1, - "Transform a point from world to local coordinates (valid only during cull traversal). ", - ""); - I_Method1(osg::Vec3, rotateWorldToLocal, IN, const osg::Vec3 &, P, - Properties::NON_VIRTUAL, - __osg_Vec3__rotateWorldToLocal__C5_osg_Vec3_R1, - "Transform a vector from world to local coordinates, discarding translation (valid only during cull traversal). ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __osg_BoundingSphere__computeBound, - "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(). "); - I_ProtectedMethod1(void, process, IN, double, dt, - Properties::PURE_VIRTUAL, - Properties::NON_CONST, - __void__process__double, - "", - ""); - I_SimpleProperty(double, CurrentTime, - __double__getCurrentTime, - __void__setCurrentTime__double); - I_SimpleProperty(bool, Enabled, - __bool__getEnabled, - __void__setEnabled__bool); - I_SimpleProperty(bool, Endless, - __bool__getEndless, - __void__setEndless__bool); - I_SimpleProperty(double, LifeTime, - __double__getLifeTime, - __void__setLifeTime__double); - I_SimpleProperty(const osg::Matrix &, LocalToWorldMatrix, - __C5_osg_Matrix_R1__getLocalToWorldMatrix, - 0); - I_SimpleProperty(osgParticle::ParticleSystem *, ParticleSystem, - __ParticleSystem_P1__getParticleSystem, - __void__setParticleSystem__ParticleSystem_P1); - I_SimpleProperty(const osg::Matrix &, PreviousLocalToWorldMatrix, - __C5_osg_Matrix_R1__getPreviousLocalToWorldMatrix, - 0); - I_SimpleProperty(const osg::Matrix &, PreviousWorldToLocalMatrix, - __C5_osg_Matrix_R1__getPreviousWorldToLocalMatrix, - 0); - I_SimpleProperty(osgParticle::ParticleProcessor::ReferenceFrame, ReferenceFrame, - __ReferenceFrame__getReferenceFrame, - __void__setReferenceFrame__ReferenceFrame); - I_SimpleProperty(double, ResetTime, - __double__getResetTime, - __void__setResetTime__double); - I_SimpleProperty(double, StartTime, - __double__getStartTime, - __void__setStartTime__double); - I_SimpleProperty(const osg::Matrix &, WorldToLocalMatrix, - __C5_osg_Matrix_R1__getWorldToLocalMatrix, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/ParticleSystem.cpp b/src/osgWrappers/introspection/osgParticle/ParticleSystem.cpp deleted file mode 100644 index 102556cb9..000000000 --- a/src/osgWrappers/introspection/osgParticle/ParticleSystem.cpp +++ /dev/null @@ -1,318 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgParticle::ParticleSystem::Alignment) - I_DeclaringFile("osgParticle/ParticleSystem"); - I_EnumLabel(osgParticle::ParticleSystem::BILLBOARD); - I_EnumLabel(osgParticle::ParticleSystem::FIXED); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgParticle::ParticleSystem::ParticleScaleReferenceFrame) - I_DeclaringFile("osgParticle/ParticleSystem"); - I_EnumLabel(osgParticle::ParticleSystem::LOCAL_COORDINATES); - I_EnumLabel(osgParticle::ParticleSystem::WORLD_COORDINATES); -END_REFLECTOR - -TYPE_NAME_ALIAS(OpenThreads::Mutex, osgParticle::ParticleSystem::ReadWriterMutex) - -TYPE_NAME_ALIAS(OpenThreads::ScopedLock< OpenThreads::Mutex >, osgParticle::ParticleSystem::ScopedReadLock) - -TYPE_NAME_ALIAS(OpenThreads::ScopedLock< OpenThreads::Mutex >, osgParticle::ParticleSystem::ScopedWriteLock) - -BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystem) - I_DeclaringFile("osgParticle/ParticleSystem"); - I_BaseType(osg::Drawable); - I_Constructor0(____ParticleSystem, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::ParticleSystem &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ParticleSystem__C5_ParticleSystem_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osgParticle::ParticleSystem::Alignment, getParticleAlignment, - Properties::NON_VIRTUAL, - __Alignment__getParticleAlignment, - "Get the alignment type of particles. ", - ""); - I_Method1(void, setParticleAlignment, IN, osgParticle::ParticleSystem::Alignment, a, - Properties::NON_VIRTUAL, - __void__setParticleAlignment__Alignment, - "Set the alignment type of particles. ", - ""); - I_Method0(const osg::Vec3 &, getAlignVectorX, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getAlignVectorX, - "Get the X-axis alignment vector. ", - ""); - I_Method1(void, setAlignVectorX, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__setAlignVectorX__C5_osg_Vec3_R1, - "Set the X-axis alignment vector. ", - ""); - I_Method0(const osg::Vec3 &, getAlignVectorY, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getAlignVectorY, - "Get the Y-axis alignment vector. ", - ""); - I_Method1(void, setAlignVectorY, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__setAlignVectorY__C5_osg_Vec3_R1, - "Set the Y-axis alignment vector. ", - ""); - I_Method2(void, setAlignVectors, IN, const osg::Vec3 &, X, IN, const osg::Vec3 &, Y, - Properties::NON_VIRTUAL, - __void__setAlignVectors__C5_osg_Vec3_R1__C5_osg_Vec3_R1, - "Set the alignment vectors. ", - ""); - I_Method1(void, setParticleScaleReferenceFrame, IN, osgParticle::ParticleSystem::ParticleScaleReferenceFrame, rf, - Properties::NON_VIRTUAL, - __void__setParticleScaleReferenceFrame__ParticleScaleReferenceFrame, - "Set whether the particles should be scaled relative to world coordaintes or local coordinates. ", - ""); - I_Method0(osgParticle::ParticleSystem::ParticleScaleReferenceFrame, getParticleScaleReferenceFrame, - Properties::NON_VIRTUAL, - __ParticleScaleReferenceFrame__getParticleScaleReferenceFrame, - "Get whether the particles should be scaled relative to world coordaintes or local coordinates. ", - ""); - I_Method0(const osg::BoundingBox &, getDefaultBoundingBox, - Properties::NON_VIRTUAL, - __C5_osg_BoundingBox_R1__getDefaultBoundingBox, - "Get the default bounding box. ", - ""); - I_Method1(void, setDefaultBoundingBox, IN, const osg::BoundingBox &, bbox, - Properties::NON_VIRTUAL, - __void__setDefaultBoundingBox__C5_osg_BoundingBox_R1, - "Set the default bounding box. ", - "The default bounding box is used when a real bounding box cannot be computed, for example because no particles has been updated yet. "); - I_Method0(bool, getDoublePassRendering, - Properties::NON_VIRTUAL, - __bool__getDoublePassRendering, - "Get the double pass rendering flag. ", - ""); - I_Method1(void, setDoublePassRendering, IN, bool, v, - Properties::NON_VIRTUAL, - __void__setDoublePassRendering__bool, - "Set the double pass rendering flag. ", - "Double pass rendering avoids overdraw problems between particle systems and other opaque objects. If you can render all the particle systems after the opaque objects, then double pass is not necessary and can be turned off (best choice). If you set the default attributes with setDefaultAttributes, then the particle system will fall into a transparent bin. "); - I_Method0(bool, getFrozen, - Properties::NON_VIRTUAL, - __bool__getFrozen, - "Return true if the particle system is frozen. ", - ""); - I_Method0(bool, isFrozen, - Properties::NON_VIRTUAL, - __bool__isFrozen, - "", - ""); - I_Method1(void, setFrozen, IN, bool, v, - Properties::NON_VIRTUAL, - __void__setFrozen__bool, - "Set or reset the frozen state. ", - "When the particle system is frozen, emitters and programs won't do anything on it. "); - I_Method0(int, numParticles, - Properties::NON_VIRTUAL, - __int__numParticles, - "Get the number of allocated particles (alive + dead). ", - ""); - I_Method0(int, numDeadParticles, - Properties::NON_VIRTUAL, - __int__numDeadParticles, - "Get the number of dead particles. ", - ""); - I_Method0(bool, areAllParticlesDead, - Properties::NON_VIRTUAL, - __bool__areAllParticlesDead, - "Get whether all particles are dead. ", - ""); - I_Method1(osgParticle::Particle *, getParticle, IN, int, i, - Properties::NON_VIRTUAL, - __Particle_P1__getParticle__int, - "Get a pointer to the i-th particle. ", - ""); - I_Method1(const osgParticle::Particle *, getParticle, IN, int, i, - Properties::NON_VIRTUAL, - __C5_Particle_P1__getParticle__int, - "Get a const pointer to the i-th particle. ", - ""); - I_Method1(osgParticle::Particle *, createParticle, IN, const osgParticle::Particle *, ptemplate, - Properties::VIRTUAL, - __Particle_P1__createParticle__C5_Particle_P1, - "Create a new particle from the specified template (or the default one if ptemplate is null). ", - ""); - I_Method1(void, destroyParticle, IN, int, i, - Properties::VIRTUAL, - __void__destroyParticle__int, - "Destroy the i-th particle. ", - ""); - I_Method1(void, reuseParticle, IN, int, i, - Properties::VIRTUAL, - __void__reuseParticle__int, - "Reuse the i-th particle. ", - ""); - I_Method0(int, getLastFrameNumber, - Properties::NON_VIRTUAL, - __int__getLastFrameNumber, - "Get the last frame number. ", - ""); - I_Method0(osgParticle::Particle &, getDefaultParticleTemplate, - Properties::NON_VIRTUAL, - __Particle_R1__getDefaultParticleTemplate, - "Get a reference to the default particle template. ", - ""); - I_Method0(const osgParticle::Particle &, getDefaultParticleTemplate, - Properties::NON_VIRTUAL, - __C5_Particle_R1__getDefaultParticleTemplate, - "Get a const reference to the default particle template. ", - ""); - I_Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p, - Properties::NON_VIRTUAL, - __void__setDefaultParticleTemplate__C5_Particle_R1, - "Set the default particle template (particle is copied). ", - ""); - I_Method0(bool, getFreezeOnCull, - Properties::NON_VIRTUAL, - __bool__getFreezeOnCull, - "Get whether the particle system can freeze when culled. ", - ""); - I_Method1(void, setFreezeOnCull, IN, bool, v, - Properties::NON_VIRTUAL, - __void__setFreezeOnCull__bool, - "Set whether the particle system can freeze when culled (default is true). ", - ""); - I_MethodWithDefaults4(void, setDefaultAttributes, IN, const std::string &, texturefile, "", IN, bool, emissive_particles, true, IN, bool, lighting, false, IN, int, texture_unit, 0, - Properties::NON_VIRTUAL, - __void__setDefaultAttributes__C5_std_string_R1__bool__bool__int, - "A useful method to set the most common StateAttribute's in one call. ", - "If texturefile is empty, then texturing is turned off. "); - I_Method0(int, getLevelOfDetail, - Properties::NON_VIRTUAL, - __int__getLevelOfDetail, - "(EXPERIMENTAL) Get the level of detail. ", - ""); - I_Method1(void, setLevelOfDetail, IN, int, v, - Properties::NON_VIRTUAL, - __void__setLevelOfDetail__int, - "(EXPERIMENTAL) Set the level of detail. ", - "The total number of particles is divided by the detail value to get the actual number of particles to be drawn. This value must be greater than zero. "); - I_Method1(void, update, IN, double, dt, - Properties::VIRTUAL, - __void__update__double, - "Update the particles. Don't call this directly, use a ParticleSystemUpdater instead. ", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1, - "drawImplementation(RenderInfo&) is a pure virtual method for the actual implementation of OpenGL drawing calls, such as vertex arrays and primitives, that must be implemented in concrete subclasses of the Drawable base class, examples include osg::Geometry and osg::ShapeDrawable. ", - " param renderInfo The osg::RenderInfo object that encapsulates the current rendering information including the osg::State OpenGL state for the current graphics context. "); - I_Method0(osg::BoundingBox, computeBound, - Properties::VIRTUAL, - __osg_BoundingBox__computeBound, - "Compute the bounding box around Drawables's geometry. ", - ""); - I_Method0(osgParticle::ParticleSystem::ReadWriterMutex *, getReadWriteMutex, - Properties::NON_VIRTUAL, - __ReadWriterMutex_P1__getReadWriteMutex, - "", - ""); - I_ProtectedMethod2(void, update_bounds, IN, const osg::Vec3 &, p, IN, float, r, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__update_bounds__C5_osg_Vec3_R1__float, - "", - ""); - I_ProtectedMethod2(void, single_pass_render, IN, osg::State &, state, IN, const osg::Matrix &, modelview, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__single_pass_render__osg_State_R1__C5_osg_Matrix_R1, - "", - ""); - I_SimpleProperty(const osg::Vec3 &, AlignVectorX, - __C5_osg_Vec3_R1__getAlignVectorX, - __void__setAlignVectorX__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, AlignVectorY, - __C5_osg_Vec3_R1__getAlignVectorY, - __void__setAlignVectorY__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::BoundingBox &, DefaultBoundingBox, - __C5_osg_BoundingBox_R1__getDefaultBoundingBox, - __void__setDefaultBoundingBox__C5_osg_BoundingBox_R1); - I_SimpleProperty(const osgParticle::Particle &, DefaultParticleTemplate, - __C5_Particle_R1__getDefaultParticleTemplate, - __void__setDefaultParticleTemplate__C5_Particle_R1); - I_SimpleProperty(bool, DoublePassRendering, - __bool__getDoublePassRendering, - __void__setDoublePassRendering__bool); - I_SimpleProperty(bool, FreezeOnCull, - __bool__getFreezeOnCull, - __void__setFreezeOnCull__bool); - I_SimpleProperty(bool, Frozen, - __bool__getFrozen, - __void__setFrozen__bool); - I_SimpleProperty(int, LastFrameNumber, - __int__getLastFrameNumber, - 0); - I_SimpleProperty(int, LevelOfDetail, - __int__getLevelOfDetail, - __void__setLevelOfDetail__int); - I_SimpleProperty(osgParticle::ParticleSystem::Alignment, ParticleAlignment, - __Alignment__getParticleAlignment, - __void__setParticleAlignment__Alignment); - I_SimpleProperty(osgParticle::ParticleSystem::ParticleScaleReferenceFrame, ParticleScaleReferenceFrame, - __ParticleScaleReferenceFrame__getParticleScaleReferenceFrame, - __void__setParticleScaleReferenceFrame__ParticleScaleReferenceFrame); - I_SimpleProperty(osgParticle::ParticleSystem::ReadWriterMutex *, ReadWriteMutex, - __ReadWriterMutex_P1__getReadWriteMutex, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/ParticleSystemUpdater.cpp b/src/osgWrappers/introspection/osgParticle/ParticleSystemUpdater.cpp deleted file mode 100644 index 4e2a4597e..000000000 --- a/src/osgWrappers/introspection/osgParticle/ParticleSystemUpdater.cpp +++ /dev/null @@ -1,138 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystemUpdater) - I_DeclaringFile("osgParticle/ParticleSystemUpdater"); - I_BaseType(osg::Node); - I_Constructor0(____ParticleSystemUpdater, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::ParticleSystemUpdater &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ParticleSystemUpdater__C5_ParticleSystemUpdater_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(bool, addParticleSystem, IN, osgParticle::ParticleSystem *, ps, - Properties::VIRTUAL, - __bool__addParticleSystem__ParticleSystem_P1, - "Add a particle system to the list. ", - ""); - I_Method1(bool, removeParticleSystem, IN, osgParticle::ParticleSystem *, ps, - Properties::VIRTUAL, - __bool__removeParticleSystem__ParticleSystem_P1, - "Remove a particle system from the list (by pointer). ", - ""); - I_MethodWithDefaults2(bool, removeParticleSystem, IN, unsigned int, i, , IN, unsigned int, numParticleSystemsToRemove, 1, - Properties::VIRTUAL, - __bool__removeParticleSystem__unsigned_int__unsigned_int, - "Remove a particle system(s) from the list (by index). ", - ""); - I_Method2(bool, replaceParticleSystem, IN, osgParticle::ParticleSystem *, origPS, IN, osgParticle::ParticleSystem *, newPS, - Properties::VIRTUAL, - __bool__replaceParticleSystem__ParticleSystem_P1__ParticleSystem_P1, - "Replace ParticleSystem with another ParticleSystem. ", - ""); - I_Method2(bool, setParticleSystem, IN, unsigned int, i, IN, osgParticle::ParticleSystem *, ps, - Properties::VIRTUAL, - __bool__setParticleSystem__unsigned_int__ParticleSystem_P1, - "set a particle system by index. ", - ""); - I_Method0(unsigned int, getNumParticleSystems, - Properties::NON_VIRTUAL, - __unsigned_int__getNumParticleSystems, - "Return the number of particle systems on the list. ", - ""); - I_Method1(osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __ParticleSystem_P1__getParticleSystem__unsigned_int, - "Get a particle system from the list. ", - ""); - I_Method1(const osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_ParticleSystem_P1__getParticleSystem__unsigned_int, - "Get a particle system from the list. ", - ""); - I_Method1(bool, containsParticleSystem, IN, const osgParticle::ParticleSystem *, ps, - Properties::NON_VIRTUAL, - __bool__containsParticleSystem__C5_ParticleSystem_P1, - "return true if ParticleSystem is contained within ParticlsSystemUpdater. ", - ""); - I_Method1(unsigned int, getParticleSystemIndex, IN, const osgParticle::ParticleSystem *, ps, - Properties::NON_VIRTUAL, - __unsigned_int__getParticleSystemIndex__C5_ParticleSystem_P1, - "get index number of ParticleSystem. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __osg_BoundingSphere__computeBound, - "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(). "); - I_ArrayProperty(osgParticle::ParticleSystem *, ParticleSystem, - __ParticleSystem_P1__getParticleSystem__unsigned_int, - __bool__setParticleSystem__unsigned_int__ParticleSystem_P1, - __unsigned_int__getNumParticleSystems, - __bool__addParticleSystem__ParticleSystem_P1, - 0, - __bool__removeParticleSystem__unsigned_int__unsigned_int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/Placer.cpp b/src/osgWrappers/introspection/osgParticle/Placer.cpp deleted file mode 100644 index 8cf43794a..000000000 --- a/src/osgWrappers/introspection/osgParticle/Placer.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Placer) - I_DeclaringFile("osgParticle/Placer"); - I_BaseType(osg::Object); - I_Constructor0(____Placer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::Placer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Placer__C5_Placer_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method1(void, place, IN, osgParticle::Particle *, P, - Properties::PURE_VIRTUAL, - __void__place__Particle_P1, - "Place a particle. Must be implemented in descendant classes. ", - ""); - I_Method0(osg::Vec3, getControlPosition, - Properties::PURE_VIRTUAL, - __osg_Vec3__getControlPosition, - "Return the control position of particles that placer will generate. Must be implemented in descendant classes. ", - ""); - I_SimpleProperty(osg::Vec3, ControlPosition, - __osg_Vec3__getControlPosition, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/PointPlacer.cpp b/src/osgWrappers/introspection/osgParticle/PointPlacer.cpp deleted file mode 100644 index 63c748a00..000000000 --- a/src/osgWrappers/introspection/osgParticle/PointPlacer.cpp +++ /dev/null @@ -1,78 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::PointPlacer) - I_DeclaringFile("osgParticle/PointPlacer"); - I_BaseType(osgParticle::CenteredPlacer); - I_Constructor0(____PointPlacer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::PointPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PointPlacer__C5_PointPlacer_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, place, IN, osgParticle::Particle *, P, - Properties::VIRTUAL, - __void__place__Particle_P1, - "Place a particle. ", - "This method is called automatically by ModularEmitter and should not be called manually. "); - I_Method0(osg::Vec3, getControlPosition, - Properties::VIRTUAL, - __osg_Vec3__getControlPosition, - "return the control position ", - ""); - I_SimpleProperty(osg::Vec3, ControlPosition, - __osg_Vec3__getControlPosition, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/PrecipitationEffect.cpp b/src/osgWrappers/introspection/osgParticle/PrecipitationEffect.cpp deleted file mode 100644 index ce08cf33f..000000000 --- a/src/osgWrappers/introspection/osgParticle/PrecipitationEffect.cpp +++ /dev/null @@ -1,475 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::PrecipitationEffect) - I_DeclaringFile("osgParticle/PrecipitationEffect"); - I_BaseType(osg::Node); - I_Constructor0(____PrecipitationEffect, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::PrecipitationEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PrecipitationEffect__C5_PrecipitationEffect_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(void, rain, IN, float, intensity, - Properties::NON_VIRTUAL, - __void__rain__float, - "Set all the parameters to create an rain effect of specified intensity. ", - ""); - I_Method1(void, snow, IN, float, intensity, - Properties::NON_VIRTUAL, - __void__snow__float, - "Set all the parameters to create an snow effect of specified intensity. ", - ""); - I_Method1(void, setMaximumParticleDensity, IN, float, density, - Properties::NON_VIRTUAL, - __void__setMaximumParticleDensity__float, - "", - ""); - I_Method0(float, getMaximumParticleDensity, - Properties::NON_VIRTUAL, - __float__getMaximumParticleDensity, - "", - ""); - I_Method1(void, setWind, IN, const osg::Vec3 &, wind, - Properties::NON_VIRTUAL, - __void__setWind__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getWind, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getWind, - "", - ""); - I_Method1(void, setPosition, IN, const osg::Vec3 &, position, - Properties::NON_VIRTUAL, - __void__setPosition__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getPosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getPosition, - "", - ""); - I_Method1(void, setCellSize, IN, const osg::Vec3 &, cellSize, - Properties::NON_VIRTUAL, - __void__setCellSize__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getCellSize, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getCellSize, - "", - ""); - I_Method1(void, setParticleSpeed, IN, float, particleSpeed, - Properties::NON_VIRTUAL, - __void__setParticleSpeed__float, - "", - ""); - I_Method0(float, getParticleSpeed, - Properties::NON_VIRTUAL, - __float__getParticleSpeed, - "", - ""); - I_Method1(void, setParticleSize, IN, float, particleSize, - Properties::NON_VIRTUAL, - __void__setParticleSize__float, - "", - ""); - I_Method0(float, getParticleSize, - Properties::NON_VIRTUAL, - __float__getParticleSize, - "", - ""); - I_Method1(void, setParticleColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setParticleColor__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getParticleColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getParticleColor, - "", - ""); - I_Method1(void, setNearTransition, IN, float, nearTransition, - Properties::NON_VIRTUAL, - __void__setNearTransition__float, - "", - ""); - I_Method0(float, getNearTransition, - Properties::NON_VIRTUAL, - __float__getNearTransition, - "", - ""); - I_Method1(void, setFarTransition, IN, float, farTransition, - Properties::NON_VIRTUAL, - __void__setFarTransition__float, - "", - ""); - I_Method0(float, getFarTransition, - Properties::NON_VIRTUAL, - __float__getFarTransition, - "", - ""); - I_Method1(void, setUseFarLineSegments, IN, bool, useFarLineSegments, - Properties::NON_VIRTUAL, - __void__setUseFarLineSegments__bool, - "", - ""); - I_Method0(bool, getUseFarLineSegments, - Properties::NON_VIRTUAL, - __bool__getUseFarLineSegments, - "", - ""); - I_Method1(void, setFog, IN, osg::Fog *, fog, - Properties::NON_VIRTUAL, - __void__setFog__osg_Fog_P1, - "", - ""); - I_Method0(osg::Fog *, getFog, - Properties::NON_VIRTUAL, - __osg_Fog_P1__getFog, - "", - ""); - I_Method0(const osg::Fog *, getFog, - Properties::NON_VIRTUAL, - __C5_osg_Fog_P1__getFog, - "", - ""); - I_Method0(osg::Geometry *, getQuadGeometry, - Properties::NON_VIRTUAL, - __osg_Geometry_P1__getQuadGeometry, - "", - ""); - I_Method0(osg::StateSet *, getQuadStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getQuadStateSet, - "", - ""); - I_Method0(osg::Geometry *, getLineGeometry, - Properties::NON_VIRTUAL, - __osg_Geometry_P1__getLineGeometry, - "", - ""); - I_Method0(osg::StateSet *, getLineStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getLineStateSet, - "", - ""); - I_Method0(osg::Geometry *, getPointGeometry, - Properties::NON_VIRTUAL, - __osg_Geometry_P1__getPointGeometry, - "", - ""); - I_Method0(osg::StateSet *, getPointStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getPointStateSet, - "", - ""); - I_ProtectedMethod1(void, compileGLObjects, IN, osg::RenderInfo &, renderInfo, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__compileGLObjects__osg_RenderInfo_R1, - "", - ""); - I_ProtectedMethod0(void, update, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__update, - "", - ""); - I_ProtectedMethod4(void, createGeometry, IN, unsigned int, numParticles, IN, osg::Geometry *, quad_geometry, IN, osg::Geometry *, line_geometry, IN, osg::Geometry *, point_geometry, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__createGeometry__unsigned_int__osg_Geometry_P1__osg_Geometry_P1__osg_Geometry_P1, - "", - ""); - I_ProtectedMethod1(void, setUpGeometries, IN, unsigned int, numParticles, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpGeometries__unsigned_int, - "", - ""); - - - I_SimpleProperty(const osg::Vec3 &, CellSize, - __C5_osg_Vec3_R1__getCellSize, - __void__setCellSize__C5_osg_Vec3_R1); - I_SimpleProperty(float, FarTransition, - __float__getFarTransition, - __void__setFarTransition__float); - I_SimpleProperty(osg::Fog *, Fog, - __osg_Fog_P1__getFog, - __void__setFog__osg_Fog_P1); - I_SimpleProperty(osg::Geometry *, LineGeometry, - __osg_Geometry_P1__getLineGeometry, - 0); - I_SimpleProperty(osg::StateSet *, LineStateSet, - __osg_StateSet_P1__getLineStateSet, - 0); - I_SimpleProperty(float, MaximumParticleDensity, - __float__getMaximumParticleDensity, - __void__setMaximumParticleDensity__float); - I_SimpleProperty(float, NearTransition, - __float__getNearTransition, - __void__setNearTransition__float); - I_SimpleProperty(const osg::Vec4 &, ParticleColor, - __C5_osg_Vec4_R1__getParticleColor, - __void__setParticleColor__C5_osg_Vec4_R1); - I_SimpleProperty(float, ParticleSize, - __float__getParticleSize, - __void__setParticleSize__float); - I_SimpleProperty(float, ParticleSpeed, - __float__getParticleSpeed, - __void__setParticleSpeed__float); - I_SimpleProperty(osg::Geometry *, PointGeometry, - __osg_Geometry_P1__getPointGeometry, - 0); - I_SimpleProperty(osg::StateSet *, PointStateSet, - __osg_StateSet_P1__getPointStateSet, - 0); - I_SimpleProperty(const osg::Vec3 &, Position, - __C5_osg_Vec3_R1__getPosition, - __void__setPosition__C5_osg_Vec3_R1); - I_SimpleProperty(osg::Geometry *, QuadGeometry, - __osg_Geometry_P1__getQuadGeometry, - 0); - I_SimpleProperty(osg::StateSet *, QuadStateSet, - __osg_StateSet_P1__getQuadStateSet, - 0); - I_SimpleProperty(bool, UseFarLineSegments, - __bool__getUseFarLineSegments, - __void__setUseFarLineSegments__bool); - I_SimpleProperty(const osg::Vec3 &, Wind, - __C5_osg_Vec3_R1__getWind, - __void__setWind__C5_osg_Vec3_R1); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< osgParticle::PrecipitationEffect::PrecipitationDrawable::Cell COMMA osgParticle::PrecipitationEffect::PrecipitationDrawable::DepthMatrixStartTime >, osgParticle::PrecipitationEffect::PrecipitationDrawable::CellMatrixMap) - -BEGIN_OBJECT_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable) - I_DeclaringFile("osgParticle/PrecipitationEffect"); - I_BaseType(osg::Drawable); - I_Constructor0(____PrecipitationDrawable, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::PrecipitationEffect::PrecipitationDrawable &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____PrecipitationDrawable__C5_PrecipitationDrawable_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_osg_PrimitiveFunctor_R1, - "Return true if the Drawable subclass supports accept(PrimitiveFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, x, - Properties::VIRTUAL, - __void__accept__osg_PrimitiveFunctor_R1, - "Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ", - "return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveFunctor only provides const access of the primitives, as primitives may be procedurally generated so one cannot modify it. "); - I_Method1(bool, supports, IN, const osg::PrimitiveIndexFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_osg_PrimitiveIndexFunctor_R1, - "Return true if the Drawable subclass supports accept(PrimitiveIndexFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, x, - Properties::VIRTUAL, - __void__accept__osg_PrimitiveIndexFunctor_R1, - "Accept a PrimitiveIndexFunctor and call its methods to tell it about the internal primitives that this Drawable has. ", - "return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveIndexFunctor only provide const access of the primitives, as primitives may be procedurally generated so one cannot modify it. "); - I_Method1(void, setRequiresPreviousMatrix, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setRequiresPreviousMatrix__bool, - "", - ""); - I_Method0(bool, getRequiresPreviousMatrix, - Properties::NON_VIRTUAL, - __bool__getRequiresPreviousMatrix, - "", - ""); - I_Method1(void, setGeometry, IN, osg::Geometry *, geom, - Properties::NON_VIRTUAL, - __void__setGeometry__osg_Geometry_P1, - "", - ""); - I_Method0(osg::Geometry *, getGeometry, - Properties::NON_VIRTUAL, - __osg_Geometry_P1__getGeometry, - "", - ""); - I_Method0(const osg::Geometry *, getGeometry, - Properties::NON_VIRTUAL, - __C5_osg_Geometry_P1__getGeometry, - "", - ""); - I_Method1(void, setDrawType, IN, GLenum, type, - Properties::NON_VIRTUAL, - __void__setDrawType__GLenum, - "", - ""); - I_Method0(GLenum, getDrawType, - Properties::NON_VIRTUAL, - __GLenum__getDrawType, - "", - ""); - I_Method1(void, setNumberOfVertices, IN, unsigned int, numVertices, - Properties::NON_VIRTUAL, - __void__setNumberOfVertices__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumberOfVertices, - Properties::NON_VIRTUAL, - __unsigned_int__getNumberOfVertices, - "", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1, - "drawImplementation(RenderInfo&) is a pure virtual method for the actual implementation of OpenGL drawing calls, such as vertex arrays and primitives, that must be implemented in concrete subclasses of the Drawable base class, examples include osg::Geometry and osg::ShapeDrawable. ", - " param renderInfo The osg::RenderInfo object that encapsulates the current rendering information including the osg::State OpenGL state for the current graphics context. "); - I_Method0(osgParticle::PrecipitationEffect::PrecipitationDrawable::CellMatrixMap &, getCurrentCellMatrixMap, - Properties::NON_VIRTUAL, - __CellMatrixMap_R1__getCurrentCellMatrixMap, - "", - ""); - I_Method0(osgParticle::PrecipitationEffect::PrecipitationDrawable::CellMatrixMap &, getPreviousCellMatrixMap, - Properties::NON_VIRTUAL, - __CellMatrixMap_R1__getPreviousCellMatrixMap, - "", - ""); - I_Method0(void, newFrame, - Properties::NON_VIRTUAL, - __void__newFrame, - "", - ""); - I_SimpleProperty(osgParticle::PrecipitationEffect::PrecipitationDrawable::CellMatrixMap &, CurrentCellMatrixMap, - __CellMatrixMap_R1__getCurrentCellMatrixMap, - 0); - I_SimpleProperty(GLenum, DrawType, - __GLenum__getDrawType, - __void__setDrawType__GLenum); - I_SimpleProperty(osg::Geometry *, Geometry, - __osg_Geometry_P1__getGeometry, - __void__setGeometry__osg_Geometry_P1); - I_SimpleProperty(unsigned int, NumberOfVertices, - __unsigned_int__getNumberOfVertices, - __void__setNumberOfVertices__unsigned_int); - I_SimpleProperty(osgParticle::PrecipitationEffect::PrecipitationDrawable::CellMatrixMap &, PreviousCellMatrixMap, - __CellMatrixMap_R1__getPreviousCellMatrixMap, - 0); - I_SimpleProperty(bool, RequiresPreviousMatrix, - __bool__getRequiresPreviousMatrix, - __void__setRequiresPreviousMatrix__bool); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::Cell) - I_DeclaringFile("osgParticle/PrecipitationEffect"); - I_Constructor3(IN, int, in_i, IN, int, in_j, IN, int, in_k, - ____Cell__int__int__int, - "", - ""); - I_PublicMemberProperty(int, i); - I_PublicMemberProperty(int, j); - I_PublicMemberProperty(int, k); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::DepthMatrixStartTime) - I_DeclaringFile("osgParticle/PrecipitationEffect"); - I_Constructor0(____DepthMatrixStartTime, - "", - ""); - I_PublicMemberProperty(float, depth); - I_PublicMemberProperty(float, startTime); - I_PublicMemberProperty(osg::Matrix, modelview); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::LessFunctor) - I_DeclaringFile("osgParticle/PrecipitationEffect"); - I_Constructor0(____LessFunctor, - "", - ""); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< osgParticle::PrecipitationEffect::PrecipitationDrawable::Cell COMMA osgParticle::PrecipitationEffect::PrecipitationDrawable::DepthMatrixStartTime >) - diff --git a/src/osgWrappers/introspection/osgParticle/Program.cpp b/src/osgWrappers/introspection/osgParticle/Program.cpp deleted file mode 100644 index d4cfebdca..000000000 --- a/src/osgWrappers/introspection/osgParticle/Program.cpp +++ /dev/null @@ -1,71 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Program) - I_DeclaringFile("osgParticle/Program"); - I_BaseType(osgParticle::ParticleProcessor); - I_Constructor0(____Program, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::Program &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Program__C5_Program_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_ProtectedMethod1(void, process, IN, double, dt, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__process__double, - "Implementation of ParticleProcessor::process(). Do not call this method by yourself. ", - ""); - I_ProtectedMethod1(void, execute, IN, double, dt, - Properties::PURE_VIRTUAL, - Properties::NON_CONST, - __void__execute__double, - "Execute the program on the particle system. Must be overriden in descendant classes. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/RadialShooter.cpp b/src/osgWrappers/introspection/osgParticle/RadialShooter.cpp deleted file mode 100644 index 8dad4b775..000000000 --- a/src/osgWrappers/introspection/osgParticle/RadialShooter.cpp +++ /dev/null @@ -1,143 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::RadialShooter) - I_DeclaringFile("osgParticle/RadialShooter"); - I_BaseType(osgParticle::Shooter); - I_Constructor0(____RadialShooter, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::RadialShooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____RadialShooter__C5_RadialShooter_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const osgParticle::rangef &, getThetaRange, - Properties::NON_VIRTUAL, - __C5_rangef_R1__getThetaRange, - "Get the range of possible values for theta angle. ", - ""); - I_Method1(void, setThetaRange, IN, const osgParticle::rangef &, r, - Properties::NON_VIRTUAL, - __void__setThetaRange__C5_rangef_R1, - "Set the range of possible values for theta angle. ", - ""); - I_Method2(void, setThetaRange, IN, float, r1, IN, float, r2, - Properties::NON_VIRTUAL, - __void__setThetaRange__float__float, - "Set the range of possible values for theta angle. ", - ""); - I_Method0(const osgParticle::rangef &, getPhiRange, - Properties::NON_VIRTUAL, - __C5_rangef_R1__getPhiRange, - "Get the range of possible values for phi angle. ", - ""); - I_Method1(void, setPhiRange, IN, const osgParticle::rangef &, r, - Properties::NON_VIRTUAL, - __void__setPhiRange__C5_rangef_R1, - "Set the range of possible values for phi angle. ", - ""); - I_Method2(void, setPhiRange, IN, float, r1, IN, float, r2, - Properties::NON_VIRTUAL, - __void__setPhiRange__float__float, - "Set the range of possible values for phi angle. ", - ""); - I_Method0(const osgParticle::rangef &, getInitialSpeedRange, - Properties::NON_VIRTUAL, - __C5_rangef_R1__getInitialSpeedRange, - "Get the range of possible values for initial speed of particles. ", - ""); - I_Method1(void, setInitialSpeedRange, IN, const osgParticle::rangef &, r, - Properties::NON_VIRTUAL, - __void__setInitialSpeedRange__C5_rangef_R1, - "Set the range of possible values for initial speed of particles. ", - ""); - I_Method2(void, setInitialSpeedRange, IN, float, r1, IN, float, r2, - Properties::NON_VIRTUAL, - __void__setInitialSpeedRange__float__float, - "Set the range of possible values for initial speed of particles. ", - ""); - I_Method0(const osgParticle::rangev3 &, getInitialRotationalSpeedRange, - Properties::NON_VIRTUAL, - __C5_rangev3_R1__getInitialRotationalSpeedRange, - "Get the range of possible values for initial rotational speed of particles. ", - ""); - I_Method1(void, setInitialRotationalSpeedRange, IN, const osgParticle::rangev3 &, r, - Properties::NON_VIRTUAL, - __void__setInitialRotationalSpeedRange__C5_rangev3_R1, - "Set the range of possible values for initial rotational speed of particles. ", - ""); - I_Method2(void, setInitialRotationalSpeedRange, IN, const osg::Vec3 &, r1, IN, const osg::Vec3 &, r2, - Properties::NON_VIRTUAL, - __void__setInitialRotationalSpeedRange__C5_osg_Vec3_R1__C5_osg_Vec3_R1, - "Set the range of possible values for initial rotational speed of particles. ", - ""); - I_Method1(void, shoot, IN, osgParticle::Particle *, P, - Properties::VIRTUAL, - __void__shoot__Particle_P1, - "Shoot a particle. Do not call this method manually. ", - ""); - I_SimpleProperty(const osgParticle::rangev3 &, InitialRotationalSpeedRange, - __C5_rangev3_R1__getInitialRotationalSpeedRange, - __void__setInitialRotationalSpeedRange__C5_rangev3_R1); - I_SimpleProperty(const osgParticle::rangef &, InitialSpeedRange, - __C5_rangef_R1__getInitialSpeedRange, - __void__setInitialSpeedRange__C5_rangef_R1); - I_SimpleProperty(const osgParticle::rangef &, PhiRange, - __C5_rangef_R1__getPhiRange, - __void__setPhiRange__C5_rangef_R1); - I_SimpleProperty(const osgParticle::rangef &, ThetaRange, - __C5_rangef_R1__getThetaRange, - __void__setThetaRange__C5_rangef_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/RandomRateCounter.cpp b/src/osgWrappers/introspection/osgParticle/RandomRateCounter.cpp deleted file mode 100644 index 486672740..000000000 --- a/src/osgWrappers/introspection/osgParticle/RandomRateCounter.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::RandomRateCounter) - I_DeclaringFile("osgParticle/RandomRateCounter"); - I_BaseType(osgParticle::VariableRateCounter); - I_Constructor0(____RandomRateCounter, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::RandomRateCounter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____RandomRateCounter__C5_RandomRateCounter_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(int, numParticlesToCreate, IN, double, dt, - Properties::VIRTUAL, - __int__numParticlesToCreate__double, - "Return the number of particles to be created in this frame. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/SectorPlacer.cpp b/src/osgWrappers/introspection/osgParticle/SectorPlacer.cpp deleted file mode 100644 index 970bdf39d..000000000 --- a/src/osgWrappers/introspection/osgParticle/SectorPlacer.cpp +++ /dev/null @@ -1,115 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::SectorPlacer) - I_DeclaringFile("osgParticle/SectorPlacer"); - I_BaseType(osgParticle::CenteredPlacer); - I_Constructor0(____SectorPlacer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::SectorPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____SectorPlacer__C5_SectorPlacer_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const osgParticle::rangef &, getRadiusRange, - Properties::NON_VIRTUAL, - __C5_rangef_R1__getRadiusRange, - "Get the range of possible values for radius. ", - ""); - I_Method1(void, setRadiusRange, IN, const osgParticle::rangef &, r, - Properties::NON_VIRTUAL, - __void__setRadiusRange__C5_rangef_R1, - "Set the range of possible values for radius. ", - ""); - I_Method2(void, setRadiusRange, IN, float, r1, IN, float, r2, - Properties::NON_VIRTUAL, - __void__setRadiusRange__float__float, - "Set the range of possible values for radius. ", - ""); - I_Method0(const osgParticle::rangef &, getPhiRange, - Properties::NON_VIRTUAL, - __C5_rangef_R1__getPhiRange, - "Get the range of possible values for the central angle. ", - ""); - I_Method1(void, setPhiRange, IN, const osgParticle::rangef &, r, - Properties::NON_VIRTUAL, - __void__setPhiRange__C5_rangef_R1, - "Set the range of possible values for the central angle. ", - ""); - I_Method2(void, setPhiRange, IN, float, r1, IN, float, r2, - Properties::NON_VIRTUAL, - __void__setPhiRange__float__float, - "Set the range of possible values for the central angle. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, place, IN, osgParticle::Particle *, P, - Properties::VIRTUAL, - __void__place__Particle_P1, - "Place a particle. Do not call it manually. ", - ""); - I_Method0(osg::Vec3, getControlPosition, - Properties::VIRTUAL, - __osg_Vec3__getControlPosition, - "return the control position ", - ""); - I_SimpleProperty(osg::Vec3, ControlPosition, - __osg_Vec3__getControlPosition, - 0); - I_SimpleProperty(const osgParticle::rangef &, PhiRange, - __C5_rangef_R1__getPhiRange, - __void__setPhiRange__C5_rangef_R1); - I_SimpleProperty(const osgParticle::rangef &, RadiusRange, - __C5_rangef_R1__getRadiusRange, - __void__setRadiusRange__C5_rangef_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/SegmentPlacer.cpp b/src/osgWrappers/introspection/osgParticle/SegmentPlacer.cpp deleted file mode 100644 index ad72e79da..000000000 --- a/src/osgWrappers/introspection/osgParticle/SegmentPlacer.cpp +++ /dev/null @@ -1,119 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::SegmentPlacer) - I_DeclaringFile("osgParticle/SegmentPlacer"); - I_BaseType(osgParticle::Placer); - I_Constructor0(____SegmentPlacer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::SegmentPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____SegmentPlacer__C5_SegmentPlacer_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const osg::Vec3 &, getVertexA, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getVertexA, - "get vertex A. ", - ""); - I_Method1(void, setVertexA, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__setVertexA__C5_osg_Vec3_R1, - "Set vertex A of the segment as a vector. ", - ""); - I_Method3(void, setVertexA, IN, float, x, IN, float, y, IN, float, z, - Properties::NON_VIRTUAL, - __void__setVertexA__float__float__float, - "Set vertex A of the segment as three floats. ", - ""); - I_Method0(const osg::Vec3 &, getVertexB, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getVertexB, - "get vertex B. ", - ""); - I_Method1(void, setVertexB, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__setVertexB__C5_osg_Vec3_R1, - "Set vertex B of the segment as a vector. ", - ""); - I_Method3(void, setVertexB, IN, float, x, IN, float, y, IN, float, z, - Properties::NON_VIRTUAL, - __void__setVertexB__float__float__float, - "Set vertex B of the segment as three floats. ", - ""); - I_Method2(void, setSegment, IN, const osg::Vec3 &, A, IN, const osg::Vec3 &, B, - Properties::NON_VIRTUAL, - __void__setSegment__C5_osg_Vec3_R1__C5_osg_Vec3_R1, - "Set both vertices. ", - ""); - I_Method1(void, place, IN, osgParticle::Particle *, P, - Properties::VIRTUAL, - __void__place__Particle_P1, - "Place a particle. This method is called by ModularEmitter, do not call it manually. ", - ""); - I_Method0(osg::Vec3, getControlPosition, - Properties::VIRTUAL, - __osg_Vec3__getControlPosition, - "return the control position ", - ""); - I_SimpleProperty(osg::Vec3, ControlPosition, - __osg_Vec3__getControlPosition, - 0); - I_SimpleProperty(const osg::Vec3 &, VertexA, - __C5_osg_Vec3_R1__getVertexA, - __void__setVertexA__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, VertexB, - __C5_osg_Vec3_R1__getVertexB, - __void__setVertexB__C5_osg_Vec3_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/Shooter.cpp b/src/osgWrappers/introspection/osgParticle/Shooter.cpp deleted file mode 100644 index ffe170282..000000000 --- a/src/osgWrappers/introspection/osgParticle/Shooter.cpp +++ /dev/null @@ -1,59 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Shooter) - I_DeclaringFile("osgParticle/Shooter"); - I_BaseType(osg::Object); - I_Constructor0(____Shooter, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::Shooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Shooter__C5_Shooter_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method1(void, shoot, IN, osgParticle::Particle *, P, - Properties::PURE_VIRTUAL, - __void__shoot__Particle_P1, - "Shoot a particle. ", - "Must be overriden by descendants. This method should only set the velocity vector of particle P, leaving other attributes unchanged. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/SmokeEffect.cpp b/src/osgWrappers/introspection/osgParticle/SmokeEffect.cpp deleted file mode 100644 index 52988cd7f..000000000 --- a/src/osgWrappers/introspection/osgParticle/SmokeEffect.cpp +++ /dev/null @@ -1,114 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::SmokeEffect) - I_DeclaringFile("osgParticle/SmokeEffect"); - I_BaseType(osgParticle::ParticleEffect); - I_ConstructorWithDefaults1(IN, bool, automaticSetup, true, - Properties::EXPLICIT, - ____SmokeEffect__bool, - "", - ""); - I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f, - ____SmokeEffect__C5_osg_Vec3_R1__float__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::SmokeEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____SmokeEffect__C5_SmokeEffect_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(void, setDefaults, - Properties::VIRTUAL, - __void__setDefaults, - "", - ""); - I_Method0(void, setUpEmitterAndProgram, - Properties::VIRTUAL, - __void__setUpEmitterAndProgram, - "", - ""); - I_Method0(osgParticle::Emitter *, getEmitter, - Properties::VIRTUAL, - __Emitter_P1__getEmitter, - "", - ""); - I_Method0(const osgParticle::Emitter *, getEmitter, - Properties::VIRTUAL, - __C5_Emitter_P1__getEmitter, - "", - ""); - I_Method0(osgParticle::Program *, getProgram, - Properties::VIRTUAL, - __Program_P1__getProgram, - "", - ""); - I_Method0(const osgParticle::Program *, getProgram, - Properties::VIRTUAL, - __C5_Program_P1__getProgram, - "", - ""); - I_SimpleProperty(osgParticle::Emitter *, Emitter, - __Emitter_P1__getEmitter, - 0); - I_SimpleProperty(osgParticle::Program *, Program, - __Program_P1__getProgram, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/SmokeTrailEffect.cpp b/src/osgWrappers/introspection/osgParticle/SmokeTrailEffect.cpp deleted file mode 100644 index 3c6a160b8..000000000 --- a/src/osgWrappers/introspection/osgParticle/SmokeTrailEffect.cpp +++ /dev/null @@ -1,114 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgParticle::SmokeTrailEffect) - I_DeclaringFile("osgParticle/SmokeTrailEffect"); - I_BaseType(osgParticle::ParticleEffect); - I_ConstructorWithDefaults1(IN, bool, automaticSetup, true, - Properties::EXPLICIT, - ____SmokeTrailEffect__bool, - "", - ""); - I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f, - ____SmokeTrailEffect__C5_osg_Vec3_R1__float__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::SmokeTrailEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____SmokeTrailEffect__C5_SmokeTrailEffect_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method0(void, setDefaults, - Properties::VIRTUAL, - __void__setDefaults, - "", - ""); - I_Method0(void, setUpEmitterAndProgram, - Properties::VIRTUAL, - __void__setUpEmitterAndProgram, - "", - ""); - I_Method0(osgParticle::Emitter *, getEmitter, - Properties::VIRTUAL, - __Emitter_P1__getEmitter, - "", - ""); - I_Method0(const osgParticle::Emitter *, getEmitter, - Properties::VIRTUAL, - __C5_Emitter_P1__getEmitter, - "", - ""); - I_Method0(osgParticle::Program *, getProgram, - Properties::VIRTUAL, - __Program_P1__getProgram, - "", - ""); - I_Method0(const osgParticle::Program *, getProgram, - Properties::VIRTUAL, - __C5_Program_P1__getProgram, - "", - ""); - I_SimpleProperty(osgParticle::Emitter *, Emitter, - __Emitter_P1__getEmitter, - 0); - I_SimpleProperty(osgParticle::Program *, Program, - __Program_P1__getProgram, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/VariableRateCounter.cpp b/src/osgWrappers/introspection/osgParticle/VariableRateCounter.cpp deleted file mode 100644 index 78f366e66..000000000 --- a/src/osgWrappers/introspection/osgParticle/VariableRateCounter.cpp +++ /dev/null @@ -1,72 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::VariableRateCounter) - I_DeclaringFile("osgParticle/VariableRateCounter"); - I_BaseType(osgParticle::Counter); - I_Constructor0(____VariableRateCounter, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgParticle::VariableRateCounter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____VariableRateCounter__C5_VariableRateCounter_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const osgParticle::rangef &, getRateRange, - Properties::NON_VIRTUAL, - __C5_rangef_R1__getRateRange, - "", - ""); - I_Method1(void, setRateRange, IN, const osgParticle::rangef &, r, - Properties::NON_VIRTUAL, - __void__setRateRange__C5_rangef_R1, - "", - ""); - I_Method2(void, setRateRange, IN, float, minrange, IN, float, maxrange, - Properties::NON_VIRTUAL, - __void__setRateRange__float__float, - "", - ""); - I_SimpleProperty(const osgParticle::rangef &, RateRange, - __C5_rangef_R1__getRateRange, - __void__setRateRange__C5_rangef_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgParticle/range.cpp b/src/osgWrappers/introspection/osgParticle/range.cpp deleted file mode 100644 index 7e36fcc98..000000000 --- a/src/osgWrappers/introspection/osgParticle/range.cpp +++ /dev/null @@ -1,167 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osgParticle::range< float >, osgParticle::rangef) - -TYPE_NAME_ALIAS(osgParticle::range< osg::Vec2 >, osgParticle::rangev2) - -TYPE_NAME_ALIAS(osgParticle::range< osg::Vec3 >, osgParticle::rangev3) - -TYPE_NAME_ALIAS(osgParticle::range< osg::Vec4 >, osgParticle::rangev4) - -BEGIN_VALUE_REFLECTOR(osgParticle::range< float >) - I_DeclaringFile("osgParticle/range"); - I_Constructor0(____range, - "Construct the object by calling default constructors for min and max. ", - ""); - I_Constructor2(IN, const float &, mn, IN, const float &, mx, - ____range__C5_ValueType_R1__C5_ValueType_R1, - "Construct and initialize min and max directly. ", - ""); - I_Method2(void, set, IN, const float &, mn, IN, const float &, mx, - Properties::NON_VIRTUAL, - __void__set__C5_ValueType_R1__C5_ValueType_R1, - "Set min and max. ", - ""); - I_Method0(float, get_random, - Properties::NON_VIRTUAL, - __ValueType__get_random, - "Get a random value between min and max. ", - ""); - I_Method0(float, get_random_sqrtf, - Properties::NON_VIRTUAL, - __ValueType__get_random_sqrtf, - "Get a random square root value between min and max. ", - ""); - I_Method0(float, mid, - Properties::NON_VIRTUAL, - __ValueType__mid, - "", - ""); - I_PublicMemberProperty(float, minimum); - I_PublicMemberProperty(float, maximum); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgParticle::range< osg::Vec2 >) - I_DeclaringFile("osgParticle/range"); - I_Constructor0(____range, - "Construct the object by calling default constructors for min and max. ", - ""); - I_Constructor2(IN, const osg::Vec2 &, mn, IN, const osg::Vec2 &, mx, - ____range__C5_ValueType_R1__C5_ValueType_R1, - "Construct and initialize min and max directly. ", - ""); - I_Method2(void, set, IN, const osg::Vec2 &, mn, IN, const osg::Vec2 &, mx, - Properties::NON_VIRTUAL, - __void__set__C5_ValueType_R1__C5_ValueType_R1, - "Set min and max. ", - ""); - I_Method0(osg::Vec2, get_random, - Properties::NON_VIRTUAL, - __ValueType__get_random, - "Get a random value between min and max. ", - ""); - I_Method0(osg::Vec2, get_random_sqrtf, - Properties::NON_VIRTUAL, - __ValueType__get_random_sqrtf, - "Get a random square root value between min and max. ", - ""); - I_Method0(osg::Vec2, mid, - Properties::NON_VIRTUAL, - __ValueType__mid, - "", - ""); - I_PublicMemberProperty(osg::Vec2, minimum); - I_PublicMemberProperty(osg::Vec2, maximum); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgParticle::range< osg::Vec3 >) - I_DeclaringFile("osgParticle/range"); - I_Constructor0(____range, - "Construct the object by calling default constructors for min and max. ", - ""); - I_Constructor2(IN, const osg::Vec3 &, mn, IN, const osg::Vec3 &, mx, - ____range__C5_ValueType_R1__C5_ValueType_R1, - "Construct and initialize min and max directly. ", - ""); - I_Method2(void, set, IN, const osg::Vec3 &, mn, IN, const osg::Vec3 &, mx, - Properties::NON_VIRTUAL, - __void__set__C5_ValueType_R1__C5_ValueType_R1, - "Set min and max. ", - ""); - I_Method0(osg::Vec3, get_random, - Properties::NON_VIRTUAL, - __ValueType__get_random, - "Get a random value between min and max. ", - ""); - I_Method0(osg::Vec3, get_random_sqrtf, - Properties::NON_VIRTUAL, - __ValueType__get_random_sqrtf, - "Get a random square root value between min and max. ", - ""); - I_Method0(osg::Vec3, mid, - Properties::NON_VIRTUAL, - __ValueType__mid, - "", - ""); - I_PublicMemberProperty(osg::Vec3, minimum); - I_PublicMemberProperty(osg::Vec3, maximum); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgParticle::range< osg::Vec4 >) - I_DeclaringFile("osgParticle/range"); - I_Constructor0(____range, - "Construct the object by calling default constructors for min and max. ", - ""); - I_Constructor2(IN, const osg::Vec4 &, mn, IN, const osg::Vec4 &, mx, - ____range__C5_ValueType_R1__C5_ValueType_R1, - "Construct and initialize min and max directly. ", - ""); - I_Method2(void, set, IN, const osg::Vec4 &, mn, IN, const osg::Vec4 &, mx, - Properties::NON_VIRTUAL, - __void__set__C5_ValueType_R1__C5_ValueType_R1, - "Set min and max. ", - ""); - I_Method0(osg::Vec4, get_random, - Properties::NON_VIRTUAL, - __ValueType__get_random, - "Get a random value between min and max. ", - ""); - I_Method0(osg::Vec4, get_random_sqrtf, - Properties::NON_VIRTUAL, - __ValueType__get_random_sqrtf, - "Get a random square root value between min and max. ", - ""); - I_Method0(osg::Vec4, mid, - Properties::NON_VIRTUAL, - __ValueType__mid, - "", - ""); - I_PublicMemberProperty(osg::Vec4, minimum); - I_PublicMemberProperty(osg::Vec4, maximum); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgPresentation/AnimationMaterial.cpp b/src/osgWrappers/introspection/osgPresentation/AnimationMaterial.cpp deleted file mode 100644 index 46d83344a..000000000 --- a/src/osgWrappers/introspection/osgPresentation/AnimationMaterial.cpp +++ /dev/null @@ -1,322 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgPresentation::AnimationMaterial::LoopMode) - I_DeclaringFile("osgPresentation/AnimationMaterial"); - I_EnumLabel(osgPresentation::AnimationMaterial::SWING); - I_EnumLabel(osgPresentation::AnimationMaterial::LOOP); - I_EnumLabel(osgPresentation::AnimationMaterial::NO_LOOPING); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< double COMMA osg::ref_ptr< osg::Material > >, osgPresentation::AnimationMaterial::TimeControlPointMap) - -BEGIN_OBJECT_REFLECTOR(osgPresentation::AnimationMaterial) - I_DeclaringFile("osgPresentation/AnimationMaterial"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____AnimationMaterial, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgPresentation::AnimationMaterial &, ap, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AnimationMaterial__C5_AnimationMaterial_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method2(bool, getMaterial, IN, double, time, IN, osg::Material &, material, - Properties::NON_VIRTUAL, - __bool__getMaterial__double__osg_Material_R1, - "get the transformation matrix for a point in time. ", - ""); - I_Method2(void, insert, IN, double, time, IN, osg::Material *, material, - Properties::NON_VIRTUAL, - __void__insert__double__osg_Material_P1, - "", - ""); - I_Method0(double, getFirstTime, - Properties::NON_VIRTUAL, - __double__getFirstTime, - "", - ""); - I_Method0(double, getLastTime, - Properties::NON_VIRTUAL, - __double__getLastTime, - "", - ""); - I_Method0(double, getPeriod, - Properties::NON_VIRTUAL, - __double__getPeriod, - "", - ""); - I_Method1(void, setLoopMode, IN, osgPresentation::AnimationMaterial::LoopMode, lm, - Properties::NON_VIRTUAL, - __void__setLoopMode__LoopMode, - "", - ""); - I_Method0(osgPresentation::AnimationMaterial::LoopMode, getLoopMode, - Properties::NON_VIRTUAL, - __LoopMode__getLoopMode, - "", - ""); - I_Method0(osgPresentation::AnimationMaterial::TimeControlPointMap &, getTimeControlPointMap, - Properties::NON_VIRTUAL, - __TimeControlPointMap_R1__getTimeControlPointMap, - "", - ""); - I_Method0(const osgPresentation::AnimationMaterial::TimeControlPointMap &, getTimeControlPointMap, - Properties::NON_VIRTUAL, - __C5_TimeControlPointMap_R1__getTimeControlPointMap, - "", - ""); - I_Method1(void, read, IN, std::istream &, in, - Properties::NON_VIRTUAL, - __void__read__std_istream_R1, - "read the anumation path from a flat ascii file stream. ", - ""); - I_Method1(void, write, IN, std::ostream &, out, - Properties::NON_VIRTUAL, - __void__write__std_ostream_R1, - "write the anumation path to a flat ascii file stream. ", - ""); - I_Method0(bool, requiresBlending, - Properties::NON_VIRTUAL, - __bool__requiresBlending, - "", - ""); - I_ProtectedMethod4(void, interpolate, IN, osg::Material &, material, IN, float, r, IN, const osg::Material &, lhs, IN, const osg::Material &, rhs, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__interpolate__osg_Material_R1__float__C5_osg_Material_R1__C5_osg_Material_R1, - "", - ""); - I_SimpleProperty(double, FirstTime, - __double__getFirstTime, - 0); - I_SimpleProperty(double, LastTime, - __double__getLastTime, - 0); - I_SimpleProperty(osgPresentation::AnimationMaterial::LoopMode, LoopMode, - __LoopMode__getLoopMode, - __void__setLoopMode__LoopMode); - I_SimpleProperty(double, Period, - __double__getPeriod, - 0); - I_SimpleProperty(osgPresentation::AnimationMaterial::TimeControlPointMap &, TimeControlPointMap, - __TimeControlPointMap_R1__getTimeControlPointMap, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgPresentation::AnimationMaterialCallback) - I_DeclaringFile("osgPresentation/AnimationMaterial"); - I_BaseType(osg::NodeCallback); - I_Constructor0(____AnimationMaterialCallback, - "", - ""); - I_Constructor2(IN, const osgPresentation::AnimationMaterialCallback &, apc, IN, const osg::CopyOp &, copyop, - ____AnimationMaterialCallback__C5_AnimationMaterialCallback_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults3(IN, osgPresentation::AnimationMaterial *, ap, , IN, double, timeOffset, 0.0f, IN, double, timeMultiplier, 1.0f, - ____AnimationMaterialCallback__AnimationMaterial_P1__double__double, - "", - ""); - I_Method1(void, setAnimationMaterial, IN, osgPresentation::AnimationMaterial *, path, - Properties::NON_VIRTUAL, - __void__setAnimationMaterial__AnimationMaterial_P1, - "", - ""); - I_Method0(osgPresentation::AnimationMaterial *, getAnimationMaterial, - Properties::NON_VIRTUAL, - __AnimationMaterial_P1__getAnimationMaterial, - "", - ""); - I_Method0(const osgPresentation::AnimationMaterial *, getAnimationMaterial, - Properties::NON_VIRTUAL, - __C5_AnimationMaterial_P1__getAnimationMaterial, - "", - ""); - I_Method1(void, setTimeOffset, IN, double, offset, - Properties::NON_VIRTUAL, - __void__setTimeOffset__double, - "", - ""); - I_Method0(double, getTimeOffset, - Properties::NON_VIRTUAL, - __double__getTimeOffset, - "", - ""); - I_Method1(void, setTimeMultiplier, IN, double, multiplier, - Properties::NON_VIRTUAL, - __void__setTimeMultiplier__double, - "", - ""); - I_Method0(double, getTimeMultiplier, - Properties::NON_VIRTUAL, - __double__getTimeMultiplier, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method1(void, setPause, IN, bool, pause, - Properties::NON_VIRTUAL, - __void__setPause__bool, - "", - ""); - I_Method0(double, getAnimationTime, - Properties::NON_VIRTUAL, - __double__getAnimationTime, - "get the animation time that is used to specify the position along the AnimationMaterial. ", - "Animation time is computed from the formula ((_latestTime-_firstTime)-_timeOffset)*_timeMultiplier. "); - I_Method1(void, update, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - __void__update__osg_Node_R1, - "", - ""); - I_SimpleProperty(osgPresentation::AnimationMaterial *, AnimationMaterial, - __AnimationMaterial_P1__getAnimationMaterial, - __void__setAnimationMaterial__AnimationMaterial_P1); - I_SimpleProperty(double, AnimationTime, - __double__getAnimationTime, - 0); - I_SimpleProperty(bool, Pause, - 0, - __void__setPause__bool); - I_SimpleProperty(double, TimeMultiplier, - __double__getTimeMultiplier, - __void__setTimeMultiplier__double); - I_SimpleProperty(double, TimeOffset, - __double__getTimeOffset, - __void__setTimeOffset__double); - I_PublicMemberProperty(osg::ref_ptr< osgPresentation::AnimationMaterial >, _animationMaterial); - I_PublicMemberProperty(bool, _useInverseMatrix); - I_PublicMemberProperty(double, _timeOffset); - I_PublicMemberProperty(double, _timeMultiplier); - I_PublicMemberProperty(double, _firstTime); - I_PublicMemberProperty(double, _latestTime); - I_PublicMemberProperty(bool, _pause); - I_PublicMemberProperty(double, _pauseTime); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Material >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Material *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Material > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Material > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Material *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Material *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Material > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Material *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< double COMMA osg::ref_ptr< osg::Material > >) - diff --git a/src/osgWrappers/introspection/osgPresentation/CompileSlideCallback.cpp b/src/osgWrappers/introspection/osgPresentation/CompileSlideCallback.cpp deleted file mode 100644 index eeee96277..000000000 --- a/src/osgWrappers/introspection/osgPresentation/CompileSlideCallback.cpp +++ /dev/null @@ -1,39 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgPresentation::CompileSlideCallback) - I_DeclaringFile("osgPresentation/CompileSlideCallback"); - I_BaseType(osg::Camera::DrawCallback); - I_Constructor0(____CompileSlideCallback, - "", - ""); - I_Method1(void, needCompile, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__needCompile__osg_Node_P1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgPresentation/PickEventHandler.cpp b/src/osgWrappers/introspection/osgPresentation/PickEventHandler.cpp deleted file mode 100644 index 8eb068b72..000000000 --- a/src/osgWrappers/introspection/osgPresentation/PickEventHandler.cpp +++ /dev/null @@ -1,152 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgPresentation::PickEventHandler) - I_DeclaringFile("osgPresentation/PickEventHandler"); - I_BaseType(osgGA::GUIEventHandler); - I_ConstructorWithDefaults4(IN, osgPresentation::Operation, operation, , IN, bool, relativeJump, true, IN, int, slideNum, 0, IN, int, layerNum, 0, - ____PickEventHandler__osgPresentation_Operation__bool__int__int, - "", - ""); - I_ConstructorWithDefaults5(IN, const std::string &, str, , IN, osgPresentation::Operation, operation, , IN, bool, relativeJump, true, IN, int, slideNum, 0, IN, int, layerNum, 0, - ____PickEventHandler__C5_std_string_R1__osgPresentation_Operation__bool__int__int, - "", - ""); - I_ConstructorWithDefaults4(IN, const osgPresentation::KeyPosition &, keyPos, , IN, bool, relativeJump, true, IN, int, slideNum, 0, IN, int, layerNum, 0, - ____PickEventHandler__C5_osgPresentation_KeyPosition_R1__bool__int__int, - "", - ""); - I_Method1(void, setOperation, IN, osgPresentation::Operation, operation, - Properties::NON_VIRTUAL, - __void__setOperation__osgPresentation_Operation, - "", - ""); - I_Method0(osgPresentation::Operation, getOperation, - Properties::NON_VIRTUAL, - __osgPresentation_Operation__getOperation, - "", - ""); - I_Method1(void, setCommand, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __void__setCommand__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getCommand, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getCommand, - "", - ""); - I_Method1(void, setKeyPosition, IN, const osgPresentation::KeyPosition &, keyPos, - Properties::NON_VIRTUAL, - __void__setKeyPosition__C5_osgPresentation_KeyPosition_R1, - "", - ""); - I_Method0(const osgPresentation::KeyPosition &, getKeyPosition, - Properties::NON_VIRTUAL, - __C5_osgPresentation_KeyPosition_R1__getKeyPosition, - "", - ""); - I_Method2(void, setRelativeJump, IN, int, slideDelta, IN, int, layerDelta, - Properties::NON_VIRTUAL, - __void__setRelativeJump__int__int, - "", - ""); - I_Method2(void, setAbsoluteJump, IN, int, slideNum, IN, int, layerNum, - Properties::NON_VIRTUAL, - __void__setAbsoluteJump__int__int, - "", - ""); - I_Method0(bool, getRelativeJump, - Properties::NON_VIRTUAL, - __bool__getRelativeJump, - "", - ""); - I_Method0(int, getSlideNum, - Properties::NON_VIRTUAL, - __int__getSlideNum, - "", - ""); - I_Method0(int, getLayerNum, - Properties::NON_VIRTUAL, - __int__getLayerNum, - "", - ""); - I_Method0(bool, requiresJump, - Properties::NON_VIRTUAL, - __bool__requiresJump, - "", - ""); - I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, - "Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, accept, IN, osgGA::GUIEventHandlerVisitor &, v, - Properties::VIRTUAL, - __void__accept__osgGA_GUIEventHandlerVisitor_R1, - "", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, x, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_Method0(void, doOperation, - Properties::NON_VIRTUAL, - __void__doOperation, - "", - ""); - I_SimpleProperty(const std::string &, Command, - __C5_std_string_R1__getCommand, - __void__setCommand__C5_std_string_R1); - I_SimpleProperty(const osgPresentation::KeyPosition &, KeyPosition, - __C5_osgPresentation_KeyPosition_R1__getKeyPosition, - __void__setKeyPosition__C5_osgPresentation_KeyPosition_R1); - I_SimpleProperty(int, LayerNum, - __int__getLayerNum, - 0); - I_SimpleProperty(osgPresentation::Operation, Operation, - __osgPresentation_Operation__getOperation, - __void__setOperation__osgPresentation_Operation); - I_SimpleProperty(bool, RelativeJump, - __bool__getRelativeJump, - 0); - I_SimpleProperty(int, SlideNum, - __int__getSlideNum, - 0); - I_PublicMemberProperty(std::string, _command); - I_PublicMemberProperty(osgPresentation::KeyPosition, _keyPos); - I_PublicMemberProperty(osgPresentation::Operation, _operation); - I_PublicMemberProperty(bool, _relativeJump); - I_PublicMemberProperty(int, _slideNum); - I_PublicMemberProperty(int, _layerNum); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgPresentation/SlideEventHandler.cpp b/src/osgWrappers/introspection/osgPresentation/SlideEventHandler.cpp deleted file mode 100644 index 639aa5626..000000000 --- a/src/osgWrappers/introspection/osgPresentation/SlideEventHandler.cpp +++ /dev/null @@ -1,682 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osgPresentation::ObjectOperator > COMMA osgPresentation::dereference_less >, osgPresentation::ActiveOperators::OperatorList) - -BEGIN_VALUE_REFLECTOR(osgPresentation::ActiveOperators) - I_DeclaringFile("osgPresentation/SlideEventHandler"); - I_Constructor0(____ActiveOperators, - "", - ""); - I_MethodWithDefaults2(void, collect, IN, osg::Node *, incommingNode, , IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN, - Properties::NON_VIRTUAL, - __void__collect__osg_Node_P1__osg_NodeVisitor_TraversalMode, - "", - ""); - I_Method0(void, process, - Properties::NON_VIRTUAL, - __void__process, - "", - ""); - I_Method1(void, setPause, IN, bool, pause, - Properties::NON_VIRTUAL, - __void__setPause__bool, - "", - ""); - I_Method0(bool, getPause, - Properties::NON_VIRTUAL, - __bool__getPause, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_ProtectedMethod0(void, processOutgoing, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__processOutgoing, - "", - ""); - I_ProtectedMethod0(void, processIncomming, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__processIncomming, - "", - ""); - I_ProtectedMethod0(void, processMaintained, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__processMaintained, - "", - ""); - I_SimpleProperty(bool, Pause, - __bool__getPause, - __void__setPause__bool); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgPresentation::dereference_less) - I_DeclaringFile("osgPresentation/SlideEventHandler"); - I_Constructor0(____dereference_less, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgPresentation::FilePathData) - I_DeclaringFile("osgPresentation/SlideEventHandler"); - I_VirtualBaseType(osg::Referenced); - I_Constructor1(IN, const osgDB::FilePathList &, fpl, - Properties::NON_EXPLICIT, - ____FilePathData__C5_osgDB_FilePathList_R1, - "", - ""); - I_PublicMemberProperty(osgDB::FilePathList, filePathList); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgPresentation::HomePosition) - I_DeclaringFile("osgPresentation/SlideEventHandler"); - I_VirtualBaseType(osg::Referenced); - I_Constructor0(____HomePosition, - "", - ""); - I_Constructor3(IN, const osg::Vec3 &, in_eye, IN, const osg::Vec3 &, in_center, IN, const osg::Vec3 &, in_up, - ____HomePosition__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1, - "", - ""); - I_PublicMemberProperty(osg::Vec3, eye); - I_PublicMemberProperty(osg::Vec3, center); - I_PublicMemberProperty(osg::Vec3, up); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgPresentation::KeyPosition) - I_DeclaringFile("osgPresentation/SlideEventHandler"); - I_ConstructorWithDefaults3(IN, unsigned int, key, 0, IN, float, x, FLT_MAX, IN, float, y, FLT_MAX, - ____KeyPosition__unsigned_int__float__float, - "", - ""); - I_MethodWithDefaults3(void, set, IN, unsigned int, key, 0, IN, float, x, FLT_MAX, IN, float, y, FLT_MAX, - Properties::NON_VIRTUAL, - __void__set__unsigned_int__float__float, - "", - ""); - I_PublicMemberProperty(osgGA::GUIEventAdapter::KeySymbol, _key); - I_PublicMemberProperty(float, _x); - I_PublicMemberProperty(float, _y); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osgPresentation::KeyPosition >, osgPresentation::LayerAttributes::Keys) - -TYPE_NAME_ALIAS(std::vector< std::string >, osgPresentation::LayerAttributes::RunStrings) - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgPresentation::LayerCallback > >, osgPresentation::LayerAttributes::LayerCallbacks) - -BEGIN_OBJECT_REFLECTOR(osgPresentation::LayerAttributes) - I_DeclaringFile("osgPresentation/SlideEventHandler"); - I_VirtualBaseType(osg::Referenced); - I_Constructor0(____LayerAttributes, - "", - ""); - I_Constructor1(IN, double, in_duration, - Properties::NON_EXPLICIT, - ____LayerAttributes__double, - "", - ""); - I_Method1(void, setDuration, IN, double, duration, - Properties::NON_VIRTUAL, - __void__setDuration__double, - "", - ""); - I_Method0(double, getDuration, - Properties::NON_VIRTUAL, - __double__getDuration, - "", - ""); - I_Method1(void, setKeys, IN, const osgPresentation::LayerAttributes::Keys &, keys, - Properties::NON_VIRTUAL, - __void__setKeys__C5_Keys_R1, - "", - ""); - I_Method0(const osgPresentation::LayerAttributes::Keys &, getKeys, - Properties::NON_VIRTUAL, - __C5_Keys_R1__getKeys, - "", - ""); - I_Method1(void, addKey, IN, const osgPresentation::KeyPosition &, kp, - Properties::NON_VIRTUAL, - __void__addKey__C5_KeyPosition_R1, - "", - ""); - I_Method1(void, setRunStrings, IN, const osgPresentation::LayerAttributes::RunStrings &, runStrings, - Properties::NON_VIRTUAL, - __void__setRunStrings__C5_RunStrings_R1, - "", - ""); - I_Method0(const osgPresentation::LayerAttributes::RunStrings &, getRunStrings, - Properties::NON_VIRTUAL, - __C5_RunStrings_R1__getRunStrings, - "", - ""); - I_Method1(void, addRunString, IN, const std::string &, runString, - Properties::NON_VIRTUAL, - __void__addRunString__C5_std_string_R1, - "", - ""); - I_Method3(void, setJump, IN, bool, relativeJump, IN, int, slideNum, IN, int, layerNum, - Properties::NON_VIRTUAL, - __void__setJump__bool__int__int, - "", - ""); - I_Method0(bool, getRelativeJump, - Properties::NON_VIRTUAL, - __bool__getRelativeJump, - "", - ""); - I_Method0(int, getSlideNum, - Properties::NON_VIRTUAL, - __int__getSlideNum, - "", - ""); - I_Method0(int, getLayerNum, - Properties::NON_VIRTUAL, - __int__getLayerNum, - "", - ""); - I_Method0(bool, requiresJump, - Properties::NON_VIRTUAL, - __bool__requiresJump, - "", - ""); - I_Method1(void, addEnterCallback, IN, osgPresentation::LayerCallback *, lc, - Properties::NON_VIRTUAL, - __void__addEnterCallback__LayerCallback_P1, - "", - ""); - I_Method1(void, addLeaveCallback, IN, osgPresentation::LayerCallback *, lc, - Properties::NON_VIRTUAL, - __void__addLeaveCallback__LayerCallback_P1, - "", - ""); - I_Method1(void, callEnterCallbacks, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__callEnterCallbacks__osg_Node_P1, - "", - ""); - I_Method1(void, callLeaveCallbacks, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__callLeaveCallbacks__osg_Node_P1, - "", - ""); - I_SimpleProperty(double, Duration, - __double__getDuration, - __void__setDuration__double); - I_SimpleProperty(const osgPresentation::LayerAttributes::Keys &, Keys, - __C5_Keys_R1__getKeys, - __void__setKeys__C5_Keys_R1); - I_SimpleProperty(int, LayerNum, - __int__getLayerNum, - 0); - I_SimpleProperty(bool, RelativeJump, - __bool__getRelativeJump, - 0); - I_SimpleProperty(const osgPresentation::LayerAttributes::RunStrings &, RunStrings, - __C5_RunStrings_R1__getRunStrings, - __void__setRunStrings__C5_RunStrings_R1); - I_SimpleProperty(int, SlideNum, - __int__getSlideNum, - 0); - I_PublicMemberProperty(double, _duration); - I_PublicMemberProperty(osgPresentation::LayerAttributes::Keys, _keys); - I_PublicMemberProperty(osgPresentation::LayerAttributes::RunStrings, _runStrings); - I_PublicMemberProperty(bool, _relativeJump); - I_PublicMemberProperty(int, _slideNum); - I_PublicMemberProperty(int, _layerNum); - I_PublicMemberProperty(osgPresentation::LayerAttributes::LayerCallbacks, _enterLayerCallbacks); - I_PublicMemberProperty(osgPresentation::LayerAttributes::LayerCallbacks, _leaveLayerCallbacks); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgPresentation::LayerCallback) - I_DeclaringFile("osgPresentation/SlideEventHandler"); - I_VirtualBaseType(osg::Referenced); - I_Constructor0(____LayerCallback, - "", - ""); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgPresentation::ObjectOperator) - I_DeclaringFile("osgPresentation/SlideEventHandler"); - I_BaseType(osg::Referenced); - I_Constructor0(____ObjectOperator, - "", - ""); - I_Method0(void *, ptr, - Properties::PURE_VIRTUAL, - __void_P1__ptr, - "", - ""); - I_Method0(void, enter, - Properties::PURE_VIRTUAL, - __void__enter, - "", - ""); - I_Method0(void, maintain, - Properties::PURE_VIRTUAL, - __void__maintain, - "", - ""); - I_Method0(void, leave, - Properties::PURE_VIRTUAL, - __void__leave, - "", - ""); - I_Method1(void, setPause, IN, bool, pause, - Properties::PURE_VIRTUAL, - __void__setPause__bool, - "", - ""); - I_Method0(void, reset, - Properties::PURE_VIRTUAL, - __void__reset, - "", - ""); - I_SimpleProperty(bool, Pause, - 0, - __void__setPause__bool); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgPresentation::SlideEventHandler::WhichPosition) - I_DeclaringFile("osgPresentation/SlideEventHandler"); - I_EnumLabel(osgPresentation::SlideEventHandler::FIRST_POSITION); - I_EnumLabel(osgPresentation::SlideEventHandler::LAST_POSITION); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgPresentation::SlideEventHandler) - I_DeclaringFile("osgPresentation/SlideEventHandler"); - I_BaseType(osgGA::GUIEventHandler); - I_ConstructorWithDefaults1(IN, osgViewer::Viewer *, viewer, 0, - Properties::NON_EXPLICIT, - ____SlideEventHandler__osgViewer_Viewer_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, set, IN, osg::Node *, model, - Properties::NON_VIRTUAL, - __void__set__osg_Node_P1, - "", - ""); - I_Method1(void, accept, IN, osgGA::GUIEventHandlerVisitor &, v, - Properties::VIRTUAL, - __void__accept__osgGA_GUIEventHandlerVisitor_R1, - "", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, x, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_Method0(osgViewer::Viewer *, getViewer, - Properties::NON_VIRTUAL, - __osgViewer_Viewer_P1__getViewer, - "", - ""); - I_Method1(void, compileSlide, IN, unsigned int, slideNum, - Properties::NON_VIRTUAL, - __void__compileSlide__unsigned_int, - "", - ""); - I_Method1(void, releaseSlide, IN, unsigned int, slideNum, - Properties::NON_VIRTUAL, - __void__releaseSlide__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumSlides, - Properties::NON_VIRTUAL, - __unsigned_int__getNumSlides, - "", - ""); - I_Method0(int, getActiveSlide, - Properties::NON_VIRTUAL, - __int__getActiveSlide, - "", - ""); - I_Method0(int, getActiveLayer, - Properties::NON_VIRTUAL, - __int__getActiveLayer, - "", - ""); - I_MethodWithDefaults2(bool, selectSlide, IN, int, slideNum, , IN, int, layerNum, osgPresentation::SlideEventHandler::FIRST_POSITION, - Properties::NON_VIRTUAL, - __bool__selectSlide__int__int, - "", - ""); - I_Method1(bool, selectLayer, IN, int, layerNum, - Properties::NON_VIRTUAL, - __bool__selectLayer__int, - "", - ""); - I_Method0(bool, nextLayerOrSlide, - Properties::NON_VIRTUAL, - __bool__nextLayerOrSlide, - "", - ""); - I_Method0(bool, previousLayerOrSlide, - Properties::NON_VIRTUAL, - __bool__previousLayerOrSlide, - "", - ""); - I_Method0(bool, nextSlide, - Properties::NON_VIRTUAL, - __bool__nextSlide, - "", - ""); - I_Method0(bool, previousSlide, - Properties::NON_VIRTUAL, - __bool__previousSlide, - "", - ""); - I_Method0(bool, nextLayer, - Properties::NON_VIRTUAL, - __bool__nextLayer, - "", - ""); - I_Method0(bool, previousLayer, - Properties::NON_VIRTUAL, - __bool__previousLayer, - "", - ""); - I_Method0(bool, home, - Properties::NON_VIRTUAL, - __bool__home, - "", - ""); - I_MethodWithDefaults1(void, setAutoSteppingActive, IN, bool, flag, true, - Properties::NON_VIRTUAL, - __void__setAutoSteppingActive__bool, - "", - ""); - I_Method0(bool, getAutoSteppingActive, - Properties::NON_VIRTUAL, - __bool__getAutoSteppingActive, - "", - ""); - I_Method1(void, setTimeDelayBetweenSlides, IN, double, dt, - Properties::NON_VIRTUAL, - __void__setTimeDelayBetweenSlides__double, - "", - ""); - I_Method0(double, getTimeDelayBetweenSlides, - Properties::NON_VIRTUAL, - __double__getTimeDelayBetweenSlides, - "", - ""); - I_Method1(double, getDuration, IN, const osg::Node *, node, - Properties::NON_VIRTUAL, - __double__getDuration__C5_osg_Node_P1, - "", - ""); - I_Method0(double, getCurrentTimeDelayBetweenSlides, - Properties::NON_VIRTUAL, - __double__getCurrentTimeDelayBetweenSlides, - "", - ""); - I_Method1(void, setReleaseAndCompileOnEachNewSlide, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setReleaseAndCompileOnEachNewSlide__bool, - "", - ""); - I_Method0(bool, getReleaseAndCompileOnEachNewSlide, - Properties::NON_VIRTUAL, - __bool__getReleaseAndCompileOnEachNewSlide, - "", - ""); - I_Method1(void, setTimeDelayOnNewSlideWithMovies, IN, float, t, - Properties::NON_VIRTUAL, - __void__setTimeDelayOnNewSlideWithMovies__float, - "", - ""); - I_Method0(float, getTimeDelayOnNewSlideWithMovies, - Properties::NON_VIRTUAL, - __float__getTimeDelayOnNewSlideWithMovies, - "", - ""); - I_Method1(void, setLoopPresentation, IN, bool, loop, - Properties::NON_VIRTUAL, - __void__setLoopPresentation__bool, - "", - ""); - I_Method0(bool, getLoopPresentation, - Properties::NON_VIRTUAL, - __bool__getLoopPresentation, - "", - ""); - I_Method1(void, dispatchEvent, IN, const osgPresentation::KeyPosition &, keyPosition, - Properties::NON_VIRTUAL, - __void__dispatchEvent__C5_KeyPosition_R1, - "", - ""); - I_StaticMethod0(osgPresentation::SlideEventHandler *, instance, - __SlideEventHandler_P1__instance_S, - "", - ""); - I_ProtectedConstructor2(IN, const osgPresentation::SlideEventHandler &, x, IN, const osg::CopyOp &, x, - ____SlideEventHandler__C5_SlideEventHandler_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ProtectedMethod2(bool, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__home__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "", - ""); - I_ProtectedMethod4(void, updateAlpha, IN, bool, x, IN, bool, x, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__updateAlpha__bool__bool__float__float, - "", - ""); - I_ProtectedMethod2(void, updateLight, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__updateLight__float__float, - "", - ""); - I_ProtectedMethod0(void, updateOperators, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__updateOperators, - "", - ""); - I_SimpleProperty(int, ActiveLayer, - __int__getActiveLayer, - 0); - I_SimpleProperty(int, ActiveSlide, - __int__getActiveSlide, - 0); - I_SimpleProperty(bool, AutoSteppingActive, - __bool__getAutoSteppingActive, - __void__setAutoSteppingActive__bool); - I_SimpleProperty(double, CurrentTimeDelayBetweenSlides, - __double__getCurrentTimeDelayBetweenSlides, - 0); - I_SimpleProperty(bool, LoopPresentation, - __bool__getLoopPresentation, - __void__setLoopPresentation__bool); - I_SimpleProperty(bool, ReleaseAndCompileOnEachNewSlide, - __bool__getReleaseAndCompileOnEachNewSlide, - __void__setReleaseAndCompileOnEachNewSlide__bool); - I_SimpleProperty(double, TimeDelayBetweenSlides, - __double__getTimeDelayBetweenSlides, - __void__setTimeDelayBetweenSlides__double); - I_SimpleProperty(float, TimeDelayOnNewSlideWithMovies, - __float__getTimeDelayOnNewSlideWithMovies, - __void__setTimeDelayOnNewSlideWithMovies__float); - I_SimpleProperty(osgViewer::Viewer *, Viewer, - __osgViewer_Viewer_P1__getViewer, - 0); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgPresentation::Operation) - I_DeclaringFile("osgPresentation/SlideEventHandler"); - I_EnumLabel(osgPresentation::RUN); - I_EnumLabel(osgPresentation::LOAD); - I_EnumLabel(osgPresentation::EVENT); - I_EnumLabel(osgPresentation::JUMP); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgPresentation::LayerCallback >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgPresentation::LayerCallback *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgPresentation::LayerCallback > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgPresentation::LayerCallback > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgPresentation::LayerCallback *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgPresentation::LayerCallback *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgPresentation::LayerCallback > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgPresentation::LayerCallback *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgPresentation::ObjectOperator >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgPresentation::ObjectOperator *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgPresentation::ObjectOperator > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgPresentation::ObjectOperator > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgPresentation::ObjectOperator *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgPresentation::ObjectOperator *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgPresentation::ObjectOperator > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgPresentation::ObjectOperator *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgPresentation::LayerCallback > >) - -STD_SET_REFLECTOR(std::set< osg::ref_ptr< osgPresentation::ObjectOperator > COMMA osgPresentation::dereference_less >) - -STD_VECTOR_REFLECTOR(std::vector< osgPresentation::KeyPosition >) - diff --git a/src/osgWrappers/introspection/osgPresentation/SlideShowConstructor.cpp b/src/osgWrappers/introspection/osgPresentation/SlideShowConstructor.cpp deleted file mode 100644 index 40619d186..000000000 --- a/src/osgWrappers/introspection/osgPresentation/SlideShowConstructor.cpp +++ /dev/null @@ -1,642 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgPresentation::SlideShowConstructor::CoordinateFrame) - I_DeclaringFile("osgPresentation/SlideShowConstructor"); - I_EnumLabel(osgPresentation::SlideShowConstructor::SLIDE); - I_EnumLabel(osgPresentation::SlideShowConstructor::MODEL); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgPresentation::SlideShowConstructor) - I_DeclaringFile("osgPresentation/SlideShowConstructor"); - I_Method1(osgPresentation::LayerAttributes *, getOrCreateLayerAttributes, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __LayerAttributes_P1__getOrCreateLayerAttributes__osg_Node_P1, - "", - ""); - I_Method2(void, setDuration, IN, osg::Node *, node, IN, double, duration, - Properties::NON_VIRTUAL, - __void__setDuration__osg_Node_P1__double, - "", - ""); - I_Method2(void, addKey, IN, osg::Node *, node, IN, const osgPresentation::KeyPosition &, kp, - Properties::NON_VIRTUAL, - __void__addKey__osg_Node_P1__C5_KeyPosition_R1, - "", - ""); - I_Method2(void, addRunString, IN, osg::Node *, node, IN, const std::string &, runString, - Properties::NON_VIRTUAL, - __void__addRunString__osg_Node_P1__C5_std_string_R1, - "", - ""); - I_Method4(void, setJump, IN, osg::Node *, node, IN, bool, relativeJump, IN, int, slideNum, IN, int, layerNum, - Properties::NON_VIRTUAL, - __void__setJump__osg_Node_P1__bool__int__int, - "", - ""); - I_Method1(void, addPresentationKey, IN, const osgPresentation::KeyPosition &, kp, - Properties::NON_VIRTUAL, - __void__addPresentationKey__C5_KeyPosition_R1, - "", - ""); - I_Method1(void, addPresentationRunString, IN, const std::string &, runString, - Properties::NON_VIRTUAL, - __void__addPresentationRunString__C5_std_string_R1, - "", - ""); - I_Method1(void, addSlideKey, IN, const osgPresentation::KeyPosition &, kp, - Properties::NON_VIRTUAL, - __void__addSlideKey__C5_KeyPosition_R1, - "", - ""); - I_Method1(void, addSlideRunString, IN, const std::string &, runString, - Properties::NON_VIRTUAL, - __void__addSlideRunString__C5_std_string_R1, - "", - ""); - I_Method3(void, setSlideJump, IN, bool, relativeJump, IN, int, switchNum, IN, int, layerNum, - Properties::NON_VIRTUAL, - __void__setSlideJump__bool__int__int, - "", - ""); - I_Method1(void, addLayerKey, IN, const osgPresentation::KeyPosition &, kp, - Properties::NON_VIRTUAL, - __void__addLayerKey__C5_KeyPosition_R1, - "", - ""); - I_Method1(void, addLayerRunString, IN, const std::string &, runString, - Properties::NON_VIRTUAL, - __void__addLayerRunString__C5_std_string_R1, - "", - ""); - I_Method3(void, setLayerJump, IN, bool, relativeJump, IN, int, switchNum, IN, int, layerNum, - Properties::NON_VIRTUAL, - __void__setLayerJump__bool__int__int, - "", - ""); - I_Constructor1(IN, osgDB::Options *, options, - Properties::NON_EXPLICIT, - ____SlideShowConstructor__osgDB_Options_P1, - "", - ""); - I_Method0(void, createPresentation, - Properties::NON_VIRTUAL, - __void__createPresentation, - "", - ""); - I_Method2(void, setBackgroundColor, IN, const osg::Vec4 &, color, IN, bool, updateClearNode, - Properties::NON_VIRTUAL, - __void__setBackgroundColor__C5_osg_Vec4_R1__bool, - "", - ""); - I_Method0(const osg::Vec4 &, getBackgroundColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getBackgroundColor, - "", - ""); - I_Method1(void, setTextColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setTextColor__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getTextColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getTextColor, - "", - ""); - I_Method1(void, setPresentationName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setPresentationName__C5_std_string_R1, - "", - ""); - I_Method1(void, setPresentationAspectRatio, IN, float, aspectRatio, - Properties::NON_VIRTUAL, - __void__setPresentationAspectRatio__float, - "", - ""); - I_Method1(void, setPresentationAspectRatio, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __void__setPresentationAspectRatio__C5_std_string_R1, - "", - ""); - I_Method1(void, setPresentationDuration, IN, double, duration, - Properties::NON_VIRTUAL, - __void__setPresentationDuration__double, - "", - ""); - I_Method0(void, addSlide, - Properties::NON_VIRTUAL, - __void__addSlide, - "", - ""); - I_Method1(void, selectSlide, IN, int, slideNum, - Properties::NON_VIRTUAL, - __void__selectSlide__int, - "", - ""); - I_Method3(void, setSlideTitle, IN, const std::string &, name, IN, osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, osgPresentation::SlideShowConstructor::FontData &, fontData, - Properties::NON_VIRTUAL, - __void__setSlideTitle__C5_std_string_R1__PositionData_R1__FontData_R1, - "", - ""); - I_Method1(void, setSlideBackground, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __void__setSlideBackground__C5_std_string_R1, - "", - ""); - I_Method1(void, setSlideDuration, IN, double, duration, - Properties::NON_VIRTUAL, - __void__setSlideDuration__double, - "", - ""); - I_MethodWithDefaults2(void, addLayer, IN, bool, inheritPreviousLayers, true, IN, bool, defineAsBaseLayer, false, - Properties::NON_VIRTUAL, - __void__addLayer__bool__bool, - "", - ""); - I_Method1(void, selectLayer, IN, int, layerNum, - Properties::NON_VIRTUAL, - __void__selectLayer__int, - "", - ""); - I_Method1(void, setLayerDuration, IN, double, duration, - Properties::NON_VIRTUAL, - __void__setLayerDuration__double, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::FontData &, getTitleFontData, - Properties::NON_VIRTUAL, - __FontData_R1__getTitleFontData, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::FontData &, getTitleFontDataDefault, - Properties::NON_VIRTUAL, - __FontData_R1__getTitleFontDataDefault, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::PositionData &, getTitlePositionData, - Properties::NON_VIRTUAL, - __PositionData_R1__getTitlePositionData, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::PositionData &, getTitlePositionDataDefault, - Properties::NON_VIRTUAL, - __PositionData_R1__getTitlePositionDataDefault, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::FontData &, getTextFontData, - Properties::NON_VIRTUAL, - __FontData_R1__getTextFontData, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::FontData &, getTextFontDataDefault, - Properties::NON_VIRTUAL, - __FontData_R1__getTextFontDataDefault, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::PositionData &, getTextPositionData, - Properties::NON_VIRTUAL, - __PositionData_R1__getTextPositionData, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::PositionData &, getTextPositionDataDefault, - Properties::NON_VIRTUAL, - __PositionData_R1__getTextPositionDataDefault, - "", - ""); - I_Method1(void, translateTextCursor, IN, const osg::Vec3 &, delta, - Properties::NON_VIRTUAL, - __void__translateTextCursor__C5_osg_Vec3_R1, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::PositionData &, getImagePositionData, - Properties::NON_VIRTUAL, - __PositionData_R1__getImagePositionData, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::PositionData &, getImagePositionDataDefault, - Properties::NON_VIRTUAL, - __PositionData_R1__getImagePositionDataDefault, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::PositionData &, getModelPositionData, - Properties::NON_VIRTUAL, - __PositionData_R1__getModelPositionData, - "", - ""); - I_Method0(osgPresentation::SlideShowConstructor::PositionData &, getModelPositionDataDefault, - Properties::NON_VIRTUAL, - __PositionData_R1__getModelPositionDataDefault, - "", - ""); - I_MethodWithDefaults4(void, layerClickToDoOperation, IN, osgPresentation::Operation, operation, , IN, bool, relativeJump, true, IN, int, slideNum, 0, IN, int, layerNum, 0, - Properties::NON_VIRTUAL, - __void__layerClickToDoOperation__Operation__bool__int__int, - "", - ""); - I_MethodWithDefaults5(void, layerClickToDoOperation, IN, const std::string &, command, , IN, osgPresentation::Operation, operation, , IN, bool, relativeJump, true, IN, int, slideNum, 0, IN, int, layerNum, 0, - Properties::NON_VIRTUAL, - __void__layerClickToDoOperation__C5_std_string_R1__Operation__bool__int__int, - "", - ""); - I_MethodWithDefaults4(void, layerClickEventOperation, IN, const osgPresentation::KeyPosition &, keyPos, , IN, bool, relativeJump, true, IN, int, slideNum, 0, IN, int, layerNum, 0, - Properties::NON_VIRTUAL, - __void__layerClickEventOperation__C5_KeyPosition_R1__bool__int__int, - "", - ""); - I_Method3(void, addBullet, IN, const std::string &, bullet, IN, osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, osgPresentation::SlideShowConstructor::FontData &, fontData, - Properties::NON_VIRTUAL, - __void__addBullet__C5_std_string_R1__PositionData_R1__FontData_R1, - "", - ""); - I_Method3(void, addParagraph, IN, const std::string &, paragraph, IN, osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, osgPresentation::SlideShowConstructor::FontData &, fontData, - Properties::NON_VIRTUAL, - __void__addParagraph__C5_std_string_R1__PositionData_R1__FontData_R1, - "", - ""); - I_Method3(void, addImage, IN, const std::string &, filename, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, const osgPresentation::SlideShowConstructor::ImageData &, imageData, - Properties::NON_VIRTUAL, - __void__addImage__C5_std_string_R1__C5_PositionData_R1__C5_ImageData_R1, - "", - ""); - I_Method5(void, addStereoImagePair, IN, const std::string &, filenameLeft, IN, const osgPresentation::SlideShowConstructor::ImageData &, imageDataLeft, IN, const std::string &, filenameRight, IN, const osgPresentation::SlideShowConstructor::ImageData &, imageDataRight, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, - Properties::NON_VIRTUAL, - __void__addStereoImagePair__C5_std_string_R1__C5_ImageData_R1__C5_std_string_R1__C5_ImageData_R1__C5_PositionData_R1, - "", - ""); - I_Method4(void, addGraph, IN, const std::string &, filename, IN, const std::string &, options, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, const osgPresentation::SlideShowConstructor::ImageData &, imageData, - Properties::NON_VIRTUAL, - __void__addGraph__C5_std_string_R1__C5_std_string_R1__C5_PositionData_R1__C5_ImageData_R1, - "", - ""); - I_Method3(void, addVNC, IN, const std::string &, filename, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, const osgPresentation::SlideShowConstructor::ImageData &, imageData, - Properties::NON_VIRTUAL, - __void__addVNC__C5_std_string_R1__C5_PositionData_R1__C5_ImageData_R1, - "", - ""); - I_Method3(void, addBrowser, IN, const std::string &, filename, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, const osgPresentation::SlideShowConstructor::ImageData &, imageData, - Properties::NON_VIRTUAL, - __void__addBrowser__C5_std_string_R1__C5_PositionData_R1__C5_ImageData_R1, - "", - ""); - I_Method3(void, addPDF, IN, const std::string &, filename, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, const osgPresentation::SlideShowConstructor::ImageData &, imageData, - Properties::NON_VIRTUAL, - __void__addPDF__C5_std_string_R1__C5_PositionData_R1__C5_ImageData_R1, - "", - ""); - I_Method3(osg::Image *, addInteractiveImage, IN, const std::string &, filename, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, const osgPresentation::SlideShowConstructor::ImageData &, imageData, - Properties::NON_VIRTUAL, - __osg_Image_P1__addInteractiveImage__C5_std_string_R1__C5_PositionData_R1__C5_ImageData_R1, - "", - ""); - I_Method3(void, addModel, IN, osg::Node *, subgraph, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, const osgPresentation::SlideShowConstructor::ModelData &, modelData, - Properties::NON_VIRTUAL, - __void__addModel__osg_Node_P1__C5_PositionData_R1__C5_ModelData_R1, - "", - ""); - I_Method3(void, addModel, IN, const std::string &, filename, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, const osgPresentation::SlideShowConstructor::ModelData &, modelData, - Properties::NON_VIRTUAL, - __void__addModel__C5_std_string_R1__C5_PositionData_R1__C5_ModelData_R1, - "", - ""); - I_Method3(void, addVolume, IN, const std::string &, filename, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, IN, const osgPresentation::SlideShowConstructor::VolumeData &, volumeData, - Properties::NON_VIRTUAL, - __void__addVolume__C5_std_string_R1__C5_PositionData_R1__C5_VolumeData_R1, - "", - ""); - I_Method0(osg::Group *, takePresentation, - Properties::NON_VIRTUAL, - __osg_Group_P1__takePresentation, - "", - ""); - I_Method0(osg::Group *, getPresentation, - Properties::NON_VIRTUAL, - __osg_Group_P1__getPresentation, - "", - ""); - I_Method0(osg::Switch *, getPresentationSwitch, - Properties::NON_VIRTUAL, - __osg_Switch_P1__getPresentationSwitch, - "", - ""); - I_Method0(osg::Switch *, getCurrentSlide, - Properties::NON_VIRTUAL, - __osg_Switch_P1__getCurrentSlide, - "", - ""); - I_Method0(osg::Group *, getCurrentLayer, - Properties::NON_VIRTUAL, - __osg_Group_P1__getCurrentLayer, - "", - ""); - I_Method1(void, setLoopPresentation, IN, bool, loop, - Properties::NON_VIRTUAL, - __void__setLoopPresentation__bool, - "", - ""); - I_Method0(bool, getLoopPresentation, - Properties::NON_VIRTUAL, - __bool__getLoopPresentation, - "", - ""); - I_MethodWithDefaults1(void, setAutoSteppingActive, IN, bool, flag, true, - Properties::NON_VIRTUAL, - __void__setAutoSteppingActive__bool, - "", - ""); - I_Method0(bool, getAutoSteppingActive, - Properties::NON_VIRTUAL, - __bool__getAutoSteppingActive, - "", - ""); - I_ProtectedMethod1(void, findImageStreamsAndAddCallbacks, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__findImageStreamsAndAddCallbacks__osg_Node_P1, - "", - ""); - I_ProtectedMethod6(osg::Geometry *, createTexturedQuadGeometry, IN, const osg::Vec3 &, pos, IN, const osg::Vec4 &, rotation, IN, float, width, IN, float, height, IN, osg::Image *, image, IN, bool &, usedTextureRectangle, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createTexturedQuadGeometry__C5_osg_Vec3_R1__C5_osg_Vec4_R1__float__float__osg_Image_P1__bool_R1, - "", - ""); - I_ProtectedMethod1(osg::Vec3, computePositionInModelCoords, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, - Properties::NON_VIRTUAL, - Properties::CONST, - __osg_Vec3__computePositionInModelCoords__C5_PositionData_R1, - "", - ""); - I_ProtectedMethod2(void, updatePositionFromInModelCoords, IN, const osg::Vec3 &, vertex, IN, osgPresentation::SlideShowConstructor::PositionData &, positionData, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__updatePositionFromInModelCoords__C5_osg_Vec3_R1__PositionData_R1, - "", - ""); - I_ProtectedMethod1(osg::Vec3, convertSlideToModel, IN, const osg::Vec3 &, position, - Properties::NON_VIRTUAL, - Properties::CONST, - __osg_Vec3__convertSlideToModel__C5_osg_Vec3_R1, - "", - ""); - I_ProtectedMethod1(osg::Vec3, convertModelToSlide, IN, const osg::Vec3 &, position, - Properties::NON_VIRTUAL, - Properties::CONST, - __osg_Vec3__convertModelToSlide__C5_osg_Vec3_R1, - "", - ""); - I_ProtectedMethod1(osg::AnimationPathCallback *, getAnimationPathCallback, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_AnimationPathCallback_P1__getAnimationPathCallback__C5_PositionData_R1, - "", - ""); - I_ProtectedMethod2(osg::Node *, attachMaterialAnimation, IN, osg::Node *, model, IN, const osgPresentation::SlideShowConstructor::PositionData &, positionData, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Node_P1__attachMaterialAnimation__osg_Node_P1__C5_PositionData_R1, - "", - ""); - I_ProtectedMethod5(bool, attachTexMat, IN, osg::StateSet *, stateset, IN, const osgPresentation::SlideShowConstructor::ImageData &, imageData, IN, float, s, IN, float, t, IN, bool, textureRectangle, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__attachTexMat__osg_StateSet_P1__C5_ImageData_R1__float__float__bool, - "", - ""); - I_ProtectedMethod0(osg::StateSet *, createTransformStateSet, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_StateSet_P1__createTransformStateSet, - "", - ""); - I_ProtectedMethod1(std::string, findFileAndRecordPath, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __std_string__findFileAndRecordPath__C5_std_string_R1, - "", - ""); - I_ProtectedMethod1(void, recordOptionsFilePath, IN, const osgDB::Options *, options, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__recordOptionsFilePath__C5_osgDB_Options_P1, - "", - ""); - I_SimpleProperty(bool, AutoSteppingActive, - __bool__getAutoSteppingActive, - __void__setAutoSteppingActive__bool); - I_SimpleProperty(const osg::Vec4 &, BackgroundColor, - __C5_osg_Vec4_R1__getBackgroundColor, - 0); - I_SimpleProperty(osg::Group *, CurrentLayer, - __osg_Group_P1__getCurrentLayer, - 0); - I_SimpleProperty(osg::Switch *, CurrentSlide, - __osg_Switch_P1__getCurrentSlide, - 0); - I_SimpleProperty(osgPresentation::SlideShowConstructor::PositionData &, ImagePositionData, - __PositionData_R1__getImagePositionData, - 0); - I_SimpleProperty(osgPresentation::SlideShowConstructor::PositionData &, ImagePositionDataDefault, - __PositionData_R1__getImagePositionDataDefault, - 0); - I_SimpleProperty(double, LayerDuration, - 0, - __void__setLayerDuration__double); - I_SimpleProperty(bool, LoopPresentation, - __bool__getLoopPresentation, - __void__setLoopPresentation__bool); - I_SimpleProperty(osgPresentation::SlideShowConstructor::PositionData &, ModelPositionData, - __PositionData_R1__getModelPositionData, - 0); - I_SimpleProperty(osgPresentation::SlideShowConstructor::PositionData &, ModelPositionDataDefault, - __PositionData_R1__getModelPositionDataDefault, - 0); - I_SimpleProperty(osg::Group *, Presentation, - __osg_Group_P1__getPresentation, - 0); - I_SimpleProperty(float, PresentationAspectRatio, - 0, - __void__setPresentationAspectRatio__float); - I_SimpleProperty(double, PresentationDuration, - 0, - __void__setPresentationDuration__double); - I_SimpleProperty(const std::string &, PresentationName, - 0, - __void__setPresentationName__C5_std_string_R1); - I_SimpleProperty(osg::Switch *, PresentationSwitch, - __osg_Switch_P1__getPresentationSwitch, - 0); - I_SimpleProperty(const std::string &, SlideBackground, - 0, - __void__setSlideBackground__C5_std_string_R1); - I_SimpleProperty(double, SlideDuration, - 0, - __void__setSlideDuration__double); - I_SimpleProperty(const osg::Vec4 &, TextColor, - __C5_osg_Vec4_R1__getTextColor, - __void__setTextColor__C5_osg_Vec4_R1); - I_SimpleProperty(osgPresentation::SlideShowConstructor::FontData &, TextFontData, - __FontData_R1__getTextFontData, - 0); - I_SimpleProperty(osgPresentation::SlideShowConstructor::FontData &, TextFontDataDefault, - __FontData_R1__getTextFontDataDefault, - 0); - I_SimpleProperty(osgPresentation::SlideShowConstructor::PositionData &, TextPositionData, - __PositionData_R1__getTextPositionData, - 0); - I_SimpleProperty(osgPresentation::SlideShowConstructor::PositionData &, TextPositionDataDefault, - __PositionData_R1__getTextPositionDataDefault, - 0); - I_SimpleProperty(osgPresentation::SlideShowConstructor::FontData &, TitleFontData, - __FontData_R1__getTitleFontData, - 0); - I_SimpleProperty(osgPresentation::SlideShowConstructor::FontData &, TitleFontDataDefault, - __FontData_R1__getTitleFontDataDefault, - 0); - I_SimpleProperty(osgPresentation::SlideShowConstructor::PositionData &, TitlePositionData, - __PositionData_R1__getTitlePositionData, - 0); - I_SimpleProperty(osgPresentation::SlideShowConstructor::PositionData &, TitlePositionDataDefault, - __PositionData_R1__getTitlePositionDataDefault, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgPresentation::SlideShowConstructor::FontData) - I_DeclaringFile("osgPresentation/SlideShowConstructor"); - I_Constructor0(____FontData, - "", - ""); - I_PublicMemberProperty(std::string, font); - I_PublicMemberProperty(osgText::Text::Layout, layout); - I_PublicMemberProperty(osgText::Text::AlignmentType, alignment); - I_PublicMemberProperty(osgText::Text::AxisAlignment, axisAlignment); - I_PublicMemberProperty(float, characterSize); - I_PublicMemberProperty(float, maximumHeight); - I_PublicMemberProperty(float, maximumWidth); - I_PublicMemberProperty(osg::Vec4, color); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgPresentation::SlideShowConstructor::ImageData) - I_DeclaringFile("osgPresentation/SlideShowConstructor"); - I_Constructor0(____ImageData, - "", - ""); - I_PublicMemberProperty(float, width); - I_PublicMemberProperty(float, height); - I_PublicMemberProperty(osg::Vec4, region); - I_PublicMemberProperty(bool, region_in_pixel_coords); - I_PublicMemberProperty(float, texcoord_rotate); - I_PublicMemberProperty(osg::ImageStream::LoopingMode, loopingMode); - I_PublicMemberProperty(int, page); - I_PublicMemberProperty(osg::Vec4, backgroundColor); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgPresentation::SlideShowConstructor::ModelData) - I_DeclaringFile("osgPresentation/SlideShowConstructor"); - I_Constructor0(____ModelData, - "", - ""); - I_PublicMemberProperty(std::string, effect); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgPresentation::SlideShowConstructor::PositionData) - I_DeclaringFile("osgPresentation/SlideShowConstructor"); - I_Constructor0(____PositionData, - "", - ""); - I_Method0(bool, requiresPosition, - Properties::NON_VIRTUAL, - __bool__requiresPosition, - "", - ""); - I_Method0(bool, requiresScale, - Properties::NON_VIRTUAL, - __bool__requiresScale, - "", - ""); - I_Method0(bool, requiresRotate, - Properties::NON_VIRTUAL, - __bool__requiresRotate, - "", - ""); - I_Method0(bool, requiresAnimation, - Properties::NON_VIRTUAL, - __bool__requiresAnimation, - "", - ""); - I_Method0(bool, requiresMaterialAnimation, - Properties::NON_VIRTUAL, - __bool__requiresMaterialAnimation, - "", - ""); - I_PublicMemberProperty(osgPresentation::SlideShowConstructor::CoordinateFrame, frame); - I_PublicMemberProperty(osg::Vec3, position); - I_PublicMemberProperty(osg::Vec3, scale); - I_PublicMemberProperty(osg::Vec4, rotate); - I_PublicMemberProperty(osg::Vec4, rotation); - I_PublicMemberProperty(std::string, animation_name); - I_PublicMemberProperty(bool, absolute_path); - I_PublicMemberProperty(bool, inverse_path); - I_PublicMemberProperty(double, path_time_offset); - I_PublicMemberProperty(double, path_time_multiplier); - I_PublicMemberProperty(osg::AnimationPath::LoopMode, path_loop_mode); - I_PublicMemberProperty(std::string, path); - I_PublicMemberProperty(double, animation_material_time_offset); - I_PublicMemberProperty(double, animation_material_time_multiplier); - I_PublicMemberProperty(osgPresentation::AnimationMaterial::LoopMode, animation_material_loop_mode); - I_PublicMemberProperty(std::string, animation_material_filename); - I_PublicMemberProperty(std::string, fade); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgPresentation::SlideShowConstructor::VolumeData::ShadingModel) - I_DeclaringFile("osgPresentation/SlideShowConstructor"); - I_EnumLabel(osgPresentation::SlideShowConstructor::VolumeData::Standard); - I_EnumLabel(osgPresentation::SlideShowConstructor::VolumeData::Light); - I_EnumLabel(osgPresentation::SlideShowConstructor::VolumeData::Isosurface); - I_EnumLabel(osgPresentation::SlideShowConstructor::VolumeData::MaximumIntensityProjection); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgPresentation::SlideShowConstructor::VolumeData) - I_DeclaringFile("osgPresentation/SlideShowConstructor"); - I_Constructor0(____VolumeData, - "", - ""); - I_PublicMemberProperty(osgPresentation::SlideShowConstructor::VolumeData::ShadingModel, shadingModel); - I_PublicMemberProperty(osg::ref_ptr< osg::TransferFunction1D >, transferFunction); - I_PublicMemberProperty(bool, useTabbedDragger); - I_PublicMemberProperty(bool, useTrackballDragger); - I_PublicMemberProperty(bool, region_in_pixel_coords); - I_PublicMemberProperty(float, alphaValue); - I_PublicMemberProperty(float, cutoffValue); - I_PublicMemberProperty(float, sampleDensityValue); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/ConvexPolyhedron.cpp b/src/osgWrappers/introspection/osgShadow/ConvexPolyhedron.cpp deleted file mode 100644 index 8b336c565..000000000 --- a/src/osgWrappers/introspection/osgShadow/ConvexPolyhedron.cpp +++ /dev/null @@ -1,170 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::Vec3d >, osgShadow::ConvexPolyhedron::Vertices) - -TYPE_NAME_ALIAS(std::list< osgShadow::ConvexPolyhedron::Face >, osgShadow::ConvexPolyhedron::Faces) - -BEGIN_VALUE_REFLECTOR(osgShadow::ConvexPolyhedron) - I_DeclaringFile("osgShadow/ConvexPolyhedron"); - I_Constructor0(____ConvexPolyhedron, - "", - ""); - I_ConstructorWithDefaults3(IN, const osg::Matrix &, matrix, , IN, const osg::Matrix &, inverse, , IN, const osg::BoundingBox &, bb, osg::BoundingBox(-1,-1,-1, 1, 1, 1), - ____ConvexPolyhedron__C5_osg_Matrix_R1__C5_osg_Matrix_R1__C5_osg_BoundingBox_R1, - "", - ""); - I_Method0(osgShadow::ConvexPolyhedron::Face &, createFace, - Properties::NON_VIRTUAL, - __Face_R1__createFace, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_MethodWithDefaults2(void, setToUnitFrustum, IN, bool, withNear, true, IN, bool, withFar, true, - Properties::NON_VIRTUAL, - __void__setToUnitFrustum__bool__bool, - "", - ""); - I_Method1(void, setToBoundingBox, IN, const osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - __void__setToBoundingBox__C5_osg_BoundingBox_R1, - "", - ""); - I_Method2(void, transform, IN, const osg::Matrix &, matrix, IN, const osg::Matrix &, inverse, - Properties::NON_VIRTUAL, - __void__transform__C5_osg_Matrix_R1__C5_osg_Matrix_R1, - "", - ""); - I_Method2(void, transformClip, IN, const osg::Matrix &, matrix, IN, const osg::Matrix &, inverse, - Properties::NON_VIRTUAL, - __void__transformClip__C5_osg_Matrix_R1__C5_osg_Matrix_R1, - "", - ""); - I_Method3(bool, mergeFaces, IN, const osgShadow::ConvexPolyhedron::Face &, face0, IN, const osgShadow::ConvexPolyhedron::Face &, face1, IN, osgShadow::ConvexPolyhedron::Face &, face, - Properties::NON_VIRTUAL, - __bool__mergeFaces__C5_Face_R1__C5_Face_R1__Face_R1, - "", - ""); - I_MethodWithDefaults2(void, mergeCoplanarFaces, IN, const double &, plane_normal_dot_tolerance, 0.0, IN, const double &, plane_distance_tolerance, 0.0, - Properties::NON_VIRTUAL, - __void__mergeCoplanarFaces__C5_double_R1__C5_double_R1, - "", - ""); - I_Method0(void, removeDuplicateVertices, - Properties::NON_VIRTUAL, - __void__removeDuplicateVertices, - "", - ""); - I_MethodWithDefaults2(bool, checkCoherency, IN, bool, checkForNonConvexPolys, false, IN, const char *, errorPrefix, NULL, - Properties::NON_VIRTUAL, - __bool__checkCoherency__bool__C5_char_P1, - "", - ""); - I_Method1(void, cut, IN, const osg::Polytope &, polytope, - Properties::NON_VIRTUAL, - __void__cut__C5_osg_Polytope_R1, - "", - ""); - I_Method1(void, cut, IN, const osgShadow::ConvexPolyhedron &, polytope, - Properties::NON_VIRTUAL, - __void__cut__C5_ConvexPolyhedron_R1, - "", - ""); - I_MethodWithDefaults2(void, cut, IN, const osg::Plane &, plane, , IN, const std::string &, name, std::string(), - Properties::NON_VIRTUAL, - __void__cut__C5_osg_Plane_R1__C5_std_string_R1, - "", - ""); - I_Method1(void, extrude, IN, const osg::Vec3d &, offset, - Properties::NON_VIRTUAL, - __void__extrude__C5_osg_Vec3d_R1, - "", - ""); - I_Method1(void, translate, IN, const osg::Vec3d &, offset, - Properties::NON_VIRTUAL, - __void__translate__C5_osg_Vec3d_R1, - "", - ""); - I_Method1(void, getPolytope, IN, osg::Polytope &, polytope, - Properties::NON_VIRTUAL, - __void__getPolytope__osg_Polytope_R1, - "", - ""); - I_Method1(void, getPoints, IN, osgShadow::ConvexPolyhedron::Vertices &, vertices, - Properties::NON_VIRTUAL, - __void__getPoints__Vertices_R1, - "", - ""); - I_MethodWithDefaults1(osg::BoundingBox, computeBoundingBox, IN, const osg::Matrix &, m, osgShadow::ConvexPolyhedron::defaultMatrix, - Properties::NON_VIRTUAL, - __osg_BoundingBox__computeBoundingBox__C5_osg_Matrix_R1, - "", - ""); - I_MethodWithDefaults3(osg::Geometry *, buildGeometry, IN, const osg::Vec4d &, colorOutline, , IN, const osg::Vec4d &, colorInside, , IN, osg::Geometry *, useGeometry, NULL, - Properties::NON_VIRTUAL, - __osg_Geometry_P1__buildGeometry__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__osg_Geometry_P1, - "", - ""); - I_MethodWithDefaults12(bool, dumpGeometry, IN, const osgShadow::ConvexPolyhedron::Face *, face, NULL, IN, const osg::Plane *, plane, NULL, IN, osgShadow::ConvexPolyhedron *, basehull, NULL, IN, const char *, filename, "convexpolyhedron.osg", IN, const osg::Vec4d &, colorOutline, osg::Vec4(0, 1, 0, 0.5), IN, const osg::Vec4d &, colorInside, osg::Vec4(0, 1, 0, 0.25), IN, const osg::Vec4d &, faceColorOutline, osg::Vec4(0, 0, 1, 0.5), IN, const osg::Vec4d &, faceColorInside, osg::Vec4(0, 0, 1, 0.25), IN, const osg::Vec4d &, planeColorOutline, osg::Vec4(1, 0, 0, 0.5), IN, const osg::Vec4d &, planeColorInside, osg::Vec4(1, 0, 0, 0.25), IN, const osg::Vec4d &, baseColorOutline, osg::Vec4(0, 0, 0, 0.5), IN, const osg::Vec4d &, baseColorInside, osg::Vec4(0, 0, 0, 0.25), - Properties::NON_VIRTUAL, - __bool__dumpGeometry__C5_Face_P1__C5_osg_Plane_P1__ConvexPolyhedron_P1__C5_char_P1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1, - "", - ""); - I_StaticMethodWithDefaults5(int, pointsColinear, IN, const osg::Vec3d &, va, , IN, const osg::Vec3d &, vb, , IN, const osg::Vec3d &, vc, , IN, const double &, edge_normal_dot_tolerance, 0.0, IN, const double &, null_edge_length_tolerance, 0.0, - __int__pointsColinear__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_double_R1__C5_double_R1_S, - "", - ""); - I_StaticMethodWithDefaults2(int, isFacePolygonConvex, IN, osgShadow::ConvexPolyhedron::Face &, face, , IN, bool, ignoreCollinearVertices, true, - __int__isFacePolygonConvex__Face_R1__bool_S, - "", - ""); - I_SimpleProperty(const osg::BoundingBox &, ToBoundingBox, - 0, - __void__setToBoundingBox__C5_osg_BoundingBox_R1); - I_PublicMemberProperty(osgShadow::ConvexPolyhedron::Faces, _faces); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgShadow::ConvexPolyhedron::Face) - I_DeclaringFile("osgShadow/ConvexPolyhedron"); - I_Constructor0(____Face, - "", - ""); - I_PublicMemberProperty(std::string, name); - I_PublicMemberProperty(osg::Plane, plane); - I_PublicMemberProperty(osgShadow::ConvexPolyhedron::Vertices, vertices); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osgShadow::ConvexPolyhedron::Face >) - diff --git a/src/osgWrappers/introspection/osgShadow/DebugShadowMap.cpp b/src/osgWrappers/introspection/osgShadow/DebugShadowMap.cpp deleted file mode 100644 index 9766489d9..000000000 --- a/src/osgWrappers/introspection/osgShadow/DebugShadowMap.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osgShadow::DebugShadowMap, osgShadow::DebugShadowMap::ThisClass) - -TYPE_NAME_ALIAS(osgShadow::ViewDependentShadowTechnique, osgShadow::DebugShadowMap::BaseClass) - -BEGIN_OBJECT_REFLECTOR(osgShadow::DebugShadowMap) - I_DeclaringFile("osgShadow/DebugShadowMap"); - I_BaseType(osgShadow::ViewDependentShadowTechnique); - I_Constructor0(____DebugShadowMap, - "Classic OSG constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::DebugShadowMap &, dsm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____DebugShadowMap__C5_DebugShadowMap_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setDebugDraw, IN, bool, draw, - Properties::NON_VIRTUAL, - __void__setDebugDraw__bool, - "Turn on/off debuging hud & rendering of debug volumes in main view. ", - ""); - I_Method0(bool, getDebugDraw, - Properties::NON_VIRTUAL, - __bool__getDebugDraw, - "Tell if debuging hud & rendering of debug volumes is active. ", - ""); - I_SimpleProperty(bool, DebugDraw, - __bool__getDebugDraw, - __void__setDebugDraw__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/LightSpacePerspectiveShadowMap.cpp b/src/osgWrappers/introspection/osgShadow/LightSpacePerspectiveShadowMap.cpp deleted file mode 100644 index fda28ce2d..000000000 --- a/src/osgWrappers/introspection/osgShadow/LightSpacePerspectiveShadowMap.cpp +++ /dev/null @@ -1,262 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgShadow::LightSpacePerspectiveShadowMapAlgorithm) - I_DeclaringFile("osgShadow/LightSpacePerspectiveShadowMap"); - I_Constructor0(____LightSpacePerspectiveShadowMapAlgorithm, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgShadow::ProjectionShadowMap< osgShadow::MinimalCullBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >, osgShadow::LightSpacePerspectiveShadowMapCB::BaseClass) - -BEGIN_OBJECT_REFLECTOR(osgShadow::LightSpacePerspectiveShadowMapCB) - I_DeclaringFile("osgShadow/LightSpacePerspectiveShadowMap"); - I_Constructor0(____LightSpacePerspectiveShadowMapCB, - "Classic OSG constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::LightSpacePerspectiveShadowMapCB &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LightSpacePerspectiveShadowMapCB__C5_LightSpacePerspectiveShadowMapCB_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgShadow::ProjectionShadowMap< osgShadow::MinimalDrawBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >, osgShadow::LightSpacePerspectiveShadowMapDB::BaseClass) - -BEGIN_OBJECT_REFLECTOR(osgShadow::LightSpacePerspectiveShadowMapDB) - I_DeclaringFile("osgShadow/LightSpacePerspectiveShadowMap"); - I_Constructor0(____LightSpacePerspectiveShadowMapDB, - "Classic OSG constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::LightSpacePerspectiveShadowMapDB &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LightSpacePerspectiveShadowMapDB__C5_LightSpacePerspectiveShadowMapDB_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgShadow::ProjectionShadowMap< osgShadow::MinimalShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >, osgShadow::LightSpacePerspectiveShadowMapVB::BaseClass) - -BEGIN_OBJECT_REFLECTOR(osgShadow::LightSpacePerspectiveShadowMapVB) - I_DeclaringFile("osgShadow/LightSpacePerspectiveShadowMap"); - I_Constructor0(____LightSpacePerspectiveShadowMapVB, - "Classic OSG constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::LightSpacePerspectiveShadowMapVB &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LightSpacePerspectiveShadowMapVB__C5_LightSpacePerspectiveShadowMapVB_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgShadow::LightSpacePerspectiveShadowMapDB, osgShadow::LightSpacePerspectiveShadowMap) - -BEGIN_OBJECT_REFLECTOR(osgShadow::ProjectionShadowMap< osgShadow::MinimalCullBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >) - I_DeclaringFile("osgShadow/ProjectionShadowMap"); - I_Constructor0(____ProjectionShadowMap, - "Classic OSG constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::ProjectionShadowMap< osgShadow::MinimalCullBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm > &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ProjectionShadowMap__C5_ProjectionShadowMap_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgShadow::ProjectionShadowMap< osgShadow::MinimalDrawBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >) - I_DeclaringFile("osgShadow/ProjectionShadowMap"); - I_Constructor0(____ProjectionShadowMap, - "Classic OSG constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::ProjectionShadowMap< osgShadow::MinimalDrawBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm > &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ProjectionShadowMap__C5_ProjectionShadowMap_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgShadow::ProjectionShadowMap< osgShadow::MinimalShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >) - I_DeclaringFile("osgShadow/ProjectionShadowMap"); - I_Constructor0(____ProjectionShadowMap, - "Classic OSG constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::ProjectionShadowMap< osgShadow::MinimalShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm > &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ProjectionShadowMap__C5_ProjectionShadowMap_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/MinimalCullBoundsShadowMap.cpp b/src/osgWrappers/introspection/osgShadow/MinimalCullBoundsShadowMap.cpp deleted file mode 100644 index b201ee12c..000000000 --- a/src/osgWrappers/introspection/osgShadow/MinimalCullBoundsShadowMap.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osgShadow::MinimalCullBoundsShadowMap, osgShadow::MinimalCullBoundsShadowMap::ThisClass) - -TYPE_NAME_ALIAS(osgShadow::MinimalShadowMap, osgShadow::MinimalCullBoundsShadowMap::BaseClass) - -BEGIN_OBJECT_REFLECTOR(osgShadow::MinimalCullBoundsShadowMap) - I_DeclaringFile("osgShadow/MinimalCullBoundsShadowMap"); - I_BaseType(osgShadow::MinimalShadowMap); - I_Constructor0(____MinimalCullBoundsShadowMap, - "Classic OSG constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::MinimalCullBoundsShadowMap &, mcbsm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____MinimalCullBoundsShadowMap__C5_MinimalCullBoundsShadowMap_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/MinimalDrawBoundsShadowMap.cpp b/src/osgWrappers/introspection/osgShadow/MinimalDrawBoundsShadowMap.cpp deleted file mode 100644 index 51c0406aa..000000000 --- a/src/osgWrappers/introspection/osgShadow/MinimalDrawBoundsShadowMap.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osgShadow::MinimalDrawBoundsShadowMap, osgShadow::MinimalDrawBoundsShadowMap::ThisClass) - -TYPE_NAME_ALIAS(osgShadow::MinimalShadowMap, osgShadow::MinimalDrawBoundsShadowMap::BaseClass) - -BEGIN_OBJECT_REFLECTOR(osgShadow::MinimalDrawBoundsShadowMap) - I_DeclaringFile("osgShadow/MinimalDrawBoundsShadowMap"); - I_BaseType(osgShadow::MinimalShadowMap); - I_Constructor0(____MinimalDrawBoundsShadowMap, - "Classic OSG constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::MinimalDrawBoundsShadowMap &, mdbsm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____MinimalDrawBoundsShadowMap__C5_MinimalDrawBoundsShadowMap_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/MinimalShadowMap.cpp b/src/osgWrappers/introspection/osgShadow/MinimalShadowMap.cpp deleted file mode 100644 index fb37eb346..000000000 --- a/src/osgWrappers/introspection/osgShadow/MinimalShadowMap.cpp +++ /dev/null @@ -1,128 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgShadow::MinimalShadowMap::ShadowReceivingCoarseBoundAccuracy) - I_DeclaringFile("osgShadow/MinimalShadowMap"); - I_EnumLabel(osgShadow::MinimalShadowMap::EMPTY_BOX); - I_EnumLabel(osgShadow::MinimalShadowMap::BOUNDING_SPHERE); - I_EnumLabel(osgShadow::MinimalShadowMap::BOUNDING_BOX); - I_EnumLabel(osgShadow::MinimalShadowMap::DEFAULT_ACCURACY); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgShadow::MinimalShadowMap, osgShadow::MinimalShadowMap::ThisClass) - -TYPE_NAME_ALIAS(osgShadow::StandardShadowMap, osgShadow::MinimalShadowMap::BaseClass) - -BEGIN_OBJECT_REFLECTOR(osgShadow::MinimalShadowMap) - I_DeclaringFile("osgShadow/MinimalShadowMap"); - I_BaseType(osgShadow::StandardShadowMap); - I_Constructor0(____MinimalShadowMap, - "Classic OSG constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::MinimalShadowMap &, msm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____MinimalShadowMap__C5_MinimalShadowMap_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setModellingSpaceToWorldTransform, IN, const osg::Matrix &, modellingSpaceToWorld, - Properties::NON_VIRTUAL, - __void__setModellingSpaceToWorldTransform__C5_osg_Matrix_R1, - "", - ""); - I_Method0(const osg::Matrix &, getModellingSpaceToWorldTransform, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getModellingSpaceToWorldTransform, - "", - ""); - I_Method0(float, getMaxFarPlane, - Properties::NON_VIRTUAL, - __float__getMaxFarPlane, - "", - ""); - I_Method1(void, setMaxFarPlane, IN, float, maxFarPlane, - Properties::NON_VIRTUAL, - __void__setMaxFarPlane__float, - "", - ""); - I_Method0(float, getMinLightMargin, - Properties::NON_VIRTUAL, - __float__getMinLightMargin, - "", - ""); - I_Method1(void, setMinLightMargin, IN, float, minLightMargin, - Properties::NON_VIRTUAL, - __void__setMinLightMargin__float, - "", - ""); - I_Method1(void, setShadowReceivingCoarseBoundAccuracy, IN, osgShadow::MinimalShadowMap::ShadowReceivingCoarseBoundAccuracy, accuracy, - Properties::NON_VIRTUAL, - __void__setShadowReceivingCoarseBoundAccuracy__ShadowReceivingCoarseBoundAccuracy, - "", - ""); - I_Method0(osgShadow::MinimalShadowMap::ShadowReceivingCoarseBoundAccuracy, getShadowReceivingCoarseBoundAccuracy, - Properties::NON_VIRTUAL, - __ShadowReceivingCoarseBoundAccuracy__getShadowReceivingCoarseBoundAccuracy, - "", - ""); - I_SimpleProperty(float, MaxFarPlane, - __float__getMaxFarPlane, - __void__setMaxFarPlane__float); - I_SimpleProperty(float, MinLightMargin, - __float__getMinLightMargin, - __void__setMinLightMargin__float); - I_SimpleProperty(const osg::Matrix &, ModellingSpaceToWorldTransform, - __C5_osg_Matrix_R1__getModellingSpaceToWorldTransform, - __void__setModellingSpaceToWorldTransform__C5_osg_Matrix_R1); - I_SimpleProperty(osgShadow::MinimalShadowMap::ShadowReceivingCoarseBoundAccuracy, ShadowReceivingCoarseBoundAccuracy, - __ShadowReceivingCoarseBoundAccuracy__getShadowReceivingCoarseBoundAccuracy, - __void__setShadowReceivingCoarseBoundAccuracy__ShadowReceivingCoarseBoundAccuracy); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/OccluderGeometry.cpp b/src/osgWrappers/introspection/osgShadow/OccluderGeometry.cpp deleted file mode 100644 index 09ae0f456..000000000 --- a/src/osgWrappers/introspection/osgShadow/OccluderGeometry.cpp +++ /dev/null @@ -1,275 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osgShadow::OccluderGeometry::Vec3List) - -TYPE_NAME_ALIAS(std::vector< GLuint >, osgShadow::OccluderGeometry::UIntList) - -BEGIN_OBJECT_REFLECTOR(osgShadow::OccluderGeometry) - I_DeclaringFile("osgShadow/OccluderGeometry"); - I_BaseType(osg::Drawable); - I_Constructor0(____OccluderGeometry, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::OccluderGeometry &, oc, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____OccluderGeometry__C5_OccluderGeometry_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_MethodWithDefaults3(void, computeOccluderGeometry, IN, osg::Node *, subgraph, , IN, osg::Matrix *, matrix, 0, IN, float, sampleRatio, 1.0f, - Properties::NON_VIRTUAL, - __void__computeOccluderGeometry__osg_Node_P1__osg_Matrix_P1__float, - "Compute an occluder geometry containing all the geometry in specified subgraph. ", - ""); - I_MethodWithDefaults3(void, computeOccluderGeometry, IN, osg::Drawable *, drawable, , IN, osg::Matrix *, matrix, 0, IN, float, sampleRatio, 1.0f, - Properties::NON_VIRTUAL, - __void__computeOccluderGeometry__osg_Drawable_P1__osg_Matrix_P1__float, - "Compute an occluder geometry containing the geometry in specified drawable. ", - ""); - I_Method2(void, computeShadowVolumeGeometry, IN, const osg::Vec4 &, lightpos, IN, osgShadow::ShadowVolumeGeometry &, svg, - Properties::NON_VIRTUAL, - __void__computeShadowVolumeGeometry__C5_osg_Vec4_R1__ShadowVolumeGeometry_R1, - "Compute ShadowVolumeGeometry. ", - ""); - I_Method1(void, setBoundingPolytope, IN, const osg::Polytope &, polytope, - Properties::NON_VIRTUAL, - __void__setBoundingPolytope__C5_osg_Polytope_R1, - "Set the bounding polytope of the OccluderGeometry. ", - ""); - I_Method0(osg::Polytope &, getBoundingPolytope, - Properties::NON_VIRTUAL, - __osg_Polytope_R1__getBoundingPolytope, - "Get the bounding polytope of the OccluderGeometry. ", - ""); - I_Method0(const osg::Polytope &, getBoundingPolytope, - Properties::NON_VIRTUAL, - __C5_osg_Polytope_R1__getBoundingPolytope, - "Get the const bounding polytope of the OccluderGeometry. ", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1, - "Render the occluder geometry. ", - ""); - I_Method0(osg::BoundingBox, computeBound, - Properties::VIRTUAL, - __osg_BoundingBox__computeBound, - "Compute the bounding box around occluder geometry. ", - ""); - I_MethodWithDefaults3(void, processGeometry, IN, osg::Drawable *, drawable, , IN, osg::Matrix *, matrix, 0, IN, float, sampleRatio, 1.0f, - Properties::NON_VIRTUAL, - __void__processGeometry__osg_Drawable_P1__osg_Matrix_P1__float, - "", - ""); - - - I_ProtectedMethod0(void, setUpInternalStructures, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpInternalStructures, - "", - ""); - I_ProtectedMethod0(void, removeDuplicateVertices, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__removeDuplicateVertices, - "", - ""); - I_ProtectedMethod0(void, removeNullTriangles, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__removeNullTriangles, - "", - ""); - I_ProtectedMethod0(void, computeNormals, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computeNormals, - "", - ""); - I_ProtectedMethod0(void, buildEdgeMaps, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__buildEdgeMaps, - "", - ""); - I_ProtectedMethod2(void, computeLightDirectionSilhouetteEdges, IN, const osg::Vec3 &, lightdirection, IN, osgShadow::OccluderGeometry::UIntList &, silhouetteIndices, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeLightDirectionSilhouetteEdges__C5_osg_Vec3_R1__UIntList_R1, - "", - ""); - I_ProtectedMethod2(void, computeLightPositionSilhouetteEdges, IN, const osg::Vec3 &, lightpos, IN, osgShadow::OccluderGeometry::UIntList &, silhouetteIndices, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeLightPositionSilhouetteEdges__C5_osg_Vec3_R1__UIntList_R1, - "", - ""); - I_SimpleProperty(const osg::Polytope &, BoundingPolytope, - __C5_osg_Polytope_R1__getBoundingPolytope, - __void__setBoundingPolytope__C5_osg_Polytope_R1); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgShadow::ShadowVolumeGeometry::DrawMode) - I_DeclaringFile("osgShadow/OccluderGeometry"); - I_EnumLabel(osgShadow::ShadowVolumeGeometry::GEOMETRY); - I_EnumLabel(osgShadow::ShadowVolumeGeometry::STENCIL_TWO_PASS); - I_EnumLabel(osgShadow::ShadowVolumeGeometry::STENCIL_TWO_SIDED); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osgShadow::ShadowVolumeGeometry::Vec3List) - -TYPE_NAME_ALIAS(std::vector< GLuint >, osgShadow::ShadowVolumeGeometry::UIntList) - -BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowVolumeGeometry) - I_DeclaringFile("osgShadow/OccluderGeometry"); - I_BaseType(osg::Drawable); - I_Constructor0(____ShadowVolumeGeometry, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::ShadowVolumeGeometry &, oc, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ShadowVolumeGeometry__C5_ShadowVolumeGeometry_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setDrawMode, IN, osgShadow::ShadowVolumeGeometry::DrawMode, mode, - Properties::NON_VIRTUAL, - __void__setDrawMode__DrawMode, - "", - ""); - I_Method0(osgShadow::ShadowVolumeGeometry::DrawMode, getDrawMode, - Properties::NON_VIRTUAL, - __DrawMode__getDrawMode, - "", - ""); - I_Method1(void, setVertices, IN, const osgShadow::ShadowVolumeGeometry::Vec3List &, vertices, - Properties::NON_VIRTUAL, - __void__setVertices__C5_Vec3List_R1, - "", - ""); - I_Method0(osgShadow::ShadowVolumeGeometry::Vec3List &, getVertices, - Properties::NON_VIRTUAL, - __Vec3List_R1__getVertices, - "", - ""); - I_Method0(const osgShadow::ShadowVolumeGeometry::Vec3List &, getVertices, - Properties::NON_VIRTUAL, - __C5_Vec3List_R1__getVertices, - "", - ""); - I_Method1(void, setNormals, IN, const osgShadow::ShadowVolumeGeometry::Vec3List &, normals, - Properties::NON_VIRTUAL, - __void__setNormals__C5_Vec3List_R1, - "", - ""); - I_Method0(osgShadow::ShadowVolumeGeometry::Vec3List &, getNormals, - Properties::NON_VIRTUAL, - __Vec3List_R1__getNormals, - "", - ""); - I_Method0(const osgShadow::ShadowVolumeGeometry::Vec3List &, getNormals, - Properties::NON_VIRTUAL, - __C5_Vec3List_R1__getNormals, - "", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1, - "Render the occluder geometry. ", - ""); - I_Method0(osg::BoundingBox, computeBound, - Properties::VIRTUAL, - __osg_BoundingBox__computeBound, - "Compute the bounding box around occluder geometry. ", - ""); - I_SimpleProperty(osgShadow::ShadowVolumeGeometry::DrawMode, DrawMode, - __DrawMode__getDrawMode, - __void__setDrawMode__DrawMode); - I_SimpleProperty(const osgShadow::ShadowVolumeGeometry::Vec3List &, Normals, - __C5_Vec3List_R1__getNormals, - __void__setNormals__C5_Vec3List_R1); - I_SimpleProperty(const osgShadow::ShadowVolumeGeometry::Vec3List &, Vertices, - __C5_Vec3List_R1__getVertices, - __void__setVertices__C5_Vec3List_R1); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< GLuint >) - diff --git a/src/osgWrappers/introspection/osgShadow/ParallelSplitShadowMap.cpp b/src/osgWrappers/introspection/osgShadow/ParallelSplitShadowMap.cpp deleted file mode 100644 index 5a1bf58a9..000000000 --- a/src/osgWrappers/introspection/osgShadow/ParallelSplitShadowMap.cpp +++ /dev/null @@ -1,231 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgShadow::ParallelSplitShadowMap::SplitCalcMode) - I_DeclaringFile("osgShadow/ParallelSplitShadowMap"); - I_EnumLabel(osgShadow::ParallelSplitShadowMap::SPLIT_LINEAR); - I_EnumLabel(osgShadow::ParallelSplitShadowMap::SPLIT_EXP); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgShadow::ParallelSplitShadowMap) - I_DeclaringFile("osgShadow/ParallelSplitShadowMap"); - I_BaseType(osgShadow::ShadowTechnique); - I_ConstructorWithDefaults2(IN, osg::Geode **, debugGroup, NULL, IN, int, icountplanes, 3, - ____ParallelSplitShadowMap__osg_Geode_P1P1__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::ParallelSplitShadowMap &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ParallelSplitShadowMap__C5_ParallelSplitShadowMap_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, init, - Properties::VIRTUAL, - __void__init, - "Initialize the ShadowedScene and local cached data structures. ", - ""); - I_Method1(void, update, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__update__osg_NodeVisitor_R1, - "Run the update traversal of the ShadowedScene and update any loca chached data structures. ", - ""); - I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv, - Properties::VIRTUAL, - __void__cull__osgUtil_CullVisitor_R1, - "Run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ", - ""); - I_Method0(void, cleanSceneGraph, - Properties::VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any shadow technique specific nodes, state and drawables. ", - ""); - I_Method0(void, setDebugColorOn, - Properties::NON_VIRTUAL, - __void__setDebugColorOn, - "Switch on the debug coloring in GLSL (only the first 3 texture/splits showed for visualisation. ", - ""); - I_Method1(void, setPolygonOffset, IN, const osg::Vec2f &, p, - Properties::NON_VIRTUAL, - __void__setPolygonOffset__C5_osg_Vec2f_R1, - "Set the polygon offset osg::Vec2f(factor,unit). ", - ""); - I_Method0(const osg::Vec2f &, getPolygonOffset, - Properties::NON_VIRTUAL, - __C5_osg_Vec2f_R1__getPolygonOffset, - "Get the polygon offset osg::Vec2f(factor,unit). ", - ""); - I_Method1(void, setTextureResolution, IN, unsigned int, resolution, - Properties::NON_VIRTUAL, - __void__setTextureResolution__unsigned_int, - "Set the texture resolution. ", - ""); - I_Method0(unsigned int, getTextureResolution, - Properties::NON_VIRTUAL, - __unsigned_int__getTextureResolution, - "Get the texture resolution. ", - ""); - I_Method1(void, setMaxFarDistance, IN, double, farDist, - Properties::NON_VIRTUAL, - __void__setMaxFarDistance__double, - "Set the max far distance. ", - ""); - I_Method0(double, getMaxFarDistance, - Properties::NON_VIRTUAL, - __double__getMaxFarDistance, - "Get the max far distance. ", - ""); - I_Method1(void, setMoveVCamBehindRCamFactor, IN, double, distFactor, - Properties::NON_VIRTUAL, - __void__setMoveVCamBehindRCamFactor__double, - "Set the factor for moving the virtual camera behind the real camera. ", - ""); - I_Method0(double, getMoveVCamBehindRCamFactor, - Properties::NON_VIRTUAL, - __double__getMoveVCamBehindRCamFactor, - "Get the factor for moving the virtual camera behind the real camera. ", - ""); - I_Method1(void, setMinNearDistanceForSplits, IN, double, nd, - Properties::NON_VIRTUAL, - __void__setMinNearDistanceForSplits__double, - "Set min near distance for splits. ", - ""); - I_Method0(double, getMinNearDistanceForSplits, - Properties::NON_VIRTUAL, - __double__getMinNearDistanceForSplits, - "Get min near distance for splits. ", - ""); - I_Method1(void, setUserLight, IN, osg::Light *, light, - Properties::NON_VIRTUAL, - __void__setUserLight__osg_Light_P1, - "set a user defined light for shadow simulation (sun light, . ", - ".. ) when this light get passed to pssm, the scene's light are no longer collected and simulated. just this user passed light, it needs to be a directional light. "); - I_Method0(const osg::Light *, getUserLight, - Properties::NON_VIRTUAL, - __C5_osg_Light_P1__getUserLight, - "get the user defined light for shadow simulation ", - ""); - I_Method1(void, setAmbientBias, IN, const osg::Vec2 &, ambientBias, - Properties::NON_VIRTUAL, - __void__setAmbientBias__C5_osg_Vec2_R1, - "Set the values for the ambient bias the shader will use. ", - ""); - I_Method0(const osg::Vec2 &, getAmbientBias, - Properties::NON_VIRTUAL, - __C5_osg_Vec2_R1__getAmbientBias, - "Get the values for the ambient bias the shader will use. ", - ""); - I_Method1(void, setFragmentShaderGenerator, IN, osgShadow::ParallelSplitShadowMap::FragmentShaderGenerator *, fsw, - Properties::NON_VIRTUAL, - __void__setFragmentShaderGenerator__FragmentShaderGenerator_P1, - "set fragment shader generator ", - ""); - I_MethodWithDefaults1(void, enableShadowGLSLFiltering, IN, bool, filtering, true, - Properties::NON_VIRTUAL, - __void__enableShadowGLSLFiltering__bool, - "enable / disable shadow filtering ", - ""); - I_MethodWithDefaults1(void, setSplitCalculationMode, IN, osgShadow::ParallelSplitShadowMap::SplitCalcMode, scm, osgShadow::ParallelSplitShadowMap::SPLIT_EXP, - Properties::NON_VIRTUAL, - __void__setSplitCalculationMode__SplitCalcMode, - "set split calculation mode ", - ""); - I_Method0(osgShadow::ParallelSplitShadowMap::SplitCalcMode, getSplitCalculationMode, - Properties::NON_VIRTUAL, - __SplitCalcMode__getSplitCalculationMode, - "get split calculation mode ", - ""); - I_SimpleProperty(const osg::Vec2 &, AmbientBias, - __C5_osg_Vec2_R1__getAmbientBias, - __void__setAmbientBias__C5_osg_Vec2_R1); - I_SimpleProperty(osgShadow::ParallelSplitShadowMap::FragmentShaderGenerator *, FragmentShaderGenerator, - 0, - __void__setFragmentShaderGenerator__FragmentShaderGenerator_P1); - I_SimpleProperty(double, MaxFarDistance, - __double__getMaxFarDistance, - __void__setMaxFarDistance__double); - I_SimpleProperty(double, MinNearDistanceForSplits, - __double__getMinNearDistanceForSplits, - __void__setMinNearDistanceForSplits__double); - I_SimpleProperty(double, MoveVCamBehindRCamFactor, - __double__getMoveVCamBehindRCamFactor, - __void__setMoveVCamBehindRCamFactor__double); - I_SimpleProperty(const osg::Vec2f &, PolygonOffset, - __C5_osg_Vec2f_R1__getPolygonOffset, - __void__setPolygonOffset__C5_osg_Vec2f_R1); - I_SimpleProperty(osgShadow::ParallelSplitShadowMap::SplitCalcMode, SplitCalculationMode, - __SplitCalcMode__getSplitCalculationMode, - __void__setSplitCalculationMode__SplitCalcMode); - I_SimpleProperty(unsigned int, TextureResolution, - __unsigned_int__getTextureResolution, - __void__setTextureResolution__unsigned_int); - I_SimpleProperty(osg::Light *, UserLight, - 0, - __void__setUserLight__osg_Light_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgShadow::ParallelSplitShadowMap::FragmentShaderGenerator) - I_DeclaringFile("osgShadow/ParallelSplitShadowMap"); - I_BaseType(osg::Referenced); - I_Constructor0(____FragmentShaderGenerator, - "", - ""); - I_Method6(std::string, generateGLSL_FragmentShader_BaseTex, IN, bool, debug, IN, unsigned int, splitCount, IN, double, textureRes, IN, bool, filtered, IN, unsigned int, nbrSplits, IN, unsigned int, textureOffset, - Properties::VIRTUAL, - __std_string__generateGLSL_FragmentShader_BaseTex__bool__unsigned_int__double__bool__unsigned_int__unsigned_int, - "generate the GLSL fragement shader ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/ShadowMap.cpp b/src/osgWrappers/introspection/osgShadow/ShadowMap.cpp deleted file mode 100644 index 1451f6f6d..000000000 --- a/src/osgWrappers/introspection/osgShadow/ShadowMap.cpp +++ /dev/null @@ -1,281 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Uniform > >, osgShadow::ShadowMap::UniformList) - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Shader > >, osgShadow::ShadowMap::ShaderList) - -BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowMap) - I_DeclaringFile("osgShadow/ShadowMap"); - I_BaseType(osgShadow::ShadowTechnique); - I_Constructor0(____ShadowMap, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::ShadowMap &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ShadowMap__C5_ShadowMap_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setTextureUnit, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __void__setTextureUnit__unsigned_int, - "Set the texture unit that the shadow texture will be applied on. ", - ""); - I_Method0(unsigned int, getTextureUnit, - Properties::NON_VIRTUAL, - __unsigned_int__getTextureUnit, - "Get the texture unit that the shadow texture will be applied on. ", - ""); - I_Method1(void, setPolygonOffset, IN, const osg::Vec2 &, polyOffset, - Properties::NON_VIRTUAL, - __void__setPolygonOffset__C5_osg_Vec2_R1, - "set the polygon offset used initially ", - ""); - I_Method0(const osg::Vec2 &, getPolygonOffset, - Properties::NON_VIRTUAL, - __C5_osg_Vec2_R1__getPolygonOffset, - "get the used polygon offset ", - ""); - I_Method1(void, setAmbientBias, IN, const osg::Vec2 &, ambientBias, - Properties::NON_VIRTUAL, - __void__setAmbientBias__C5_osg_Vec2_R1, - "Set the values for the ambient bias the shader will use. ", - ""); - I_Method0(const osg::Vec2 &, getAmbientBias, - Properties::NON_VIRTUAL, - __C5_osg_Vec2_R1__getAmbientBias, - "Get the values that are used for the ambient bias in the shader. ", - ""); - I_Method1(void, setTextureSize, IN, const osg::Vec2s &, textureSize, - Properties::NON_VIRTUAL, - __void__setTextureSize__C5_osg_Vec2s_R1, - "set the size in pixels x / y for the shadow texture. ", - ""); - I_Method0(const osg::Vec2s &, getTextureSize, - Properties::NON_VIRTUAL, - __C5_osg_Vec2s_R1__getTextureSize, - "Get the values that are used for the ambient bias in the shader. ", - ""); - I_Method1(void, setLight, IN, osg::Light *, light, - Properties::NON_VIRTUAL, - __void__setLight__osg_Light_P1, - "Set the Light that will cast shadows. ", - ""); - I_Method1(void, setLight, IN, osg::LightSource *, ls, - Properties::NON_VIRTUAL, - __void__setLight__osg_LightSource_P1, - "", - ""); - I_Method1(void, addShader, IN, osg::Shader *, shader, - Properties::NON_VIRTUAL, - __void__addShader__osg_Shader_P1, - "Add a shader to internal list, will be used instead of the default ones. ", - ""); - I_Method0(void, clearShaderList, - Properties::NON_VIRTUAL, - __void__clearShaderList, - "Reset internal shader list. ", - ""); - I_Method0(void, init, - Properties::VIRTUAL, - __void__init, - "initialize the ShadowedScene and local cached data structures. ", - ""); - I_Method1(void, update, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__update__osg_NodeVisitor_R1, - "run the update traversal of the ShadowedScene and update any loca chached data structures. ", - ""); - I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv, - Properties::VIRTUAL, - __void__cull__osgUtil_CullVisitor_R1, - "run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ", - ""); - I_Method0(void, cleanSceneGraph, - Properties::VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any shadow technique specific nodes, state and drawables. ", - ""); - I_Method0(osg::ref_ptr< osg::Camera >, makeDebugHUD, - Properties::NON_VIRTUAL, - __osg_ref_ptrT1_osg_Camera___makeDebugHUD, - "", - ""); - I_ProtectedMethod0(void, createUniforms, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__createUniforms, - "Create the managed Uniforms. ", - ""); - I_ProtectedMethod0(void, createShaders, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__createShaders, - "", - ""); - I_SimpleProperty(const osg::Vec2 &, AmbientBias, - __C5_osg_Vec2_R1__getAmbientBias, - __void__setAmbientBias__C5_osg_Vec2_R1); - I_SimpleProperty(osg::Light *, Light, - 0, - __void__setLight__osg_Light_P1); - I_SimpleProperty(const osg::Vec2 &, PolygonOffset, - __C5_osg_Vec2_R1__getPolygonOffset, - __void__setPolygonOffset__C5_osg_Vec2_R1); - I_SimpleProperty(const osg::Vec2s &, TextureSize, - __C5_osg_Vec2s_R1__getTextureSize, - __void__setTextureSize__C5_osg_Vec2s_R1); - I_SimpleProperty(unsigned int, TextureUnit, - __unsigned_int__getTextureUnit, - __void__setTextureUnit__unsigned_int); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Camera >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Camera *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Camera > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Camera > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Camera *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Camera *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Camera > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Camera *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Shader >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Shader *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Shader > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Shader > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Shader *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Shader *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Shader > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Shader *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Shader > >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Uniform > >) - diff --git a/src/osgWrappers/introspection/osgShadow/ShadowTechnique.cpp b/src/osgWrappers/introspection/osgShadow/ShadowTechnique.cpp deleted file mode 100644 index 73988c34a..000000000 --- a/src/osgWrappers/introspection/osgShadow/ShadowTechnique.cpp +++ /dev/null @@ -1,110 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowTechnique) - I_DeclaringFile("osgShadow/ShadowTechnique"); - I_BaseType(osg::Object); - I_Constructor0(____ShadowTechnique, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::ShadowTechnique &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ShadowTechnique__C5_ShadowTechnique_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osgShadow::ShadowedScene *, getShadowedScene, - Properties::NON_VIRTUAL, - __ShadowedScene_P1__getShadowedScene, - "", - ""); - I_Method0(void, init, - Properties::VIRTUAL, - __void__init, - "initialize the ShadowedScene and local cached data structures. ", - ""); - I_Method1(void, update, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__update__osg_NodeVisitor_R1, - "run the update traversal of the ShadowedScene and update any local cached data structures. ", - ""); - I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv, - Properties::VIRTUAL, - __void__cull__osgUtil_CullVisitor_R1, - "run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ", - ""); - I_Method0(void, cleanSceneGraph, - Properties::VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any shadow technique specific nodes, state and drawables. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "", - ""); - I_Method0(void, dirty, - Properties::VIRTUAL, - __void__dirty, - "Dirty so that cached data structures are updated. ", - ""); - I_ProtectedMethod1(osg::Vec3, computeOrthogonalVector, IN, const osg::Vec3 &, direction, - Properties::NON_VIRTUAL, - Properties::CONST, - __osg_Vec3__computeOrthogonalVector__C5_osg_Vec3_R1, - "", - ""); - I_SimpleProperty(osgShadow::ShadowedScene *, ShadowedScene, - __ShadowedScene_P1__getShadowedScene, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/ShadowTexture.cpp b/src/osgWrappers/introspection/osgShadow/ShadowTexture.cpp deleted file mode 100644 index 94452d507..000000000 --- a/src/osgWrappers/introspection/osgShadow/ShadowTexture.cpp +++ /dev/null @@ -1,98 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowTexture) - I_DeclaringFile("osgShadow/ShadowTexture"); - I_BaseType(osgShadow::ShadowTechnique); - I_Constructor0(____ShadowTexture, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::ShadowTexture &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ShadowTexture__C5_ShadowTexture_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setTextureUnit, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __void__setTextureUnit__unsigned_int, - "Set the texture unit that the shadow texture will be applied on. ", - ""); - I_Method0(unsigned int, getTextureUnit, - Properties::NON_VIRTUAL, - __unsigned_int__getTextureUnit, - "Get the texture unit that the shadow texture will be applied on. ", - ""); - I_Method0(void, init, - Properties::VIRTUAL, - __void__init, - "initialize the ShadowedScene and local cached data structures. ", - ""); - I_Method1(void, update, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__update__osg_NodeVisitor_R1, - "run the update traversal of the ShadowedScene and update any loca chached data structures. ", - ""); - I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv, - Properties::VIRTUAL, - __void__cull__osgUtil_CullVisitor_R1, - "run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ", - ""); - I_Method0(void, cleanSceneGraph, - Properties::VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any shadow technique specific nodes, state and drawables. ", - ""); - I_SimpleProperty(unsigned int, TextureUnit, - __unsigned_int__getTextureUnit, - __void__setTextureUnit__unsigned_int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/ShadowVolume.cpp b/src/osgWrappers/introspection/osgShadow/ShadowVolume.cpp deleted file mode 100644 index 752e1d00f..000000000 --- a/src/osgWrappers/introspection/osgShadow/ShadowVolume.cpp +++ /dev/null @@ -1,112 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowVolume) - I_DeclaringFile("osgShadow/ShadowVolume"); - I_BaseType(osgShadow::ShadowTechnique); - I_Constructor0(____ShadowVolume, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::ShadowVolume &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ShadowVolume__C5_ShadowVolume_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setDrawMode, IN, osgShadow::ShadowVolumeGeometry::DrawMode, drawMode, - Properties::NON_VIRTUAL, - __void__setDrawMode__osgShadow_ShadowVolumeGeometry_DrawMode, - "", - ""); - I_Method0(osgShadow::ShadowVolumeGeometry::DrawMode, getDrawMode, - Properties::NON_VIRTUAL, - __osgShadow_ShadowVolumeGeometry_DrawMode__getDrawMode, - "", - ""); - I_Method1(void, setDynamicShadowVolumes, IN, bool, dynamicShadowVolumes, - Properties::NON_VIRTUAL, - __void__setDynamicShadowVolumes__bool, - "", - ""); - I_Method0(bool, getDynamicShadowVolumes, - Properties::NON_VIRTUAL, - __bool__getDynamicShadowVolumes, - "", - ""); - I_Method0(void, init, - Properties::VIRTUAL, - __void__init, - "initialize the ShadowedScene and local cached data structures. ", - ""); - I_Method1(void, update, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__update__osg_NodeVisitor_R1, - "run the update traversal of the ShadowedScene and update any loca chached data structures. ", - ""); - I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv, - Properties::VIRTUAL, - __void__cull__osgUtil_CullVisitor_R1, - "run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ", - ""); - I_Method0(void, cleanSceneGraph, - Properties::VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any shadow technique specific nodes, state and drawables. ", - ""); - I_SimpleProperty(osgShadow::ShadowVolumeGeometry::DrawMode, DrawMode, - __osgShadow_ShadowVolumeGeometry_DrawMode__getDrawMode, - __void__setDrawMode__osgShadow_ShadowVolumeGeometry_DrawMode); - I_SimpleProperty(bool, DynamicShadowVolumes, - __bool__getDynamicShadowVolumes, - __void__setDynamicShadowVolumes__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/ShadowedScene.cpp b/src/osgWrappers/introspection/osgShadow/ShadowedScene.cpp deleted file mode 100644 index 14089a765..000000000 --- a/src/osgWrappers/introspection/osgShadow/ShadowedScene.cpp +++ /dev/null @@ -1,131 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowedScene) - I_DeclaringFile("osgShadow/ShadowedScene"); - I_BaseType(osg::Group); - I_ConstructorWithDefaults1(IN, osgShadow::ShadowTechnique *, st, 0, - Properties::NON_EXPLICIT, - ____ShadowedScene__ShadowTechnique_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::ShadowedScene &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ShadowedScene__C5_ShadowedScene_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(void, setReceivesShadowTraversalMask, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setReceivesShadowTraversalMask__unsigned_int, - "", - ""); - I_Method0(unsigned int, getReceivesShadowTraversalMask, - Properties::NON_VIRTUAL, - __unsigned_int__getReceivesShadowTraversalMask, - "", - ""); - I_Method1(void, setCastsShadowTraversalMask, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setCastsShadowTraversalMask__unsigned_int, - "", - ""); - I_Method0(unsigned int, getCastsShadowTraversalMask, - Properties::NON_VIRTUAL, - __unsigned_int__getCastsShadowTraversalMask, - "", - ""); - I_Method1(void, setShadowTechnique, IN, osgShadow::ShadowTechnique *, technique, - Properties::NON_VIRTUAL, - __void__setShadowTechnique__ShadowTechnique_P1, - "", - ""); - I_Method0(osgShadow::ShadowTechnique *, getShadowTechnique, - Properties::NON_VIRTUAL, - __ShadowTechnique_P1__getShadowTechnique, - "", - ""); - I_Method0(const osgShadow::ShadowTechnique *, getShadowTechnique, - Properties::NON_VIRTUAL, - __C5_ShadowTechnique_P1__getShadowTechnique, - "", - ""); - I_Method0(void, cleanSceneGraph, - Properties::NON_VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any shadow technique specific nodes, state and drawables. ", - ""); - I_Method0(void, dirty, - Properties::NON_VIRTUAL, - __void__dirty, - "Dirty any cache data structures held in the attached ShadowTechnqiue. ", - ""); - I_SimpleProperty(unsigned int, CastsShadowTraversalMask, - __unsigned_int__getCastsShadowTraversalMask, - __void__setCastsShadowTraversalMask__unsigned_int); - I_SimpleProperty(unsigned int, ReceivesShadowTraversalMask, - __unsigned_int__getReceivesShadowTraversalMask, - __void__setReceivesShadowTraversalMask__unsigned_int); - I_SimpleProperty(osgShadow::ShadowTechnique *, ShadowTechnique, - __ShadowTechnique_P1__getShadowTechnique, - __void__setShadowTechnique__ShadowTechnique_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/SoftShadowMap.cpp b/src/osgWrappers/introspection/osgShadow/SoftShadowMap.cpp deleted file mode 100644 index 8ffdf2092..000000000 --- a/src/osgWrappers/introspection/osgShadow/SoftShadowMap.cpp +++ /dev/null @@ -1,133 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgShadow::SoftShadowMap) - I_DeclaringFile("osgShadow/SoftShadowMap"); - I_BaseType(osgShadow::ShadowMap); - I_Constructor0(____SoftShadowMap, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::SoftShadowMap &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____SoftShadowMap__C5_SoftShadowMap_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setSoftnessWidth, IN, float, softnessWidth, - Properties::NON_VIRTUAL, - __void__setSoftnessWidth__float, - "Set the values for width of the soft penumbra the shader will use. ", - "Zero is for hard shadow (no penumbra). 0.01 is already very soft penumbra. Default is 0.005. "); - I_Method0(float, getSoftnessWidth, - Properties::NON_VIRTUAL, - __float__getSoftnessWidth, - "Get the value used for width of the soft penumbra in the shader. ", - ""); - I_Method1(void, setJitteringScale, IN, float, jitteringScale, - Properties::NON_VIRTUAL, - __void__setJitteringScale__float, - "Set the values for jittering scale the shader will use. ", - "Zero is no jittering (i.e. see the banding in penumbra) High values (>64) cause 'pixelization' of the penumbra. Usually but not necessarily power of two number. Default is 32. "); - I_Method0(float, getJitteringScale, - Properties::NON_VIRTUAL, - __float__getJitteringScale, - "Get the value used for jittering scale in the shader. ", - ""); - I_Method1(void, setJitterTextureUnit, IN, unsigned int, jitterTextureUnit, - Properties::NON_VIRTUAL, - __void__setJitterTextureUnit__unsigned_int, - "Set the texture unit that the jitter texture will be applied on. ", - ""); - I_Method0(unsigned int, getJitterTextureUnit, - Properties::NON_VIRTUAL, - __unsigned_int__getJitterTextureUnit, - "Get the texture unit that the jitter texture will be applied on. ", - ""); - I_Method1(void, setBias, IN, float, bias, - Properties::NON_VIRTUAL, - __void__setBias__float, - "Add a small bias to the z-value, this can reduce shadow acne problem. ", - "This is the same as calling setPolygonOffset(osg::Vec2(bias,0)); Suitable values are 0-0.005 Default is 0. "); - I_Method0(float, getBias, - Properties::NON_VIRTUAL, - __float__getBias, - "Return the bias value. ", - ""); - I_ProtectedMethod0(void, createUniforms, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__createUniforms, - "Create the managed Uniforms. ", - ""); - I_ProtectedMethod0(void, createShaders, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__createShaders, - "", - ""); - I_ProtectedMethod1(void, initJittering, IN, osg::StateSet *, ss, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__initJittering__osg_StateSet_P1, - "", - ""); - I_SimpleProperty(float, Bias, - __float__getBias, - __void__setBias__float); - I_SimpleProperty(unsigned int, JitterTextureUnit, - __unsigned_int__getJitterTextureUnit, - __void__setJitterTextureUnit__unsigned_int); - I_SimpleProperty(float, JitteringScale, - __float__getJitteringScale, - __void__setJitteringScale__float); - I_SimpleProperty(float, SoftnessWidth, - __float__getSoftnessWidth, - __void__setSoftnessWidth__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/StandardShadowMap.cpp b/src/osgWrappers/introspection/osgShadow/StandardShadowMap.cpp deleted file mode 100644 index 19cc1b027..000000000 --- a/src/osgWrappers/introspection/osgShadow/StandardShadowMap.cpp +++ /dev/null @@ -1,217 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osgShadow::StandardShadowMap, osgShadow::StandardShadowMap::ThisClass) - -TYPE_NAME_ALIAS(osgShadow::DebugShadowMap, osgShadow::StandardShadowMap::BaseClass) - -BEGIN_OBJECT_REFLECTOR(osgShadow::StandardShadowMap) - I_DeclaringFile("osgShadow/StandardShadowMap"); - I_BaseType(osgShadow::DebugShadowMap); - I_Constructor0(____StandardShadowMap, - "Classic OSG constructor. ", - ""); - I_ConstructorWithDefaults2(IN, const osgShadow::StandardShadowMap &, ssm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____StandardShadowMap__C5_StandardShadowMap_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setBaseTextureUnit, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __void__setBaseTextureUnit__unsigned_int, - "", - ""); - I_Method0(unsigned int, getBaseTextureUnit, - Properties::NON_VIRTUAL, - __unsigned_int__getBaseTextureUnit, - "", - ""); - I_Method1(void, setShadowTextureUnit, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __void__setShadowTextureUnit__unsigned_int, - "", - ""); - I_Method0(unsigned int, getShadowTextureUnit, - Properties::NON_VIRTUAL, - __unsigned_int__getShadowTextureUnit, - "", - ""); - I_Method1(void, setBaseTextureCoordIndex, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __void__setBaseTextureCoordIndex__unsigned_int, - "", - ""); - I_Method0(unsigned int, getBaseTextureCoordIndex, - Properties::NON_VIRTUAL, - __unsigned_int__getBaseTextureCoordIndex, - "", - ""); - I_Method1(void, setShadowTextureCoordIndex, IN, unsigned int, index, - Properties::NON_VIRTUAL, - __void__setShadowTextureCoordIndex__unsigned_int, - "", - ""); - I_Method0(unsigned int, getShadowTextureCoordIndex, - Properties::NON_VIRTUAL, - __unsigned_int__getShadowTextureCoordIndex, - "", - ""); - I_Method1(void, setTextureSize, IN, const osg::Vec2s &, textureSize, - Properties::NON_VIRTUAL, - __void__setTextureSize__C5_osg_Vec2s_R1, - "", - ""); - I_Method0(const osg::Vec2s &, getTextureSize, - Properties::NON_VIRTUAL, - __C5_osg_Vec2s_R1__getTextureSize, - "", - ""); - I_Method1(void, setLight, IN, osg::Light *, light, - Properties::NON_VIRTUAL, - __void__setLight__osg_Light_P1, - "", - ""); - I_Method0(osg::Light *, getLight, - Properties::NON_VIRTUAL, - __osg_Light_P1__getLight, - "", - ""); - I_Method0(const osg::Light *, getLight, - Properties::NON_VIRTUAL, - __C5_osg_Light_P1__getLight, - "", - ""); - I_Method0(osg::Shader *, getShadowVertexShader, - Properties::NON_VIRTUAL, - __osg_Shader_P1__getShadowVertexShader, - "", - ""); - I_Method0(osg::Shader *, getShadowFragmentShader, - Properties::NON_VIRTUAL, - __osg_Shader_P1__getShadowFragmentShader, - "", - ""); - I_Method0(osg::Shader *, getMainVertexShader, - Properties::NON_VIRTUAL, - __osg_Shader_P1__getMainVertexShader, - "", - ""); - I_Method0(osg::Shader *, getMainFragmentShader, - Properties::NON_VIRTUAL, - __osg_Shader_P1__getMainFragmentShader, - "", - ""); - I_Method1(void, setShadowVertexShader, IN, osg::Shader *, shader, - Properties::NON_VIRTUAL, - __void__setShadowVertexShader__osg_Shader_P1, - "", - ""); - I_Method1(void, setShadowFragmentShader, IN, osg::Shader *, shader, - Properties::NON_VIRTUAL, - __void__setShadowFragmentShader__osg_Shader_P1, - "", - ""); - I_Method1(void, setMainVertexShader, IN, osg::Shader *, shader, - Properties::NON_VIRTUAL, - __void__setMainVertexShader__osg_Shader_P1, - "", - ""); - I_Method1(void, setMainFragmentShader, IN, osg::Shader *, shader, - Properties::NON_VIRTUAL, - __void__setMainFragmentShader__osg_Shader_P1, - "", - ""); - I_ProtectedMethod2(void, updateTextureCoordIndices, IN, unsigned int, baseTexCoordIndex, IN, unsigned int, shadowTexCoordIndex, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__updateTextureCoordIndices__unsigned_int__unsigned_int, - "", - ""); - I_ProtectedMethod3(void, searchAndReplaceShaderSource, IN, osg::Shader *, x, IN, std::string, fromString, IN, std::string, toString, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__searchAndReplaceShaderSource__osg_Shader_P1__std_string__std_string, - "", - ""); - I_SimpleProperty(unsigned int, BaseTextureCoordIndex, - __unsigned_int__getBaseTextureCoordIndex, - __void__setBaseTextureCoordIndex__unsigned_int); - I_SimpleProperty(unsigned int, BaseTextureUnit, - __unsigned_int__getBaseTextureUnit, - __void__setBaseTextureUnit__unsigned_int); - I_SimpleProperty(osg::Light *, Light, - __osg_Light_P1__getLight, - __void__setLight__osg_Light_P1); - I_SimpleProperty(osg::Shader *, MainFragmentShader, - __osg_Shader_P1__getMainFragmentShader, - __void__setMainFragmentShader__osg_Shader_P1); - I_SimpleProperty(osg::Shader *, MainVertexShader, - __osg_Shader_P1__getMainVertexShader, - __void__setMainVertexShader__osg_Shader_P1); - I_SimpleProperty(osg::Shader *, ShadowFragmentShader, - __osg_Shader_P1__getShadowFragmentShader, - __void__setShadowFragmentShader__osg_Shader_P1); - I_SimpleProperty(unsigned int, ShadowTextureCoordIndex, - __unsigned_int__getShadowTextureCoordIndex, - __void__setShadowTextureCoordIndex__unsigned_int); - I_SimpleProperty(unsigned int, ShadowTextureUnit, - __unsigned_int__getShadowTextureUnit, - __void__setShadowTextureUnit__unsigned_int); - I_SimpleProperty(osg::Shader *, ShadowVertexShader, - __osg_Shader_P1__getShadowVertexShader, - __void__setShadowVertexShader__osg_Shader_P1); - I_SimpleProperty(const osg::Vec2s &, TextureSize, - __C5_osg_Vec2s_R1__getTextureSize, - __void__setTextureSize__C5_osg_Vec2s_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgShadow/ViewDependentShadowTechnique.cpp b/src/osgWrappers/introspection/osgShadow/ViewDependentShadowTechnique.cpp deleted file mode 100644 index bbf0d9e23..000000000 --- a/src/osgWrappers/introspection/osgShadow/ViewDependentShadowTechnique.cpp +++ /dev/null @@ -1,95 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgShadow::ViewDependentShadowTechnique) - I_DeclaringFile("osgShadow/ViewDependentShadowTechnique"); - I_BaseType(osgShadow::ShadowTechnique); - I_Constructor0(____ViewDependentShadowTechnique, - "osgShadow::ShadowTechnique equivalent methods for view dependent techniques ", - "Classic OSG constructor "); - I_ConstructorWithDefaults2(IN, const osgShadow::ViewDependentShadowTechnique &, vdst, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ViewDependentShadowTechnique__C5_ViewDependentShadowTechnique_R1__C5_osg_CopyOp_R1, - "Classic OSG cloning constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Declaration of standard OSG object methods. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, dirty, - Properties::VIRTUAL, - __void__dirty, - "Dirty view data bits and force update of view data resources. ", - ""); - I_Method0(void, init, - Properties::VIRTUAL, - __void__init, - "Initialize the ShadowedScene and some data structures. ", - ""); - I_Method1(void, update, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__update__osg_NodeVisitor_R1, - "Run the update traversal of the ShadowedScene and update any local cached data structures. ", - ""); - I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv, - Properties::VIRTUAL, - __void__cull__osgUtil_CullVisitor_R1, - "Run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ", - ""); - I_Method0(void, cleanSceneGraph, - Properties::VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any shadow technique specific nodes, state and drawables. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse shadow scene graph. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/BlinkSequence.cpp b/src/osgWrappers/introspection/osgSim/BlinkSequence.cpp deleted file mode 100644 index 619e2ed7d..000000000 --- a/src/osgWrappers/introspection/osgSim/BlinkSequence.cpp +++ /dev/null @@ -1,189 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgSim::BlinkSequence) - I_DeclaringFile("osgSim/BlinkSequence"); - I_BaseType(osg::Object); - I_Constructor0(____BlinkSequence, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::BlinkSequence &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____BlinkSequence__C5_BlinkSequence_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method2(void, addPulse, IN, double, length, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__addPulse__double__C5_osg_Vec4_R1, - "add a pulse of specified color and duration to the BlinkSequence. ", - ""); - I_Method0(int, getNumPulses, - Properties::NON_VIRTUAL, - __int__getNumPulses, - "return the number of pulses. ", - ""); - I_Method3(void, getPulse, IN, unsigned int, i, IN, double &, length, IN, osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__getPulse__unsigned_int__double_R1__osg_Vec4_R1, - "return the pulse data at position i. ", - ""); - I_Method3(void, setPulse, IN, unsigned int, i, IN, double, length, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setPulse__unsigned_int__double__C5_osg_Vec4_R1, - "set pulse of specified color and duration to the BlinkSequence. ", - ""); - I_Method0(double, getPulsePeriod, - Properties::NON_VIRTUAL, - __double__getPulsePeriod, - "get the total pulse period of the blink sequence, which is equal to the sum of all the pulse periods. ", - ""); - I_Method1(void, setSequenceGroup, IN, osgSim::SequenceGroup *, sg, - Properties::NON_VIRTUAL, - __void__setSequenceGroup__SequenceGroup_P1, - "set the sequence group which can be used to synchronize related blink sequences. ", - ""); - I_Method0(osgSim::SequenceGroup *, getSequenceGroup, - Properties::NON_VIRTUAL, - __SequenceGroup_P1__getSequenceGroup, - "get the non const sequence group. ", - ""); - I_Method0(const osgSim::SequenceGroup *, getSequenceGroup, - Properties::NON_VIRTUAL, - __C5_SequenceGroup_P1__getSequenceGroup, - "get the const sequence group. ", - ""); - I_Method1(void, setPhaseShift, IN, double, ps, - Properties::NON_VIRTUAL, - __void__setPhaseShift__double, - "set the phase shift of the blink sequence, this would be used to shift a sequence within a sequence group. ", - ""); - I_Method0(double, getPhaseShift, - Properties::NON_VIRTUAL, - __double__getPhaseShift, - "get the pahse shift. ", - ""); - I_Method1(double, localTime, IN, double, time, - Properties::NON_VIRTUAL, - __double__localTime__double, - "compute the local time clamped to this BlinkSequences period, and accounting for the phase shift and sequence group. ", - ""); - I_Method2(osg::Vec4, color, IN, double, time, IN, double, length, - Properties::NON_VIRTUAL, - __osg_Vec4__color__double__double, - "compute the color for the time interval sepecifed. ", - "Averages the colors if the length is greater than the current pulse. "); - I_SimpleProperty(double, PhaseShift, - __double__getPhaseShift, - __void__setPhaseShift__double); - I_SimpleProperty(double, PulsePeriod, - __double__getPulsePeriod, - 0); - I_SimpleProperty(osgSim::SequenceGroup *, SequenceGroup, - __SequenceGroup_P1__getSequenceGroup, - __void__setSequenceGroup__SequenceGroup_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::SequenceGroup) - I_DeclaringFile("osgSim/BlinkSequence"); - I_BaseType(osg::Object); - I_Constructor0(____SequenceGroup, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::SequenceGroup &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____SequenceGroup__C5_SequenceGroup_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Constructor1(IN, double, baseTime, - Properties::NON_EXPLICIT, - ____SequenceGroup__double, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setBaseTime, IN, double, t, - Properties::NON_VIRTUAL, - __void__setBaseTime__double, - "", - ""); - I_Method0(double, getBaseTime, - Properties::NON_VIRTUAL, - __double__getBaseTime, - "", - ""); - I_SimpleProperty(double, BaseTime, - __double__getBaseTime, - __void__setBaseTime__double); - I_PublicMemberProperty(double, _baseTime); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/ColorRange.cpp b/src/osgWrappers/introspection/osgSim/ColorRange.cpp deleted file mode 100644 index ea29e0575..000000000 --- a/src/osgWrappers/introspection/osgSim/ColorRange.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgSim::ColorRange) - I_DeclaringFile("osgSim/ColorRange"); - I_BaseType(osgSim::ScalarsToColors); - I_Constructor2(IN, float, min, IN, float, max, - ____ColorRange__float__float, - "Constructor for a ColorRange with a default list of colors set to Red-Yellow-Green-Blue-Cyan. ", - " param min minimum scalar value max maximum scalar value "); - I_Constructor3(IN, float, min, IN, float, max, IN, const std::vector< osg::Vec4 > &, colors, - ____ColorRange__float__float__C5_std_vectorT1_osg_Vec4__R1, - "Constructor for a ColorRange. ", - " param min minimum scalar value max maximum scalar value colors optional range of colors, "); - I_Method1(void, setColors, IN, const std::vector< osg::Vec4 > &, colors, - Properties::NON_VIRTUAL, - __void__setColors__C5_std_vectorT1_osg_Vec4__R1, - "Set the range of colors. ", - ""); - I_Method0(const std::vector< osg::Vec4 > &, getColors, - Properties::NON_VIRTUAL, - __C5_std_vectorT1_osg_Vec4__R1__getColors, - "Get the range of colors. ", - ""); - I_Method1(osg::Vec4, getColor, IN, float, scalar, - Properties::VIRTUAL, - __osg_Vec4__getColor__float, - "Get the color for a given scalar value. ", - ""); - I_SimpleProperty(const std::vector< osg::Vec4 > &, Colors, - __C5_std_vectorT1_osg_Vec4__R1__getColors, - __void__setColors__C5_std_vectorT1_osg_Vec4__R1); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::Vec4 >) - diff --git a/src/osgWrappers/introspection/osgSim/DOFTransform.cpp b/src/osgWrappers/introspection/osgSim/DOFTransform.cpp deleted file mode 100644 index 91122114b..000000000 --- a/src/osgWrappers/introspection/osgSim/DOFTransform.cpp +++ /dev/null @@ -1,337 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgSim::DOFTransform::MultOrder) - I_DeclaringFile("osgSim/DOFTransform"); - I_EnumLabel(osgSim::DOFTransform::PRH); - I_EnumLabel(osgSim::DOFTransform::PHR); - I_EnumLabel(osgSim::DOFTransform::HPR); - I_EnumLabel(osgSim::DOFTransform::HRP); - I_EnumLabel(osgSim::DOFTransform::RPH); - I_EnumLabel(osgSim::DOFTransform::RHP); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::DOFTransform) - I_DeclaringFile("osgSim/DOFTransform"); - I_BaseType(osg::Transform); - I_Constructor0(____DOFTransform, - "constructor ", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::DOFTransform &, dof, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____DOFTransform__C5_DOFTransform_R1__C5_osg_CopyOp_R1, - "copy constructor ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(void, setMinHPR, IN, const osg::Vec3 &, hpr, - Properties::NON_VIRTUAL, - __void__setMinHPR__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getMinHPR, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getMinHPR, - "", - ""); - I_Method1(void, setMaxHPR, IN, const osg::Vec3 &, hpr, - Properties::NON_VIRTUAL, - __void__setMaxHPR__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getMaxHPR, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getMaxHPR, - "", - ""); - I_Method1(void, setIncrementHPR, IN, const osg::Vec3 &, hpr, - Properties::NON_VIRTUAL, - __void__setIncrementHPR__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getIncrementHPR, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getIncrementHPR, - "", - ""); - I_Method1(void, setCurrentHPR, IN, const osg::Vec3 &, hpr, - Properties::NON_VIRTUAL, - __void__setCurrentHPR__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getCurrentHPR, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getCurrentHPR, - "", - ""); - I_Method1(void, updateCurrentHPR, IN, const osg::Vec3 &, hpr, - Properties::NON_VIRTUAL, - __void__updateCurrentHPR__C5_osg_Vec3_R1, - "", - ""); - I_Method1(void, setMinTranslate, IN, const osg::Vec3 &, translate, - Properties::NON_VIRTUAL, - __void__setMinTranslate__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getMinTranslate, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getMinTranslate, - "", - ""); - I_Method1(void, setMaxTranslate, IN, const osg::Vec3 &, translate, - Properties::NON_VIRTUAL, - __void__setMaxTranslate__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getMaxTranslate, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getMaxTranslate, - "", - ""); - I_Method1(void, setIncrementTranslate, IN, const osg::Vec3 &, translate, - Properties::NON_VIRTUAL, - __void__setIncrementTranslate__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getIncrementTranslate, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getIncrementTranslate, - "", - ""); - I_Method1(void, setCurrentTranslate, IN, const osg::Vec3 &, translate, - Properties::NON_VIRTUAL, - __void__setCurrentTranslate__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getCurrentTranslate, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getCurrentTranslate, - "", - ""); - I_Method1(void, updateCurrentTranslate, IN, const osg::Vec3 &, translate, - Properties::NON_VIRTUAL, - __void__updateCurrentTranslate__C5_osg_Vec3_R1, - "", - ""); - I_Method1(void, setMinScale, IN, const osg::Vec3 &, scale, - Properties::NON_VIRTUAL, - __void__setMinScale__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getMinScale, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getMinScale, - "", - ""); - I_Method1(void, setMaxScale, IN, const osg::Vec3 &, scale, - Properties::NON_VIRTUAL, - __void__setMaxScale__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getMaxScale, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getMaxScale, - "", - ""); - I_Method1(void, setIncrementScale, IN, const osg::Vec3 &, scale, - Properties::NON_VIRTUAL, - __void__setIncrementScale__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getIncrementScale, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getIncrementScale, - "", - ""); - I_Method1(void, setCurrentScale, IN, const osg::Vec3 &, scale, - Properties::NON_VIRTUAL, - __void__setCurrentScale__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getCurrentScale, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getCurrentScale, - "", - ""); - I_Method1(void, updateCurrentScale, IN, const osg::Vec3 &, scale, - Properties::NON_VIRTUAL, - __void__updateCurrentScale__C5_osg_Vec3_R1, - "", - ""); - I_Method1(void, setPutMatrix, IN, const osg::Matrix &, put, - Properties::NON_VIRTUAL, - __void__setPutMatrix__C5_osg_Matrix_R1, - "", - ""); - I_Method0(const osg::Matrix &, getPutMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getPutMatrix, - "", - ""); - I_Method1(void, setInversePutMatrix, IN, const osg::Matrix &, inversePut, - Properties::NON_VIRTUAL, - __void__setInversePutMatrix__C5_osg_Matrix_R1, - "", - ""); - I_Method0(const osg::Matrix &, getInversePutMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getInversePutMatrix, - "", - ""); - I_Method1(void, setLimitationFlags, IN, unsigned long, flags, - Properties::NON_VIRTUAL, - __void__setLimitationFlags__unsigned_long, - "", - ""); - I_Method0(unsigned long, getLimitationFlags, - Properties::NON_VIRTUAL, - __unsigned_long__getLimitationFlags, - "", - ""); - I_Method1(void, setHPRMultOrder, IN, osgSim::DOFTransform::MultOrder, order, - Properties::NON_VIRTUAL, - __void__setHPRMultOrder__MultOrder, - "", - ""); - I_Method0(osgSim::DOFTransform::MultOrder, getHPRMultOrder, - Properties::NON_VIRTUAL, - __MultOrder__getHPRMultOrder, - "", - ""); - I_Method1(void, setAnimationOn, IN, bool, do_animate, - Properties::NON_VIRTUAL, - __void__setAnimationOn__bool, - "", - ""); - I_Method0(bool, getAnimationOn, - Properties::NON_VIRTUAL, - __bool__getAnimationOn, - "", - ""); - I_Method1(void, animate, IN, float, deltaTime, - Properties::NON_VIRTUAL, - __void__animate__float, - "", - ""); - I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv, - Properties::VIRTUAL, - __bool__computeLocalToWorldMatrix__osg_Matrix_R1__osg_NodeVisitor_P1, - "", - ""); - I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv, - Properties::VIRTUAL, - __bool__computeWorldToLocalMatrix__osg_Matrix_R1__osg_NodeVisitor_P1, - "", - ""); - I_SimpleProperty(bool, AnimationOn, - __bool__getAnimationOn, - __void__setAnimationOn__bool); - I_SimpleProperty(const osg::Vec3 &, CurrentHPR, - __C5_osg_Vec3_R1__getCurrentHPR, - __void__setCurrentHPR__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, CurrentScale, - __C5_osg_Vec3_R1__getCurrentScale, - __void__setCurrentScale__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, CurrentTranslate, - __C5_osg_Vec3_R1__getCurrentTranslate, - __void__setCurrentTranslate__C5_osg_Vec3_R1); - I_SimpleProperty(osgSim::DOFTransform::MultOrder, HPRMultOrder, - __MultOrder__getHPRMultOrder, - __void__setHPRMultOrder__MultOrder); - I_SimpleProperty(const osg::Vec3 &, IncrementHPR, - __C5_osg_Vec3_R1__getIncrementHPR, - __void__setIncrementHPR__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, IncrementScale, - __C5_osg_Vec3_R1__getIncrementScale, - __void__setIncrementScale__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, IncrementTranslate, - __C5_osg_Vec3_R1__getIncrementTranslate, - __void__setIncrementTranslate__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Matrix &, InversePutMatrix, - __C5_osg_Matrix_R1__getInversePutMatrix, - __void__setInversePutMatrix__C5_osg_Matrix_R1); - I_SimpleProperty(unsigned long, LimitationFlags, - __unsigned_long__getLimitationFlags, - __void__setLimitationFlags__unsigned_long); - I_SimpleProperty(const osg::Vec3 &, MaxHPR, - __C5_osg_Vec3_R1__getMaxHPR, - __void__setMaxHPR__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, MaxScale, - __C5_osg_Vec3_R1__getMaxScale, - __void__setMaxScale__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, MaxTranslate, - __C5_osg_Vec3_R1__getMaxTranslate, - __void__setMaxTranslate__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, MinHPR, - __C5_osg_Vec3_R1__getMinHPR, - __void__setMinHPR__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, MinScale, - __C5_osg_Vec3_R1__getMinScale, - __void__setMinScale__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Vec3 &, MinTranslate, - __C5_osg_Vec3_R1__getMinTranslate, - __void__setMinTranslate__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Matrix &, PutMatrix, - __C5_osg_Matrix_R1__getPutMatrix, - __void__setPutMatrix__C5_osg_Matrix_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/ElevationSlice.cpp b/src/osgWrappers/introspection/osgSim/ElevationSlice.cpp deleted file mode 100644 index cd4081232..000000000 --- a/src/osgWrappers/introspection/osgSim/ElevationSlice.cpp +++ /dev/null @@ -1,113 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::Vec3d >, osgSim::ElevationSlice::Vec3dList) - -TYPE_NAME_ALIAS(std::pair< double COMMA double >, osgSim::ElevationSlice::DistanceHeight) - -TYPE_NAME_ALIAS(std::vector< osgSim::ElevationSlice::DistanceHeight >, osgSim::ElevationSlice::DistanceHeightList) - -BEGIN_VALUE_REFLECTOR(osgSim::ElevationSlice) - I_DeclaringFile("osgSim/ElevationSlice"); - I_Constructor0(____ElevationSlice, - "", - ""); - I_Method1(void, setStartPoint, IN, const osg::Vec3d &, startPoint, - Properties::NON_VIRTUAL, - __void__setStartPoint__C5_osg_Vec3d_R1, - "Set the start point of the slice. ", - ""); - I_Method0(const osg::Vec3d &, getStartPoint, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getStartPoint, - "Get the start point of the slice. ", - ""); - I_Method1(void, setEndPoint, IN, const osg::Vec3d &, endPoint, - Properties::NON_VIRTUAL, - __void__setEndPoint__C5_osg_Vec3d_R1, - "Set the end point of the slice. ", - ""); - I_Method0(const osg::Vec3d &, getEndPoint, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getEndPoint, - "Get the end point of the slice. ", - ""); - I_Method0(const osgSim::ElevationSlice::Vec3dList &, getIntersections, - Properties::NON_VIRTUAL, - __C5_Vec3dList_R1__getIntersections, - "Get the intersections in the form of a vector of Vec3d. ", - ""); - I_Method0(const osgSim::ElevationSlice::DistanceHeightList &, getDistanceHeightIntersections, - Properties::NON_VIRTUAL, - __C5_DistanceHeightList_R1__getDistanceHeightIntersections, - "Get the intersections in the form a vector of pair representing distance along the slice and height. ", - ""); - I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff, - Properties::NON_VIRTUAL, - __void__computeIntersections__osg_Node_P1__osg_Node_NodeMask, - "Compute the intersections with the specified scene graph, the results are stored in vectors of Vec3d. ", - "Note, if the topmost node is a CoordinateSystemNode then the input points are assumed to be geocentric, with the up vector defined by the EllipsoidModel attached to the CoordinateSystemNode. If the topmost node is not a CoordinateSystemNode then a local coordinates frame is assumed, with a local up vector. "); - I_Method0(void, clearDatabaseCache, - Properties::NON_VIRTUAL, - __void__clearDatabaseCache, - "Clear the database cache. ", - ""); - I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc, - Properties::NON_VIRTUAL, - __void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1, - "Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ", - "Note, if you have multiple LineOfSight or ElevationSlice objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. "); - I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback, - Properties::NON_VIRTUAL, - __DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback, - "Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ", - ""); - I_StaticMethodWithDefaults4(osgSim::ElevationSlice::Vec3dList, computeElevationSlice, IN, osg::Node *, scene, , IN, const osg::Vec3d &, startPoint, , IN, const osg::Vec3d &, endPoint, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff, - __Vec3dList__computeElevationSlice__osg_Node_P1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S, - "Compute the vertical distance between the specified scene graph and a single HAT point. ", - ""); - I_SimpleProperty(osgSim::DatabaseCacheReadCallback *, DatabaseCacheReadCallback, - __DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback, - __void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1); - I_SimpleProperty(const osgSim::ElevationSlice::DistanceHeightList &, DistanceHeightIntersections, - __C5_DistanceHeightList_R1__getDistanceHeightIntersections, - 0); - I_SimpleProperty(const osg::Vec3d &, EndPoint, - __C5_osg_Vec3d_R1__getEndPoint, - __void__setEndPoint__C5_osg_Vec3d_R1); - I_SimpleProperty(const osgSim::ElevationSlice::Vec3dList &, Intersections, - __C5_Vec3dList_R1__getIntersections, - 0); - I_SimpleProperty(const osg::Vec3d &, StartPoint, - __C5_osg_Vec3d_R1__getStartPoint, - __void__setStartPoint__C5_osg_Vec3d_R1); -END_REFLECTOR - -STD_PAIR_REFLECTOR(std::pair< double COMMA double >) - -STD_VECTOR_REFLECTOR(std::vector< osgSim::ElevationSlice::DistanceHeight >) - diff --git a/src/osgWrappers/introspection/osgSim/GeographicLocation.cpp b/src/osgWrappers/introspection/osgSim/GeographicLocation.cpp deleted file mode 100644 index ece822bed..000000000 --- a/src/osgWrappers/introspection/osgSim/GeographicLocation.cpp +++ /dev/null @@ -1,81 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgSim::GeographicLocation) - I_DeclaringFile("osgSim/GeographicLocation"); - I_BaseType(osg::Referenced); - I_Constructor0(____GeographicLocation, - "", - ""); - I_Constructor2(IN, double, lat, IN, double, lon, - ____GeographicLocation__double__double, - "", - ""); - I_Method0(double *, ptr, - Properties::NON_VIRTUAL, - __double_P1__ptr, - "", - ""); - I_Method0(const double *, ptr, - Properties::NON_VIRTUAL, - __C5_double_P1__ptr, - "", - ""); - I_Method2(void, set, IN, double, lat, IN, double, lon, - Properties::NON_VIRTUAL, - __void__set__double__double, - "", - ""); - I_Method0(double &, latitude, - Properties::NON_VIRTUAL, - __double_R1__latitude, - "", - ""); - I_Method0(double &, longitude, - Properties::NON_VIRTUAL, - __double_R1__longitude, - "", - ""); - I_Method0(double, latitude, - Properties::NON_VIRTUAL, - __double__latitude, - "", - ""); - I_Method0(double, longitude, - Properties::NON_VIRTUAL, - __double__longitude, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(bool, isNaN, - Properties::NON_VIRTUAL, - __bool__isNaN, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/HeightAboveTerrain.cpp b/src/osgWrappers/introspection/osgSim/HeightAboveTerrain.cpp deleted file mode 100644 index 50995ab60..000000000 --- a/src/osgWrappers/introspection/osgSim/HeightAboveTerrain.cpp +++ /dev/null @@ -1,111 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgSim::HeightAboveTerrain) - I_DeclaringFile("osgSim/HeightAboveTerrain"); - I_Constructor0(____HeightAboveTerrain, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "Clear the internal HAT List so it contains no height above terrain tests. ", - ""); - I_Method1(unsigned int, addPoint, IN, const osg::Vec3d &, point, - Properties::NON_VIRTUAL, - __unsigned_int__addPoint__C5_osg_Vec3d_R1, - "Add a height above terrain test point in the CoordinateFrame. ", - ""); - I_Method0(unsigned int, getNumPoints, - Properties::NON_VIRTUAL, - __unsigned_int__getNumPoints, - "Get the number of height above terrain tests. ", - ""); - I_Method2(void, setPoint, IN, unsigned int, i, IN, const osg::Vec3d &, point, - Properties::NON_VIRTUAL, - __void__setPoint__unsigned_int__C5_osg_Vec3d_R1, - "Set the source point of single height above terrain test. ", - ""); - I_Method1(const osg::Vec3d &, getPoint, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getPoint__unsigned_int, - "Get the source point of single height above terrain test. ", - ""); - I_Method1(double, getHeightAboveTerrain, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __double__getHeightAboveTerrain__unsigned_int, - "Get the intersection height for a single height above terrain test. ", - "Note, you must call computeIntersections(..) before you can query the HeightAboveTerrain. If no intersections are found then height returned will be the height above mean sea level. "); - I_Method1(void, setLowestHeight, IN, double, lowestHeight, - Properties::NON_VIRTUAL, - __void__setLowestHeight__double, - "Set the lowest height that the should be tested for. ", - "Defaults to -1000, i.e. 1000m below mean sea level. "); - I_Method0(double, getLowestHeight, - Properties::NON_VIRTUAL, - __double__getLowestHeight, - "Get the lowest height that the should be tested for. ", - ""); - I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff, - Properties::NON_VIRTUAL, - __void__computeIntersections__osg_Node_P1__osg_Node_NodeMask, - "Compute the HAT intersections with the specified scene graph. ", - "The results are all stored in the form of a single height above terrain value per HAT test. Note, if the topmost node is a CoordinateSystemNode then the input points are assumed to be geocentric, with the up vector defined by the EllipsoidModel attached to the CoordinateSystemNode. If the topmost node is not a CoordinateSystemNode then a local coordinates frame is assumed, with a local up vector. "); - I_Method0(void, clearDatabaseCache, - Properties::NON_VIRTUAL, - __void__clearDatabaseCache, - "Clear the database cache. ", - ""); - I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc, - Properties::NON_VIRTUAL, - __void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1, - "Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ", - "Note, if you have multiple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. "); - I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback, - Properties::NON_VIRTUAL, - __DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback, - "Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ", - ""); - I_StaticMethodWithDefaults3(double, computeHeightAboveTerrain, IN, osg::Node *, scene, , IN, const osg::Vec3d &, point, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff, - __double__computeHeightAboveTerrain__osg_Node_P1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S, - "Compute the vertical distance between the specified scene graph and a single HAT point. ", - ""); - I_SimpleProperty(osgSim::DatabaseCacheReadCallback *, DatabaseCacheReadCallback, - __DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback, - __void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1); - I_SimpleProperty(double, LowestHeight, - __double__getLowestHeight, - __void__setLowestHeight__double); - I_ArrayProperty(const osg::Vec3d &, Point, - __C5_osg_Vec3d_R1__getPoint__unsigned_int, - __void__setPoint__unsigned_int__C5_osg_Vec3d_R1, - __unsigned_int__getNumPoints, - __unsigned_int__addPoint__C5_osg_Vec3d_R1, - 0, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/Impostor.cpp b/src/osgWrappers/introspection/osgSim/Impostor.cpp deleted file mode 100644 index 1d71e4897..000000000 --- a/src/osgWrappers/introspection/osgSim/Impostor.cpp +++ /dev/null @@ -1,178 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgSim::ImpostorSprite > >, osgSim::Impostor::ImpostorSpriteList) - -BEGIN_OBJECT_REFLECTOR(osgSim::Impostor) - I_DeclaringFile("osgSim/Impostor"); - I_BaseType(osg::LOD); - I_Constructor0(____Impostor, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::Impostor &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Impostor__C5_Impostor_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(void, setImpostorThreshold, IN, float, distance, - Properties::NON_VIRTUAL, - __void__setImpostorThreshold__float, - "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. "); - I_Method0(float, getImpostorThreshold, - Properties::NON_VIRTUAL, - __float__getImpostorThreshold, - "", - ""); - I_MethodWithDefaults1(void, setImpostorThresholdToBound, IN, float, ratio, 1.0f, - Properties::NON_VIRTUAL, - __void__setImpostorThresholdToBound__float, - "Set the Impostor threshold distance relative to the node's bounding sphere's radius. ", - ""); - I_Method2(osgSim::ImpostorSprite *, findBestImpostorSprite, IN, unsigned int, contextID, IN, const osg::Vec3 &, currLocalEyePoint, - Properties::NON_VIRTUAL, - __ImpostorSprite_P1__findBestImpostorSprite__unsigned_int__C5_osg_Vec3_R1, - "Find the ImposterSprite which fits the current eye point best. ", - ""); - I_Method2(void, addImpostorSprite, IN, unsigned int, contextID, IN, osgSim::ImpostorSprite *, is, - Properties::NON_VIRTUAL, - __void__addImpostorSprite__unsigned_int__ImpostorSprite_P1, - "Add an ImpostorSprite to the Impostor. ", - ""); - I_Method1(osgSim::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID, - Properties::NON_VIRTUAL, - __ImpostorSpriteList_R1__getImpostorSpriteList__unsigned_int, - "Get the list of ImpostorSprites attached to this Impostor. ", - ""); - I_Method1(const osgSim::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID, - Properties::NON_VIRTUAL, - __C5_ImpostorSpriteList_R1__getImpostorSpriteList__unsigned_int, - "Get a const list of ImpostorSprites attached to this const Impostor. ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __osg_BoundingSphere__computeBound, - "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(). "); - I_ProtectedMethod1(osgSim::ImpostorSprite *, createImpostorSprite, IN, osgUtil::CullVisitor *, cv, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __ImpostorSprite_P1__createImpostorSprite__osgUtil_CullVisitor_P1, - "", - ""); - I_SimpleProperty(float, ImpostorThreshold, - __float__getImpostorThreshold, - __void__setImpostorThreshold__float); - I_SimpleProperty(float, ImpostorThresholdToBound, - 0, - __void__setImpostorThresholdToBound__float); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgSim::ImpostorSprite >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgSim::ImpostorSprite *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgSim::ImpostorSprite > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgSim::ImpostorSprite > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgSim::ImpostorSprite *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgSim::ImpostorSprite *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgSim::ImpostorSprite > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgSim::ImpostorSprite *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgSim::ImpostorSprite > >) - diff --git a/src/osgWrappers/introspection/osgSim/ImpostorSprite.cpp b/src/osgWrappers/introspection/osgSim/ImpostorSprite.cpp deleted file mode 100644 index bf99f0261..000000000 --- a/src/osgWrappers/introspection/osgSim/ImpostorSprite.cpp +++ /dev/null @@ -1,298 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgSim::ImpostorSprite) - I_DeclaringFile("osgSim/ImpostorSprite"); - I_BaseType(osg::Drawable); - I_Constructor0(____ImpostorSprite, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone an object of the same type as an ImpostorSprite. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone on ImpostorSprite just returns a clone of type, since it is not appropriate to share data of an ImpostorSprite. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setParent, IN, osgSim::Impostor *, parent, - Properties::NON_VIRTUAL, - __void__setParent__Impostor_P1, - "Set the parent, which must be an Impostor. ", - "Unlike conventional Drawables, ImpostorSprites can only ever have one parent. "); - I_Method0(osgSim::Impostor *, getParent, - Properties::NON_VIRTUAL, - __Impostor_P1__getParent, - "Get the parent, which is an Impostor. ", - ""); - I_Method0(const osgSim::Impostor *, getParent, - Properties::NON_VIRTUAL, - __C5_Impostor_P1__getParent, - "Get the const parent, which is an Impostor. ", - ""); - I_Method1(void, setStoredLocalEyePoint, IN, const osg::Vec3 &, v, - Properties::NON_VIRTUAL, - __void__setStoredLocalEyePoint__C5_osg_Vec3_R1, - "Set the eye point for when the ImpostorSprite was snapped. ", - ""); - I_Method0(const osg::Vec3 &, getStoredLocalEyePoint, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getStoredLocalEyePoint, - "Get the eye point for when the ImpostorSprite was snapped. ", - ""); - I_Method1(void, setLastFrameUsed, IN, int, frameNumber, - Properties::NON_VIRTUAL, - __void__setLastFrameUsed__int, - "Set the frame number for when the ImpostorSprite was last used in rendering. ", - ""); - I_Method0(int, getLastFrameUsed, - Properties::NON_VIRTUAL, - __int__getLastFrameUsed, - "Get the frame number for when the ImpostorSprite was last used in rendering. ", - ""); - I_Method0(osg::Vec3 *, getCoords, - Properties::NON_VIRTUAL, - __osg_Vec3_P1__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. "); - I_Method0(const osg::Vec3 *, getCoords, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_P1__getCoords, - "Get the const coordinates of the corners of the quad. ", - ""); - I_Method0(osg::Vec2 *, getTexCoords, - Properties::NON_VIRTUAL, - __osg_Vec2_P1__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. "); - I_Method0(const osg::Vec2 *, getTexCoords, - Properties::NON_VIRTUAL, - __C5_osg_Vec2_P1__getTexCoords, - "Get the const texture coordinates of the corners of the quad. ", - ""); - I_Method0(osg::Vec3 *, getControlCoords, - Properties::NON_VIRTUAL, - __osg_Vec3_P1__getControlCoords, - "Get the control coordinates of the corners of the quad. ", - "The control coordinates are the corners of the quad projected out onto the front face of bounding box which enclosed the impostor geometry when it was pre-rendered into the impostor sprite's texture. At the point of creation/or update of the impostor sprite the control coords will lie on top of the corners of the quad in screen space - with a pixel error of zero. Once the camera moves relative to the impostor sprite the control coords will no longer lie on top of the corners of the quad in screen space - a pixel error will have accumulated. This pixel error 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. "); - I_Method0(const osg::Vec3 *, getControlCoords, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_P1__getControlCoords, - "Get the const control coordinates of the corners of the quad. ", - ""); - I_Method1(float, calcPixelError, IN, const osg::Matrix &, MVPW, - Properties::NON_VIRTUAL, - __float__calcPixelError__C5_osg_Matrix_R1, - "Calculate the pixel error value for passing in the ModelViewProjectionWindow transform, which transform local coords into screen space. ", - ""); - I_Method3(void, setTexture, IN, osg::Texture2D *, tex, IN, int, s, IN, int, t, - Properties::NON_VIRTUAL, - __void__setTexture__osg_Texture2D_P1__int__int, - "", - ""); - I_Method0(osg::Texture2D *, getTexture, - Properties::NON_VIRTUAL, - __osg_Texture2D_P1__getTexture, - "", - ""); - I_Method0(const osg::Texture2D *, getTexture, - Properties::NON_VIRTUAL, - __C5_osg_Texture2D_P1__getTexture, - "", - ""); - I_Method0(int, s, - Properties::NON_VIRTUAL, - __int__s, - "", - ""); - I_Method0(int, t, - Properties::NON_VIRTUAL, - __int__t, - "", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1, - "Draw ImpostorSprite directly. ", - ""); - I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_Drawable_AttributeFunctor_R1, - "Return true, osg::ImpostorSprite does support accept(Drawable::AttributeFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, af, - Properties::VIRTUAL, - __void__accept__Drawable_AttributeFunctor_R1, - "Accept an Drawable::AttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ", - ""); - I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_Drawable_ConstAttributeFunctor_R1, - "Return true, osg::ImpostorSprite does support accept(Drawable::ConstAttributeFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af, - Properties::VIRTUAL, - __void__accept__Drawable_ConstAttributeFunctor_R1, - "Accept a Drawable::ConstAttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ", - ""); - I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_osg_PrimitiveFunctor_R1, - "Return true, osg::ImpostorSprite does support accept(PrimitiveFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf, - Properties::VIRTUAL, - __void__accept__osg_PrimitiveFunctor_R1, - "Accept a PrimtiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ", - ""); - I_Method0(osg::BoundingBox, computeBound, - Properties::VIRTUAL, - __osg_BoundingBox__computeBound, - "Compute the bounding box around Drawables's geometry. ", - ""); - I_Method1(void, setCamera, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - __void__setCamera__osg_Camera_P1, - "Set the camera node to use for pre rendering the impostor sprite's texture. ", - ""); - I_Method0(osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCamera, - "Get the camera node to use for pre rendering the impostor sprite's texture. ", - ""); - I_Method0(const osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCamera, - "Get the const camera node to use for pre rendering the impostor sprite's texture. ", - ""); - I_ProtectedConstructor1(IN, const osgSim::ImpostorSprite &, x, - Properties::NON_EXPLICIT, - ____ImpostorSprite__C5_ImpostorSprite_R1, - "", - ""); - I_SimpleProperty(osg::Camera *, Camera, - __osg_Camera_P1__getCamera, - __void__setCamera__osg_Camera_P1); - I_SimpleProperty(osg::Vec3 *, ControlCoords, - __osg_Vec3_P1__getControlCoords, - 0); - I_SimpleProperty(osg::Vec3 *, Coords, - __osg_Vec3_P1__getCoords, - 0); - I_SimpleProperty(int, LastFrameUsed, - __int__getLastFrameUsed, - __void__setLastFrameUsed__int); - I_SimpleProperty(osgSim::Impostor *, Parent, - __Impostor_P1__getParent, - __void__setParent__Impostor_P1); - I_SimpleProperty(const osg::Vec3 &, StoredLocalEyePoint, - __C5_osg_Vec3_R1__getStoredLocalEyePoint, - __void__setStoredLocalEyePoint__C5_osg_Vec3_R1); - I_SimpleProperty(osg::Vec2 *, TexCoords, - __osg_Vec2_P1__getTexCoords, - 0); - I_SimpleProperty(osg::Texture2D *, Texture, - __osg_Texture2D_P1__getTexture, - 0); - I_PublicMemberProperty(osg::Vec4, _color); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::ImpostorSpriteManager) - I_DeclaringFile("osgSim/ImpostorSprite"); - I_BaseType(osg::Referenced); - I_Constructor0(____ImpostorSpriteManager, - "", - ""); - I_Method0(bool, empty, - Properties::NON_VIRTUAL, - __bool__empty, - "", - ""); - I_Method0(osgSim::ImpostorSprite *, first, - Properties::NON_VIRTUAL, - __ImpostorSprite_P1__first, - "", - ""); - I_Method0(osgSim::ImpostorSprite *, last, - Properties::NON_VIRTUAL, - __ImpostorSprite_P1__last, - "", - ""); - I_Method1(void, push_back, IN, osgSim::ImpostorSprite *, is, - Properties::NON_VIRTUAL, - __void__push_back__ImpostorSprite_P1, - "", - ""); - I_Method1(void, remove, IN, osgSim::ImpostorSprite *, is, - Properties::NON_VIRTUAL, - __void__remove__ImpostorSprite_P1, - "", - ""); - I_Method3(osgSim::ImpostorSprite *, createOrReuseImpostorSprite, IN, int, s, IN, int, t, IN, int, frameNumber, - Properties::NON_VIRTUAL, - __ImpostorSprite_P1__createOrReuseImpostorSprite__int__int__int, - "", - ""); - I_Method0(osg::StateSet *, createOrReuseStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__createOrReuseStateSet, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/InsertImpostorsVisitor.cpp b/src/osgWrappers/introspection/osgSim/InsertImpostorsVisitor.cpp deleted file mode 100644 index bed551509..000000000 --- a/src/osgWrappers/introspection/osgSim/InsertImpostorsVisitor.cpp +++ /dev/null @@ -1,96 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgSim::InsertImpostorsVisitor) - I_DeclaringFile("osgSim/InsertImpostorsVisitor"); - I_BaseType(osg::NodeVisitor); - I_Constructor0(____InsertImpostorsVisitor, - "Default to traversing all children. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method1(void, setImpostorThresholdRatio, IN, float, ratio, - Properties::NON_VIRTUAL, - __void__setImpostorThresholdRatio__float, - "", - ""); - I_Method0(float, getImpostorThresholdRatio, - Properties::NON_VIRTUAL, - __float__getImpostorThresholdRatio, - "", - ""); - I_Method1(void, setMaximumNumberOfNestedImpostors, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setMaximumNumberOfNestedImpostors__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaximumNumberOfNestedImpostors, - Properties::NON_VIRTUAL, - __unsigned_int__getMaximumNumberOfNestedImpostors, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Empty visitor, make it ready for next traversal. ", - ""); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Group &, node, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LOD &, node, - Properties::VIRTUAL, - __void__apply__osg_LOD_R1, - "", - ""); - I_Method0(void, insertImpostors, - Properties::NON_VIRTUAL, - __void__insertImpostors, - "", - ""); - I_SimpleProperty(float, ImpostorThresholdRatio, - __float__getImpostorThresholdRatio, - __void__setImpostorThresholdRatio__float); - I_SimpleProperty(unsigned int, MaximumNumberOfNestedImpostors, - __unsigned_int__getMaximumNumberOfNestedImpostors, - __void__setMaximumNumberOfNestedImpostors__unsigned_int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/LightPoint.cpp b/src/osgWrappers/introspection/osgSim/LightPoint.cpp deleted file mode 100644 index 49050c311..000000000 --- a/src/osgWrappers/introspection/osgSim/LightPoint.cpp +++ /dev/null @@ -1,62 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgSim::LightPoint::BlendingMode) - I_DeclaringFile("osgSim/LightPoint"); - I_EnumLabel(osgSim::LightPoint::ADDITIVE); - I_EnumLabel(osgSim::LightPoint::BLENDED); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgSim::LightPoint) - I_DeclaringFile("osgSim/LightPoint"); - I_Constructor0(____LightPoint, - "", - ""); - I_Constructor2(IN, const osg::Vec3 &, position, IN, const osg::Vec4 &, color, - ____LightPoint__C5_osg_Vec3_R1__C5_osg_Vec4_R1, - "", - ""); - I_ConstructorWithDefaults8(IN, bool, on, , IN, const osg::Vec3 &, position, , IN, const osg::Vec4 &, color, , IN, float, intensity, 1.0f, IN, float, radius, 1.0f, IN, osgSim::Sector *, sector, 0, IN, osgSim::BlinkSequence *, blinkSequence, 0, IN, osgSim::LightPoint::BlendingMode, blendingMode, osgSim::LightPoint::BLENDED, - ____LightPoint__bool__C5_osg_Vec3_R1__C5_osg_Vec4_R1__float__float__Sector_P1__BlinkSequence_P1__BlendingMode, - "", - ""); - I_Constructor1(IN, const osgSim::LightPoint &, lp, - Properties::NON_EXPLICIT, - ____LightPoint__C5_LightPoint_R1, - "", - ""); - I_PublicMemberProperty(bool, _on); - I_PublicMemberProperty(osg::Vec3, _position); - I_PublicMemberProperty(osg::Vec4, _color); - I_PublicMemberProperty(float, _intensity); - I_PublicMemberProperty(float, _radius); - I_PublicMemberProperty(osg::ref_ptr< osgSim::Sector >, _sector); - I_PublicMemberProperty(osg::ref_ptr< osgSim::BlinkSequence >, _blinkSequence); - I_PublicMemberProperty(osgSim::LightPoint::BlendingMode, _blendingMode); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/LightPointNode.cpp b/src/osgWrappers/introspection/osgSim/LightPointNode.cpp deleted file mode 100644 index 3b400acf1..000000000 --- a/src/osgWrappers/introspection/osgSim/LightPointNode.cpp +++ /dev/null @@ -1,206 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osgSim::LightPoint >, osgSim::LightPointNode::LightPointList) - -BEGIN_OBJECT_REFLECTOR(osgSim::LightPointNode) - I_DeclaringFile("osgSim/LightPointNode"); - I_BaseType(osg::Node); - I_Constructor0(____LightPointNode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::LightPointNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LightPointNode__C5_LightPointNode_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method0(unsigned int, getNumLightPoints, - Properties::NON_VIRTUAL, - __unsigned_int__getNumLightPoints, - "", - ""); - I_Method1(unsigned int, addLightPoint, IN, const osgSim::LightPoint &, lp, - Properties::NON_VIRTUAL, - __unsigned_int__addLightPoint__C5_LightPoint_R1, - "", - ""); - I_Method1(void, removeLightPoint, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __void__removeLightPoint__unsigned_int, - "", - ""); - I_Method1(osgSim::LightPoint &, getLightPoint, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __LightPoint_R1__getLightPoint__unsigned_int, - "", - ""); - I_Method1(const osgSim::LightPoint &, getLightPoint, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __C5_LightPoint_R1__getLightPoint__unsigned_int, - "", - ""); - I_Method1(void, setLightPointList, IN, const osgSim::LightPointNode::LightPointList &, lpl, - Properties::NON_VIRTUAL, - __void__setLightPointList__C5_LightPointList_R1, - "", - ""); - I_Method0(osgSim::LightPointNode::LightPointList &, getLightPointList, - Properties::NON_VIRTUAL, - __LightPointList_R1__getLightPointList, - "", - ""); - I_Method0(const osgSim::LightPointNode::LightPointList &, getLightPointList, - Properties::NON_VIRTUAL, - __C5_LightPointList_R1__getLightPointList, - "", - ""); - I_Method1(void, setMinPixelSize, IN, float, minPixelSize, - Properties::NON_VIRTUAL, - __void__setMinPixelSize__float, - "", - ""); - I_Method0(float, getMinPixelSize, - Properties::NON_VIRTUAL, - __float__getMinPixelSize, - "", - ""); - I_Method1(void, setMaxPixelSize, IN, float, maxPixelSize, - Properties::NON_VIRTUAL, - __void__setMaxPixelSize__float, - "", - ""); - I_Method0(float, getMaxPixelSize, - Properties::NON_VIRTUAL, - __float__getMaxPixelSize, - "", - ""); - I_Method1(void, setMaxVisibleDistance2, IN, float, maxVisibleDistance2, - Properties::NON_VIRTUAL, - __void__setMaxVisibleDistance2__float, - "", - ""); - I_Method0(float, getMaxVisibleDistance2, - Properties::NON_VIRTUAL, - __float__getMaxVisibleDistance2, - "", - ""); - I_Method1(void, setLightPointSystem, IN, osgSim::LightPointSystem *, lps, - Properties::NON_VIRTUAL, - __void__setLightPointSystem__osgSim_LightPointSystem_P1, - "", - ""); - I_Method0(osgSim::LightPointSystem *, getLightPointSystem, - Properties::NON_VIRTUAL, - __osgSim_LightPointSystem_P1__getLightPointSystem, - "", - ""); - I_Method0(const osgSim::LightPointSystem *, getLightPointSystem, - Properties::NON_VIRTUAL, - __C5_osgSim_LightPointSystem_P1__getLightPointSystem, - "", - ""); - I_MethodWithDefaults1(void, setPointSprite, IN, bool, enable, true, - Properties::NON_VIRTUAL, - __void__setPointSprite__bool, - "", - ""); - I_Method0(bool, getPointSprite, - Properties::NON_VIRTUAL, - __bool__getPointSprite, - "", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __osg_BoundingSphere__computeBound, - "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(). "); - I_ArrayProperty(const osgSim::LightPoint &, LightPoint, - __C5_LightPoint_R1__getLightPoint__unsigned_int, - 0, - __unsigned_int__getNumLightPoints, - __unsigned_int__addLightPoint__C5_LightPoint_R1, - 0, - __void__removeLightPoint__unsigned_int); - I_SimpleProperty(const osgSim::LightPointNode::LightPointList &, LightPointList, - __C5_LightPointList_R1__getLightPointList, - __void__setLightPointList__C5_LightPointList_R1); - I_SimpleProperty(osgSim::LightPointSystem *, LightPointSystem, - __osgSim_LightPointSystem_P1__getLightPointSystem, - __void__setLightPointSystem__osgSim_LightPointSystem_P1); - I_SimpleProperty(float, MaxPixelSize, - __float__getMaxPixelSize, - __void__setMaxPixelSize__float); - I_SimpleProperty(float, MaxVisibleDistance2, - __float__getMaxVisibleDistance2, - __void__setMaxVisibleDistance2__float); - I_SimpleProperty(float, MinPixelSize, - __float__getMinPixelSize, - __void__setMinPixelSize__float); - I_SimpleProperty(bool, PointSprite, - __bool__getPointSprite, - __void__setPointSprite__bool); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osgSim::LightPoint >) - diff --git a/src/osgWrappers/introspection/osgSim/LightPointSystem.cpp b/src/osgWrappers/introspection/osgSim/LightPointSystem.cpp deleted file mode 100644 index 60288576a..000000000 --- a/src/osgWrappers/introspection/osgSim/LightPointSystem.cpp +++ /dev/null @@ -1,96 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgSim::LightPointSystem::AnimationState) - I_DeclaringFile("osgSim/LightPointSystem"); - I_EnumLabel(osgSim::LightPointSystem::ANIMATION_ON); - I_EnumLabel(osgSim::LightPointSystem::ANIMATION_OFF); - I_EnumLabel(osgSim::LightPointSystem::ANIMATION_RANDOM); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::LightPointSystem) - I_DeclaringFile("osgSim/LightPointSystem"); - I_BaseType(osg::Object); - I_Constructor0(____LightPointSystem, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::LightPointSystem &, lps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LightPointSystem__C5_LightPointSystem_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setIntensity, IN, float, intensity, - Properties::NON_VIRTUAL, - __void__setIntensity__float, - "", - ""); - I_Method0(float, getIntensity, - Properties::NON_VIRTUAL, - __float__getIntensity, - "", - ""); - I_Method1(void, setAnimationState, IN, osgSim::LightPointSystem::AnimationState, state, - Properties::NON_VIRTUAL, - __void__setAnimationState__LightPointSystem_AnimationState, - "", - ""); - I_Method0(osgSim::LightPointSystem::AnimationState, getAnimationState, - Properties::NON_VIRTUAL, - __LightPointSystem_AnimationState__getAnimationState, - "", - ""); - I_SimpleProperty(osgSim::LightPointSystem::AnimationState, AnimationState, - __LightPointSystem_AnimationState__getAnimationState, - __void__setAnimationState__LightPointSystem_AnimationState); - I_SimpleProperty(float, Intensity, - __float__getIntensity, - __void__setIntensity__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/LineOfSight.cpp b/src/osgWrappers/introspection/osgSim/LineOfSight.cpp deleted file mode 100644 index fd55eb68b..000000000 --- a/src/osgWrappers/introspection/osgSim/LineOfSight.cpp +++ /dev/null @@ -1,146 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgSim::DatabaseCacheReadCallback) - I_DeclaringFile("osgSim/LineOfSight"); - I_BaseType(osgUtil::IntersectionVisitor::ReadCallback); - I_Constructor0(____DatabaseCacheReadCallback, - "", - ""); - I_Method1(void, setMaximumNumOfFilesToCache, IN, unsigned int, maxNumFilesToCache, - Properties::NON_VIRTUAL, - __void__setMaximumNumOfFilesToCache__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaximumNumOfFilesToCache, - Properties::NON_VIRTUAL, - __unsigned_int__getMaximumNumOfFilesToCache, - "", - ""); - I_Method0(void, clearDatabaseCache, - Properties::NON_VIRTUAL, - __void__clearDatabaseCache, - "", - ""); - I_Method0(void, pruneUnusedDatabaseCache, - Properties::NON_VIRTUAL, - __void__pruneUnusedDatabaseCache, - "", - ""); - I_Method1(osg::Node *, readNodeFile, IN, const std::string &, filename, - Properties::VIRTUAL, - __osg_Node_P1__readNodeFile__C5_std_string_R1, - "", - ""); - I_SimpleProperty(unsigned int, MaximumNumOfFilesToCache, - __unsigned_int__getMaximumNumOfFilesToCache, - __void__setMaximumNumOfFilesToCache__unsigned_int); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::Vec3d >, osgSim::LineOfSight::Intersections) - -BEGIN_VALUE_REFLECTOR(osgSim::LineOfSight) - I_DeclaringFile("osgSim/LineOfSight"); - I_Constructor0(____LineOfSight, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "Clear the internal LOS List so it contains no line of sight tests. ", - ""); - I_Method2(unsigned int, addLOS, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end, - Properties::NON_VIRTUAL, - __unsigned_int__addLOS__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1, - "Add a line of sight test, consisting of start and end point. ", - "Returns the index number of the newly adding LOS test. "); - I_Method0(unsigned int, getNumLOS, - Properties::NON_VIRTUAL, - __unsigned_int__getNumLOS, - "Get the number of line of sight tests. ", - ""); - I_Method2(void, setStartPoint, IN, unsigned int, i, IN, const osg::Vec3d &, start, - Properties::NON_VIRTUAL, - __void__setStartPoint__unsigned_int__C5_osg_Vec3d_R1, - "Set the start point of single line of sight test. ", - ""); - I_Method1(const osg::Vec3d &, getStartPoint, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getStartPoint__unsigned_int, - "Get the start point of single line of sight test. ", - ""); - I_Method2(void, setEndPoint, IN, unsigned int, i, IN, const osg::Vec3d &, end, - Properties::NON_VIRTUAL, - __void__setEndPoint__unsigned_int__C5_osg_Vec3d_R1, - "Set the end point of single line of sight test. ", - ""); - I_Method1(const osg::Vec3d &, getEndPoint, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getEndPoint__unsigned_int, - "Get the end point of single line of sight test. ", - ""); - I_Method1(const osgSim::LineOfSight::Intersections &, getIntersections, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Intersections_R1__getIntersections__unsigned_int, - "Get the intersection points for a single line of sight test. ", - ""); - I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff, - Properties::NON_VIRTUAL, - __void__computeIntersections__osg_Node_P1__osg_Node_NodeMask, - "Compute the LOS intersections with the specified scene graph. ", - "The results are all stored in the form of Intersections list, one per LOS test. "); - I_Method0(void, clearDatabaseCache, - Properties::NON_VIRTUAL, - __void__clearDatabaseCache, - "Clear the database cache. ", - ""); - I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc, - Properties::NON_VIRTUAL, - __void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1, - "Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ", - "Note, if you have multiple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. "); - I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback, - Properties::NON_VIRTUAL, - __DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback, - "Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ", - ""); - I_StaticMethodWithDefaults4(osgSim::LineOfSight::Intersections, computeIntersections, IN, osg::Node *, scene, , IN, const osg::Vec3d &, start, , IN, const osg::Vec3d &, end, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff, - __Intersections__computeIntersections__osg_Node_P1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S, - "Compute the intersection between the specified scene graph and a single LOS start,end pair. ", - "Returns an IntersectionList, of all the points intersected. "); - I_SimpleProperty(osgSim::DatabaseCacheReadCallback *, DatabaseCacheReadCallback, - __DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback, - __void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1); - I_IndexedProperty(const osg::Vec3d &, EndPoint, - __C5_osg_Vec3d_R1__getEndPoint__unsigned_int, - __void__setEndPoint__unsigned_int__C5_osg_Vec3d_R1, - 0); - I_IndexedProperty(const osg::Vec3d &, StartPoint, - __C5_osg_Vec3d_R1__getStartPoint__unsigned_int, - __void__setStartPoint__unsigned_int__C5_osg_Vec3d_R1, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/MultiSwitch.cpp b/src/osgWrappers/introspection/osgSim/MultiSwitch.cpp deleted file mode 100644 index 821eeac4e..000000000 --- a/src/osgWrappers/introspection/osgSim/MultiSwitch.cpp +++ /dev/null @@ -1,204 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< bool >, osgSim::MultiSwitch::ValueList) - -TYPE_NAME_ALIAS(std::vector< osgSim::MultiSwitch::ValueList >, osgSim::MultiSwitch::SwitchSetList) - -BEGIN_OBJECT_REFLECTOR(osgSim::MultiSwitch) - I_DeclaringFile("osgSim/MultiSwitch"); - I_BaseType(osg::Group); - I_Constructor0(____MultiSwitch, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::MultiSwitch &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____MultiSwitch__C5_MultiSwitch_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(void, setNewChildDefaultValue, IN, bool, value, - Properties::NON_VIRTUAL, - __void__setNewChildDefaultValue__bool, - "", - ""); - I_Method0(bool, getNewChildDefaultValue, - Properties::NON_VIRTUAL, - __bool__getNewChildDefaultValue, - "", - ""); - I_Method1(bool, addChild, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__addChild__osg_Node_P1, - "Add Node to Group. ", - "If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. "); - I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__insertChild__unsigned_int__osg_Node_P1, - "Insert Node to Group at specific location. ", - "The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation. "); - I_Method1(bool, removeChild, IN, osg::Node *, child, - Properties::VIRTUAL, - __bool__removeChild__osg_Node_P1, - "Remove Node from Group. ", - "If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required. "); - I_Method3(void, setValue, IN, unsigned int, switchSet, IN, unsigned int, pos, IN, bool, value, - Properties::NON_VIRTUAL, - __void__setValue__unsigned_int__unsigned_int__bool, - "", - ""); - I_Method2(bool, getValue, IN, unsigned int, switchSet, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int, - "", - ""); - I_Method3(void, setChildValue, IN, const osg::Node *, child, IN, unsigned int, switchSet, IN, bool, value, - Properties::NON_VIRTUAL, - __void__setChildValue__C5_osg_Node_P1__unsigned_int__bool, - "", - ""); - I_Method2(bool, getChildValue, IN, const osg::Node *, child, IN, unsigned int, switchSet, - Properties::NON_VIRTUAL, - __bool__getChildValue__C5_osg_Node_P1__unsigned_int, - "", - ""); - I_Method1(bool, setAllChildrenOff, IN, unsigned int, switchSet, - Properties::NON_VIRTUAL, - __bool__setAllChildrenOff__unsigned_int, - "Set all the children off (false), and set the new default child value to off (false). ", - ""); - I_Method1(bool, setAllChildrenOn, IN, unsigned int, switchSet, - Properties::NON_VIRTUAL, - __bool__setAllChildrenOn__unsigned_int, - "Set all the children on (true), and set the new default child value to on (true). ", - ""); - I_Method2(bool, setSingleChildOn, IN, unsigned int, switchSet, IN, unsigned int, pos, - Properties::NON_VIRTUAL, - __bool__setSingleChildOn__unsigned_int__unsigned_int, - "Set a single child to be on, MultiSwitch off all other children. ", - ""); - I_Method1(void, setActiveSwitchSet, IN, unsigned int, switchSet, - Properties::NON_VIRTUAL, - __void__setActiveSwitchSet__unsigned_int, - "Set which of the available switch set lists to use. ", - ""); - I_Method0(unsigned int, getActiveSwitchSet, - Properties::NON_VIRTUAL, - __unsigned_int__getActiveSwitchSet, - "Get which of the available switch set lists to use. ", - ""); - I_Method1(void, setSwitchSetList, IN, const osgSim::MultiSwitch::SwitchSetList &, switchSetList, - Properties::NON_VIRTUAL, - __void__setSwitchSetList__C5_SwitchSetList_R1, - "Set the compile set of different values. ", - ""); - I_Method0(const osgSim::MultiSwitch::SwitchSetList &, getSwitchSetList, - Properties::NON_VIRTUAL, - __C5_SwitchSetList_R1__getSwitchSetList, - "Get the compile set of different values. ", - ""); - I_Method2(void, setValueList, IN, unsigned int, switchSet, IN, const osgSim::MultiSwitch::ValueList &, values, - Properties::NON_VIRTUAL, - __void__setValueList__unsigned_int__C5_ValueList_R1, - "Set the a single set of different values for a particular switch set. ", - ""); - I_Method1(const osgSim::MultiSwitch::ValueList &, getValueList, IN, unsigned int, switchSet, - Properties::NON_VIRTUAL, - __C5_ValueList_R1__getValueList__unsigned_int, - "Get the a single set of different values for a particular switch set. ", - ""); - I_ProtectedMethod1(void, expandToEncompassSwitchSet, IN, unsigned int, switchSet, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__expandToEncompassSwitchSet__unsigned_int, - "", - ""); - I_SimpleProperty(unsigned int, ActiveSwitchSet, - __unsigned_int__getActiveSwitchSet, - __void__setActiveSwitchSet__unsigned_int); - I_SimpleProperty(unsigned int, AllChildrenOff, - 0, - __bool__setAllChildrenOff__unsigned_int); - I_SimpleProperty(unsigned int, AllChildrenOn, - 0, - __bool__setAllChildrenOn__unsigned_int); - I_IndexedProperty(bool, ChildValue, - __bool__getChildValue__C5_osg_Node_P1__unsigned_int, - __void__setChildValue__C5_osg_Node_P1__unsigned_int__bool, - 0); - I_SimpleProperty(bool, NewChildDefaultValue, - __bool__getNewChildDefaultValue, - __void__setNewChildDefaultValue__bool); - I_SimpleProperty(const osgSim::MultiSwitch::SwitchSetList &, SwitchSetList, - __C5_SwitchSetList_R1__getSwitchSetList, - __void__setSwitchSetList__C5_SwitchSetList_R1); - I_IndexedProperty(bool, Value, - __bool__getValue__unsigned_int__unsigned_int, - __void__setValue__unsigned_int__unsigned_int__bool, - 0); - I_IndexedProperty(const osgSim::MultiSwitch::ValueList &, ValueList, - __C5_ValueList_R1__getValueList__unsigned_int, - __void__setValueList__unsigned_int__C5_ValueList_R1, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osgSim::MultiSwitch::ValueList >) - diff --git a/src/osgWrappers/introspection/osgSim/ObjectRecordData.cpp b/src/osgWrappers/introspection/osgSim/ObjectRecordData.cpp deleted file mode 100644 index 59bfd7b0e..000000000 --- a/src/osgWrappers/introspection/osgSim/ObjectRecordData.cpp +++ /dev/null @@ -1,69 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgSim::ObjectRecordData) - I_DeclaringFile("osgSim/ObjectRecordData"); - I_BaseType(osg::Object); - I_Constructor0(____ObjectRecordData, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::ObjectRecordData &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ObjectRecordData__C5_ObjectRecordData_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_PublicMemberProperty(unsigned int, _flags); - I_PublicMemberProperty(short, _relativePriority); - I_PublicMemberProperty(unsigned short, _transparency); - I_PublicMemberProperty(short, _effectID1); - I_PublicMemberProperty(short, _effectID2); - I_PublicMemberProperty(short, _significance); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/OverlayNode.cpp b/src/osgWrappers/introspection/osgSim/OverlayNode.cpp deleted file mode 100644 index 3e48b8224..000000000 --- a/src/osgWrappers/introspection/osgSim/OverlayNode.cpp +++ /dev/null @@ -1,276 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgSim::OverlayNode::OverlayTechnique) - I_DeclaringFile("osgSim/OverlayNode"); - I_EnumLabel(osgSim::OverlayNode::OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY); - I_EnumLabel(osgSim::OverlayNode::VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY); - I_EnumLabel(osgSim::OverlayNode::VIEW_DEPENDENT_WITH_PERSPECTIVE_OVERLAY); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::OverlayNode) - I_DeclaringFile("osgSim/OverlayNode"); - I_BaseType(osg::Group); - I_ConstructorWithDefaults1(IN, osgSim::OverlayNode::OverlayTechnique, technique, osgSim::OverlayNode::OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY, - Properties::NON_EXPLICIT, - ____OverlayNode__OverlayTechnique, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::OverlayNode &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____OverlayNode__C5_OverlayNode_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(void, setOverlayTechnique, IN, osgSim::OverlayNode::OverlayTechnique, technique, - Properties::NON_VIRTUAL, - __void__setOverlayTechnique__OverlayTechnique, - "", - ""); - I_Method0(osgSim::OverlayNode::OverlayTechnique, getOverlayTechnique, - Properties::NON_VIRTUAL, - __OverlayTechnique__getOverlayTechnique, - "", - ""); - I_Method1(void, setRenderTargetImplementation, IN, osg::Camera::RenderTargetImplementation, impl, - Properties::NON_VIRTUAL, - __void__setRenderTargetImplementation__osg_Camera_RenderTargetImplementation, - "Set the implementation to be used when creating the overlay texture. ", - ""); - I_Method1(void, setOverlaySubgraph, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__setOverlaySubgraph__osg_Node_P1, - "Set the overlay subgraph which will be rendered to texture. ", - ""); - I_Method0(osg::Node *, getOverlaySubgraph, - Properties::NON_VIRTUAL, - __osg_Node_P1__getOverlaySubgraph, - "Get the overlay subgraph which will be rendered to texture. ", - ""); - I_Method0(const osg::Node *, getOverlaySubgraph, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getOverlaySubgraph, - "Get the const overlay subgraph which will be render to texture. ", - ""); - I_Method0(void, dirtyOverlayTexture, - Properties::NON_VIRTUAL, - __void__dirtyOverlayTexture, - "Inform the OverlayNode that the overlay texture needs to be updated. ", - ""); - I_Method1(void, setContinuousUpdate, IN, bool, update, - Properties::NON_VIRTUAL, - __void__setContinuousUpdate__bool, - "Set whether the OverlayNode should update the overlay texture on every frame. ", - ""); - I_Method0(bool, getContinuousUpdate, - Properties::NON_VIRTUAL, - __bool__getContinuousUpdate, - "Get whether the OverlayNode should update the overlay texture on every frame. ", - ""); - I_Method1(void, setOverlayBaseHeight, IN, double, baseHeight, - Properties::NON_VIRTUAL, - __void__setOverlayBaseHeight__double, - "Set the base height that the overlay subgraph will be projected down to. ", - "Normally you'll set this to just below ground level, if you set it too high then the overlay texture can end up being clipped in certain viewing directions, while if its too low then there will be a limit to how close you can get to the terrain before pixaltion becomes an issue. "); - I_Method0(double, getOverlayBaseHeight, - Properties::NON_VIRTUAL, - __double__getOverlayBaseHeight, - "Get the base height that the overlay subgraph will be projected down to. ", - ""); - I_Method1(void, setOverlayClearColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setOverlayClearColor__C5_osg_Vec4_R1, - "Set the clear color to use when rendering the overlay subgraph. ", - ""); - I_Method0(const osg::Vec4 &, getOverlayClearColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getOverlayClearColor, - "Get the clear color to use when rendering the overlay subgraph. ", - ""); - I_Method1(void, setTexEnvMode, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__setTexEnvMode__GLenum, - "Set the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph. ", - ""); - I_Method0(GLenum, getTexEnvMode, - Properties::NON_VIRTUAL, - __GLenum__getTexEnvMode, - "Get the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph. ", - ""); - I_Method1(void, setOverlayTextureUnit, IN, unsigned int, unit, - Properties::NON_VIRTUAL, - __void__setOverlayTextureUnit__unsigned_int, - "Set the texture unit that the texture should be assigned to. ", - ""); - I_Method0(unsigned int, getOverlayTextureUnit, - Properties::NON_VIRTUAL, - __unsigned_int__getOverlayTextureUnit, - "Get the texture unit that the texture should be assigned to. ", - ""); - I_Method1(void, setOverlayTextureSizeHint, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setOverlayTextureSizeHint__unsigned_int, - "Set the texture size hint. ", - "The size hint is used to request a texture of specified size. "); - I_Method0(unsigned int, getOverlayTextureSizeHint, - Properties::NON_VIRTUAL, - __unsigned_int__getOverlayTextureSizeHint, - "Get the texture size hint. ", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objexts for all graphics contexts. "); - I_ProtectedMethod0(void, init, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__init, - "", - ""); - I_ProtectedMethod0(void, init_OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__init_OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY, - "", - ""); - I_ProtectedMethod0(void, init_VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__init_VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY, - "", - ""); - I_ProtectedMethod0(void, init_VIEW_DEPENDENT_WITH_PERSPECTIVE_OVERLAY, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__init_VIEW_DEPENDENT_WITH_PERSPECTIVE_OVERLAY, - "", - ""); - I_ProtectedMethod1(void, traverse_OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY, IN, osg::NodeVisitor &, nv, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__traverse_OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY__osg_NodeVisitor_R1, - "", - ""); - I_ProtectedMethod1(void, traverse_VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY, IN, osg::NodeVisitor &, nv, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__traverse_VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY__osg_NodeVisitor_R1, - "", - ""); - I_ProtectedMethod1(void, traverse_VIEW_DEPENDENT_WITH_PERSPECTIVE_OVERLAY, IN, osg::NodeVisitor &, nv, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__traverse_VIEW_DEPENDENT_WITH_PERSPECTIVE_OVERLAY__osg_NodeVisitor_R1, - "", - ""); - I_ProtectedMethod0(void, updateMainSubgraphStateSet, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__updateMainSubgraphStateSet, - "", - ""); - - I_SimpleProperty(bool, ContinuousUpdate, - __bool__getContinuousUpdate, - __void__setContinuousUpdate__bool); - I_SimpleProperty(double, OverlayBaseHeight, - __double__getOverlayBaseHeight, - __void__setOverlayBaseHeight__double); - I_SimpleProperty(const osg::Vec4 &, OverlayClearColor, - __C5_osg_Vec4_R1__getOverlayClearColor, - __void__setOverlayClearColor__C5_osg_Vec4_R1); - I_SimpleProperty(osg::Node *, OverlaySubgraph, - __osg_Node_P1__getOverlaySubgraph, - __void__setOverlaySubgraph__osg_Node_P1); - I_SimpleProperty(osgSim::OverlayNode::OverlayTechnique, OverlayTechnique, - __OverlayTechnique__getOverlayTechnique, - __void__setOverlayTechnique__OverlayTechnique); - I_SimpleProperty(unsigned int, OverlayTextureSizeHint, - __unsigned_int__getOverlayTextureSizeHint, - __void__setOverlayTextureSizeHint__unsigned_int); - I_SimpleProperty(unsigned int, OverlayTextureUnit, - __unsigned_int__getOverlayTextureUnit, - __void__setOverlayTextureUnit__unsigned_int); - I_SimpleProperty(osg::Camera::RenderTargetImplementation, RenderTargetImplementation, - 0, - __void__setRenderTargetImplementation__osg_Camera_RenderTargetImplementation); - I_SimpleProperty(GLenum, TexEnvMode, - __GLenum__getTexEnvMode, - __void__setTexEnvMode__GLenum); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/ScalarBar.cpp b/src/osgWrappers/introspection/osgSim/ScalarBar.cpp deleted file mode 100644 index 07ff1a7eb..000000000 --- a/src/osgWrappers/introspection/osgSim/ScalarBar.cpp +++ /dev/null @@ -1,246 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgSim::ScalarBar::Orientation) - I_DeclaringFile("osgSim/ScalarBar"); - I_EnumLabel(osgSim::ScalarBar::HORIZONTAL); - I_EnumLabel(osgSim::ScalarBar::VERTICAL); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar) - I_DeclaringFile("osgSim/ScalarBar"); - I_BaseType(osg::Geode); - I_Constructor0(____ScalarBar, - "Default constructor. ", - ""); - I_ConstructorWithDefaults7(IN, int, numColors, , IN, int, numLabels, , IN, osgSim::ScalarsToColors *, stc, , IN, const std::string &, title, , IN, osgSim::ScalarBar::Orientation, orientation, osgSim::ScalarBar::HORIZONTAL, IN, float, aspectRatio, 0.25, IN, osgSim::ScalarBar::ScalarPrinter *, sp, new osgSim::ScalarBar::ScalarPrinter, - ____ScalarBar__int__int__ScalarsToColors_P1__C5_std_string_R1__Orientation__float__ScalarPrinter_P1, - "Construct a ScalarBar with the supplied parameters. ", - " param numColors Specify the number of colors in the scalar bar. Color interpolation occurs where necessary. numLabels Specify the number of labels in the scalar bar. stc The ScalarsToColors defining the range of scalars and the colors they map to. title The title to be used when displaying the ScalarBar. Specify \"\" for no title. orientation The orientation of the ScalarBar. param aspectRatio The aspect ration (y/x) for the displayed bar. Bear in mind you may want to change this if you change the orientation. sp A ScalarPrinter object for the ScalarBar. For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish. see Orientation. see ScalarPrinter "); - I_Constructor2(IN, const osgSim::ScalarBar &, rhs, IN, const osg::CopyOp &, co, - ____ScalarBar__C5_ScalarBar_R1__C5_osg_CopyOp_R1, - "Copy constructor. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, setNumColors, IN, int, numColors, - Properties::NON_VIRTUAL, - __void__setNumColors__int, - "Set the number of distinct colours on the ScalarBar. ", - ""); - I_Method0(int, getNumColors, - Properties::NON_VIRTUAL, - __int__getNumColors, - "Get the number of distinct colours on the ScalarBar. ", - ""); - I_Method1(void, setNumLabels, IN, int, numLabels, - Properties::NON_VIRTUAL, - __void__setNumLabels__int, - "Set the number of labels to display along the ScalarBar. ", - "There will be one label at each end point, and evenly distributed labels in between. "); - I_Method0(int, getNumLabels, - Properties::NON_VIRTUAL, - __int__getNumLabels, - "Get the number of labels displayed along the ScalarBar. ", - ""); - I_Method1(void, setScalarsToColors, IN, osgSim::ScalarsToColors *, stc, - Properties::NON_VIRTUAL, - __void__setScalarsToColors__ScalarsToColors_P1, - "Set the ScalarsToColors mapping object for the ScalarBar. ", - ""); - I_Method0(const osgSim::ScalarsToColors *, getScalarsToColors, - Properties::NON_VIRTUAL, - __C5_ScalarsToColors_P1__getScalarsToColors, - "Get the ScalarsToColors mapping object from the ScalarBar. ", - ""); - I_Method1(void, setTitle, IN, const std::string &, title, - Properties::NON_VIRTUAL, - __void__setTitle__C5_std_string_R1, - "Set the title for the ScalarBar, set \"\" for no title. ", - ""); - I_Method0(const std::string &, getTitle, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getTitle, - "Get the title for the ScalarBar. ", - ""); - I_Method1(void, setPosition, IN, const osg::Vec3 &, pos, - Properties::NON_VIRTUAL, - __void__setPosition__C5_osg_Vec3_R1, - "Set the position of scalar bar's lower left corner. ", - ""); - I_Method0(const osg::Vec3 &, getPosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getPosition, - "Get the position of scalar bar. ", - ""); - I_Method1(void, setWidth, IN, float, width, - Properties::NON_VIRTUAL, - __void__setWidth__float, - "Set the width of the scalar bar. ", - ""); - I_Method0(float, getWidth, - Properties::NON_VIRTUAL, - __float__getWidth, - "Get the width of the scalar bar. ", - ""); - I_Method1(void, setAspectRatio, IN, float, aspectRatio, - Properties::NON_VIRTUAL, - __void__setAspectRatio__float, - "Set the aspect ration (y/x) for the displayed bar. ", - "Bear in mind you may want to change this if you change the orientation. "); - I_Method0(float, getAspectRatio, - Properties::NON_VIRTUAL, - __float__getAspectRatio, - "Get the aspect ration (y/x) for the displayed bar. ", - ""); - I_Method1(void, setOrientation, IN, osgSim::ScalarBar::Orientation, orientation, - Properties::NON_VIRTUAL, - __void__setOrientation__ScalarBar_Orientation, - "Set the orientation of the ScalarBar. ", - "Orientation "); - I_Method0(osgSim::ScalarBar::Orientation, getOrientation, - Properties::NON_VIRTUAL, - __ScalarBar_Orientation__getOrientation, - "Get the orientation of the ScalarBar. ", - "Orientation "); - I_Method1(void, setScalarPrinter, IN, osgSim::ScalarBar::ScalarPrinter *, sp, - Properties::NON_VIRTUAL, - __void__setScalarPrinter__ScalarPrinter_P1, - "Set a ScalarPrinter object for the ScalarBar. ", - "For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish. ScalarPrinter "); - I_Method0(const osgSim::ScalarBar::ScalarPrinter *, getScalarPrinter, - Properties::NON_VIRTUAL, - __C5_ScalarPrinter_P1__getScalarPrinter, - "Get the ScalarPrinter object. ", - ""); - I_Method1(void, setTextProperties, IN, const osgSim::ScalarBar::TextProperties &, tp, - Properties::NON_VIRTUAL, - __void__setTextProperties__C5_TextProperties_R1, - "Set the TextProperties for the labels & title. ", - "TextProperties "); - I_Method0(const osgSim::ScalarBar::TextProperties &, getTextProperties, - Properties::NON_VIRTUAL, - __C5_TextProperties_R1__getTextProperties, - "Get the TextProperties for the labels & title. ", - "TextProperties "); - I_Method0(void, update, - Properties::NON_VIRTUAL, - __void__update, - "force update the drawables used to render the scalar bar. ", - ""); - I_ProtectedMethod0(void, createDrawables, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__createDrawables, - "", - ""); - I_SimpleProperty(float, AspectRatio, - __float__getAspectRatio, - __void__setAspectRatio__float); - I_SimpleProperty(int, NumColors, - 0, - __void__setNumColors__int); - I_SimpleProperty(int, NumLabels, - 0, - __void__setNumLabels__int); - I_SimpleProperty(osgSim::ScalarBar::Orientation, Orientation, - __ScalarBar_Orientation__getOrientation, - __void__setOrientation__ScalarBar_Orientation); - I_SimpleProperty(const osg::Vec3 &, Position, - __C5_osg_Vec3_R1__getPosition, - __void__setPosition__C5_osg_Vec3_R1); - I_SimpleProperty(osgSim::ScalarBar::ScalarPrinter *, ScalarPrinter, - 0, - __void__setScalarPrinter__ScalarPrinter_P1); - I_SimpleProperty(osgSim::ScalarsToColors *, ScalarsToColors, - 0, - __void__setScalarsToColors__ScalarsToColors_P1); - I_SimpleProperty(const osgSim::ScalarBar::TextProperties &, TextProperties, - __C5_TextProperties_R1__getTextProperties, - __void__setTextProperties__C5_TextProperties_R1); - I_SimpleProperty(const std::string &, Title, - __C5_std_string_R1__getTitle, - __void__setTitle__C5_std_string_R1); - I_SimpleProperty(float, Width, - __float__getWidth, - __void__setWidth__float); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar::ScalarPrinter) - I_DeclaringFile("osgSim/ScalarBar"); - I_BaseType(osg::Referenced); - I_Constructor0(____ScalarPrinter, - "", - ""); - I_Method1(std::string, printScalar, IN, float, scalar, - Properties::VIRTUAL, - __std_string__printScalar__float, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgSim::ScalarBar::TextProperties) - I_DeclaringFile("osgSim/ScalarBar"); - I_Constructor0(____TextProperties, - "", - ""); - I_PublicMemberProperty(std::string, _fontFile); - I_PublicMemberProperty(std::pair< int COMMA int >, _fontResolution); - I_PublicMemberProperty(float, _characterSize); - I_PublicMemberProperty(osg::Vec4, _color); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/ScalarsToColors.cpp b/src/osgWrappers/introspection/osgSim/ScalarsToColors.cpp deleted file mode 100644 index 0fdef55ba..000000000 --- a/src/osgWrappers/introspection/osgSim/ScalarsToColors.cpp +++ /dev/null @@ -1,55 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgSim::ScalarsToColors) - I_DeclaringFile("osgSim/ScalarsToColors"); - I_BaseType(osg::Referenced); - I_Constructor2(IN, float, scalarMin, IN, float, scalarMax, - ____ScalarsToColors__float__float, - "", - ""); - I_Method1(osg::Vec4, getColor, IN, float, scalar, - Properties::VIRTUAL, - __osg_Vec4__getColor__float, - "Get the color for a given scalar value. ", - ""); - I_Method0(float, getMin, - Properties::NON_VIRTUAL, - __float__getMin, - "Get the minimum scalar value. ", - ""); - I_Method0(float, getMax, - Properties::NON_VIRTUAL, - __float__getMax, - "Get the maximum scalar value. ", - ""); - I_SimpleProperty(float, Max, - __float__getMax, - 0); - I_SimpleProperty(float, Min, - __float__getMin, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/Sector.cpp b/src/osgWrappers/introspection/osgSim/Sector.cpp deleted file mode 100644 index c23e5c6cc..000000000 --- a/src/osgWrappers/introspection/osgSim/Sector.cpp +++ /dev/null @@ -1,430 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgSim::AzimElevationSector) - I_DeclaringFile("osgSim/Sector"); - I_BaseType(osgSim::Sector); - I_BaseType(osgSim::AzimRange); - I_BaseType(osgSim::ElevationRange); - I_Constructor0(____AzimElevationSector, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::AzimElevationSector &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AzimElevationSector__C5_AzimElevationSector_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults5(IN, float, minAzimuth, , IN, float, maxAzimuth, , IN, float, minElevation, , IN, float, maxElevation, , IN, float, fadeAngle, 0.0f, - ____AzimElevationSector__float__float__float__float__float, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgSim::AzimRange) - I_DeclaringFile("osgSim/Sector"); - I_Constructor0(____AzimRange, - "", - ""); - I_MethodWithDefaults3(void, setAzimuthRange, IN, float, minAzimuth, , IN, float, maxAzimuth, , IN, float, fadeAngle, 0.0f, - Properties::NON_VIRTUAL, - __void__setAzimuthRange__float__float__float, - "", - ""); - I_Method3(void, getAzimuthRange, IN, float &, minAzimuth, IN, float &, maxAzimuth, IN, float &, fadeAngle, - Properties::NON_VIRTUAL, - __void__getAzimuthRange__float_R1__float_R1__float_R1, - "", - ""); - I_Method1(float, azimSector, IN, const osg::Vec3 &, eyeLocal, - Properties::NON_VIRTUAL, - __float__azimSector__C5_osg_Vec3_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::AzimSector) - I_DeclaringFile("osgSim/Sector"); - I_BaseType(osgSim::Sector); - I_BaseType(osgSim::AzimRange); - I_Constructor0(____AzimSector, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::AzimSector &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AzimSector__C5_AzimSector_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults3(IN, float, minAzimuth, , IN, float, maxAzimuth, , IN, float, fadeAngle, 0.0f, - ____AzimSector__float__float__float, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::ConeSector) - I_DeclaringFile("osgSim/Sector"); - I_BaseType(osgSim::Sector); - I_Constructor0(____ConeSector, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::ConeSector &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ConeSector__C5_ConeSector_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults3(IN, const osg::Vec3 &, axis, , IN, float, angle, , IN, float, fadeangle, 0.0f, - ____ConeSector__C5_osg_Vec3_R1__float__float, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setAxis, IN, const osg::Vec3 &, axis, - Properties::NON_VIRTUAL, - __void__setAxis__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getAxis, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getAxis, - "", - ""); - I_MethodWithDefaults2(void, setAngle, IN, float, angle, , IN, float, fadeangle, 0.0f, - Properties::NON_VIRTUAL, - __void__setAngle__float__float, - "", - ""); - I_Method0(float, getAngle, - Properties::NON_VIRTUAL, - __float__getAngle, - "", - ""); - I_Method0(float, getFadeAngle, - Properties::NON_VIRTUAL, - __float__getFadeAngle, - "", - ""); - I_SimpleProperty(float, Angle, - __float__getAngle, - 0); - I_SimpleProperty(const osg::Vec3 &, Axis, - __C5_osg_Vec3_R1__getAxis, - __void__setAxis__C5_osg_Vec3_R1); - I_SimpleProperty(float, FadeAngle, - __float__getFadeAngle, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::DirectionalSector) - I_DeclaringFile("osgSim/Sector"); - I_BaseType(osgSim::Sector); - I_Constructor0(____DirectionalSector, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::DirectionalSector &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____DirectionalSector__C5_DirectionalSector_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults5(IN, const osg::Vec3 &, direction, , IN, float, horizLobeAngle, , IN, float, vertLobeAngle, , IN, float, lobeRollAngle, , IN, float, fadeAngle, 0.0f, - ____DirectionalSector__C5_osg_Vec3_R1__float__float__float__float, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setDirection, IN, const osg::Vec3 &, direction, - Properties::NON_VIRTUAL, - __void__setDirection__C5_osg_Vec3_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getDirection, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getDirection, - "", - ""); - I_Method1(void, setHorizLobeAngle, IN, float, angle, - Properties::NON_VIRTUAL, - __void__setHorizLobeAngle__float, - "", - ""); - I_Method0(float, getHorizLobeAngle, - Properties::NON_VIRTUAL, - __float__getHorizLobeAngle, - "", - ""); - I_Method1(void, setLobeRollAngle, IN, float, angle, - Properties::NON_VIRTUAL, - __void__setLobeRollAngle__float, - "", - ""); - I_Method0(float, getLobeRollAngle, - Properties::NON_VIRTUAL, - __float__getLobeRollAngle, - "", - ""); - I_Method1(void, setVertLobeAngle, IN, float, angle, - Properties::NON_VIRTUAL, - __void__setVertLobeAngle__float, - "", - ""); - I_Method0(float, getVertLobeAngle, - Properties::NON_VIRTUAL, - __float__getVertLobeAngle, - "", - ""); - I_Method1(void, setFadeAngle, IN, float, angle, - Properties::NON_VIRTUAL, - __void__setFadeAngle__float, - "", - ""); - I_Method0(float, getFadeAngle, - Properties::NON_VIRTUAL, - __float__getFadeAngle, - "", - ""); - I_Method0(void, computeMatrix, - Properties::NON_VIRTUAL, - __void__computeMatrix, - "", - ""); - I_SimpleProperty(const osg::Vec3 &, Direction, - __C5_osg_Vec3_R1__getDirection, - __void__setDirection__C5_osg_Vec3_R1); - I_SimpleProperty(float, FadeAngle, - __float__getFadeAngle, - __void__setFadeAngle__float); - I_SimpleProperty(float, HorizLobeAngle, - __float__getHorizLobeAngle, - __void__setHorizLobeAngle__float); - I_SimpleProperty(float, LobeRollAngle, - __float__getLobeRollAngle, - __void__setLobeRollAngle__float); - I_SimpleProperty(float, VertLobeAngle, - __float__getVertLobeAngle, - __void__setVertLobeAngle__float); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgSim::ElevationRange) - I_DeclaringFile("osgSim/Sector"); - I_Constructor0(____ElevationRange, - "", - ""); - I_MethodWithDefaults3(void, setElevationRange, IN, float, minElevation, , IN, float, maxElevation, , IN, float, fadeAngle, 0.0f, - Properties::NON_VIRTUAL, - __void__setElevationRange__float__float__float, - "", - ""); - I_Method0(float, getMinElevation, - Properties::NON_VIRTUAL, - __float__getMinElevation, - "", - ""); - I_Method0(float, getMaxElevation, - Properties::NON_VIRTUAL, - __float__getMaxElevation, - "", - ""); - I_Method0(float, getFadeAngle, - Properties::NON_VIRTUAL, - __float__getFadeAngle, - "", - ""); - I_Method1(float, elevationSector, IN, const osg::Vec3 &, eyeLocal, - Properties::NON_VIRTUAL, - __float__elevationSector__C5_osg_Vec3_R1, - "", - ""); - I_SimpleProperty(float, FadeAngle, - __float__getFadeAngle, - 0); - I_SimpleProperty(float, MaxElevation, - __float__getMaxElevation, - 0); - I_SimpleProperty(float, MinElevation, - __float__getMinElevation, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::ElevationSector) - I_DeclaringFile("osgSim/Sector"); - I_BaseType(osgSim::Sector); - I_BaseType(osgSim::ElevationRange); - I_Constructor0(____ElevationSector, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::ElevationSector &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ElevationSector__C5_ElevationSector_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ConstructorWithDefaults3(IN, float, minElevation, , IN, float, maxElevation, , IN, float, fadeAngle, 0.0f, - ____ElevationSector__float__float__float, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgSim::Sector) - I_DeclaringFile("osgSim/Sector"); - I_BaseType(osg::Object); - I_Constructor0(____Sector, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::Sector &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Sector__C5_Sector_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/ShapeAttribute.cpp b/src/osgWrappers/introspection/osgSim/ShapeAttribute.cpp deleted file mode 100644 index 5a7a15a39..000000000 --- a/src/osgWrappers/introspection/osgSim/ShapeAttribute.cpp +++ /dev/null @@ -1,76 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgSim::ShapeAttribute::Type) - I_DeclaringFile("osgSim/ShapeAttribute"); - I_EnumLabel(osgSim::ShapeAttribute::UNKNOW); - I_EnumLabel(osgSim::ShapeAttribute::INTEGER); - I_EnumLabel(osgSim::ShapeAttribute::DOUBLE); - I_EnumLabel(osgSim::ShapeAttribute::STRING); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgSim::ShapeAttributeList) - I_DeclaringFile("osgSim/ShapeAttribute"); - I_BaseType(osg::Object); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____ShapeAttributeList, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::ShapeAttributeList &, sal, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ShapeAttributeList__C5_ShapeAttributeList_R1__C5_osg_CopyOp_R1, - "Copy constructor, optional CopyOp object can be used to control shallow vs deep copying of dynamic data. ", - ""); - I_Method1(int, compare, IN, const osgSim::ShapeAttributeList &, sal, - Properties::VIRTUAL, - __int__compare__C5_osgSim_ShapeAttributeList_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgSim/SphereSegment.cpp b/src/osgWrappers/introspection/osgSim/SphereSegment.cpp deleted file mode 100644 index cc0575135..000000000 --- a/src/osgWrappers/introspection/osgSim/SphereSegment.cpp +++ /dev/null @@ -1,293 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgSim::SphereSegment::DrawMask) - I_DeclaringFile("osgSim/SphereSegment"); - I_EnumLabel(osgSim::SphereSegment::SURFACE); - I_EnumLabel(osgSim::SphereSegment::SPOKES); - I_EnumLabel(osgSim::SphereSegment::EDGELINE); - I_EnumLabel(osgSim::SphereSegment::SIDES); - I_EnumLabel(osgSim::SphereSegment::ALL); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Vec3Array > >, osgSim::SphereSegment::LineList) - -BEGIN_OBJECT_REFLECTOR(osgSim::SphereSegment) - I_DeclaringFile("osgSim/SphereSegment"); - I_BaseType(osg::Geode); - I_Constructor0(____SphereSegment, - "Default constructor. ", - ""); - I_Constructor7(IN, const osg::Vec3 &, centre, IN, float, radius, IN, float, azMin, IN, float, azMax, IN, float, elevMin, IN, float, elevMax, IN, int, density, - ____SphereSegment__C5_osg_Vec3_R1__float__float__float__float__float__int, - "Construct by angle ranges. ", - " param centre sphere centre radius radius of sphere azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum density number of units to divide the azimuth and elevation ranges into "); - I_Constructor6(IN, const osg::Vec3 &, centre, IN, float, radius, IN, const osg::Vec3 &, vec, IN, float, azRange, IN, float, elevRange, IN, int, density, - ____SphereSegment__C5_osg_Vec3_R1__float__C5_osg_Vec3_R1__float__float__int, - "Construct by vector. ", - " param centre sphere centre radius radius of sphere vec vector pointing from sphere centre to centre point of rendered area on sphere surface azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) density number of units to divide the azimuth and elevation ranges into "); - I_Constructor2(IN, const osgSim::SphereSegment &, rhs, IN, const osg::CopyOp &, co, - ____SphereSegment__C5_SphereSegment_R1__C5_osg_CopyOp_R1, - "Copy constructor. ", - ""); - I_Method1(void, setCentre, IN, const osg::Vec3 &, c, - Properties::NON_VIRTUAL, - __void__setCentre__C5_osg_Vec3_R1, - "Set the centre point of the SphereSegment. ", - ""); - I_Method0(const osg::Vec3 &, getCentre, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getCentre, - "Get the centre point of the SphereSegment. ", - ""); - I_Method1(void, setRadius, IN, float, r, - Properties::NON_VIRTUAL, - __void__setRadius__float, - "Set the radius of the SphereSegment. ", - ""); - I_Method0(float, getRadius, - Properties::NON_VIRTUAL, - __float__getRadius, - "Get the radius of the SphereSegment. ", - ""); - I_Method3(void, setArea, IN, const osg::Vec3 &, vec, IN, float, azRange, IN, float, elevRange, - Properties::NON_VIRTUAL, - __void__setArea__C5_osg_Vec3_R1__float__float, - "Set the area of the sphere segment. ", - " param vec vector pointing from sphere centre to centre point of rendered area on sphere surface azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) "); - I_Method3(void, getArea, IN, osg::Vec3 &, vec, IN, float &, azRange, IN, float &, elevRange, - Properties::NON_VIRTUAL, - __void__getArea__osg_Vec3_R1__float_R1__float_R1, - "Get the area of the sphere segment. ", - " param vec vector pointing from sphere centre to centre point of rendered area on sphere surface (normalized) azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) "); - I_Method4(void, setArea, IN, float, azMin, IN, float, azMax, IN, float, elevMin, IN, float, elevMax, - Properties::NON_VIRTUAL, - __void__setArea__float__float__float__float, - "Set the area of the sphere segment. ", - " param azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum "); - I_Method4(void, getArea, IN, float &, azMin, IN, float &, azMax, IN, float &, elevMin, IN, float &, elevMax, - Properties::NON_VIRTUAL, - __void__getArea__float_R1__float_R1__float_R1__float_R1, - "Get the area of the sphere segment. ", - " param azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum "); - I_Method1(void, setDensity, IN, int, d, - Properties::NON_VIRTUAL, - __void__setDensity__int, - "Set the density of the sphere segment. ", - ""); - I_Method0(int, getDensity, - Properties::NON_VIRTUAL, - __int__getDensity, - "Get the density of the sphere segment. ", - ""); - I_Method1(void, setDrawMask, IN, int, dm, - Properties::NON_VIRTUAL, - __void__setDrawMask__int, - "Specify the DrawMask. ", - " param dm Bitmask specifying which parts of the sphere segment should be drawn. see DrawMask "); - I_Method0(int, getDrawMask, - Properties::NON_VIRTUAL, - __int__getDrawMask, - "Get the DrawMask. ", - ""); - I_Method1(void, setSurfaceColor, IN, const osg::Vec4 &, c, - Properties::NON_VIRTUAL, - __void__setSurfaceColor__C5_osg_Vec4_R1, - "Set the color of the surface. ", - ""); - I_Method0(const osg::Vec4 &, getSurfaceColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getSurfaceColor, - "Get the color of the surface. ", - ""); - I_Method1(void, setSpokeColor, IN, const osg::Vec4 &, c, - Properties::NON_VIRTUAL, - __void__setSpokeColor__C5_osg_Vec4_R1, - "Set the color of the spokes. ", - ""); - I_Method0(const osg::Vec4 &, getSpokeColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getSpokeColor, - "Get the color of the spokes. ", - ""); - I_Method1(void, setEdgeLineColor, IN, const osg::Vec4 &, c, - Properties::NON_VIRTUAL, - __void__setEdgeLineColor__C5_osg_Vec4_R1, - "Set the color of the edge line. ", - ""); - I_Method0(const osg::Vec4 &, getEdgeLineColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getEdgeLineColor, - "Get the color of the edge line. ", - ""); - I_Method1(void, setSideColor, IN, const osg::Vec4 &, c, - Properties::NON_VIRTUAL, - __void__setSideColor__C5_osg_Vec4_R1, - "Set the color of the planes. ", - ""); - I_Method0(const osg::Vec4 &, getSideColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getSideColor, - "Get the color of the planes. ", - ""); - I_Method1(void, setAllColors, IN, const osg::Vec4 &, c, - Properties::NON_VIRTUAL, - __void__setAllColors__C5_osg_Vec4_R1, - "Set color of all components. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method2(osgSim::SphereSegment::LineList, computeIntersection, IN, const osg::Matrixd &, matrix, IN, osg::Node *, subgraph, - Properties::NON_VIRTUAL, - __LineList__computeIntersection__C5_osg_Matrixd_R1__osg_Node_P1, - "Compute the interesection lines between subgraph and this sphere segment. ", - "The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. "); - I_Method2(osgSim::SphereSegment::LineList, computeIntersection, IN, const osg::Matrixd &, matrix, IN, osg::Drawable *, drawable, - Properties::NON_VIRTUAL, - __LineList__computeIntersection__C5_osg_Matrixd_R1__osg_Drawable_P1, - "Compute the interesection lines between specified drawable and this sphere segment. ", - "The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. "); - I_Method2(osg::Node *, computeIntersectionSubgraph, IN, const osg::Matrixd &, matrix, IN, osg::Node *, subgraph, - Properties::NON_VIRTUAL, - __osg_Node_P1__computeIntersectionSubgraph__C5_osg_Matrixd_R1__osg_Node_P1, - "Compute the interesection lines between subgraph and this sphere segment. ", - "The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. "); - I_Method2(osg::Node *, computeIntersectionSubgraph, IN, const osg::Matrixd &, matrix, IN, osg::Drawable *, drawable, - Properties::NON_VIRTUAL, - __osg_Node_P1__computeIntersectionSubgraph__C5_osg_Matrixd_R1__osg_Drawable_P1, - "Compute the interesection lines between specified drawable and this sphere segment. ", - "The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. "); - I_SimpleProperty(const osg::Vec4 &, AllColors, - 0, - __void__setAllColors__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec3 &, Centre, - __C5_osg_Vec3_R1__getCentre, - __void__setCentre__C5_osg_Vec3_R1); - I_SimpleProperty(int, Density, - __int__getDensity, - __void__setDensity__int); - I_SimpleProperty(int, DrawMask, - __int__getDrawMask, - __void__setDrawMask__int); - I_SimpleProperty(const osg::Vec4 &, EdgeLineColor, - __C5_osg_Vec4_R1__getEdgeLineColor, - __void__setEdgeLineColor__C5_osg_Vec4_R1); - I_SimpleProperty(float, Radius, - __float__getRadius, - __void__setRadius__float); - I_SimpleProperty(const osg::Vec4 &, SideColor, - __C5_osg_Vec4_R1__getSideColor, - __void__setSideColor__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec4 &, SpokeColor, - __C5_osg_Vec4_R1__getSpokeColor, - __void__setSpokeColor__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec4 &, SurfaceColor, - __C5_osg_Vec4_R1__getSurfaceColor, - __void__setSurfaceColor__C5_osg_Vec4_R1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Vec3Array >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Vec3Array *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Vec3Array > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Vec3Array > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Vec3Array *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Vec3Array *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Vec3Array > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Vec3Array *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Vec3Array > >) - diff --git a/src/osgWrappers/introspection/osgSim/VisibilityGroup.cpp b/src/osgWrappers/introspection/osgSim/VisibilityGroup.cpp deleted file mode 100644 index 6a9983f97..000000000 --- a/src/osgWrappers/introspection/osgSim/VisibilityGroup.cpp +++ /dev/null @@ -1,119 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgSim::VisibilityGroup) - I_DeclaringFile("osgSim/VisibilityGroup"); - I_BaseType(osg::Group); - I_Constructor0(____VisibilityGroup, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgSim::VisibilityGroup &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____VisibilityGroup__C5_VisibilityGroup_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(void, setVisibilityVolume, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__setVisibilityVolume__osg_Node_P1, - "Set the subgraph that is intersected for the visibility determination. ", - ""); - I_Method0(osg::Node *, getVisibilityVolume, - Properties::NON_VIRTUAL, - __osg_Node_P1__getVisibilityVolume, - "Get the subgraph that is intersected for the visibility determination. ", - ""); - I_Method0(const osg::Node *, getVisibilityVolume, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getVisibilityVolume, - "Get the const subgraph that is intersected for the visibility determination. ", - ""); - I_Method1(void, setVolumeIntersectionMask, IN, osg::Node::NodeMask, mask, - Properties::NON_VIRTUAL, - __void__setVolumeIntersectionMask__osg_Node_NodeMask, - "Set the traversal mask for the intersection testing. ", - ""); - I_Method0(osg::Node::NodeMask, getVolumeIntersectionMask, - Properties::NON_VIRTUAL, - __osg_Node_NodeMask__getVolumeIntersectionMask, - "Get the traversal mask for the intersection testing. ", - ""); - I_Method1(void, setSegmentLength, IN, float, length, - Properties::NON_VIRTUAL, - __void__setSegmentLength__float, - "Set the length of the intersection segment. ", - "The segments extends this many database units from the camera eye-point along the look vector. If this is left at zero then the diameter of the bounding sphere of the visibility volume is used. "); - I_Method0(float, getSegmentLength, - Properties::NON_VIRTUAL, - __float__getSegmentLength, - "Get the length of the intersection segment. ", - ""); - I_SimpleProperty(float, SegmentLength, - __float__getSegmentLength, - __void__setSegmentLength__float); - I_SimpleProperty(osg::Node *, VisibilityVolume, - __osg_Node_P1__getVisibilityVolume, - __void__setVisibilityVolume__osg_Node_P1); - I_SimpleProperty(osg::Node::NodeMask, VolumeIntersectionMask, - __osg_Node_NodeMask__getVolumeIntersectionMask, - __void__setVolumeIntersectionMask__osg_Node_NodeMask); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgTerrain/Export.cpp b/src/osgWrappers/introspection/osgTerrain/Export.cpp deleted file mode 100644 index fbfd53f10..000000000 --- a/src/osgWrappers/introspection/osgTerrain/Export.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - diff --git a/src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp b/src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp deleted file mode 100644 index 2b9de4cfe..000000000 --- a/src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp +++ /dev/null @@ -1,187 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgTerrain::GeometryTechnique::FilterType) - I_DeclaringFile("osgTerrain/GeometryTechnique"); - I_EnumLabel(osgTerrain::GeometryTechnique::GAUSSIAN); - I_EnumLabel(osgTerrain::GeometryTechnique::SMOOTH); - I_EnumLabel(osgTerrain::GeometryTechnique::SHARPEN); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::GeometryTechnique) - I_DeclaringFile("osgTerrain/GeometryTechnique"); - I_BaseType(osgTerrain::TerrainTechnique); - I_Constructor0(____GeometryTechnique, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::GeometryTechnique &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____GeometryTechnique__C5_GeometryTechnique_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method2(void, init, IN, int, dirtyMask, IN, bool, assumeMultiThreaded, - Properties::VIRTUAL, - __void__init__int__bool, - "", - ""); - I_Method0(osgTerrain::Locator *, computeMasterLocator, - Properties::VIRTUAL, - __Locator_P1__computeMasterLocator, - "", - ""); - I_Method1(void, update, IN, osgUtil::UpdateVisitor *, nv, - Properties::VIRTUAL, - __void__update__osgUtil_UpdateVisitor_P1, - "", - ""); - I_Method1(void, cull, IN, osgUtil::CullVisitor *, nv, - Properties::VIRTUAL, - __void__cull__osgUtil_CullVisitor_P1, - "", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse the terain subgraph. ", - ""); - I_Method0(void, cleanSceneGraph, - Properties::VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any terrain technique specific nodes. ", - ""); - I_Method1(void, setFilterBias, IN, float, filterBias, - Properties::NON_VIRTUAL, - __void__setFilterBias__float, - "", - ""); - I_Method0(float, getFilterBias, - Properties::NON_VIRTUAL, - __float__getFilterBias, - "", - ""); - I_Method1(void, setFilterWidth, IN, float, filterWidth, - Properties::NON_VIRTUAL, - __void__setFilterWidth__float, - "", - ""); - I_Method0(float, getFilterWidth, - Properties::NON_VIRTUAL, - __float__getFilterWidth, - "", - ""); - I_Method1(void, setFilterMatrix, IN, const osg::Matrix3 &, matrix, - Properties::NON_VIRTUAL, - __void__setFilterMatrix__C5_osg_Matrix3_R1, - "", - ""); - I_Method0(osg::Matrix3 &, getFilterMatrix, - Properties::NON_VIRTUAL, - __osg_Matrix3_R1__getFilterMatrix, - "", - ""); - I_Method0(const osg::Matrix3 &, getFilterMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix3_R1__getFilterMatrix, - "", - ""); - I_Method1(void, setFilterMatrixAs, IN, osgTerrain::GeometryTechnique::FilterType, filterType, - Properties::NON_VIRTUAL, - __void__setFilterMatrixAs__FilterType, - "", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_ProtectedMethod2(osg::Vec3d, computeCenterModel, IN, osg::BufferData &, buffer, IN, osgTerrain::Locator *, masterLocator, - Properties::VIRTUAL, - Properties::NON_CONST, - __osg_Vec3d__computeCenterModel__BufferData_R1__Locator_P1, - "", - ""); - I_ProtectedMethod3(void, generateGeometry, IN, osg::BufferData &, buffer, IN, osgTerrain::Locator *, masterLocator, IN, const osg::Vec3d &, centerModel, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__generateGeometry__BufferData_R1__Locator_P1__C5_osg_Vec3d_R1, - "", - ""); - I_ProtectedMethod1(void, applyColorLayers, IN, osg::BufferData &, buffer, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__applyColorLayers__BufferData_R1, - "", - ""); - I_ProtectedMethod1(void, applyTransparency, IN, osg::BufferData &, buffer, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__applyTransparency__BufferData_R1, - "", - ""); - I_SimpleProperty(float, FilterBias, - __float__getFilterBias, - __void__setFilterBias__float); - I_SimpleProperty(const osg::Matrix3 &, FilterMatrix, - __C5_osg_Matrix3_R1__getFilterMatrix, - __void__setFilterMatrix__C5_osg_Matrix3_R1); - I_SimpleProperty(osgTerrain::GeometryTechnique::FilterType, FilterMatrixAs, - 0, - __void__setFilterMatrixAs__FilterType); - I_SimpleProperty(float, FilterWidth, - __float__getFilterWidth, - __void__setFilterWidth__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgTerrain/Layer.cpp b/src/osgWrappers/introspection/osgTerrain/Layer.cpp deleted file mode 100644 index 36af752d1..000000000 --- a/src/osgWrappers/introspection/osgTerrain/Layer.cpp +++ /dev/null @@ -1,1025 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgTerrain::CompositeLayer) - I_DeclaringFile("osgTerrain/Layer"); - I_BaseType(osgTerrain::Layer); - I_Constructor0(____CompositeLayer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::CompositeLayer &, compositeLayer, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____CompositeLayer__C5_CompositeLayer_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_Method1(void, setSetName, IN, const std::string &, setname, - Properties::NON_VIRTUAL, - __void__setSetName__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getSetName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getSetName, - "", - ""); - I_Method2(void, setSetName, IN, unsigned int, i, IN, const std::string &, setname, - Properties::NON_VIRTUAL, - __void__setSetName__unsigned_int__C5_std_string_R1, - "", - ""); - I_Method1(const std::string &, getSetName, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getSetName__unsigned_int, - "", - ""); - I_Method2(void, setFileName, IN, unsigned int, i, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __void__setFileName__unsigned_int__C5_std_string_R1, - "", - ""); - I_Method1(const std::string &, getFileName, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getFileName__unsigned_int, - "", - ""); - I_Method2(void, setCompoundName, IN, unsigned int, i, IN, const std::string &, compoundname, - Properties::NON_VIRTUAL, - __void__setCompoundName__unsigned_int__C5_std_string_R1, - "", - ""); - I_Method1(std::string, getCompoundName, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __std_string__getCompoundName__unsigned_int, - "", - ""); - I_Method2(void, setLayer, IN, unsigned int, i, IN, osgTerrain::Layer *, layer, - Properties::NON_VIRTUAL, - __void__setLayer__unsigned_int__Layer_P1, - "", - ""); - I_Method1(osgTerrain::Layer *, getLayer, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Layer_P1__getLayer__unsigned_int, - "", - ""); - I_Method1(const osgTerrain::Layer *, getLayer, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Layer_P1__getLayer__unsigned_int, - "", - ""); - I_Method1(void, addLayer, IN, const std::string &, compoundname, - Properties::NON_VIRTUAL, - __void__addLayer__C5_std_string_R1, - "", - ""); - I_Method2(void, addLayer, IN, const std::string &, setname, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __void__addLayer__C5_std_string_R1__C5_std_string_R1, - "", - ""); - I_Method1(void, addLayer, IN, osgTerrain::Layer *, layer, - Properties::NON_VIRTUAL, - __void__addLayer__Layer_P1, - "", - ""); - I_Method1(void, removeLayer, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __void__removeLayer__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumLayers, - Properties::NON_VIRTUAL, - __unsigned_int__getNumLayers, - "", - ""); - I_IndexedProperty(std::string, CompoundName, - __std_string__getCompoundName__unsigned_int, - __void__setCompoundName__unsigned_int__C5_std_string_R1, - 0); - I_IndexedProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName__unsigned_int, - __void__setFileName__unsigned_int__C5_std_string_R1, - 0); - I_ArrayProperty(osgTerrain::Layer *, Layer, - __Layer_P1__getLayer__unsigned_int, - __void__setLayer__unsigned_int__Layer_P1, - __unsigned_int__getNumLayers, - __void__addLayer__Layer_P1, - 0, - __void__removeLayer__unsigned_int); - I_SimpleProperty(const std::string &, SetName, - __C5_std_string_R1__getSetName, - __void__setSetName__C5_std_string_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::ContourLayer) - I_DeclaringFile("osgTerrain/Layer"); - I_BaseType(osgTerrain::Layer); - I_ConstructorWithDefaults1(IN, osg::TransferFunction1D *, tf, 0, - Properties::NON_EXPLICIT, - ____ContourLayer__osg_TransferFunction1D_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::ContourLayer &, tfLayer, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ContourLayer__C5_ContourLayer_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method2(bool, transform, IN, float, offset, IN, float, scale, - Properties::VIRTUAL, - __bool__transform__float__float, - "", - ""); - I_Method1(void, setTransferFunction, IN, osg::TransferFunction1D *, tf, - Properties::NON_VIRTUAL, - __void__setTransferFunction__osg_TransferFunction1D_P1, - "", - ""); - I_Method0(osg::TransferFunction1D *, getTransferFunction, - Properties::NON_VIRTUAL, - __osg_TransferFunction1D_P1__getTransferFunction, - "", - ""); - I_Method0(const osg::TransferFunction1D *, getTransferFunction, - Properties::NON_VIRTUAL, - __C5_osg_TransferFunction1D_P1__getTransferFunction, - "", - ""); - I_Method0(osg::Image *, getImage, - Properties::VIRTUAL, - __osg_Image_P1__getImage, - "Return image associated with layer. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::VIRTUAL, - __C5_osg_Image_P1__getImage, - "Return const image associated with layer. ", - ""); - I_Method0(unsigned int, getNumColumns, - Properties::VIRTUAL, - __unsigned_int__getNumColumns, - "", - ""); - I_Method0(unsigned int, getNumRows, - Properties::VIRTUAL, - __unsigned_int__getNumRows, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, float &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__float_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec2 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec2_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec3 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec3_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec4 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec4_R1, - "", - ""); - I_Method0(void, dirty, - Properties::VIRTUAL, - __void__dirty, - "increment the modified count. ", - "\" "); - I_Method1(void, setModifiedCount, IN, unsigned int, int, - Properties::VIRTUAL, - __void__setModifiedCount__unsigned_int, - "Set the modified count value. ", - ""); - I_Method0(unsigned int, getModifiedCount, - Properties::VIRTUAL, - __unsigned_int__getModifiedCount, - "Get modified count value. ", - ""); - I_SimpleProperty(osg::Image *, Image, - __osg_Image_P1__getImage, - 0); - I_SimpleProperty(unsigned int, ModifiedCount, - __unsigned_int__getModifiedCount, - __void__setModifiedCount__unsigned_int); - I_SimpleProperty(osg::TransferFunction1D *, TransferFunction, - __osg_TransferFunction1D_P1__getTransferFunction, - __void__setTransferFunction__osg_TransferFunction1D_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::HeightFieldLayer) - I_DeclaringFile("osgTerrain/Layer"); - I_BaseType(osgTerrain::Layer); - I_ConstructorWithDefaults1(IN, osg::HeightField *, hf, 0, - Properties::NON_EXPLICIT, - ____HeightFieldLayer__osg_HeightField_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::HeightFieldLayer &, hfLayer, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____HeightFieldLayer__C5_HeightFieldLayer_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setFileName, IN, const std::string &, filename, - Properties::VIRTUAL, - __void__setFileName__C5_std_string_R1, - "Set the file name of the data associated with this layer. ", - ""); - I_Method0(const std::string &, getFileName, - Properties::VIRTUAL, - __C5_std_string_R1__getFileName, - "Get the file name of the layer. ", - ""); - I_Method2(bool, transform, IN, float, offset, IN, float, scale, - Properties::VIRTUAL, - __bool__transform__float__float, - "", - ""); - I_Method1(void, setHeightField, IN, osg::HeightField *, hf, - Properties::NON_VIRTUAL, - __void__setHeightField__osg_HeightField_P1, - "", - ""); - I_Method0(osg::HeightField *, getHeightField, - Properties::NON_VIRTUAL, - __osg_HeightField_P1__getHeightField, - "", - ""); - I_Method0(const osg::HeightField *, getHeightField, - Properties::NON_VIRTUAL, - __C5_osg_HeightField_P1__getHeightField, - "", - ""); - I_Method0(unsigned int, getNumColumns, - Properties::VIRTUAL, - __unsigned_int__getNumColumns, - "", - ""); - I_Method0(unsigned int, getNumRows, - Properties::VIRTUAL, - __unsigned_int__getNumRows, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, float &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__float_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec2 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec2_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec3 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec3_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec4 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec4_R1, - "", - ""); - I_Method0(void, dirty, - Properties::VIRTUAL, - __void__dirty, - "increment the modified count. ", - "\" "); - I_Method1(void, setModifiedCount, IN, unsigned int, int, - Properties::VIRTUAL, - __void__setModifiedCount__unsigned_int, - "Set the modified count value. ", - ""); - I_Method0(unsigned int, getModifiedCount, - Properties::VIRTUAL, - __unsigned_int__getModifiedCount, - "Get modified count value. ", - ""); - I_SimpleProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName, - __void__setFileName__C5_std_string_R1); - I_SimpleProperty(osg::HeightField *, HeightField, - __osg_HeightField_P1__getHeightField, - __void__setHeightField__osg_HeightField_P1); - I_SimpleProperty(unsigned int, ModifiedCount, - __unsigned_int__getModifiedCount, - __void__setModifiedCount__unsigned_int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::ImageLayer) - I_DeclaringFile("osgTerrain/Layer"); - I_BaseType(osgTerrain::Layer); - I_ConstructorWithDefaults1(IN, osg::Image *, image, 0, - Properties::NON_EXPLICIT, - ____ImageLayer__osg_Image_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::ImageLayer &, imageLayer, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ImageLayer__C5_ImageLayer_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setFileName, IN, const std::string &, filename, - Properties::VIRTUAL, - __void__setFileName__C5_std_string_R1, - "Set the file name of the data associated with this layer. ", - ""); - I_Method0(const std::string &, getFileName, - Properties::VIRTUAL, - __C5_std_string_R1__getFileName, - "Get the file name of the layer. ", - ""); - I_Method2(bool, transform, IN, float, offset, IN, float, scale, - Properties::VIRTUAL, - __bool__transform__float__float, - "", - ""); - I_Method1(void, setImage, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__setImage__osg_Image_P1, - "", - ""); - I_Method0(osg::Image *, getImage, - Properties::VIRTUAL, - __osg_Image_P1__getImage, - "Return image associated with layer. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::VIRTUAL, - __C5_osg_Image_P1__getImage, - "Return const image associated with layer. ", - ""); - I_Method0(unsigned int, getNumColumns, - Properties::VIRTUAL, - __unsigned_int__getNumColumns, - "", - ""); - I_Method0(unsigned int, getNumRows, - Properties::VIRTUAL, - __unsigned_int__getNumRows, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, float &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__float_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec2 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec2_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec3 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec3_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec4 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec4_R1, - "", - ""); - I_Method0(void, dirty, - Properties::VIRTUAL, - __void__dirty, - "increment the modified count. ", - "\" "); - I_Method1(void, setModifiedCount, IN, unsigned int, int, - Properties::VIRTUAL, - __void__setModifiedCount__unsigned_int, - "Set the modified count value. ", - ""); - I_Method0(unsigned int, getModifiedCount, - Properties::VIRTUAL, - __unsigned_int__getModifiedCount, - "Get modified count value. ", - ""); - I_SimpleProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName, - __void__setFileName__C5_std_string_R1); - I_SimpleProperty(osg::Image *, Image, - __osg_Image_P1__getImage, - __void__setImage__osg_Image_P1); - I_SimpleProperty(unsigned int, ModifiedCount, - __unsigned_int__getModifiedCount, - __void__setModifiedCount__unsigned_int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::Layer) - I_DeclaringFile("osgTerrain/Layer"); - I_BaseType(osg::Object); - I_Constructor0(____Layer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::Layer &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Layer__C5_Layer_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setSetName, IN, const std::string &, setname, - Properties::NON_VIRTUAL, - __void__setSetName__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getSetName, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getSetName, - "", - ""); - I_Method1(void, setFileName, IN, const std::string &, filename, - Properties::VIRTUAL, - __void__setFileName__C5_std_string_R1, - "Set the file name of the data associated with this layer. ", - ""); - I_Method0(const std::string &, getFileName, - Properties::VIRTUAL, - __C5_std_string_R1__getFileName, - "Get the file name of the layer. ", - ""); - I_Method0(std::string, getCompoundName, - Properties::NON_VIRTUAL, - __std_string__getCompoundName, - "Return the compound name of the layer in the form set::name::filename string. ", - ""); - I_Method1(void, setLocator, IN, osgTerrain::Locator *, locator, - Properties::NON_VIRTUAL, - __void__setLocator__Locator_P1, - "", - ""); - I_Method0(osgTerrain::Locator *, getLocator, - Properties::NON_VIRTUAL, - __Locator_P1__getLocator, - "", - ""); - I_Method0(const osgTerrain::Locator *, getLocator, - Properties::NON_VIRTUAL, - __C5_Locator_P1__getLocator, - "", - ""); - I_Method1(void, setMinLevel, IN, unsigned int, minLevel, - Properties::NON_VIRTUAL, - __void__setMinLevel__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMinLevel, - Properties::NON_VIRTUAL, - __unsigned_int__getMinLevel, - "", - ""); - I_Method1(void, setMaxLevel, IN, unsigned int, maxLevel, - Properties::NON_VIRTUAL, - __void__setMaxLevel__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaxLevel, - Properties::NON_VIRTUAL, - __unsigned_int__getMaxLevel, - "", - ""); - I_Method1(void, setValidDataOperator, IN, osgTerrain::ValidDataOperator *, validDataOp, - Properties::NON_VIRTUAL, - __void__setValidDataOperator__ValidDataOperator_P1, - "", - ""); - I_Method0(osgTerrain::ValidDataOperator *, getValidDataOperator, - Properties::NON_VIRTUAL, - __ValidDataOperator_P1__getValidDataOperator, - "", - ""); - I_Method0(const osgTerrain::ValidDataOperator *, getValidDataOperator, - Properties::NON_VIRTUAL, - __C5_ValidDataOperator_P1__getValidDataOperator, - "", - ""); - I_Method0(unsigned int, getNumColumns, - Properties::VIRTUAL, - __unsigned_int__getNumColumns, - "", - ""); - I_Method0(unsigned int, getNumRows, - Properties::VIRTUAL, - __unsigned_int__getNumRows, - "", - ""); - I_Method1(void, setDefaultValue, IN, const osg::Vec4 &, value, - Properties::NON_VIRTUAL, - __void__setDefaultValue__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getDefaultValue, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getDefaultValue, - "", - ""); - I_Method1(void, setMinFilter, IN, osg::Texture::FilterMode, filter, - Properties::NON_VIRTUAL, - __void__setMinFilter__osg_Texture_FilterMode, - "Set the minification texture filter to use when do texture associated with this layer. ", - ""); - I_Method0(osg::Texture::FilterMode, getMinFilter, - Properties::NON_VIRTUAL, - __osg_Texture_FilterMode__getMinFilter, - "Get the minification texture filter to use when do texture associated with this layer. ", - ""); - I_Method1(void, setMagFilter, IN, osg::Texture::FilterMode, filter, - Properties::NON_VIRTUAL, - __void__setMagFilter__osg_Texture_FilterMode, - "Set the magniification texture filter to use when do texture associated with this layer. ", - ""); - I_Method0(osg::Texture::FilterMode, getMagFilter, - Properties::NON_VIRTUAL, - __osg_Texture_FilterMode__getMagFilter, - "Get the magnification texture filter to use when do texture associated with this layer. ", - ""); - I_Method0(osg::Image *, getImage, - Properties::VIRTUAL, - __osg_Image_P1__getImage, - "Return image associated with layer if supported. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::VIRTUAL, - __C5_osg_Image_P1__getImage, - "Return const image associated with layer if supported. ", - ""); - I_Method2(bool, transform, IN, float, x, IN, float, x, - Properties::VIRTUAL, - __bool__transform__float__float, - "", - ""); - I_Method3(bool, getValue, IN, unsigned, int, IN, unsigned, int, IN, float &, x, - Properties::VIRTUAL, - __bool__getValue__unsigned__unsigned__float_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned, int, IN, unsigned, int, IN, osg::Vec2 &, x, - Properties::VIRTUAL, - __bool__getValue__unsigned__unsigned__osg_Vec2_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned, int, IN, unsigned, int, IN, osg::Vec3 &, x, - Properties::VIRTUAL, - __bool__getValue__unsigned__unsigned__osg_Vec3_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned, int, IN, unsigned, int, IN, osg::Vec4 &, x, - Properties::VIRTUAL, - __bool__getValue__unsigned__unsigned__osg_Vec4_R1, - "", - ""); - I_Method3(bool, getValidValue, IN, unsigned int, i, IN, unsigned int, j, IN, float &, value, - Properties::NON_VIRTUAL, - __bool__getValidValue__unsigned_int__unsigned_int__float_R1, - "", - ""); - I_Method3(bool, getValidValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec2 &, value, - Properties::NON_VIRTUAL, - __bool__getValidValue__unsigned_int__unsigned_int__osg_Vec2_R1, - "", - ""); - I_Method3(bool, getValidValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec3 &, value, - Properties::NON_VIRTUAL, - __bool__getValidValue__unsigned_int__unsigned_int__osg_Vec3_R1, - "", - ""); - I_Method3(bool, getValidValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec4 &, value, - Properties::NON_VIRTUAL, - __bool__getValidValue__unsigned_int__unsigned_int__osg_Vec4_R1, - "", - ""); - I_Method6(void, computeIndices, IN, double, ndc_x, IN, double, ndc_y, IN, unsigned int &, i, IN, unsigned int &, j, IN, double &, ir, IN, double &, jr, - Properties::NON_VIRTUAL, - __void__computeIndices__double__double__unsigned_int_R1__unsigned_int_R1__double_R1__double_R1, - "", - ""); - I_Method3(bool, getInterpolatedValue, IN, double, ndc_x, IN, double, ndc_y, IN, float &, value, - Properties::NON_VIRTUAL, - __bool__getInterpolatedValue__double__double__float_R1, - "", - ""); - I_Method3(bool, getInterpolatedValidValue, IN, double, ndc_x, IN, double, ndc_y, IN, float &, value, - Properties::NON_VIRTUAL, - __bool__getInterpolatedValidValue__double__double__float_R1, - "", - ""); - I_Method0(void, dirty, - Properties::VIRTUAL, - __void__dirty, - "increment the modified count. ", - "\" "); - I_Method1(void, setModifiedCount, IN, unsigned, int, - Properties::VIRTUAL, - __void__setModifiedCount__unsigned, - "Set the modified count value. ", - ""); - I_Method0(unsigned int, getModifiedCount, - Properties::VIRTUAL, - __unsigned_int__getModifiedCount, - "Get modified count value. ", - ""); - I_Method1(osg::BoundingSphere, computeBound, IN, bool, treatAsElevationLayer, - Properties::VIRTUAL, - __osg_BoundingSphere__computeBound__bool, - "", - ""); - I_SimpleProperty(std::string, CompoundName, - __std_string__getCompoundName, - 0); - I_SimpleProperty(const osg::Vec4 &, DefaultValue, - __C5_osg_Vec4_R1__getDefaultValue, - __void__setDefaultValue__C5_osg_Vec4_R1); - I_SimpleProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName, - __void__setFileName__C5_std_string_R1); - I_SimpleProperty(osg::Image *, Image, - __osg_Image_P1__getImage, - 0); - I_SimpleProperty(osgTerrain::Locator *, Locator, - __Locator_P1__getLocator, - __void__setLocator__Locator_P1); - I_SimpleProperty(osg::Texture::FilterMode, MagFilter, - __osg_Texture_FilterMode__getMagFilter, - __void__setMagFilter__osg_Texture_FilterMode); - I_SimpleProperty(unsigned int, MaxLevel, - __unsigned_int__getMaxLevel, - __void__setMaxLevel__unsigned_int); - I_SimpleProperty(osg::Texture::FilterMode, MinFilter, - __osg_Texture_FilterMode__getMinFilter, - __void__setMinFilter__osg_Texture_FilterMode); - I_SimpleProperty(unsigned int, MinLevel, - __unsigned_int__getMinLevel, - __void__setMinLevel__unsigned_int); - I_SimpleProperty(unsigned, ModifiedCount, - 0, - __void__setModifiedCount__unsigned); - I_SimpleProperty(const std::string &, SetName, - __C5_std_string_R1__getSetName, - __void__setSetName__C5_std_string_R1); - I_SimpleProperty(osgTerrain::ValidDataOperator *, ValidDataOperator, - __ValidDataOperator_P1__getValidDataOperator, - __void__setValidDataOperator__ValidDataOperator_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::ProxyLayer) - I_DeclaringFile("osgTerrain/Layer"); - I_BaseType(osgTerrain::Layer); - I_Constructor0(____ProxyLayer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::ProxyLayer &, proxyLayer, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ProxyLayer__C5_ProxyLayer_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osg::Image *, getImage, - Properties::VIRTUAL, - __osg_Image_P1__getImage, - "Return image associated with layer if supported. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::VIRTUAL, - __C5_osg_Image_P1__getImage, - "Return const image associated with layer if supported. ", - ""); - I_Method1(void, setImplementation, IN, osgTerrain::Layer *, layer, - Properties::NON_VIRTUAL, - __void__setImplementation__Layer_P1, - "Set the implementation layer that does the actual work. ", - ""); - I_Method0(osgTerrain::Layer *, getImplementation, - Properties::NON_VIRTUAL, - __Layer_P1__getImplementation, - "Get the implementation layer that does the actual work. ", - ""); - I_Method0(const osgTerrain::Layer *, getImplementation, - Properties::NON_VIRTUAL, - __C5_Layer_P1__getImplementation, - "Get the const implementation layer that does the actual work. ", - ""); - I_Method1(void, setFileName, IN, const std::string &, filename, - Properties::VIRTUAL, - __void__setFileName__C5_std_string_R1, - "Set the file name of the data associated with this layer. ", - ""); - I_Method0(const std::string &, getFileName, - Properties::VIRTUAL, - __C5_std_string_R1__getFileName, - "Get the file name of the layer. ", - ""); - I_Method0(unsigned int, getNumColumns, - Properties::VIRTUAL, - __unsigned_int__getNumColumns, - "", - ""); - I_Method0(unsigned int, getNumRows, - Properties::VIRTUAL, - __unsigned_int__getNumRows, - "", - ""); - I_Method2(bool, transform, IN, float, offset, IN, float, scale, - Properties::VIRTUAL, - __bool__transform__float__float, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, float &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__float_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec2 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec2_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec3 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec3_R1, - "", - ""); - I_Method3(bool, getValue, IN, unsigned int, i, IN, unsigned int, j, IN, osg::Vec4 &, value, - Properties::VIRTUAL, - __bool__getValue__unsigned_int__unsigned_int__osg_Vec4_R1, - "", - ""); - I_Method0(void, dirty, - Properties::VIRTUAL, - __void__dirty, - "increment the modified count. ", - "\" "); - I_Method1(void, setModifiedCount, IN, unsigned int, int, - Properties::VIRTUAL, - __void__setModifiedCount__unsigned_int, - "Set the modified count value. ", - ""); - I_Method0(unsigned int, getModifiedCount, - Properties::VIRTUAL, - __unsigned_int__getModifiedCount, - "Get modified count value. ", - ""); - I_Method1(osg::BoundingSphere, computeBound, IN, bool, treatAsElevationLayer, - Properties::VIRTUAL, - __osg_BoundingSphere__computeBound__bool, - "", - ""); - I_SimpleProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName, - __void__setFileName__C5_std_string_R1); - I_SimpleProperty(osg::Image *, Image, - __osg_Image_P1__getImage, - 0); - I_SimpleProperty(osgTerrain::Layer *, Implementation, - __Layer_P1__getImplementation, - __void__setImplementation__Layer_P1); - I_SimpleProperty(unsigned int, ModifiedCount, - __unsigned_int__getModifiedCount, - __void__setModifiedCount__unsigned_int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::SwitchLayer) - I_DeclaringFile("osgTerrain/Layer"); - I_BaseType(osgTerrain::CompositeLayer); - I_Constructor0(____SwitchLayer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::SwitchLayer &, switchLayer, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____SwitchLayer__C5_SwitchLayer_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setActiveLayer, IN, int, i, - Properties::NON_VIRTUAL, - __void__setActiveLayer__int, - "", - ""); - I_Method0(int, getActiveLayer, - Properties::NON_VIRTUAL, - __int__getActiveLayer, - "", - ""); - I_Method0(osg::Image *, getImage, - Properties::VIRTUAL, - __osg_Image_P1__getImage, - "Return image associated with layer if supported. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::VIRTUAL, - __C5_osg_Image_P1__getImage, - "Return const image associated with layer if supported. ", - ""); - I_SimpleProperty(int, ActiveLayer, - __int__getActiveLayer, - __void__setActiveLayer__int); - I_SimpleProperty(osg::Image *, Image, - __osg_Image_P1__getImage, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgTerrain/Locator.cpp b/src/osgWrappers/introspection/osgTerrain/Locator.cpp deleted file mode 100644 index 40cd24cee..000000000 --- a/src/osgWrappers/introspection/osgTerrain/Locator.cpp +++ /dev/null @@ -1,198 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgTerrain::Locator::CoordinateSystemType) - I_DeclaringFile("osgTerrain/Locator"); - I_EnumLabel(osgTerrain::Locator::GEOCENTRIC); - I_EnumLabel(osgTerrain::Locator::GEOGRAPHIC); - I_EnumLabel(osgTerrain::Locator::PROJECTED); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::Locator) - I_DeclaringFile("osgTerrain/Locator"); - I_BaseType(osg::Object); - I_Constructor0(____Locator, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::Locator &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Locator__C5_Locator_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setCoordinateSystemType, IN, osgTerrain::Locator::CoordinateSystemType, type, - Properties::NON_VIRTUAL, - __void__setCoordinateSystemType__CoordinateSystemType, - "Set the CoordinatesSyetemType. ", - "Note, the user must keep the CoordinateSystemString consistent with the type of the CoordinateSystem. "); - I_Method0(osgTerrain::Locator::CoordinateSystemType, getCoordinateSystemType, - Properties::NON_VIRTUAL, - __CoordinateSystemType__getCoordinateSystemType, - "Get the CoordinatesSyetemType. ", - ""); - I_Method1(void, setFormat, IN, const std::string &, format, - Properties::NON_VIRTUAL, - __void__setFormat__C5_std_string_R1, - "Set the coordinate system format string. ", - "Typical values would be WKT, PROJ4, USGS etc. "); - I_Method0(const std::string &, getFormat, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getFormat, - "Get the coordinate system format string. ", - ""); - I_Method1(void, setCoordinateSystem, IN, const std::string &, cs, - Properties::NON_VIRTUAL, - __void__setCoordinateSystem__C5_std_string_R1, - "Set the CoordinateSystem reference string, should be stored in a form consistent with the Format. ", - ""); - I_Method0(const std::string &, getCoordinateSystem, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getCoordinateSystem, - "Get the CoordinateSystem reference string. ", - ""); - I_Method1(void, setEllipsoidModel, IN, osg::EllipsoidModel *, ellipsode, - Properties::NON_VIRTUAL, - __void__setEllipsoidModel__osg_EllipsoidModel_P1, - "Set EllipsoidModel to describe the model used to map lat, long and height into geocentric XYZ and back. ", - ""); - I_Method0(osg::EllipsoidModel *, getEllipsoidModel, - Properties::NON_VIRTUAL, - __osg_EllipsoidModel_P1__getEllipsoidModel, - "Get the EllipsoidModel. ", - ""); - I_Method0(const osg::EllipsoidModel *, getEllipsoidModel, - Properties::NON_VIRTUAL, - __C5_osg_EllipsoidModel_P1__getEllipsoidModel, - "Get the const EllipsoidModel. ", - ""); - I_Method1(void, setTransform, IN, const osg::Matrixd &, transform, - Properties::NON_VIRTUAL, - __void__setTransform__C5_osg_Matrixd_R1, - "Set the transformation from local coordinates to model coordinates. ", - ""); - I_Method0(const osg::Matrixd &, getTransform, - Properties::NON_VIRTUAL, - __C5_osg_Matrixd_R1__getTransform, - "Set the transformation from local coordinates to model coordinates. ", - ""); - I_Method4(void, setTransformAsExtents, IN, double, minX, IN, double, minY, IN, double, maxX, IN, double, maxY, - Properties::NON_VIRTUAL, - __void__setTransformAsExtents__double__double__double__double, - "Set the extents of the local coords. ", - ""); - I_Method0(bool, orientationOpenGL, - Properties::VIRTUAL, - __bool__orientationOpenGL, - "", - ""); - I_Method2(bool, convertLocalToModel, IN, const osg::Vec3d &, local, IN, osg::Vec3d &, world, - Properties::VIRTUAL, - __bool__convertLocalToModel__C5_osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_Method2(bool, convertModelToLocal, IN, const osg::Vec3d &, world, IN, osg::Vec3d &, local, - Properties::VIRTUAL, - __bool__convertModelToLocal__C5_osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_Method3(bool, computeLocalBounds, IN, osgTerrain::Locator &, source, IN, osg::Vec3d &, bottomLeft, IN, osg::Vec3d &, topRight, - Properties::NON_VIRTUAL, - __bool__computeLocalBounds__Locator_R1__osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_Method1(void, setDefinedInFile, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setDefinedInFile__bool, - "", - ""); - I_Method0(bool, getDefinedInFile, - Properties::NON_VIRTUAL, - __bool__getDefinedInFile, - "", - ""); - I_Method1(void, setTransformScaledByResolution, IN, bool, scaledByResolution, - Properties::NON_VIRTUAL, - __void__setTransformScaledByResolution__bool, - "", - ""); - I_Method0(bool, getTransformScaledByResolution, - Properties::NON_VIRTUAL, - __bool__getTransformScaledByResolution, - "", - ""); - I_StaticMethod4(bool, convertLocalCoordBetween, IN, const osgTerrain::Locator &, source, IN, const osg::Vec3d &, sourceNDC, IN, const osgTerrain::Locator &, destination, IN, osg::Vec3d &, destinationNDC, - __bool__convertLocalCoordBetween__C5_Locator_R1__C5_osg_Vec3d_R1__C5_Locator_R1__osg_Vec3d_R1_S, - "", - ""); - I_SimpleProperty(const std::string &, CoordinateSystem, - __C5_std_string_R1__getCoordinateSystem, - __void__setCoordinateSystem__C5_std_string_R1); - I_SimpleProperty(osgTerrain::Locator::CoordinateSystemType, CoordinateSystemType, - __CoordinateSystemType__getCoordinateSystemType, - __void__setCoordinateSystemType__CoordinateSystemType); - I_SimpleProperty(bool, DefinedInFile, - __bool__getDefinedInFile, - __void__setDefinedInFile__bool); - I_SimpleProperty(osg::EllipsoidModel *, EllipsoidModel, - __osg_EllipsoidModel_P1__getEllipsoidModel, - __void__setEllipsoidModel__osg_EllipsoidModel_P1); - I_SimpleProperty(const std::string &, Format, - __C5_std_string_R1__getFormat, - __void__setFormat__C5_std_string_R1); - I_SimpleProperty(const osg::Matrixd &, Transform, - __C5_osg_Matrixd_R1__getTransform, - __void__setTransform__C5_osg_Matrixd_R1); - I_SimpleProperty(bool, TransformScaledByResolution, - __bool__getTransformScaledByResolution, - __void__setTransformScaledByResolution__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgTerrain/Terrain.cpp b/src/osgWrappers/introspection/osgTerrain/Terrain.cpp deleted file mode 100644 index 95c98ef57..000000000 --- a/src/osgWrappers/introspection/osgTerrain/Terrain.cpp +++ /dev/null @@ -1,166 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgTerrain::Terrain) - I_DeclaringFile("osgTerrain/Terrain"); - I_BaseType(osg::CoordinateSystemNode); - I_Constructor0(____Terrain, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::Terrain &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Terrain__C5_Terrain_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(void, setSampleRatio, IN, float, ratio, - Properties::NON_VIRTUAL, - __void__setSampleRatio__float, - "Set the sample ratio hint that TerrainTile should use when building geometry. ", - "Defaults to 1.0, which means use all original sample points. "); - I_Method0(float, getSampleRatio, - Properties::NON_VIRTUAL, - __float__getSampleRatio, - "Get the sample ratio hint. ", - ""); - I_Method1(void, setVerticalScale, IN, float, scale, - Properties::NON_VIRTUAL, - __void__setVerticalScale__float, - "Set the vertical scale hint. ", - ""); - I_Method0(float, getVerticalScale, - Properties::NON_VIRTUAL, - __float__getVerticalScale, - "Get the vertical scale hint. ", - ""); - I_Method1(void, setBlendingPolicy, IN, osgTerrain::TerrainTile::BlendingPolicy, policy, - Properties::NON_VIRTUAL, - __void__setBlendingPolicy__TerrainTile_BlendingPolicy, - "Set the default policy to use when deciding whether to enable/disable blending and use of transparent bin. ", - "Note, the Terrain::BlendingPolicy value only sets the value for the TerrainTiles it encloses for the TerrainTile's that have their policy set to INHERIT. INHERIT is the default BlendingPolicy for both Terrain and TerrainTile, and if both are left to INERHIT then the policy used is ENABLE_BLENDING_WHEN_ALPHA_PRESENT. "); - I_Method0(osgTerrain::TerrainTile::BlendingPolicy, getBlendingPolicy, - Properties::NON_VIRTUAL, - __TerrainTile_BlendingPolicy__getBlendingPolicy, - "Get the default policy to use when deciding whether to enable/disable blending and use of transparent bin. ", - ""); - I_Method1(osgTerrain::TerrainTile *, getTile, IN, const osgTerrain::TileID &, tileID, - Properties::NON_VIRTUAL, - __TerrainTile_P1__getTile__C5_TileID_R1, - "Get the TerrainTile for a given TileID. ", - ""); - I_Method1(const osgTerrain::TerrainTile *, getTile, IN, const osgTerrain::TileID &, tileID, - Properties::NON_VIRTUAL, - __C5_TerrainTile_P1__getTile__C5_TileID_R1, - "Get the const TerrainTile for a given TileID. ", - ""); - I_Method1(void, setTerrainTechniquePrototype, IN, osgTerrain::TerrainTechnique *, technique, - Properties::NON_VIRTUAL, - __void__setTerrainTechniquePrototype__TerrainTechnique_P1, - "Set the TerrainTechnique prototype from which TerrainTiles can clone the techniques from. ", - ""); - I_Method0(osgTerrain::TerrainTechnique *, getTerrainTechniquePrototype, - Properties::NON_VIRTUAL, - __TerrainTechnique_P1__getTerrainTechniquePrototype, - "Get the TerrainTechnique prototype. ", - ""); - I_Method0(const osgTerrain::TerrainTechnique *, getTerrainTechniquePrototype, - Properties::NON_VIRTUAL, - __C5_TerrainTechnique_P1__getTerrainTechniquePrototype, - "Get the const TerrainTechnique protype. ", - ""); - I_Method1(void, updateTerrainTileOnNextFrame, IN, osgTerrain::TerrainTile *, terrainTile, - Properties::NON_VIRTUAL, - __void__updateTerrainTileOnNextFrame__TerrainTile_P1, - "Tell the Terrain node to call the terrainTile's TerrainTechnique on the next update traversal. ", - ""); - I_ProtectedMethodWithDefaults1(void, dirtyRegisteredTiles, IN, int, dirtyMask, osgTerrain::TerrainTile::ALL_DIRTY, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__dirtyRegisteredTiles__int, - "", - ""); - I_ProtectedMethod1(void, registerTerrainTile, IN, osgTerrain::TerrainTile *, tile, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__registerTerrainTile__TerrainTile_P1, - "", - ""); - I_ProtectedMethod1(void, unregisterTerrainTile, IN, osgTerrain::TerrainTile *, tile, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__unregisterTerrainTile__TerrainTile_P1, - "", - ""); - I_SimpleProperty(osgTerrain::TerrainTile::BlendingPolicy, BlendingPolicy, - __TerrainTile_BlendingPolicy__getBlendingPolicy, - __void__setBlendingPolicy__TerrainTile_BlendingPolicy); - I_SimpleProperty(float, SampleRatio, - __float__getSampleRatio, - __void__setSampleRatio__float); - I_SimpleProperty(osgTerrain::TerrainTechnique *, TerrainTechniquePrototype, - __TerrainTechnique_P1__getTerrainTechniquePrototype, - __void__setTerrainTechniquePrototype__TerrainTechnique_P1); - I_SimpleProperty(float, VerticalScale, - __float__getVerticalScale, - __void__setVerticalScale__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp b/src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp deleted file mode 100644 index 9337fba00..000000000 --- a/src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp +++ /dev/null @@ -1,138 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgTerrain::TerrainTechnique) - I_DeclaringFile("osgTerrain/TerrainTechnique"); - I_BaseType(osg::Object); - I_Constructor0(____TerrainTechnique, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::TerrainTechnique &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TerrainTechnique__C5_TerrainTechnique_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osgTerrain::TerrainTile *, getTerrainTile, - Properties::NON_VIRTUAL, - __TerrainTile_P1__getTerrainTile, - "", - ""); - I_Method0(const osgTerrain::TerrainTile *, getTerrainTile, - Properties::NON_VIRTUAL, - __C5_TerrainTile_P1__getTerrainTile, - "", - ""); - I_Method2(void, init, IN, int, dirtyMask, IN, bool, assumeMultiThreaded, - Properties::VIRTUAL, - __void__init__int__bool, - "", - ""); - I_Method1(void, update, IN, osgUtil::UpdateVisitor *, nv, - Properties::VIRTUAL, - __void__update__osgUtil_UpdateVisitor_P1, - "", - ""); - I_Method1(void, cull, IN, osgUtil::CullVisitor *, nv, - Properties::VIRTUAL, - __void__cull__osgUtil_CullVisitor_P1, - "", - ""); - I_Method0(void, cleanSceneGraph, - Properties::VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any terrain technique specific nodes. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse the terrain subgraph. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_Method1(void, addNeighbour, IN, osgTerrain::TerrainTile *, tile, - Properties::NON_VIRTUAL, - __void__addNeighbour__TerrainTile_P1, - "", - ""); - I_Method1(void, removeNeighbour, IN, osgTerrain::TerrainTile *, tile, - Properties::NON_VIRTUAL, - __void__removeNeighbour__TerrainTile_P1, - "", - ""); - I_Method1(bool, containsNeighbour, IN, osgTerrain::TerrainTile *, tile, - Properties::NON_VIRTUAL, - __bool__containsNeighbour__TerrainTile_P1, - "", - ""); - I_ProtectedMethod1(void, setTerrainTile, IN, osgTerrain::TerrainTile *, tile, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setTerrainTile__TerrainTile_P1, - "", - ""); - I_ProtectedMethod1(void, setDirty, IN, bool, dirty, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setDirty__bool, - "", - ""); - I_SimpleProperty(osgTerrain::TerrainTile *, TerrainTile, - __TerrainTile_P1__getTerrainTile, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp b/src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp deleted file mode 100644 index ecd1a089f..000000000 --- a/src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp +++ /dev/null @@ -1,460 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgTerrain::TerrainTile::BlendingPolicy) - I_DeclaringFile("osgTerrain/TerrainTile"); - I_EnumLabel(osgTerrain::TerrainTile::INHERIT); - I_EnumLabel(osgTerrain::TerrainTile::DO_NOT_SET_BLENDING); - I_EnumLabel(osgTerrain::TerrainTile::ENABLE_BLENDING); - I_EnumLabel(osgTerrain::TerrainTile::ENABLE_BLENDING_WHEN_ALPHA_PRESENT); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgTerrain::TerrainTile::DirtyMask) - I_DeclaringFile("osgTerrain/TerrainTile"); - I_EnumLabel(osgTerrain::TerrainTile::NOT_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::IMAGERY_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::ELEVATION_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::LEFT_EDGE_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::RIGHT_EDGE_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::TOP_EDGE_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::TOP_LEFT_CORNER_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::TOP_RIGHT_CORNER_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::BOTTOM_EDGE_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::BOTTOM_LEFT_CORNER_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::BOTTOM_RIGHT_CORNER_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::EDGES_DIRTY); - I_EnumLabel(osgTerrain::TerrainTile::ALL_DIRTY); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::TerrainTile) - I_DeclaringFile("osgTerrain/TerrainTile"); - I_BaseType(osg::Group); - I_Constructor0(____TerrainTile, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgTerrain::TerrainTile &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TerrainTile__C5_TerrainTile_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method2(void, init, IN, int, dirtyMask, IN, bool, assumeMultiThreaded, - Properties::NON_VIRTUAL, - __void__init__int__bool, - "Call init on any attached TerrainTechnique. ", - ""); - I_Method1(void, setTerrain, IN, osgTerrain::Terrain *, ts, - Properties::NON_VIRTUAL, - __void__setTerrain__Terrain_P1, - "Set the Terrain that this Terrain tile is a member of. ", - ""); - I_Method0(osgTerrain::Terrain *, getTerrain, - Properties::NON_VIRTUAL, - __Terrain_P1__getTerrain, - "Get the Terrain that this Terrain tile is a member of. ", - ""); - I_Method0(const osgTerrain::Terrain *, getTerrain, - Properties::NON_VIRTUAL, - __C5_Terrain_P1__getTerrain, - "Get the const Terrain that this Terrain tile is a member of. ", - ""); - I_Method1(void, setTileID, IN, const osgTerrain::TileID &, tileID, - Properties::NON_VIRTUAL, - __void__setTileID__C5_TileID_R1, - "Set the TileID (layer, x,y) of the TerrainTile. ", - "The TileID is used so it can be located by its neighbours via the enclosing Terrain node that manages a map of TileID to TerraiTiles. "); - I_Method0(const osgTerrain::TileID &, getTileID, - Properties::NON_VIRTUAL, - __C5_TileID_R1__getTileID, - "Get the TileID (layer, x,y) of the TerrainTile. ", - ""); - I_Method1(void, setTerrainTechnique, IN, osgTerrain::TerrainTechnique *, terrainTechnique, - Properties::NON_VIRTUAL, - __void__setTerrainTechnique__TerrainTechnique_P1, - "Set the TerrainTechnique. ", - ""); - I_Method0(osgTerrain::TerrainTechnique *, getTerrainTechnique, - Properties::NON_VIRTUAL, - __TerrainTechnique_P1__getTerrainTechnique, - "Get the TerrainTechnique. ", - ""); - I_Method0(const osgTerrain::TerrainTechnique *, getTerrainTechnique, - Properties::NON_VIRTUAL, - __C5_TerrainTechnique_P1__getTerrainTechnique, - "Get the const TerrainTechnique. ", - ""); - I_Method1(void, setLocator, IN, osgTerrain::Locator *, locator, - Properties::NON_VIRTUAL, - __void__setLocator__Locator_P1, - "Set the coordinate frame locator of the terrain node. ", - "The locator takes non-dimensional s,t coordinates into the X,Y,Z world coords and back. "); - I_Method0(osgTerrain::Locator *, getLocator, - Properties::NON_VIRTUAL, - __Locator_P1__getLocator, - "Get the coordinate frame locator of the terrain node. ", - ""); - I_Method0(const osgTerrain::Locator *, getLocator, - Properties::NON_VIRTUAL, - __C5_Locator_P1__getLocator, - "Get the const coordinate frame locator of the terrain node. ", - ""); - I_Method1(void, setElevationLayer, IN, osgTerrain::Layer *, layer, - Properties::NON_VIRTUAL, - __void__setElevationLayer__Layer_P1, - "Set the layer to use to define the elevations of the terrain. ", - ""); - I_Method0(osgTerrain::Layer *, getElevationLayer, - Properties::NON_VIRTUAL, - __Layer_P1__getElevationLayer, - "Get the layer to use to define the elevations of the terrain. ", - ""); - I_Method0(const osgTerrain::Layer *, getElevationLayer, - Properties::NON_VIRTUAL, - __C5_Layer_P1__getElevationLayer, - "Get the const layer to use to define the elevations of the terrain. ", - ""); - I_Method2(void, setColorLayer, IN, unsigned int, i, IN, osgTerrain::Layer *, layer, - Properties::NON_VIRTUAL, - __void__setColorLayer__unsigned_int__Layer_P1, - "Set a color layer with specified layer number. ", - ""); - I_Method1(osgTerrain::Layer *, getColorLayer, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Layer_P1__getColorLayer__unsigned_int, - "Get color layer with specified layer number. ", - ""); - I_Method1(const osgTerrain::Layer *, getColorLayer, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Layer_P1__getColorLayer__unsigned_int, - "Set const color layer with specified layer number. ", - ""); - I_Method0(unsigned int, getNumColorLayers, - Properties::NON_VIRTUAL, - __unsigned_int__getNumColorLayers, - "Get the number of colour layers. ", - ""); - I_Method1(void, setRequiresNormals, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setRequiresNormals__bool, - "Set hint to whether the TerrainTechnique should create per vertex normals for lighting purposes. ", - ""); - I_Method0(bool, getRequiresNormals, - Properties::NON_VIRTUAL, - __bool__getRequiresNormals, - "Get whether the TerrainTechnique should create per vertex normals for lighting purposes. ", - ""); - I_Method1(void, setTreatBoundariesToValidDataAsDefaultValue, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setTreatBoundariesToValidDataAsDefaultValue__bool, - "Set the hint to whether the TerrainTechnique should treat the invalid Layer entries that at are neigbours to valid entries with the default value. ", - ""); - I_Method0(bool, getTreatBoundariesToValidDataAsDefaultValue, - Properties::NON_VIRTUAL, - __bool__getTreatBoundariesToValidDataAsDefaultValue, - "Get whether the TeatBoundariesToValidDataAsDefaultValue hint. ", - ""); - I_Method1(void, setBlendingPolicy, IN, osgTerrain::TerrainTile::BlendingPolicy, policy, - Properties::NON_VIRTUAL, - __void__setBlendingPolicy__BlendingPolicy, - "Set the policy to use when deciding whether to enable/disable blending and use of transparent bin. ", - ""); - I_Method0(osgTerrain::TerrainTile::BlendingPolicy, getBlendingPolicy, - Properties::NON_VIRTUAL, - __BlendingPolicy__getBlendingPolicy, - "Get the policy to use when deciding whether to enable/disable blending and use of transparent bin. ", - ""); - I_Method1(void, setDirty, IN, bool, dirty, - Properties::NON_VIRTUAL, - __void__setDirty__bool, - "Set the dirty flag on/off. ", - ""); - I_Method0(int, getDirty, - Properties::NON_VIRTUAL, - __int__getDirty, - "return true if the any of the DirtyMask are set. ", - ""); - I_Method1(void, setDirtyMask, IN, int, dirtyMask, - Properties::NON_VIRTUAL, - __void__setDirtyMask__int, - "Set the dirty flag on/off. ", - ""); - I_Method0(int, getDirtyMask, - Properties::NON_VIRTUAL, - __int__getDirtyMask, - "return true if the tile is dirty and needs to be updated, ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __osg_BoundingSphere__computeBound, - "Compute the bounding volume of the terrain by computing the union of the bounding volumes of all layers. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objects for all graphics contexts. "); - I_StaticMethod1(void, setTileLoadedCallback, IN, osgTerrain::TerrainTile::TileLoadedCallback *, lc, - __void__setTileLoadedCallback__TileLoadedCallback_P1_S, - "", - ""); - I_StaticMethod0(osg::ref_ptr< osgTerrain::TerrainTile::TileLoadedCallback > &, getTileLoadedCallback, - __osg_ref_ptrT1_TileLoadedCallback__R1__getTileLoadedCallback_S, - "", - ""); - I_SimpleProperty(osgTerrain::TerrainTile::BlendingPolicy, BlendingPolicy, - __BlendingPolicy__getBlendingPolicy, - __void__setBlendingPolicy__BlendingPolicy); - I_ArrayProperty(osgTerrain::Layer *, ColorLayer, - __Layer_P1__getColorLayer__unsigned_int, - __void__setColorLayer__unsigned_int__Layer_P1, - __unsigned_int__getNumColorLayers, - 0, - 0, - 0); - I_SimpleProperty(bool, Dirty, - 0, - __void__setDirty__bool); - I_SimpleProperty(int, DirtyMask, - __int__getDirtyMask, - __void__setDirtyMask__int); - I_SimpleProperty(osgTerrain::Layer *, ElevationLayer, - __Layer_P1__getElevationLayer, - __void__setElevationLayer__Layer_P1); - I_SimpleProperty(osgTerrain::Locator *, Locator, - __Locator_P1__getLocator, - __void__setLocator__Locator_P1); - I_SimpleProperty(bool, RequiresNormals, - __bool__getRequiresNormals, - __void__setRequiresNormals__bool); - I_SimpleProperty(osgTerrain::Terrain *, Terrain, - __Terrain_P1__getTerrain, - __void__setTerrain__Terrain_P1); - I_SimpleProperty(osgTerrain::TerrainTechnique *, TerrainTechnique, - __TerrainTechnique_P1__getTerrainTechnique, - __void__setTerrainTechnique__TerrainTechnique_P1); - I_SimpleProperty(const osgTerrain::TileID &, TileID, - __C5_TileID_R1__getTileID, - __void__setTileID__C5_TileID_R1); - I_SimpleProperty(bool, TreatBoundariesToValidDataAsDefaultValue, - __bool__getTreatBoundariesToValidDataAsDefaultValue, - __void__setTreatBoundariesToValidDataAsDefaultValue__bool); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgTerrain::TerrainTile::TileLoadedCallback) - I_DeclaringFile("osgTerrain/TerrainTile"); - I_BaseType(osg::Referenced); - I_Constructor0(____TileLoadedCallback, - "", - ""); - I_Method0(bool, deferExternalLayerLoading, - Properties::PURE_VIRTUAL, - __bool__deferExternalLayerLoading, - "", - ""); - I_Method2(void, loaded, IN, osgTerrain::TerrainTile *, tile, IN, const osgDB::ReaderWriter::Options *, options, - Properties::PURE_VIRTUAL, - __void__loaded__osgTerrain_TerrainTile_P1__C5_osgDB_ReaderWriter_Options_P1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgTerrain::TileID) - I_DeclaringFile("osgTerrain/TerrainTile"); - I_Constructor0(____TileID, - "", - ""); - I_Constructor3(IN, int, in_level, IN, int, in_x, IN, int, in_y, - ____TileID__int__int__int, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_PublicMemberProperty(int, level); - I_PublicMemberProperty(int, x); - I_PublicMemberProperty(int, y); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::WhiteListTileLoadedCallback) - I_DeclaringFile("osgTerrain/TerrainTile"); - I_BaseType(osgTerrain::TerrainTile::TileLoadedCallback); - I_Constructor0(____WhiteListTileLoadedCallback, - "", - ""); - I_Method1(void, allow, IN, const std::string &, setname, - Properties::NON_VIRTUAL, - __void__allow__C5_std_string_R1, - "", - ""); - I_Method1(void, setMinimumNumOfLayers, IN, unsigned int, numLayers, - Properties::NON_VIRTUAL, - __void__setMinimumNumOfLayers__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMinimumNumOfLayers, - Properties::NON_VIRTUAL, - __unsigned_int__getMinimumNumOfLayers, - "", - ""); - I_Method1(void, setReplaceSwitchLayer, IN, bool, replaceSwitchLayer, - Properties::NON_VIRTUAL, - __void__setReplaceSwitchLayer__bool, - "", - ""); - I_Method0(bool, getReplaceSwitchLayer, - Properties::NON_VIRTUAL, - __bool__getReplaceSwitchLayer, - "", - ""); - I_Method1(void, setAllowAll, IN, bool, allowAll, - Properties::NON_VIRTUAL, - __void__setAllowAll__bool, - "", - ""); - I_Method0(bool, getAllowAll, - Properties::NON_VIRTUAL, - __bool__getAllowAll, - "", - ""); - I_Method1(bool, layerAcceptable, IN, const std::string &, setname, - Properties::NON_VIRTUAL, - __bool__layerAcceptable__C5_std_string_R1, - "", - ""); - I_Method2(bool, readImageLayer, IN, osgTerrain::ImageLayer *, imageLayer, IN, const osgDB::ReaderWriter::Options *, options, - Properties::NON_VIRTUAL, - __bool__readImageLayer__osgTerrain_ImageLayer_P1__C5_osgDB_ReaderWriter_Options_P1, - "", - ""); - I_Method0(bool, deferExternalLayerLoading, - Properties::VIRTUAL, - __bool__deferExternalLayerLoading, - "", - ""); - I_Method2(void, loaded, IN, osgTerrain::TerrainTile *, tile, IN, const osgDB::ReaderWriter::Options *, options, - Properties::VIRTUAL, - __void__loaded__osgTerrain_TerrainTile_P1__C5_osgDB_ReaderWriter_Options_P1, - "", - ""); - I_SimpleProperty(bool, AllowAll, - __bool__getAllowAll, - __void__setAllowAll__bool); - I_SimpleProperty(unsigned int, MinimumNumOfLayers, - __unsigned_int__getMinimumNumOfLayers, - __void__setMinimumNumOfLayers__unsigned_int); - I_SimpleProperty(bool, ReplaceSwitchLayer, - __bool__getReplaceSwitchLayer, - __void__setReplaceSwitchLayer__bool); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgTerrain::TerrainTile::TileLoadedCallback >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgTerrain::TerrainTile::TileLoadedCallback *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgTerrain::TerrainTile::TileLoadedCallback > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgTerrain::TerrainTile::TileLoadedCallback > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgTerrain::TerrainTile::TileLoadedCallback *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgTerrain::TerrainTile::TileLoadedCallback *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgTerrain::TerrainTile::TileLoadedCallback > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgTerrain::TerrainTile::TileLoadedCallback *, , - __T_P1__get, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgTerrain/ValidDataOperator.cpp b/src/osgWrappers/introspection/osgTerrain/ValidDataOperator.cpp deleted file mode 100644 index 00e5a7f7f..000000000 --- a/src/osgWrappers/introspection/osgTerrain/ValidDataOperator.cpp +++ /dev/null @@ -1,104 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgTerrain::NoDataValue) - I_DeclaringFile("osgTerrain/ValidDataOperator"); - I_BaseType(osgTerrain::ValidDataOperator); - I_Constructor1(IN, float, value, - Properties::NON_EXPLICIT, - ____NoDataValue__float, - "", - ""); - I_Method1(void, setNoDataValue, IN, float, value, - Properties::NON_VIRTUAL, - __void__setNoDataValue__float, - "", - ""); - I_Method0(float, getValue, - Properties::NON_VIRTUAL, - __float__getValue, - "", - ""); - I_SimpleProperty(float, NoDataValue, - 0, - __void__setNoDataValue__float); - I_SimpleProperty(float, Value, - __float__getValue, - 0); - I_PublicMemberProperty(float, _value); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::ValidDataOperator) - I_DeclaringFile("osgTerrain/ValidDataOperator"); - I_BaseType(osg::Referenced); - I_Constructor0(____ValidDataOperator, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgTerrain::ValidRange) - I_DeclaringFile("osgTerrain/ValidDataOperator"); - I_BaseType(osgTerrain::ValidDataOperator); - I_Constructor2(IN, float, minValue, IN, float, maxValue, - ____ValidRange__float__float, - "", - ""); - I_Method2(void, setRange, IN, float, minValue, IN, float, maxValue, - Properties::NON_VIRTUAL, - __void__setRange__float__float, - "", - ""); - I_Method1(void, setMinValue, IN, float, minValue, - Properties::NON_VIRTUAL, - __void__setMinValue__float, - "", - ""); - I_Method0(float, getMinValue, - Properties::NON_VIRTUAL, - __float__getMinValue, - "", - ""); - I_Method1(void, setMaxValue, IN, float, maxValue, - Properties::NON_VIRTUAL, - __void__setMaxValue__float, - "", - ""); - I_Method0(float, getMaxValue, - Properties::NON_VIRTUAL, - __float__getMaxValue, - "", - ""); - I_SimpleProperty(float, MaxValue, - __float__getMaxValue, - __void__setMaxValue__float); - I_SimpleProperty(float, MinValue, - __float__getMinValue, - __void__setMinValue__float); - I_PublicMemberProperty(float, _minValue); - I_PublicMemberProperty(float, _maxValue); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgText/Export.cpp b/src/osgWrappers/introspection/osgText/Export.cpp deleted file mode 100644 index 4f9502f9a..000000000 --- a/src/osgWrappers/introspection/osgText/Export.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - diff --git a/src/osgWrappers/introspection/osgText/FadeText.cpp b/src/osgWrappers/introspection/osgText/FadeText.cpp deleted file mode 100644 index a24fd6c21..000000000 --- a/src/osgWrappers/introspection/osgText/FadeText.cpp +++ /dev/null @@ -1,91 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgText::FadeText) - I_DeclaringFile("osgText/FadeText"); - I_BaseType(osgText::Text); - I_Constructor0(____FadeText, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgText::Text &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____FadeText__C5_Text_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setFadeSpeed, IN, float, fadeSpeed, - Properties::NON_VIRTUAL, - __void__setFadeSpeed__float, - "Set the speed that the alpha value changes as the text is occluded or becomes visible. ", - ""); - I_Method0(float, getFadeSpeed, - Properties::NON_VIRTUAL, - __float__getFadeSpeed, - "Get the speed that the alpha value changes. ", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1, - "Draw the text. ", - ""); - I_ProtectedMethod0(void, init, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__init, - "", - ""); - - - I_SimpleProperty(float, FadeSpeed, - __float__getFadeSpeed, - __void__setFadeSpeed__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgText/Font.cpp b/src/osgWrappers/introspection/osgText/Font.cpp deleted file mode 100644 index c4fc7fd2b..000000000 --- a/src/osgWrappers/introspection/osgText/Font.cpp +++ /dev/null @@ -1,493 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(OpenThreads::Mutex, osgText::Font::FontMutex) - -BEGIN_OBJECT_REFLECTOR(osgText::Font) - I_DeclaringFile("osgText/Font"); - I_BaseType(osg::Object); - I_ConstructorWithDefaults1(IN, osgText::Font::FontImplementation *, implementation, 0, - Properties::NON_EXPLICIT, - ____Font__FontImplementation_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(std::string, getFileName, - Properties::VIRTUAL, - __std_string__getFileName, - "", - ""); - I_Method1(void, setTexEnv, IN, osg::TexEnv *, texenv, - Properties::NON_VIRTUAL, - __void__setTexEnv__osg_TexEnv_P1, - "", - ""); - I_Method0(osg::TexEnv *, getTexEnv, - Properties::NON_VIRTUAL, - __osg_TexEnv_P1__getTexEnv, - "", - ""); - I_Method0(const osg::TexEnv *, getTexEnv, - Properties::NON_VIRTUAL, - __C5_osg_TexEnv_P1__getTexEnv, - "", - ""); - I_Method1(void, setStateSet, IN, osg::StateSet *, stateset, - Properties::NON_VIRTUAL, - __void__setStateSet__osg_StateSet_P1, - "", - ""); - I_Method0(osg::StateSet *, getStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getStateSet, - "", - ""); - I_Method0(const osg::StateSet *, getStateSet, - Properties::NON_VIRTUAL, - __C5_osg_StateSet_P1__getStateSet, - "", - ""); - I_Method4(osg::Vec2, getKerning, IN, const osgText::FontResolution &, fontSize, IN, unsigned int, leftcharcode, IN, unsigned int, rightcharcode, IN, osgText::KerningType, kerningType, - Properties::VIRTUAL, - __osg_Vec2__getKerning__C5_FontResolution_R1__unsigned_int__unsigned_int__KerningType, - "Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint. ", - ""); - I_Method2(osgText::Font::Glyph *, getGlyph, IN, const osgText::FontResolution &, fontSize, IN, unsigned int, charcode, - Properties::VIRTUAL, - __Glyph_P1__getGlyph__C5_FontResolution_R1__unsigned_int, - "Get a Glyph for specified charcode, and the font size nearest to the current font size hint. ", - ""); - I_Method0(bool, hasVertical, - Properties::VIRTUAL, - __bool__hasVertical, - "Return true if this font provides vertical alignments and spacing or glyphs. ", - ""); - I_Method1(void, setGlyphImageMargin, IN, unsigned int, margin, - Properties::NON_VIRTUAL, - __void__setGlyphImageMargin__unsigned_int, - "Set the margin around each glyph, to ensure that texture filtering doesn't bleed adjacent glyph's into each other. ", - "Default margin is 1 texels. "); - I_Method0(unsigned int, getGlyphImageMargin, - Properties::NON_VIRTUAL, - __unsigned_int__getGlyphImageMargin, - "", - ""); - I_Method1(void, setGlyphImageMarginRatio, IN, float, margin, - Properties::NON_VIRTUAL, - __void__setGlyphImageMarginRatio__float, - "Set the margin ratio around each glyph, relative to the glyph's size. ", - "to ensure that texture filtering doesn't bleed adjacent glyph's into each other. Default margin is 0.05. "); - I_Method0(float, getGlyphImageMarginRatio, - Properties::NON_VIRTUAL, - __float__getGlyphImageMarginRatio, - "", - ""); - I_Method2(void, setTextureSizeHint, IN, unsigned int, width, IN, unsigned int, height, - Properties::NON_VIRTUAL, - __void__setTextureSizeHint__unsigned_int__unsigned_int, - "Set the size of texture to create to store the glyph images when rendering. ", - "Note, this doesn't affect already created Texture Glhph's. "); - I_Method0(unsigned int, getTextureWidthHint, - Properties::NON_VIRTUAL, - __unsigned_int__getTextureWidthHint, - "", - ""); - I_Method0(unsigned int, getTextureHeightHint, - Properties::NON_VIRTUAL, - __unsigned_int__getTextureHeightHint, - "", - ""); - I_Method1(void, setMinFilterHint, IN, osg::Texture::FilterMode, mode, - Properties::NON_VIRTUAL, - __void__setMinFilterHint__osg_Texture_FilterMode, - "Set the minification texture filter to use when creating the texture to store the glyph images when rendering. ", - "Note, this doesn't affect already created Texture Glhph's. "); - I_Method0(osg::Texture::FilterMode, getMinFilterHint, - Properties::NON_VIRTUAL, - __osg_Texture_FilterMode__getMinFilterHint, - "", - ""); - I_Method1(void, setMagFilterHint, IN, osg::Texture::FilterMode, mode, - Properties::NON_VIRTUAL, - __void__setMagFilterHint__osg_Texture_FilterMode, - "Set the magnification texture filter to use when creating the texture to store the glyph images when rendering. ", - "Note, this doesn't affect already created Texture Glhph's. "); - I_Method0(osg::Texture::FilterMode, getMagFilterHint, - Properties::NON_VIRTUAL, - __osg_Texture_FilterMode__getMagFilterHint, - "", - ""); - I_Method1(void, setImplementation, IN, osgText::Font::FontImplementation *, implementation, - Properties::NON_VIRTUAL, - __void__setImplementation__FontImplementation_P1, - "", - ""); - I_Method0(osgText::Font::FontImplementation *, getImplementation, - Properties::NON_VIRTUAL, - __FontImplementation_P1__getImplementation, - "", - ""); - I_Method0(const osgText::Font::FontImplementation *, getImplementation, - Properties::NON_VIRTUAL, - __C5_FontImplementation_P1__getImplementation, - "", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objexts for all graphics contexts. "); - I_ProtectedMethod3(void, addGlyph, IN, const osgText::FontResolution &, fontRes, IN, unsigned int, charcode, IN, osgText::Font::Glyph *, glyph, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addGlyph__C5_FontResolution_R1__unsigned_int__Glyph_P1, - "", - ""); - I_SimpleProperty(std::string, FileName, - __std_string__getFileName, - 0); - I_SimpleProperty(unsigned int, GlyphImageMargin, - __unsigned_int__getGlyphImageMargin, - __void__setGlyphImageMargin__unsigned_int); - I_SimpleProperty(float, GlyphImageMarginRatio, - __float__getGlyphImageMarginRatio, - __void__setGlyphImageMarginRatio__float); - I_SimpleProperty(osgText::Font::FontImplementation *, Implementation, - __FontImplementation_P1__getImplementation, - __void__setImplementation__FontImplementation_P1); - I_SimpleProperty(osg::Texture::FilterMode, MagFilterHint, - __osg_Texture_FilterMode__getMagFilterHint, - __void__setMagFilterHint__osg_Texture_FilterMode); - I_SimpleProperty(osg::Texture::FilterMode, MinFilterHint, - __osg_Texture_FilterMode__getMinFilterHint, - __void__setMinFilterHint__osg_Texture_FilterMode); - I_SimpleProperty(osg::StateSet *, StateSet, - __osg_StateSet_P1__getStateSet, - __void__setStateSet__osg_StateSet_P1); - I_SimpleProperty(osg::TexEnv *, TexEnv, - __osg_TexEnv_P1__getTexEnv, - __void__setTexEnv__osg_TexEnv_P1); - I_SimpleProperty(unsigned int, TextureHeightHint, - __unsigned_int__getTextureHeightHint, - 0); - I_SimpleProperty(unsigned int, TextureWidthHint, - __unsigned_int__getTextureWidthHint, - 0); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgText::Font::FontImplementation) - I_DeclaringFile("osgText/Font"); - I_BaseType(osg::Referenced); - I_Constructor0(____FontImplementation, - "", - ""); - I_Method0(std::string, getFileName, - Properties::PURE_VIRTUAL, - __std_string__getFileName, - "", - ""); - I_Method2(osgText::Font::Glyph *, getGlyph, IN, const osgText::FontResolution &, fontRes, IN, unsigned int, charcode, - Properties::PURE_VIRTUAL, - __Glyph_P1__getGlyph__C5_FontResolution_R1__unsigned_int, - "Get a Glyph for specified charcode, and the font size nearest to the current font size hint. ", - ""); - I_Method4(osg::Vec2, getKerning, IN, const osgText::FontResolution &, fontRes, IN, unsigned int, leftcharcode, IN, unsigned int, rightcharcode, IN, osgText::KerningType, kerningType, - Properties::PURE_VIRTUAL, - __osg_Vec2__getKerning__C5_FontResolution_R1__unsigned_int__unsigned_int__KerningType, - "Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint. ", - ""); - I_Method0(bool, hasVertical, - Properties::PURE_VIRTUAL, - __bool__hasVertical, - "Return true if this font provides vertical alignments and spacing or glyphs. ", - ""); - I_Method3(void, addGlyph, IN, const osgText::FontResolution &, fontRes, IN, unsigned int, charcode, IN, osgText::Font::Glyph *, glyph, - Properties::NON_VIRTUAL, - __void__addGlyph__C5_FontResolution_R1__unsigned_int__Glyph_P1, - "", - ""); - I_SimpleProperty(std::string, FileName, - __std_string__getFileName, - 0); - I_PublicMemberProperty(osgText::Font *, _facade); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgText::Font::Glyph) - I_DeclaringFile("osgText/Font"); - I_BaseType(osg::Image); - I_Constructor1(IN, unsigned int, glyphCode, - Properties::NON_EXPLICIT, - ____Glyph__unsigned_int, - "", - ""); - I_Method0(unsigned int, getGlyphCode, - Properties::NON_VIRTUAL, - __unsigned_int__getGlyphCode, - "", - ""); - I_Method1(void, setHorizontalBearing, IN, const osg::Vec2 &, bearing, - Properties::NON_VIRTUAL, - __void__setHorizontalBearing__C5_osg_Vec2_R1, - "", - ""); - I_Method0(const osg::Vec2 &, getHorizontalBearing, - Properties::NON_VIRTUAL, - __C5_osg_Vec2_R1__getHorizontalBearing, - "", - ""); - I_Method1(void, setHorizontalAdvance, IN, float, advance, - Properties::NON_VIRTUAL, - __void__setHorizontalAdvance__float, - "", - ""); - I_Method0(float, getHorizontalAdvance, - Properties::NON_VIRTUAL, - __float__getHorizontalAdvance, - "", - ""); - I_Method1(void, setVerticalBearing, IN, const osg::Vec2 &, bearing, - Properties::NON_VIRTUAL, - __void__setVerticalBearing__C5_osg_Vec2_R1, - "", - ""); - I_Method0(const osg::Vec2 &, getVerticalBearing, - Properties::NON_VIRTUAL, - __C5_osg_Vec2_R1__getVerticalBearing, - "", - ""); - I_Method1(void, setVerticalAdvance, IN, float, advance, - Properties::NON_VIRTUAL, - __void__setVerticalAdvance__float, - "", - ""); - I_Method0(float, getVerticalAdvance, - Properties::NON_VIRTUAL, - __float__getVerticalAdvance, - "", - ""); - I_Method1(void, setTexture, IN, osgText::Font::GlyphTexture *, texture, - Properties::NON_VIRTUAL, - __void__setTexture__GlyphTexture_P1, - "", - ""); - I_Method0(osgText::Font::GlyphTexture *, getTexture, - Properties::NON_VIRTUAL, - __GlyphTexture_P1__getTexture, - "", - ""); - I_Method0(const osgText::Font::GlyphTexture *, getTexture, - Properties::NON_VIRTUAL, - __C5_GlyphTexture_P1__getTexture, - "", - ""); - I_Method2(void, setTexturePosition, IN, int, posX, IN, int, posY, - Properties::NON_VIRTUAL, - __void__setTexturePosition__int__int, - "", - ""); - I_Method0(int, getTexturePositionX, - Properties::NON_VIRTUAL, - __int__getTexturePositionX, - "", - ""); - I_Method0(int, getTexturePositionY, - Properties::NON_VIRTUAL, - __int__getTexturePositionY, - "", - ""); - I_Method1(void, setMinTexCoord, IN, const osg::Vec2 &, coord, - Properties::NON_VIRTUAL, - __void__setMinTexCoord__C5_osg_Vec2_R1, - "", - ""); - I_Method0(const osg::Vec2 &, getMinTexCoord, - Properties::NON_VIRTUAL, - __C5_osg_Vec2_R1__getMinTexCoord, - "", - ""); - I_Method1(void, setMaxTexCoord, IN, const osg::Vec2 &, coord, - Properties::NON_VIRTUAL, - __void__setMaxTexCoord__C5_osg_Vec2_R1, - "", - ""); - I_Method0(const osg::Vec2 &, getMaxTexCoord, - Properties::NON_VIRTUAL, - __C5_osg_Vec2_R1__getMaxTexCoord, - "", - ""); - I_Method0(void, subload, - Properties::NON_VIRTUAL, - __void__subload, - "", - ""); - I_SimpleProperty(unsigned int, GlyphCode, - __unsigned_int__getGlyphCode, - 0); - I_SimpleProperty(float, HorizontalAdvance, - __float__getHorizontalAdvance, - __void__setHorizontalAdvance__float); - I_SimpleProperty(const osg::Vec2 &, HorizontalBearing, - __C5_osg_Vec2_R1__getHorizontalBearing, - __void__setHorizontalBearing__C5_osg_Vec2_R1); - I_SimpleProperty(const osg::Vec2 &, MaxTexCoord, - __C5_osg_Vec2_R1__getMaxTexCoord, - __void__setMaxTexCoord__C5_osg_Vec2_R1); - I_SimpleProperty(const osg::Vec2 &, MinTexCoord, - __C5_osg_Vec2_R1__getMinTexCoord, - __void__setMinTexCoord__C5_osg_Vec2_R1); - I_SimpleProperty(osgText::Font::GlyphTexture *, Texture, - __GlyphTexture_P1__getTexture, - __void__setTexture__GlyphTexture_P1); - I_SimpleProperty(int, TexturePositionX, - __int__getTexturePositionX, - 0); - I_SimpleProperty(int, TexturePositionY, - __int__getTexturePositionY, - 0); - I_SimpleProperty(float, VerticalAdvance, - __float__getVerticalAdvance, - __void__setVerticalAdvance__float); - I_SimpleProperty(const osg::Vec2 &, VerticalBearing, - __C5_osg_Vec2_R1__getVerticalBearing, - __void__setVerticalBearing__C5_osg_Vec2_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgText::Font::GlyphTexture) - I_DeclaringFile("osgText/Font"); - I_BaseType(osg::Texture2D); - I_Constructor0(____GlyphTexture, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "Return the name of the attribute's class type. ", - ""); - I_Method1(int, compare, IN, const osg::StateAttribute &, rhs, - Properties::VIRTUAL, - __int__compare__C5_osg_StateAttribute_R1, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setGlyphImageMargin, IN, unsigned int, margin, - Properties::NON_VIRTUAL, - __void__setGlyphImageMargin__unsigned_int, - "Set the margin around each glyph, to ensure that texture filtering doesn't bleed adjacent glyph's into each other. ", - ""); - I_Method0(unsigned int, getGlyphImageMargin, - Properties::NON_VIRTUAL, - __unsigned_int__getGlyphImageMargin, - "", - ""); - I_Method1(void, setGlyphImageMarginRatio, IN, float, margin, - Properties::NON_VIRTUAL, - __void__setGlyphImageMarginRatio__float, - "", - ""); - I_Method0(float, getGlyphImageMarginRatio, - Properties::NON_VIRTUAL, - __float__getGlyphImageMarginRatio, - "", - ""); - I_Method3(bool, getSpaceForGlyph, IN, osgText::Font::Glyph *, glyph, IN, int &, posX, IN, int &, posY, - Properties::NON_VIRTUAL, - __bool__getSpaceForGlyph__Glyph_P1__int_R1__int_R1, - "", - ""); - I_Method3(void, addGlyph, IN, osgText::Font::Glyph *, glyph, IN, int, posX, IN, int, posY, - Properties::NON_VIRTUAL, - __void__addGlyph__Glyph_P1__int__int, - "", - ""); - I_Method1(void, apply, IN, osg::State &, state, - Properties::VIRTUAL, - __void__apply__osg_State_R1, - "Bind the texture object. ", - "If the texture object hasn't already been compiled, create the texture mipmap levels. "); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_SimpleProperty(unsigned int, GlyphImageMargin, - __unsigned_int__getGlyphImageMargin, - __void__setGlyphImageMargin__unsigned_int); - I_SimpleProperty(float, GlyphImageMarginRatio, - __float__getGlyphImageMarginRatio, - __void__setGlyphImageMarginRatio__float); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgText/Font3D.cpp b/src/osgWrappers/introspection/osgText/Font3D.cpp deleted file mode 100644 index e867dc950..000000000 --- a/src/osgWrappers/introspection/osgText/Font3D.cpp +++ /dev/null @@ -1,418 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(OpenThreads::Mutex, osgText::Font3D::Font3DMutex) - -BEGIN_OBJECT_REFLECTOR(osgText::Font3D) - I_DeclaringFile("osgText/Font3D"); - I_BaseType(osg::Object); - I_ConstructorWithDefaults1(IN, osgText::Font3D::Font3DImplementation *, implementation, 0, - Properties::NON_EXPLICIT, - ____Font3D__Font3DImplementation_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(std::string, getFileName, - Properties::VIRTUAL, - __std_string__getFileName, - "", - ""); - I_Method0(unsigned int, getFontWidth, - Properties::NON_VIRTUAL, - __unsigned_int__getFontWidth, - "", - ""); - I_Method0(unsigned int, getFontHeight, - Properties::NON_VIRTUAL, - __unsigned_int__getFontHeight, - "", - ""); - I_Method0(unsigned int, getFontDepth, - Properties::NON_VIRTUAL, - __unsigned_int__getFontDepth, - "", - ""); - I_Method3(osg::Vec2, getKerning, IN, unsigned int, leftcharcode, IN, unsigned int, rightcharcode, IN, osgText::KerningType, kerningType, - Properties::VIRTUAL, - __osg_Vec2__getKerning__unsigned_int__unsigned_int__KerningType, - "Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint. ", - ""); - I_Method1(osgText::Font3D::Glyph3D *, getGlyph, IN, unsigned int, charcode, - Properties::VIRTUAL, - __Glyph3D_P1__getGlyph__unsigned_int, - "Get a Glyph for specified charcode, and the font size nearest to the current font size hint. ", - ""); - I_Method0(bool, hasVertical, - Properties::VIRTUAL, - __bool__hasVertical, - "Return true if this font provides vertical alignments and spacing or glyphs. ", - ""); - I_Method0(float, getScale, - Properties::VIRTUAL, - __float__getScale, - "Return the scale to apply on the glyph to have a charactere size equal to 1. ", - ""); - I_Method1(void, setImplementation, IN, osgText::Font3D::Font3DImplementation *, implementation, - Properties::NON_VIRTUAL, - __void__setImplementation__Font3DImplementation_P1, - "", - ""); - I_Method0(osgText::Font3D::Font3DImplementation *, getImplementation, - Properties::NON_VIRTUAL, - __Font3DImplementation_P1__getImplementation, - "", - ""); - I_Method0(const osgText::Font3D::Font3DImplementation *, getImplementation, - Properties::NON_VIRTUAL, - __C5_Font3DImplementation_P1__getImplementation, - "", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref(). ", - ""); - I_ProtectedMethod2(void, addGlyph, IN, unsigned int, charcode, IN, osgText::Font3D::Glyph3D *, glyph, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addGlyph__unsigned_int__Glyph3D_P1, - "", - ""); - I_SimpleProperty(std::string, FileName, - __std_string__getFileName, - 0); - I_SimpleProperty(unsigned int, FontDepth, - __unsigned_int__getFontDepth, - 0); - I_SimpleProperty(unsigned int, FontHeight, - __unsigned_int__getFontHeight, - 0); - I_SimpleProperty(unsigned int, FontWidth, - __unsigned_int__getFontWidth, - 0); - I_SimpleProperty(osgText::Font3D::Font3DImplementation *, Implementation, - __Font3DImplementation_P1__getImplementation, - __void__setImplementation__Font3DImplementation_P1); - I_SimpleProperty(float, Scale, - __float__getScale, - 0); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgText::Font3D::Font3DImplementation) - I_DeclaringFile("osgText/Font3D"); - I_BaseType(osg::Referenced); - I_Constructor0(____Font3DImplementation, - "", - ""); - I_Method0(std::string, getFileName, - Properties::PURE_VIRTUAL, - __std_string__getFileName, - "", - ""); - I_Method1(osgText::Font3D::Glyph3D *, getGlyph, IN, unsigned int, charcode, - Properties::PURE_VIRTUAL, - __Glyph3D_P1__getGlyph__unsigned_int, - "Get a Glyph for specified charcode, and the font size nearest to the current font size hint. ", - ""); - I_Method3(osg::Vec2, getKerning, IN, unsigned int, leftcharcode, IN, unsigned int, rightcharcode, IN, osgText::KerningType, kerningType, - Properties::PURE_VIRTUAL, - __osg_Vec2__getKerning__unsigned_int__unsigned_int__KerningType, - "Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint. ", - ""); - I_Method0(bool, hasVertical, - Properties::PURE_VIRTUAL, - __bool__hasVertical, - "Return true if this font provides vertical alignments and spacing or glyphs. ", - ""); - I_Method0(float, getScale, - Properties::PURE_VIRTUAL, - __float__getScale, - "", - ""); - I_Method1(void, setFontWidth, IN, unsigned int, width, - Properties::NON_VIRTUAL, - __void__setFontWidth__unsigned_int, - "", - ""); - I_Method1(void, setFontHeight, IN, unsigned int, height, - Properties::NON_VIRTUAL, - __void__setFontHeight__unsigned_int, - "", - ""); - I_Method1(void, setFontDepth, IN, unsigned int, depth, - Properties::NON_VIRTUAL, - __void__setFontDepth__unsigned_int, - "", - ""); - I_SimpleProperty(std::string, FileName, - __std_string__getFileName, - 0); - I_SimpleProperty(unsigned int, FontDepth, - 0, - __void__setFontDepth__unsigned_int); - I_SimpleProperty(unsigned int, FontHeight, - 0, - __void__setFontHeight__unsigned_int); - I_SimpleProperty(unsigned int, FontWidth, - 0, - __void__setFontWidth__unsigned_int); - I_SimpleProperty(float, Scale, - __float__getScale, - 0); - I_PublicMemberProperty(osgText::Font3D *, _facade); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgText::Font3D::Glyph3D) - I_DeclaringFile("osgText/Font3D"); - I_BaseType(osg::Referenced); - I_Constructor1(IN, unsigned int, glyphCode, - Properties::NON_EXPLICIT, - ____Glyph3D__unsigned_int, - "", - ""); - I_Method0(unsigned int, getGlyphCode, - Properties::NON_VIRTUAL, - __unsigned_int__getGlyphCode, - "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", - ""); - I_Method1(void, setHorizontalBearing, IN, const osg::Vec2 &, bearing, - Properties::NON_VIRTUAL, - __void__setHorizontalBearing__C5_osg_Vec2_R1, - "", - ""); - I_Method0(const osg::Vec2 &, getHorizontalBearing, - Properties::NON_VIRTUAL, - __C5_osg_Vec2_R1__getHorizontalBearing, - "", - ""); - I_Method1(void, setHorizontalAdvance, IN, float, advance, - Properties::NON_VIRTUAL, - __void__setHorizontalAdvance__float, - "", - ""); - I_Method0(float, getHorizontalAdvance, - Properties::NON_VIRTUAL, - __float__getHorizontalAdvance, - "", - ""); - I_Method1(void, setVerticalBearing, IN, const osg::Vec2 &, bearing, - Properties::NON_VIRTUAL, - __void__setVerticalBearing__C5_osg_Vec2_R1, - "", - ""); - I_Method0(const osg::Vec2 &, getVerticalBearing, - Properties::NON_VIRTUAL, - __C5_osg_Vec2_R1__getVerticalBearing, - "", - ""); - I_Method1(void, setVerticalAdvance, IN, float, advance, - Properties::NON_VIRTUAL, - __void__setVerticalAdvance__float, - "", - ""); - I_Method0(float, getVerticalAdvance, - Properties::NON_VIRTUAL, - __float__getVerticalAdvance, - "", - ""); - I_Method1(void, setBoundingBox, IN, osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - __void__setBoundingBox__osg_BoundingBox_R1, - "", - ""); - I_Method0(const osg::BoundingBox &, getBoundingBox, - Properties::NON_VIRTUAL, - __C5_osg_BoundingBox_R1__getBoundingBox, - "", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method0(osg::Geometry::PrimitiveSetList &, getFrontPrimitiveSetList, - Properties::NON_VIRTUAL, - __osg_Geometry_PrimitiveSetList_R1__getFrontPrimitiveSetList, - "Get the PrimitiveSetList for the front face. ", - ""); - I_Method0(osg::Geometry::PrimitiveSetList &, getWallPrimitiveSetList, - Properties::NON_VIRTUAL, - __osg_Geometry_PrimitiveSetList_R1__getWallPrimitiveSetList, - "Get the PrimitiveSetList for the wall face. ", - ""); - I_Method0(osg::Geometry::PrimitiveSetList &, getBackPrimitiveSetList, - Properties::NON_VIRTUAL, - __osg_Geometry_PrimitiveSetList_R1__getBackPrimitiveSetList, - "Get et the PrimitiveSetList for the back face. ", - ""); - I_Method1(void, setVertexArray, IN, osg::Vec3Array *, va, - Properties::NON_VIRTUAL, - __void__setVertexArray__osg_Vec3Array_P1, - "Set the VertexArray of the glyph. ", - ""); - I_Method0(osg::Vec3Array *, getVertexArray, - Properties::NON_VIRTUAL, - __osg_Vec3Array_P1__getVertexArray, - "Get the VertexArray of the glyph. ", - ""); - I_Method1(void, setNormalArray, IN, osg::Vec3Array *, na, - Properties::NON_VIRTUAL, - __void__setNormalArray__osg_Vec3Array_P1, - "Set the VertexArray of the glyph. ", - ""); - I_Method0(osg::Vec3Array *, getNormalArray, - Properties::NON_VIRTUAL, - __osg_Vec3Array_P1__getNormalArray, - "Get the NormalArray for the wall face. ", - ""); - I_Method0(float, getHorizontalWidth, - Properties::NON_VIRTUAL, - __float__getHorizontalWidth, - "", - ""); - I_Method0(float, getHorizontalHeight, - Properties::NON_VIRTUAL, - __float__getHorizontalHeight, - "", - ""); - I_Method0(float, getVerticalWidth, - Properties::NON_VIRTUAL, - __float__getVerticalWidth, - "", - ""); - I_Method0(float, getVerticalHeight, - Properties::NON_VIRTUAL, - __float__getVerticalHeight, - "", - ""); - I_Method1(void, setWidth, IN, float, width, - Properties::NON_VIRTUAL, - __void__setWidth__float, - "", - ""); - I_Method0(float, getWidth, - Properties::NON_VIRTUAL, - __float__getWidth, - "", - ""); - I_Method1(void, setHeight, IN, float, height, - Properties::NON_VIRTUAL, - __void__setHeight__float, - "", - ""); - I_Method0(float, getHeight, - Properties::NON_VIRTUAL, - __float__getHeight, - "", - ""); - I_SimpleProperty(osg::Geometry::PrimitiveSetList &, BackPrimitiveSetList, - __osg_Geometry_PrimitiveSetList_R1__getBackPrimitiveSetList, - 0); - I_SimpleProperty(osg::BoundingBox &, BoundingBox, - 0, - __void__setBoundingBox__osg_BoundingBox_R1); - I_SimpleProperty(osg::Geometry::PrimitiveSetList &, FrontPrimitiveSetList, - __osg_Geometry_PrimitiveSetList_R1__getFrontPrimitiveSetList, - 0); - I_SimpleProperty(unsigned int, GlyphCode, - __unsigned_int__getGlyphCode, - 0); - I_SimpleProperty(float, Height, - __float__getHeight, - __void__setHeight__float); - I_SimpleProperty(float, HorizontalAdvance, - __float__getHorizontalAdvance, - __void__setHorizontalAdvance__float); - I_SimpleProperty(const osg::Vec2 &, HorizontalBearing, - __C5_osg_Vec2_R1__getHorizontalBearing, - __void__setHorizontalBearing__C5_osg_Vec2_R1); - I_SimpleProperty(float, HorizontalHeight, - __float__getHorizontalHeight, - 0); - I_SimpleProperty(float, HorizontalWidth, - __float__getHorizontalWidth, - 0); - I_SimpleProperty(osg::Vec3Array *, NormalArray, - __osg_Vec3Array_P1__getNormalArray, - __void__setNormalArray__osg_Vec3Array_P1); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); - I_SimpleProperty(osg::Vec3Array *, VertexArray, - __osg_Vec3Array_P1__getVertexArray, - __void__setVertexArray__osg_Vec3Array_P1); - I_SimpleProperty(float, VerticalAdvance, - __float__getVerticalAdvance, - __void__setVerticalAdvance__float); - I_SimpleProperty(const osg::Vec2 &, VerticalBearing, - __C5_osg_Vec2_R1__getVerticalBearing, - __void__setVerticalBearing__C5_osg_Vec2_R1); - I_SimpleProperty(float, VerticalHeight, - __float__getVerticalHeight, - 0); - I_SimpleProperty(float, VerticalWidth, - __float__getVerticalWidth, - 0); - I_SimpleProperty(osg::Geometry::PrimitiveSetList &, WallPrimitiveSetList, - __osg_Geometry_PrimitiveSetList_R1__getWallPrimitiveSetList, - 0); - I_SimpleProperty(float, Width, - __float__getWidth, - __void__setWidth__float); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgText/KerningType.cpp b/src/osgWrappers/introspection/osgText/KerningType.cpp deleted file mode 100644 index f2db21007..000000000 --- a/src/osgWrappers/introspection/osgText/KerningType.cpp +++ /dev/null @@ -1,35 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgText::KerningType) - I_DeclaringFile("osgText/KerningType"); - I_EnumLabel(osgText::KERNING_DEFAULT); - I_EnumLabel(osgText::KERNING_UNFITTED); - I_EnumLabel(osgText::KERNING_NONE); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::pair< unsigned int COMMA unsigned int >, osgText::FontResolution) - -STD_PAIR_REFLECTOR(std::pair< unsigned int COMMA unsigned int >) - diff --git a/src/osgWrappers/introspection/osgText/String.cpp b/src/osgWrappers/introspection/osgText/String.cpp deleted file mode 100644 index cf34a096a..000000000 --- a/src/osgWrappers/introspection/osgText/String.cpp +++ /dev/null @@ -1,109 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgText::String::Encoding) - I_DeclaringFile("osgText/String"); - I_EnumLabel(osgText::String::ENCODING_UNDEFINED); - I_EnumLabel(osgText::String::ENCODING_ASCII); - I_EnumLabel(osgText::String::ENCODING_UTF8); - I_EnumLabel(osgText::String::ENCODING_UTF16); - I_EnumLabel(osgText::String::ENCODING_UTF16_BE); - I_EnumLabel(osgText::String::ENCODING_UTF16_LE); - I_EnumLabel(osgText::String::ENCODING_UTF32); - I_EnumLabel(osgText::String::ENCODING_UTF32_BE); - I_EnumLabel(osgText::String::ENCODING_UTF32_LE); - I_EnumLabel(osgText::String::ENCODING_SIGNATURE); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgText::VectorUInt, osgText::String::vector_type) - -BEGIN_OBJECT_REFLECTOR(osgText::String) - I_DeclaringFile("osgText/String"); - I_BaseType(osgText::VectorUInt); - I_Constructor0(____String, - "", - ""); - I_Constructor1(IN, const osgText::String &, str, - Properties::NON_EXPLICIT, - ____String__C5_String_R1, - "", - ""); - I_Constructor1(IN, const std::string &, str, - Properties::NON_EXPLICIT, - ____String__C5_std_string_R1, - "", - ""); - I_Constructor1(IN, const wchar_t *, text, - Properties::NON_EXPLICIT, - ____String__C5_wchar_t_P1, - "", - ""); - I_Constructor2(IN, const std::string &, text, IN, osgText::String::Encoding, encoding, - ____String__C5_std_string_R1__Encoding, - "", - ""); - I_Method1(void, set, IN, const std::string &, str, - Properties::NON_VIRTUAL, - __void__set__C5_std_string_R1, - "", - ""); - I_Method1(void, set, IN, const wchar_t *, text, - Properties::NON_VIRTUAL, - __void__set__C5_wchar_t_P1, - "Set the text using a wchar_t string, which is converted to an internal TextString. ", - ""); - I_Method2(void, set, IN, const std::string &, text, IN, osgText::String::Encoding, encoding, - Properties::NON_VIRTUAL, - __void__set__C5_std_string_R1__Encoding, - "Set the text using a Unicode encoded std::string, which is converted to an internal TextString. ", - "The encoding parameter specifies which Unicode encoding is used in the std::string. "); - I_Method0(std::string, createUTF8EncodedString, - Properties::NON_VIRTUAL, - __std_string__createUTF8EncodedString, - "returns a UTF8 encoded version of this osgText::String. ", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgText::VectorUInt) - I_DeclaringFile("osgText/String"); - I_BaseType(std::vector); - I_Constructor0(____VectorUInt, - "", - ""); - I_Constructor1(IN, const osgText::VectorUInt &, copy, - Properties::NON_EXPLICIT, - ____VectorUInt__C5_VectorUInt_R1, - "", - ""); - I_Constructor2(IN, unsigned int *, beg, IN, unsigned int *, end, - ____VectorUInt__unsigned_int_P1__unsigned_int_P1, - "", - ""); - I_Constructor1(IN, unsigned int, n, - Properties::EXPLICIT, - ____VectorUInt__unsigned_int, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgText/Text.cpp b/src/osgWrappers/introspection/osgText/Text.cpp deleted file mode 100644 index 3c5c2681b..000000000 --- a/src/osgWrappers/introspection/osgText/Text.cpp +++ /dev/null @@ -1,618 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgText::Text::BackdropType) - I_DeclaringFile("osgText/Text"); - I_EnumLabel(osgText::Text::DROP_SHADOW_BOTTOM_RIGHT); - I_EnumLabel(osgText::Text::DROP_SHADOW_CENTER_RIGHT); - I_EnumLabel(osgText::Text::DROP_SHADOW_TOP_RIGHT); - I_EnumLabel(osgText::Text::DROP_SHADOW_BOTTOM_CENTER); - I_EnumLabel(osgText::Text::DROP_SHADOW_TOP_CENTER); - I_EnumLabel(osgText::Text::DROP_SHADOW_BOTTOM_LEFT); - I_EnumLabel(osgText::Text::DROP_SHADOW_CENTER_LEFT); - I_EnumLabel(osgText::Text::DROP_SHADOW_TOP_LEFT); - I_EnumLabel(osgText::Text::OUTLINE); - I_EnumLabel(osgText::Text::NONE); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgText::Text::BackdropImplementation) - I_DeclaringFile("osgText/Text"); - I_EnumLabel(osgText::Text::POLYGON_OFFSET); - I_EnumLabel(osgText::Text::NO_DEPTH_BUFFER); - I_EnumLabel(osgText::Text::DEPTH_RANGE); - I_EnumLabel(osgText::Text::STENCIL_BUFFER); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgText::Text::ColorGradientMode) - I_DeclaringFile("osgText/Text"); - I_EnumLabel(osgText::Text::SOLID); - I_EnumLabel(osgText::Text::PER_CHARACTER); - I_EnumLabel(osgText::Text::OVERALL); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< osg::ref_ptr< osgText::Font::GlyphTexture > COMMA osgText::Text::GlyphQuads >, osgText::Text::TextureGlyphQuadMap) - -BEGIN_OBJECT_REFLECTOR(osgText::Text) - I_DeclaringFile("osgText/Text"); - I_BaseType(osgText::TextBase); - I_Constructor0(____Text, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgText::Text &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Text__C5_Text_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_MethodWithDefaults1(void, setFont, IN, osgText::Font *, font, 0, - Properties::NON_VIRTUAL, - __void__setFont__Font_P1, - "Set the Font to use to render the text. ", - "setFont(0) sets the use of the default font. "); - I_Method1(void, setFont, IN, osg::ref_ptr< osgText::Font >, font, - Properties::NON_VIRTUAL, - __void__setFont__osg_ref_ptrT1_Font_, - "Set the Font to use to render the text. ", - ""); - I_Method1(void, setFont, IN, const std::string &, fontfile, - Properties::NON_VIRTUAL, - __void__setFont__C5_std_string_R1, - "Set the font, loaded from the specified front file, to use to render the text, setFont(\"\") sets the use of the default font. ", - "See the osgText::readFontFile function for how the font file will be located. "); - I_Method0(const osgText::Font *, getFont, - Properties::NON_VIRTUAL, - __C5_Font_P1__getFont, - "Get the font. ", - "Return 0 if default is being used. "); - I_Method1(void, setColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setColor__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColor, - "", - ""); - I_Method1(void, setBackdropType, IN, osgText::Text::BackdropType, type, - Properties::NON_VIRTUAL, - __void__setBackdropType__BackdropType, - "BackdropType gives you a background shadow text behind your regular text. ", - "This helps give text extra contrast which can be useful when placing text against noisy backgrounds. The color of the background shadow text is specified by setBackdropColor(). DROP_SHADOW_BOTTOM_RIGHT will draw backdrop text to the right and down of the normal text. Other DROW_SHADOW_* modes do the same for their repective directions. OUTLINE will draw backdrop text so that it appears the text has an outline or border around the normal text. This mode is particularly useful against really noisy backgrounds that may put text on top of things that have all types of colors which you don't have control over. Some real world examples of this general technique in use that I know of are Google Earth, Sid Meier's Pirates (2004 Remake), and Star Control 2 (PC 1993). The default is NONE. "); - I_Method0(osgText::Text::BackdropType, getBackdropType, - Properties::NON_VIRTUAL, - __BackdropType__getBackdropType, - "", - ""); - I_MethodWithDefaults1(void, setBackdropOffset, IN, float, offset, 0.07f, - Properties::NON_VIRTUAL, - __void__setBackdropOffset__float, - "Sets the amount text is offset to create the backdrop/shadow effect. ", - "Set the value too high and for example, in OUTLINE mode you will get a \"Brady Bunch\" effect where you see duplicates of the text in a 3x3 grid. Set the value too small and you won't see anything. The values represent percentages. 1.0 means 100% so a value of 1.0 in DROW_SHADOW_LEFT_CENTER mode would cause each glyph to be echoed next to it self. So the letter 'e' might look like 'ee'. Good values tend to be in the 0.03 to 0.10 range (but will be subject to your specific font and display characteristics). Note that the text bounding boxes are updated to include backdrop offsets. However, other metric information such as getCharacterHeight() are unaffected by this. This means that individual glyph spacing (kerning?) are unchanged even when this mode is used. The default is 0.07 (7% offset). "); - I_Method2(void, setBackdropOffset, IN, float, horizontal, IN, float, vertical, - Properties::NON_VIRTUAL, - __void__setBackdropOffset__float__float, - "This overloaded version lets you specify the offset for the horizontal and vertical components separately. ", - ""); - I_Method0(float, getBackdropHorizontalOffset, - Properties::NON_VIRTUAL, - __float__getBackdropHorizontalOffset, - "", - ""); - I_Method0(float, getBackdropVerticalOffset, - Properties::NON_VIRTUAL, - __float__getBackdropVerticalOffset, - "", - ""); - I_Method1(void, setBackdropColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setBackdropColor__C5_osg_Vec4_R1, - "This specifies the color of the backdrop text. ", - "The default is black. "); - I_Method0(const osg::Vec4 &, getBackdropColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getBackdropColor, - "", - ""); - I_Method1(void, setBackdropImplementation, IN, osgText::Text::BackdropImplementation, implementation, - Properties::NON_VIRTUAL, - __void__setBackdropImplementation__BackdropImplementation, - "This specifies the underlying backdrop rendering implementation. ", - "Unfortunately, at this time, there is no \"perfect\" rendering solution so this function is provided to let you 'pick your poison'. Each implementation has trade-offs. See BackdropImplementation enum docs for details. "); - I_Method0(osgText::Text::BackdropImplementation, getBackdropImplementation, - Properties::NON_VIRTUAL, - __BackdropImplementation__getBackdropImplementation, - "", - ""); - I_Method1(void, setColorGradientMode, IN, osgText::Text::ColorGradientMode, mode, - Properties::NON_VIRTUAL, - __void__setColorGradientMode__ColorGradientMode, - "This sets different types of text coloring modes. ", - "When the coloring mode is not set to SOLID, the colors specified in setColorGradientCorners() determine the colors for the text. When the gradient mode is OVERALL, the coloring scheme attempts to approximate the effect as if the entire text box/region were a single polygon and you had applied colors to each of the four corners with GL_SMOOTH enabled. In this mode, OpenGL interpolates the colors across the polygon, and this is what OVERALL tries to emulate. This can be used to give nice embellishments on things like logos and names. PER_CHARACTER is similar to OVERALL except that it applies the color interpolation to the four corners of each character instead of across the overall text box. The default is SOLID (a.k.a. off). "); - I_Method0(osgText::Text::ColorGradientMode, getColorGradientMode, - Properties::NON_VIRTUAL, - __ColorGradientMode__getColorGradientMode, - "", - ""); - I_Method4(void, setColorGradientCorners, IN, const osg::Vec4 &, topLeft, IN, const osg::Vec4 &, bottomLeft, IN, const osg::Vec4 &, bottomRight, IN, const osg::Vec4 &, topRight, - Properties::NON_VIRTUAL, - __void__setColorGradientCorners__C5_osg_Vec4_R1__C5_osg_Vec4_R1__C5_osg_Vec4_R1__C5_osg_Vec4_R1, - "Used only for gradient mode, let's you specify the colors of the 4 corners. ", - "If ColorGradients are off, these values are ignored (and the value from setColor() is the only one that is relevant. "); - I_Method0(const osg::Vec4 &, getColorGradientTopLeft, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColorGradientTopLeft, - "", - ""); - I_Method0(const osg::Vec4 &, getColorGradientBottomLeft, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColorGradientBottomLeft, - "", - ""); - I_Method0(const osg::Vec4 &, getColorGradientBottomRight, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColorGradientBottomRight, - "", - ""); - I_Method0(const osg::Vec4 &, getColorGradientTopRight, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getColorGradientTopRight, - "", - ""); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1, - "Draw the text. ", - ""); - I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_osg_Drawable_AttributeFunctor_R1, - "return false, osgText::Text does not support accept(AttributeFunctor&). ", - ""); - I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_osg_Drawable_ConstAttributeFunctor_R1, - "return true, osgText::Text does support accept(ConstAttributeFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af, - Properties::VIRTUAL, - __void__accept__osg_Drawable_ConstAttributeFunctor_R1, - "accept an ConstAttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ", - ""); - I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_osg_PrimitiveFunctor_R1, - "return true, osgText::Text does support accept(PrimitiveFunctor&) . ", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf, - Properties::VIRTUAL, - __void__accept__osg_PrimitiveFunctor_R1, - "accept a PrimtiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objexts for all graphics contexts. "); - I_Method1(const osgText::Text::GlyphQuads *, getGlyphQuads, IN, osgText::Font::GlyphTexture *, texture, - Properties::NON_VIRTUAL, - __C5_GlyphQuads_P1__getGlyphQuads__Font_GlyphTexture_P1, - "Direct Access to GlyphQuads. ", - ""); - I_Method0(const osgText::Text::TextureGlyphQuadMap &, getTextureGlyphQuadMap, - Properties::NON_VIRTUAL, - __C5_TextureGlyphQuadMap_R1__getTextureGlyphQuadMap, - "", - ""); - I_ProtectedMethod0(osgText::Font *, getActiveFont, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __Font_P1__getActiveFont, - "", - ""); - I_ProtectedMethod0(const osgText::Font *, getActiveFont, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_Font_P1__getActiveFont, - "", - ""); - I_ProtectedMethod3(osgText::String::iterator, computeLastCharacterOnLine, IN, osg::Vec2 &, cursor, IN, osgText::String::iterator, first, IN, osgText::String::iterator, last, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __String_iterator__computeLastCharacterOnLine__osg_Vec2_R1__String_iterator__String_iterator, - "", - ""); - I_ProtectedMethod0(void, computeGlyphRepresentation, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__computeGlyphRepresentation, - "", - ""); - I_ProtectedMethod2(bool, computeAverageGlyphWidthAndHeight, IN, float &, avg_width, IN, float &, avg_height, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__computeAverageGlyphWidthAndHeight__float_R1__float_R1, - "", - ""); - I_ProtectedMethod1(void, computePositions, IN, unsigned int, contextID, - Properties::VIRTUAL, - Properties::CONST, - __void__computePositions__unsigned_int, - "", - ""); - I_ProtectedMethod1(void, computeBackdropPositions, IN, unsigned int, contextID, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeBackdropPositions__unsigned_int, - "", - ""); - I_ProtectedMethod0(void, computeBackdropBoundingBox, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeBackdropBoundingBox, - "", - ""); - I_ProtectedMethod0(void, computeBoundingBoxMargin, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeBoundingBoxMargin, - "", - ""); - I_ProtectedMethod0(void, computeColorGradients, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeColorGradients, - "", - ""); - I_ProtectedMethod0(void, computeColorGradientsOverall, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeColorGradientsOverall, - "", - ""); - I_ProtectedMethod0(void, computeColorGradientsPerCharacter, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__computeColorGradientsPerCharacter, - "", - ""); - I_ProtectedMethod2(void, drawImplementation, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__drawImplementation__osg_State_R1__C5_osg_Vec4_R1, - "", - ""); - I_ProtectedMethod3(void, drawForegroundText, IN, osg::State &, state, IN, const osgText::Text::GlyphQuads &, glyphquad, IN, const osg::Vec4 &, colorMultiplier, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__drawForegroundText__osg_State_R1__C5_GlyphQuads_R1__C5_osg_Vec4_R1, - "", - ""); - I_ProtectedMethod2(void, renderOnlyForegroundText, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__renderOnlyForegroundText__osg_State_R1__C5_osg_Vec4_R1, - "", - ""); - I_ProtectedMethod2(void, renderWithPolygonOffset, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__renderWithPolygonOffset__osg_State_R1__C5_osg_Vec4_R1, - "", - ""); - I_ProtectedMethod2(void, renderWithNoDepthBuffer, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__renderWithNoDepthBuffer__osg_State_R1__C5_osg_Vec4_R1, - "", - ""); - I_ProtectedMethod2(void, renderWithDepthRange, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__renderWithDepthRange__osg_State_R1__C5_osg_Vec4_R1, - "", - ""); - I_ProtectedMethod2(void, renderWithStencilBuffer, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__renderWithStencilBuffer__osg_State_R1__C5_osg_Vec4_R1, - "", - ""); - I_ProtectedMethod10(float, bilinearInterpolate, IN, float, x1, IN, float, x2, IN, float, y1, IN, float, y2, IN, float, x, IN, float, y, IN, float, q11, IN, float, q12, IN, float, q21, IN, float, q22, - Properties::NON_VIRTUAL, - Properties::CONST, - __float__bilinearInterpolate__float__float__float__float__float__float__float__float__float__float, - "", - ""); - I_SimpleProperty(const osg::Vec4 &, BackdropColor, - __C5_osg_Vec4_R1__getBackdropColor, - __void__setBackdropColor__C5_osg_Vec4_R1); - I_SimpleProperty(float, BackdropHorizontalOffset, - __float__getBackdropHorizontalOffset, - 0); - I_SimpleProperty(osgText::Text::BackdropImplementation, BackdropImplementation, - __BackdropImplementation__getBackdropImplementation, - __void__setBackdropImplementation__BackdropImplementation); - I_SimpleProperty(float, BackdropOffset, - 0, - __void__setBackdropOffset__float); - I_SimpleProperty(osgText::Text::BackdropType, BackdropType, - __BackdropType__getBackdropType, - __void__setBackdropType__BackdropType); - I_SimpleProperty(float, BackdropVerticalOffset, - __float__getBackdropVerticalOffset, - 0); - I_SimpleProperty(const osg::Vec4 &, Color, - __C5_osg_Vec4_R1__getColor, - __void__setColor__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec4 &, ColorGradientBottomLeft, - __C5_osg_Vec4_R1__getColorGradientBottomLeft, - 0); - I_SimpleProperty(const osg::Vec4 &, ColorGradientBottomRight, - __C5_osg_Vec4_R1__getColorGradientBottomRight, - 0); - I_SimpleProperty(osgText::Text::ColorGradientMode, ColorGradientMode, - __ColorGradientMode__getColorGradientMode, - __void__setColorGradientMode__ColorGradientMode); - I_SimpleProperty(const osg::Vec4 &, ColorGradientTopLeft, - __C5_osg_Vec4_R1__getColorGradientTopLeft, - 0); - I_SimpleProperty(const osg::Vec4 &, ColorGradientTopRight, - __C5_osg_Vec4_R1__getColorGradientTopRight, - 0); - I_SimpleProperty(osg::ref_ptr< osgText::Font >, Font, - 0, - __void__setFont__osg_ref_ptrT1_Font_); - I_SimpleProperty(const osgText::Text::TextureGlyphQuadMap &, TextureGlyphQuadMap, - __C5_TextureGlyphQuadMap_R1__getTextureGlyphQuadMap, - 0); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osgText::Font::Glyph * >, osgText::Text::GlyphQuads::Glyphs) - -TYPE_NAME_ALIAS(std::vector< unsigned int >, osgText::Text::GlyphQuads::LineNumbers) - -TYPE_NAME_ALIAS(std::vector< osg::Vec2 >, osgText::Text::GlyphQuads::Coords2) - -TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osgText::Text::GlyphQuads::Coords3) - -TYPE_NAME_ALIAS(std::vector< osg::Vec2 >, osgText::Text::GlyphQuads::TexCoords) - -TYPE_NAME_ALIAS(std::vector< osg::Vec4 >, osgText::Text::GlyphQuads::ColorCoords) - -BEGIN_VALUE_REFLECTOR(osgText::Text::GlyphQuads) - I_DeclaringFile("osgText/Text"); - I_Constructor0(____GlyphQuads, - "", - ""); - I_Method0(osgText::Text::GlyphQuads::Glyphs, getGlyphs, - Properties::NON_VIRTUAL, - __Glyphs__getGlyphs, - "", - ""); - I_Method0(const osgText::Text::GlyphQuads::Glyphs, getGlyphs, - Properties::NON_VIRTUAL, - __C5_Glyphs__getGlyphs, - "", - ""); - I_Method0(osgText::Text::GlyphQuads::Coords2 &, getCoords, - Properties::NON_VIRTUAL, - __Coords2_R1__getCoords, - "", - ""); - I_Method0(const osgText::Text::GlyphQuads::Coords2 &, getCoords, - Properties::NON_VIRTUAL, - __C5_Coords2_R1__getCoords, - "", - ""); - I_Method1(osgText::Text::GlyphQuads::Coords3 &, getTransformedCoords, IN, unsigned int, contexID, - Properties::NON_VIRTUAL, - __Coords3_R1__getTransformedCoords__unsigned_int, - "", - ""); - I_Method1(const osgText::Text::GlyphQuads::Coords3 &, getTransformedCoords, IN, unsigned int, contexID, - Properties::NON_VIRTUAL, - __C5_Coords3_R1__getTransformedCoords__unsigned_int, - "", - ""); - I_Method0(osgText::Text::GlyphQuads::TexCoords &, getTexCoords, - Properties::NON_VIRTUAL, - __TexCoords_R1__getTexCoords, - "", - ""); - I_Method0(const osgText::Text::GlyphQuads::TexCoords &, getTexCoords, - Properties::NON_VIRTUAL, - __C5_TexCoords_R1__getTexCoords, - "", - ""); - I_Method0(osgText::Text::GlyphQuads::LineNumbers &, getLineNumbers, - Properties::NON_VIRTUAL, - __LineNumbers_R1__getLineNumbers, - "", - ""); - I_Method0(const osgText::Text::GlyphQuads::LineNumbers &, getLineNumbers, - Properties::NON_VIRTUAL, - __C5_LineNumbers_R1__getLineNumbers, - "", - ""); - I_SimpleProperty(osgText::Text::GlyphQuads::Coords2 &, Coords, - __Coords2_R1__getCoords, - 0); - I_SimpleProperty(osgText::Text::GlyphQuads::Glyphs, Glyphs, - __Glyphs__getGlyphs, - 0); - I_SimpleProperty(osgText::Text::GlyphQuads::LineNumbers &, LineNumbers, - __LineNumbers_R1__getLineNumbers, - 0); - I_SimpleProperty(osgText::Text::GlyphQuads::TexCoords &, TexCoords, - __TexCoords_R1__getTexCoords, - 0); - I_PublicMemberProperty(osgText::Text::GlyphQuads::Glyphs, _glyphs); - I_PublicMemberProperty(osgText::Text::GlyphQuads::Coords2, _coords); - I_PublicMemberProperty(osg::buffered_object< osgText::Text::GlyphQuads::Coords3 >, _transformedCoords); - I_PublicMemberProperty(osgText::Text::GlyphQuads::TexCoords, _texcoords); - I_PublicMemberProperty(osgText::Text::GlyphQuads::LineNumbers, _lineNumbers); - I_PublicMemberProperty(osgText::Text::GlyphQuads::ColorCoords, _colorCoords); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgText::Font >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgText::Font *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgText::Font > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgText::Font > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgText::Font *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgText::Font *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgText::Font > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgText::Font *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgText::Font::GlyphTexture >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgText::Font::GlyphTexture *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgText::Font::GlyphTexture > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgText::Font::GlyphTexture > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgText::Font::GlyphTexture *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgText::Font::GlyphTexture *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgText::Font::GlyphTexture > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgText::Font::GlyphTexture *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< osg::ref_ptr< osgText::Font::GlyphTexture > COMMA osgText::Text::GlyphQuads >) - -STD_VECTOR_REFLECTOR(std::vector< osg::Vec2 >) - -STD_VECTOR_REFLECTOR(std::vector< osgText::Font::Glyph * >) - diff --git a/src/osgWrappers/introspection/osgText/Text3D.cpp b/src/osgWrappers/introspection/osgText/Text3D.cpp deleted file mode 100644 index 367626945..000000000 --- a/src/osgWrappers/introspection/osgText/Text3D.cpp +++ /dev/null @@ -1,252 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgText::Text3D::RenderMode) - I_DeclaringFile("osgText/Text3D"); - I_EnumLabel(osgText::Text3D::PER_FACE); - I_EnumLabel(osgText::Text3D::PER_GLYPH); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgText::Text3D) - I_DeclaringFile("osgText/Text3D"); - I_BaseType(osgText::TextBase); - I_Constructor0(____Text3D, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgText::Text3D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Text3D__C5_Text3D_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(float, getCharacterDepth, - Properties::NON_VIRTUAL, - __float__getCharacterDepth, - "Get the Charactere Depth of text. ", - ""); - I_Method1(void, setCharacterDepth, IN, float, characterDepth, - Properties::NON_VIRTUAL, - __void__setCharacterDepth__float, - "Set the Charactere Depth of text. ", - ""); - I_Method0(osgText::Text3D::RenderMode, getRenderMode, - Properties::NON_VIRTUAL, - __RenderMode__getRenderMode, - "Get the render mode used to render the text. ", - ""); - I_Method1(void, setRenderMode, IN, osgText::Text3D::RenderMode, renderMode, - Properties::NON_VIRTUAL, - __void__setRenderMode__RenderMode, - "Set the render mode used to render the text. ", - ""); - I_MethodWithDefaults1(void, setFont, IN, osgText::Font3D *, font, 0, - Properties::NON_VIRTUAL, - __void__setFont__Font3D_P1, - "Get the wall StateSet. ", - "Get or create the wall StateSet Set the wall StateSet Get the back StateSet Get or create the back StateSet Set the back StateSet Set the Font to use to render the text. setFont(0) sets the use of the default font. "); - I_Method1(void, setFont, IN, osg::ref_ptr< osgText::Font3D >, font, - Properties::NON_VIRTUAL, - __void__setFont__osg_ref_ptrT1_Font3D_, - "Set the Font to use to render the text. ", - ""); - I_Method1(void, setFont, IN, const std::string &, fontfile, - Properties::NON_VIRTUAL, - __void__setFont__C5_std_string_R1, - "Set the font, loaded from the specified front file, to use to render the text, setFont(\"\") sets the use of the default font. ", - "See the osgText::readFontFile function for how the font file will be located. "); - I_Method0(const osgText::Font3D *, getFont, - Properties::NON_VIRTUAL, - __C5_Font3D_P1__getFont, - "Get the font. ", - "Return 0 if default is being used. "); - I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1, - "Draw the text. ", - ""); - I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_osg_Drawable_AttributeFunctor_R1, - "return false, osgText::Text does not support accept(AttributeFunctor&). ", - ""); - I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_osg_Drawable_ConstAttributeFunctor_R1, - "return true, osgText::Text does support accept(ConstAttributeFunctor&). ", - ""); - I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af, - Properties::VIRTUAL, - __void__accept__osg_Drawable_ConstAttributeFunctor_R1, - "accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ", - ""); - I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x, - Properties::VIRTUAL, - __bool__supports__C5_osg_PrimitiveFunctor_R1, - "return true, osgText::Text does support accept(PrimitiveFunctor&) . ", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf, - Properties::VIRTUAL, - __void__accept__osg_PrimitiveFunctor_R1, - "accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has. ", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objexts for all graphics contexts. "); - I_Method0(osg::BoundingBox, computeBound, - Properties::VIRTUAL, - __osg_BoundingBox__computeBound, - "Compute the bounding box around Drawables's geometry. ", - ""); - I_ProtectedMethod1(void, renderPerGlyph, IN, osg::State &, state, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__renderPerGlyph__osg_State_R1, - "", - ""); - I_ProtectedMethod1(void, renderPerFace, IN, osg::State &, state, - Properties::NON_VIRTUAL, - Properties::CONST, - __void__renderPerFace__osg_State_R1, - "", - ""); - I_ProtectedMethod3(osgText::String::iterator, computeLastCharacterOnLine, IN, osg::Vec2 &, cursor, IN, osgText::String::iterator, first, IN, osgText::String::iterator, last, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __String_iterator__computeLastCharacterOnLine__osg_Vec2_R1__String_iterator__String_iterator, - "", - ""); - I_ProtectedMethod0(void, computeGlyphRepresentation, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__computeGlyphRepresentation, - "", - ""); - I_ProtectedMethod1(void, computePositions, IN, unsigned int, contextID, - Properties::VIRTUAL, - Properties::CONST, - __void__computePositions__unsigned_int, - "", - ""); - I_SimpleProperty(float, CharacterDepth, - __float__getCharacterDepth, - __void__setCharacterDepth__float); - I_SimpleProperty(osg::ref_ptr< osgText::Font3D >, Font, - 0, - __void__setFont__osg_ref_ptrT1_Font3D_); - I_SimpleProperty(osgText::Text3D::RenderMode, RenderMode, - __RenderMode__getRenderMode, - __void__setRenderMode__RenderMode); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgText::Font3D >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgText::Font3D *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgText::Font3D > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgText::Font3D > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgText::Font3D *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgText::Font3D *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgText::Font3D > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgText::Font3D *, , - __T_P1__get, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgText/TextBase.cpp b/src/osgWrappers/introspection/osgText/TextBase.cpp deleted file mode 100644 index 7da82f07c..000000000 --- a/src/osgWrappers/introspection/osgText/TextBase.cpp +++ /dev/null @@ -1,437 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgText::TextBase::CharacterSizeMode) - I_DeclaringFile("osgText/TextBase"); - I_EnumLabel(osgText::TextBase::OBJECT_COORDS); - I_EnumLabel(osgText::TextBase::SCREEN_COORDS); - I_EnumLabel(osgText::TextBase::OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgText::TextBase::AlignmentType) - I_DeclaringFile("osgText/TextBase"); - I_EnumLabel(osgText::TextBase::LEFT_TOP); - I_EnumLabel(osgText::TextBase::LEFT_CENTER); - I_EnumLabel(osgText::TextBase::LEFT_BOTTOM); - I_EnumLabel(osgText::TextBase::CENTER_TOP); - I_EnumLabel(osgText::TextBase::CENTER_CENTER); - I_EnumLabel(osgText::TextBase::CENTER_BOTTOM); - I_EnumLabel(osgText::TextBase::RIGHT_TOP); - I_EnumLabel(osgText::TextBase::RIGHT_CENTER); - I_EnumLabel(osgText::TextBase::RIGHT_BOTTOM); - I_EnumLabel(osgText::TextBase::LEFT_BASE_LINE); - I_EnumLabel(osgText::TextBase::CENTER_BASE_LINE); - I_EnumLabel(osgText::TextBase::RIGHT_BASE_LINE); - I_EnumLabel(osgText::TextBase::LEFT_BOTTOM_BASE_LINE); - I_EnumLabel(osgText::TextBase::CENTER_BOTTOM_BASE_LINE); - I_EnumLabel(osgText::TextBase::RIGHT_BOTTOM_BASE_LINE); - I_EnumLabel(osgText::TextBase::BASE_LINE); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgText::TextBase::AxisAlignment) - I_DeclaringFile("osgText/TextBase"); - I_EnumLabel(osgText::TextBase::XY_PLANE); - I_EnumLabel(osgText::TextBase::REVERSED_XY_PLANE); - I_EnumLabel(osgText::TextBase::XZ_PLANE); - I_EnumLabel(osgText::TextBase::REVERSED_XZ_PLANE); - I_EnumLabel(osgText::TextBase::YZ_PLANE); - I_EnumLabel(osgText::TextBase::REVERSED_YZ_PLANE); - I_EnumLabel(osgText::TextBase::SCREEN); - I_EnumLabel(osgText::TextBase::USER_DEFINED_ROTATION); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgText::TextBase::Layout) - I_DeclaringFile("osgText/TextBase"); - I_EnumLabel(osgText::TextBase::LEFT_TO_RIGHT); - I_EnumLabel(osgText::TextBase::RIGHT_TO_LEFT); - I_EnumLabel(osgText::TextBase::VERTICAL); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgText::TextBase::DrawModeMask) - I_DeclaringFile("osgText/TextBase"); - I_EnumLabel(osgText::TextBase::TEXT); - I_EnumLabel(osgText::TextBase::BOUNDINGBOX); - I_EnumLabel(osgText::TextBase::FILLEDBOUNDINGBOX); - I_EnumLabel(osgText::TextBase::ALIGNMENT); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgText::TextBase) - I_DeclaringFile("osgText/TextBase"); - I_BaseType(osg::Drawable); - I_Constructor0(____TextBase, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgText::TextBase &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TextBase__C5_TextBase_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method2(void, setFontResolution, IN, unsigned int, width, IN, unsigned int, height, - Properties::NON_VIRTUAL, - __void__setFontResolution__unsigned_int__unsigned_int, - "Set the Font reference width and height resolution in texels. ", - "Note, the size may not be supported by current font, the closest supported font size will be selected. "); - I_Method0(unsigned int, getFontWidth, - Properties::NON_VIRTUAL, - __unsigned_int__getFontWidth, - "", - ""); - I_Method0(unsigned int, getFontHeight, - Properties::NON_VIRTUAL, - __unsigned_int__getFontHeight, - "", - ""); - I_Method1(void, setText, IN, const osgText::String &, text, - Properties::NON_VIRTUAL, - __void__setText__C5_String_R1, - "Set the text using a osgText::String. ", - ""); - I_Method1(void, setText, IN, const std::string &, text, - Properties::NON_VIRTUAL, - __void__setText__C5_std_string_R1, - "Set the text using a std::string, which is converted to an internal TextString. ", - ""); - I_Method2(void, setText, IN, const std::string &, text, IN, osgText::String::Encoding, encoding, - Properties::NON_VIRTUAL, - __void__setText__C5_std_string_R1__String_Encoding, - "Set the text using a Unicode encoded std::string, which is converted to an internal TextString. ", - "The encoding parameter specificies which Unicode encodeding is used in the std::string. "); - I_Method1(void, setText, IN, const wchar_t *, text, - Properties::NON_VIRTUAL, - __void__setText__C5_wchar_t_P1, - "Set the text using a wchar_t string, which is converted to an internal TextString. ", - ""); - I_Method0(osgText::String &, getText, - Properties::NON_VIRTUAL, - __String_R1__getText, - "Get the text string. ", - "Note, if you modify the string you must call Text::update() for the internal glyph reprentation to be updated. "); - I_Method0(const osgText::String &, getText, - Properties::NON_VIRTUAL, - __C5_String_R1__getText, - "Get the const text string. ", - ""); - I_Method0(void, update, - Properties::NON_VIRTUAL, - __void__update, - "update internal glyph respresentation used for rendering, and bounding volume. ", - ""); - I_MethodWithDefaults2(void, setCharacterSize, IN, float, height, , IN, float, aspectRatio, 1.0f, - Properties::NON_VIRTUAL, - __void__setCharacterSize__float__float, - "Set the rendered character size in object coordinates. ", - ""); - I_Method0(float, getCharacterHeight, - Properties::NON_VIRTUAL, - __float__getCharacterHeight, - "", - ""); - I_Method0(float, getCharacterAspectRatio, - Properties::NON_VIRTUAL, - __float__getCharacterAspectRatio, - "", - ""); - I_Method1(void, setCharacterSizeMode, IN, osgText::TextBase::CharacterSizeMode, mode, - Properties::NON_VIRTUAL, - __void__setCharacterSizeMode__CharacterSizeMode, - "Set how the CharacterSize value relates to the final rendered character. ", - ""); - I_Method0(osgText::TextBase::CharacterSizeMode, getCharacterSizeMode, - Properties::NON_VIRTUAL, - __CharacterSizeMode__getCharacterSizeMode, - "Get the CharacterSizeMode. ", - ""); - I_Method1(void, setMaximumWidth, IN, float, maximumWidth, - Properties::NON_VIRTUAL, - __void__setMaximumWidth__float, - "Set the maximum width of the text box. ", - "With horizontal layouts any characters which do not fit are wrapped around. 0 or negative values indicate that no maximum width is set, lines can be as long as they need be to fit thre required text "); - I_Method0(float, getMaximumWidth, - Properties::NON_VIRTUAL, - __float__getMaximumWidth, - "Get the maximim width of the text box. ", - ""); - I_Method1(void, setMaximumHeight, IN, float, maximumHeight, - Properties::NON_VIRTUAL, - __void__setMaximumHeight__float, - "Set the maximum height of the text box. ", - "With horizontal layouts any characters which do not fit are wrapped around. 0 or negative values indicate that no maximum height is set, lines can be as long as they need be to fit the required text "); - I_Method0(float, getMaximumHeight, - Properties::NON_VIRTUAL, - __float__getMaximumHeight, - "Get the maximum height of the text box. ", - ""); - I_Method1(void, setLineSpacing, IN, float, lineSpacing, - Properties::NON_VIRTUAL, - __void__setLineSpacing__float, - "Set the line spacing of the text box, given as a percentage of the character height. ", - "The default value is 0 for backward compatibility. For longer paragraphs of text, a value of at least 25% (i.e. set line spacing to 0.25) is recommended. "); - I_Method0(float, getLineSpacing, - Properties::NON_VIRTUAL, - __float__getLineSpacing, - "Get the line spacing of the text box. ", - ""); - I_Method1(void, setPosition, IN, const osg::Vec3 &, pos, - Properties::NON_VIRTUAL, - __void__setPosition__C5_osg_Vec3_R1, - "Set the position of text. ", - ""); - I_Method0(const osg::Vec3 &, getPosition, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getPosition, - "Get the position of text. ", - ""); - I_Method1(void, setAlignment, IN, osgText::TextBase::AlignmentType, alignment, - Properties::NON_VIRTUAL, - __void__setAlignment__AlignmentType, - "", - ""); - I_Method0(osgText::TextBase::AlignmentType, getAlignment, - Properties::NON_VIRTUAL, - __AlignmentType__getAlignment, - "", - ""); - I_Method1(void, setAxisAlignment, IN, osgText::TextBase::AxisAlignment, axis, - Properties::NON_VIRTUAL, - __void__setAxisAlignment__AxisAlignment, - "", - ""); - I_Method0(osgText::TextBase::AxisAlignment, getAxisAlignment, - Properties::NON_VIRTUAL, - __AxisAlignment__getAxisAlignment, - "", - ""); - I_Method1(void, setRotation, IN, const osg::Quat &, quat, - Properties::NON_VIRTUAL, - __void__setRotation__C5_osg_Quat_R1, - "", - ""); - I_Method0(const osg::Quat &, getRotation, - Properties::NON_VIRTUAL, - __C5_osg_Quat_R1__getRotation, - "", - ""); - I_Method1(void, setAutoRotateToScreen, IN, bool, autoRotateToScreen, - Properties::NON_VIRTUAL, - __void__setAutoRotateToScreen__bool, - "", - ""); - I_Method0(bool, getAutoRotateToScreen, - Properties::NON_VIRTUAL, - __bool__getAutoRotateToScreen, - "", - ""); - I_Method1(void, setLayout, IN, osgText::TextBase::Layout, layout, - Properties::NON_VIRTUAL, - __void__setLayout__Layout, - "", - ""); - I_Method0(osgText::TextBase::Layout, getLayout, - Properties::NON_VIRTUAL, - __Layout__getLayout, - "", - ""); - I_Method1(void, setDrawMode, IN, unsigned int, mode, - Properties::NON_VIRTUAL, - __void__setDrawMode__unsigned_int, - "", - ""); - I_Method0(unsigned int, getDrawMode, - Properties::NON_VIRTUAL, - __unsigned_int__getDrawMode, - "", - ""); - I_Method1(void, setBoundingBoxMargin, IN, float, margin, - Properties::NON_VIRTUAL, - __void__setBoundingBoxMargin__float, - "", - ""); - I_Method0(float, getBoundingBoxMargin, - Properties::NON_VIRTUAL, - __float__getBoundingBoxMargin, - "", - ""); - I_Method1(void, setBoundingBoxColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setBoundingBoxColor__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getBoundingBoxColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getBoundingBoxColor, - "", - ""); - I_Method1(void, setKerningType, IN, osgText::KerningType, kerningType, - Properties::NON_VIRTUAL, - __void__setKerningType__KerningType, - "", - ""); - I_Method0(osgText::KerningType, getKerningType, - Properties::NON_VIRTUAL, - __KerningType__getKerningType, - "", - ""); - I_Method0(unsigned int, getLineCount, - Properties::NON_VIRTUAL, - __unsigned_int__getLineCount, - "Get the number of wrapped lines - only valid after computeGlyphRepresentation() has been called, returns 0 otherwise. ", - ""); - I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, - Properties::VIRTUAL, - __void__setThreadSafeRefUnref__bool, - "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", - ""); - I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, - Properties::VIRTUAL, - __void__resizeGLObjectBuffers__unsigned_int, - "Resize any per context GLObject buffers to specified size. ", - ""); - I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, - Properties::VIRTUAL, - __void__releaseGLObjects__osg_State_P1, - "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", - "Otherwise, releases OpenGL objexts for all graphics contexts. "); - I_Method0(osg::BoundingBox, computeBound, - Properties::VIRTUAL, - __osg_BoundingBox__computeBound, - "Compute the bounding box around Drawables's geometry. ", - ""); - I_ProtectedMethod3(void, positionCursor, IN, const osg::Vec2 &, endOfLine_coords, IN, osg::Vec2 &, cursor, IN, unsigned int, linelength, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__positionCursor__C5_osg_Vec2_R1__osg_Vec2_R1__unsigned_int, - "", - ""); - I_ProtectedMethod0(void, computePositions, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computePositions, - "", - ""); - I_ProtectedMethod3(osgText::String::iterator, computeLastCharacterOnLine, IN, osg::Vec2 &, cursor, IN, osgText::String::iterator, first, IN, osgText::String::iterator, last, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __String_iterator__computeLastCharacterOnLine__osg_Vec2_R1__String_iterator__String_iterator, - "", - ""); - I_ProtectedMethod1(void, computePositions, IN, unsigned int, contextID, - Properties::PURE_VIRTUAL, - Properties::CONST, - __void__computePositions__unsigned_int, - "", - ""); - I_ProtectedMethod0(void, computeGlyphRepresentation, - Properties::PURE_VIRTUAL, - Properties::NON_CONST, - __void__computeGlyphRepresentation, - "", - ""); - I_SimpleProperty(osgText::TextBase::AlignmentType, Alignment, - __AlignmentType__getAlignment, - __void__setAlignment__AlignmentType); - I_SimpleProperty(bool, AutoRotateToScreen, - __bool__getAutoRotateToScreen, - __void__setAutoRotateToScreen__bool); - I_SimpleProperty(osgText::TextBase::AxisAlignment, AxisAlignment, - __AxisAlignment__getAxisAlignment, - __void__setAxisAlignment__AxisAlignment); - I_SimpleProperty(const osg::Vec4 &, BoundingBoxColor, - __C5_osg_Vec4_R1__getBoundingBoxColor, - __void__setBoundingBoxColor__C5_osg_Vec4_R1); - I_SimpleProperty(float, BoundingBoxMargin, - __float__getBoundingBoxMargin, - __void__setBoundingBoxMargin__float); - I_SimpleProperty(float, CharacterAspectRatio, - __float__getCharacterAspectRatio, - 0); - I_SimpleProperty(float, CharacterHeight, - __float__getCharacterHeight, - 0); - I_SimpleProperty(osgText::TextBase::CharacterSizeMode, CharacterSizeMode, - __CharacterSizeMode__getCharacterSizeMode, - __void__setCharacterSizeMode__CharacterSizeMode); - I_SimpleProperty(unsigned int, DrawMode, - __unsigned_int__getDrawMode, - __void__setDrawMode__unsigned_int); - I_SimpleProperty(unsigned int, FontHeight, - __unsigned_int__getFontHeight, - 0); - I_SimpleProperty(unsigned int, FontWidth, - __unsigned_int__getFontWidth, - 0); - I_SimpleProperty(osgText::KerningType, KerningType, - __KerningType__getKerningType, - __void__setKerningType__KerningType); - I_SimpleProperty(osgText::TextBase::Layout, Layout, - __Layout__getLayout, - __void__setLayout__Layout); - I_SimpleProperty(unsigned int, LineCount, - __unsigned_int__getLineCount, - 0); - I_SimpleProperty(float, LineSpacing, - __float__getLineSpacing, - __void__setLineSpacing__float); - I_SimpleProperty(float, MaximumHeight, - __float__getMaximumHeight, - __void__setMaximumHeight__float); - I_SimpleProperty(float, MaximumWidth, - __float__getMaximumWidth, - __void__setMaximumWidth__float); - I_SimpleProperty(const osg::Vec3 &, Position, - __C5_osg_Vec3_R1__getPosition, - __void__setPosition__C5_osg_Vec3_R1); - I_SimpleProperty(const osg::Quat &, Rotation, - __C5_osg_Quat_R1__getRotation, - __void__setRotation__C5_osg_Quat_R1); - I_SimpleProperty(const osgText::String &, Text, - __C5_String_R1__getText, - __void__setText__C5_String_R1); - I_SimpleProperty(bool, ThreadSafeRefUnref, - 0, - __void__setThreadSafeRefUnref__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/ConvertVec.cpp b/src/osgWrappers/introspection/osgUtil/ConvertVec.cpp deleted file mode 100644 index 9708803e0..000000000 --- a/src/osgWrappers/introspection/osgUtil/ConvertVec.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - diff --git a/src/osgWrappers/introspection/osgUtil/CubeMapGenerator.cpp b/src/osgWrappers/introspection/osgUtil/CubeMapGenerator.cpp deleted file mode 100644 index defb8227e..000000000 --- a/src/osgWrappers/introspection/osgUtil/CubeMapGenerator.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::CubeMapGenerator) - I_DeclaringFile("osgUtil/CubeMapGenerator"); - I_BaseType(osg::Referenced); - I_ConstructorWithDefaults1(IN, int, texture_size, 64, - Properties::EXPLICIT, - ____CubeMapGenerator__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgUtil::CubeMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____CubeMapGenerator__C5_CubeMapGenerator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(osg::Image *, getImage, IN, osg::TextureCubeMap::Face, face, - Properties::NON_VIRTUAL, - __osg_Image_P1__getImage__osg_TextureCubeMap_Face, - "", - ""); - I_Method1(const osg::Image *, getImage, IN, osg::TextureCubeMap::Face, face, - Properties::NON_VIRTUAL, - __C5_osg_Image_P1__getImage__osg_TextureCubeMap_Face, - "", - ""); - I_MethodWithDefaults1(void, generateMap, IN, bool, use_osg_system, true, - Properties::NON_VIRTUAL, - __void__generateMap__bool, - "Generate the six cube images. ", - "If use_osg_system is true, then the OSG's coordinate system is used instead of the default OpenGL one. "); - I_ProtectedMethod4(void, set_pixel, IN, int, index, IN, int, c, IN, int, r, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__set_pixel__int__int__int__C5_osg_Vec4_R1, - "", - ""); - I_ProtectedMethod1(osg::Vec4, compute_color, IN, const osg::Vec3 &, R, - Properties::PURE_VIRTUAL, - Properties::CONST, - __osg_Vec4__compute_color__C5_osg_Vec3_R1, - "Override this method to define how colors are computed. ", - "The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/CullVisitor.cpp b/src/osgWrappers/introspection/osgUtil/CullVisitor.cpp deleted file mode 100644 index da841b5eb..000000000 --- a/src/osgWrappers/introspection/osgUtil/CullVisitor.cpp +++ /dev/null @@ -1,464 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::Matrix::value_type, osgUtil::CullVisitor::value_type) - -BEGIN_OBJECT_REFLECTOR(osgUtil::CullVisitor) - I_DeclaringFile("osgUtil/CullVisitor"); - I_BaseType(osg::NodeVisitor); - I_BaseType(osg::CullStack); - I_Constructor0(____CullVisitor, - "", - ""); - I_Constructor1(IN, const osgUtil::CullVisitor &, x, - Properties::NON_EXPLICIT, - ____CullVisitor__C5_CullVisitor_R1, - "Copy constructor that does a shallow copy. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method0(osgUtil::CullVisitor *, clone, - Properties::VIRTUAL, - __CullVisitor_P1__clone, - "Create a shallow copy of the CullVisitor, used by CullVisitor::create() to clone the prototype. ", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "", - ""); - I_Method0(osg::Vec3, getEyePoint, - Properties::VIRTUAL, - __osg_Vec3__getEyePoint, - "Get the eye point in local coordinates. ", - "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. "); - I_Method0(osg::Vec3, getViewPoint, - Properties::VIRTUAL, - __osg_Vec3__getViewPoint, - "Get the view point in local coordinates. ", - "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. "); - I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, x, IN, bool, x, - Properties::VIRTUAL, - __float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool, - "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 getDistanceFromEyePoint(pos) is not implemented then a default value of 0.0 is returned. "); - I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, x, IN, bool, x, - Properties::VIRTUAL, - __float__getDistanceFromEyePoint__C5_osg_Vec3_R1__bool, - "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 getDistanceFromEyePoint(pos) is not implemented than a default value of 0.0 is returned. "); - I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, x, IN, bool, x, - Properties::VIRTUAL, - __float__getDistanceToViewPoint__C5_osg_Vec3_R1__bool, - "Get the distance from a point to the view point, distance value in local coordinate system. ", - "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceToViewPoint(pos) is not implemented then a default value of 0.0 is returned. "); - I_Method1(void, apply, IN, osg::Node &, x, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, node, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Billboard &, node, - Properties::VIRTUAL, - __void__apply__osg_Billboard_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LightSource &, node, - Properties::VIRTUAL, - __void__apply__osg_LightSource_R1, - "", - ""); - I_Method1(void, apply, IN, osg::ClipNode &, node, - Properties::VIRTUAL, - __void__apply__osg_ClipNode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::TexGenNode &, node, - Properties::VIRTUAL, - __void__apply__osg_TexGenNode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Group &, node, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, node, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Projection &, node, - Properties::VIRTUAL, - __void__apply__osg_Projection_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Switch &, node, - Properties::VIRTUAL, - __void__apply__osg_Switch_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LOD &, node, - Properties::VIRTUAL, - __void__apply__osg_LOD_R1, - "", - ""); - I_Method1(void, apply, IN, osg::ClearNode &, node, - Properties::VIRTUAL, - __void__apply__osg_ClearNode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Camera &, node, - Properties::VIRTUAL, - __void__apply__osg_Camera_R1, - "", - ""); - I_Method1(void, apply, IN, osg::OccluderNode &, node, - Properties::VIRTUAL, - __void__apply__osg_OccluderNode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::OcclusionQueryNode &, node, - Properties::VIRTUAL, - __void__apply__osg_OcclusionQueryNode_R1, - "", - ""); - I_Method1(void, pushStateSet, IN, const osg::StateSet *, ss, - Properties::NON_VIRTUAL, - __void__pushStateSet__C5_osg_StateSet_P1, - "Push state set on the current state group. ", - "If the state exists in a child state group of the current state group then move the current state group to that child. Otherwise, create a new state group for the state set, add it to the current state group then move the current state group pointer to the new state group. "); - I_Method0(void, popStateSet, - Properties::NON_VIRTUAL, - __void__popStateSet, - "Pop the top state set and hence associated state group. ", - "Move the current state group to the parent of the popped state group. "); - I_Method1(void, setStateGraph, IN, osgUtil::StateGraph *, rg, - Properties::NON_VIRTUAL, - __void__setStateGraph__StateGraph_P1, - "", - ""); - I_Method0(osgUtil::StateGraph *, getRootStateGraph, - Properties::NON_VIRTUAL, - __StateGraph_P1__getRootStateGraph, - "", - ""); - I_Method0(osgUtil::StateGraph *, getCurrentStateGraph, - Properties::NON_VIRTUAL, - __StateGraph_P1__getCurrentStateGraph, - "", - ""); - I_Method1(void, setRenderStage, IN, osgUtil::RenderStage *, rg, - Properties::NON_VIRTUAL, - __void__setRenderStage__RenderStage_P1, - "", - ""); - I_Method0(osgUtil::RenderStage *, getRenderStage, - Properties::NON_VIRTUAL, - __RenderStage_P1__getRenderStage, - "", - ""); - I_Method0(osgUtil::RenderStage *, getCurrentRenderStage, - Properties::NON_VIRTUAL, - __RenderStage_P1__getCurrentRenderStage, - "", - ""); - I_Method0(osg::Camera *, getCurrentCamera, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCurrentCamera, - "", - ""); - I_Method0(osgUtil::RenderBin *, getCurrentRenderBin, - Properties::NON_VIRTUAL, - __RenderBin_P1__getCurrentRenderBin, - "", - ""); - I_Method1(void, setCurrentRenderBin, IN, osgUtil::RenderBin *, rb, - Properties::NON_VIRTUAL, - __void__setCurrentRenderBin__RenderBin_P1, - "", - ""); - I_Method0(osgUtil::CullVisitor::value_type, getCalculatedNearPlane, - Properties::NON_VIRTUAL, - __value_type__getCalculatedNearPlane, - "", - ""); - I_Method0(osgUtil::CullVisitor::value_type, getCalculatedFarPlane, - Properties::NON_VIRTUAL, - __value_type__getCalculatedFarPlane, - "", - ""); - I_Method3(osgUtil::CullVisitor::value_type, computeNearestPointInFrustum, IN, const osg::Matrix &, matrix, IN, const osg::Polytope::PlaneList &, planes, IN, const osg::Drawable &, drawable, - Properties::NON_VIRTUAL, - __value_type__computeNearestPointInFrustum__C5_osg_Matrix_R1__C5_osg_Polytope_PlaneList_R1__C5_osg_Drawable_R1, - "", - ""); - I_Method2(bool, updateCalculatedNearFar, IN, const osg::Matrix &, matrix, IN, const osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - __bool__updateCalculatedNearFar__C5_osg_Matrix_R1__C5_osg_BoundingBox_R1, - "", - ""); - I_MethodWithDefaults3(bool, updateCalculatedNearFar, IN, const osg::Matrix &, matrix, , IN, const osg::Drawable &, drawable, , IN, bool, isBillboard, false, - Properties::NON_VIRTUAL, - __bool__updateCalculatedNearFar__C5_osg_Matrix_R1__C5_osg_Drawable_R1__bool, - "", - ""); - I_Method1(void, updateCalculatedNearFar, IN, const osg::Vec3 &, pos, - Properties::NON_VIRTUAL, - __void__updateCalculatedNearFar__C5_osg_Vec3_R1, - "", - ""); - I_Method2(void, addDrawable, IN, osg::Drawable *, drawable, IN, osg::RefMatrix *, matrix, - Properties::NON_VIRTUAL, - __void__addDrawable__osg_Drawable_P1__osg_RefMatrix_P1, - "Add a drawable to current render graph. ", - ""); - I_Method3(void, addDrawableAndDepth, IN, osg::Drawable *, drawable, IN, osg::RefMatrix *, matrix, IN, float, depth, - Properties::NON_VIRTUAL, - __void__addDrawableAndDepth__osg_Drawable_P1__osg_RefMatrix_P1__float, - "Add a drawable and depth to current render graph. ", - ""); - I_Method2(void, addPositionedAttribute, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr, - Properties::NON_VIRTUAL, - __void__addPositionedAttribute__osg_RefMatrix_P1__C5_osg_StateAttribute_P1, - "Add an attribute which is positioned relative to the modelview matrix. ", - ""); - I_Method3(void, addPositionedTextureAttribute, IN, unsigned int, textureUnit, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr, - Properties::NON_VIRTUAL, - __void__addPositionedTextureAttribute__unsigned_int__osg_RefMatrix_P1__C5_osg_StateAttribute_P1, - "Add an attribute which is positioned relative to the modelview matrix. ", - ""); - I_Method0(void, computeNearPlane, - Properties::NON_VIRTUAL, - __void__computeNearPlane, - "compute near plane based on the polgon intersection of primtives in near plane candidate list of drawables. ", - "Note, you have to set ComputeNearFarMode to COMPUTE_NEAR_FAR_USING_PRIMITIVES to be able to near plane candidate drawables to be recorded by the cull traversal. "); - I_Method0(void, popProjectionMatrix, - Properties::VIRTUAL, - __void__popProjectionMatrix, - "Re-implement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and far. ", - ""); - I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixf &, projection, IN, double &, znear, IN, double &, zfar, - Properties::VIRTUAL, - __bool__clampProjectionMatrixImplementation__osg_Matrixf_R1__double_R1__double_R1, - "CullVisitor's default clamping of the projection float matrix to computed near and far values. ", - "Note, do not call this method directly, use clampProjectionMatrix(..) instead, unless you want to bypass the callback. "); - I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixd &, projection, IN, double &, znear, IN, double &, zfar, - Properties::VIRTUAL, - __bool__clampProjectionMatrixImplementation__osg_Matrixd_R1__double_R1__double_R1, - "CullVisitor's default clamping of the projection double matrix to computed near and far values. ", - "Note, do not call this method directly, use clampProjectionMatrix(..) instead, unless you want to bypass the callback. "); - I_Method3(bool, clampProjectionMatrix, IN, osg::Matrixf &, projection, IN, osgUtil::CullVisitor::value_type &, znear, IN, osgUtil::CullVisitor::value_type &, zfar, - Properties::NON_VIRTUAL, - __bool__clampProjectionMatrix__osg_Matrixf_R1__value_type_R1__value_type_R1, - "Clamp the projection float matrix to computed near and far values, use callback if it exists, otherwise use default CullVisitor implementation. ", - ""); - I_Method3(bool, clampProjectionMatrix, IN, osg::Matrixd &, projection, IN, osgUtil::CullVisitor::value_type &, znear, IN, osgUtil::CullVisitor::value_type &, zfar, - Properties::NON_VIRTUAL, - __bool__clampProjectionMatrix__osg_Matrixd_R1__value_type_R1__value_type_R1, - "Clamp the projection double matrix to computed near and far values, use callback if it exists, otherwise use default CullVisitor implementation. ", - ""); - I_Method1(void, setState, IN, osg::State *, state, - Properties::NON_VIRTUAL, - __void__setState__osg_State_P1, - "", - ""); - I_Method0(osg::State *, getState, - Properties::NON_VIRTUAL, - __osg_State_P1__getState, - "", - ""); - I_Method0(const osg::State *, getState, - Properties::NON_VIRTUAL, - __C5_osg_State_P1__getState, - "", - ""); - I_Method1(void, setRenderInfo, IN, osg::RenderInfo &, renderInfo, - Properties::NON_VIRTUAL, - __void__setRenderInfo__osg_RenderInfo_R1, - "", - ""); - I_Method0(osg::RenderInfo &, getRenderInfo, - Properties::NON_VIRTUAL, - __osg_RenderInfo_R1__getRenderInfo, - "", - ""); - I_Method0(const osg::RenderInfo &, getRenderInfo, - Properties::NON_VIRTUAL, - __C5_osg_RenderInfo_R1__getRenderInfo, - "", - ""); - I_StaticMethod0(osg::ref_ptr< osgUtil::CullVisitor > &, prototype, - __osg_ref_ptrT1_CullVisitor__R1__prototype_S, - "get the prototype singleton used by CullVisitor::create(). ", - ""); - I_StaticMethod0(osgUtil::CullVisitor *, create, - __CullVisitor_P1__create_S, - "create a CullVisitor by cloning CullVisitor::prototype(). ", - ""); - I_ProtectedMethod1(void, handle_cull_callbacks_and_traverse, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handle_cull_callbacks_and_traverse__osg_Node_R1, - "", - ""); - I_ProtectedMethod2(void, handle_cull_callbacks_and_accept, IN, osg::Node &, node, IN, osg::Node *, acceptNode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handle_cull_callbacks_and_accept__osg_Node_R1__osg_Node_P1, - "", - ""); - I_ProtectedMethodWithDefaults4(osgUtil::RenderLeaf *, createOrReuseRenderLeaf, IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, matrix, , IN, float, depth, 0.0f, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __RenderLeaf_P1__createOrReuseRenderLeaf__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float, - "", - ""); - I_SimpleProperty(osgUtil::CullVisitor::value_type, CalculatedFarPlane, - __value_type__getCalculatedFarPlane, - 0); - I_SimpleProperty(osgUtil::CullVisitor::value_type, CalculatedNearPlane, - __value_type__getCalculatedNearPlane, - 0); - I_SimpleProperty(osg::Camera *, CurrentCamera, - __osg_Camera_P1__getCurrentCamera, - 0); - I_SimpleProperty(osgUtil::RenderBin *, CurrentRenderBin, - __RenderBin_P1__getCurrentRenderBin, - __void__setCurrentRenderBin__RenderBin_P1); - I_SimpleProperty(osgUtil::RenderStage *, CurrentRenderStage, - __RenderStage_P1__getCurrentRenderStage, - 0); - I_SimpleProperty(osgUtil::StateGraph *, CurrentStateGraph, - __StateGraph_P1__getCurrentStateGraph, - 0); - I_SimpleProperty(osg::Vec3, EyePoint, - __osg_Vec3__getEyePoint, - 0); - I_SimpleProperty(osg::RenderInfo &, RenderInfo, - __osg_RenderInfo_R1__getRenderInfo, - __void__setRenderInfo__osg_RenderInfo_R1); - I_SimpleProperty(osgUtil::RenderStage *, RenderStage, - __RenderStage_P1__getRenderStage, - __void__setRenderStage__RenderStage_P1); - I_SimpleProperty(osgUtil::StateGraph *, RootStateGraph, - __StateGraph_P1__getRootStateGraph, - 0); - I_SimpleProperty(osg::State *, State, - __osg_State_P1__getState, - __void__setState__osg_State_P1); - I_SimpleProperty(osgUtil::StateGraph *, StateGraph, - 0, - __void__setStateGraph__StateGraph_P1); - I_SimpleProperty(osg::Vec3, ViewPoint, - __osg_Vec3__getViewPoint, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::CullVisitor >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::CullVisitor *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::CullVisitor > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::CullVisitor > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::CullVisitor *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::CullVisitor *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::CullVisitor > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::CullVisitor *, , - __T_P1__get, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/DelaunayTriangulator.cpp b/src/osgWrappers/introspection/osgUtil/DelaunayTriangulator.cpp deleted file mode 100644 index 74d9db57c..000000000 --- a/src/osgWrappers/introspection/osgUtil/DelaunayTriangulator.cpp +++ /dev/null @@ -1,229 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::DelaunayConstraint) - I_DeclaringFile("osgUtil/DelaunayTriangulator"); - I_BaseType(osg::Geometry); - I_Constructor0(____DelaunayConstraint, - "", - ""); - I_Method3(void, addtriangle, IN, int, i1, IN, int, i2, IN, int, i3, - Properties::NON_VIRTUAL, - __void__addtriangle__int__int__int, - "Each primitiveset is a list of vertices which may be closed by joining up to its start to make a loop. ", - "Constraints should be simple lines, not crossing themselves. Constraints which cross other constraints can cause difficulties - see the example for methods of dealing with them. collect up indices of triangle from delaunay triangles. The delaunay triangles inside the DelaunayConstraint area can be used to fill the area or generate geometry that terrain follows the area in some way. These triangles can form a canopy or a field. "); - I_Method0(const osg::DrawElementsUInt *, getTriangles, - Properties::NON_VIRTUAL, - __C5_osg_DrawElementsUInt_P1__getTriangles, - "Get the filling primitive. ", - "One: triangulate must have bneen called and two: triangle list is filled when DelaunayTriangulator::removeInternalTriangles is called. These return the triangles removed from the delaunay triangulation by DelaunayTriangulator::removeInternalTriangles. "); - I_Method0(osg::DrawElementsUInt *, getTriangles, - Properties::NON_VIRTUAL, - __osg_DrawElementsUInt_P1__getTriangles, - "", - ""); - I_Method1(osg::Vec3Array *, getPoints, IN, const osg::Vec3Array *, points, - Properties::NON_VIRTUAL, - __osg_Vec3Array_P1__getPoints__C5_osg_Vec3Array_P1, - "Call BEFORE makeDrawable to reorder points to make optimised set. ", - ""); - I_Method0(osg::DrawElementsUInt *, makeDrawable, - Properties::NON_VIRTUAL, - __osg_DrawElementsUInt_P1__makeDrawable, - "converts simple list of triangles into a drawarray. ", - ""); - I_Method1(void, merge, IN, osgUtil::DelaunayConstraint *, dco, - Properties::NON_VIRTUAL, - __void__merge__DelaunayConstraint_P1, - "Add vertices and constraint loops from dco Can be used to generate extra vertices where dco crosses 'this' using osgUtil::Tessellator to insert overlap vertices. ", - ""); - I_Method1(void, removeVerticesInside, IN, const osgUtil::DelaunayConstraint *, dco, - Properties::NON_VIRTUAL, - __void__removeVerticesInside__C5_DelaunayConstraint_P1, - "remove from line the vertices that are inside dco ", - ""); - I_Method1(float, windingNumber, IN, const osg::Vec3 &, testpoint, - Properties::NON_VIRTUAL, - __float__windingNumber__C5_osg_Vec3_R1, - "return winding number as a float of loop around testpoint; may use multiple loops does not reject points on the edge or very very close to the edge ", - ""); - I_Method1(bool, contains, IN, const osg::Vec3 &, testpoint, - Properties::VIRTUAL, - __bool__contains__C5_osg_Vec3_R1, - "true if testpoint is internal (or external) to constraint. ", - ""); - I_Method1(bool, outside, IN, const osg::Vec3 &, testpoint, - Properties::VIRTUAL, - __bool__outside__C5_osg_Vec3_R1, - "", - ""); - I_Method0(void, handleOverlaps, - Properties::NON_VIRTUAL, - __void__handleOverlaps, - "Tessellate the constraint loops so that the crossing points are interpolated and added to the contraints for the triangulation. ", - ""); - I_SimpleProperty(osg::DrawElementsUInt *, Triangles, - __osg_DrawElementsUInt_P1__getTriangles, - 0); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::DelaunayConstraint > >, osgUtil::DelaunayTriangulator::linelist) - -BEGIN_OBJECT_REFLECTOR(osgUtil::DelaunayTriangulator) - I_DeclaringFile("osgUtil/DelaunayTriangulator"); - I_BaseType(osg::Referenced); - I_Constructor0(____DelaunayTriangulator, - "", - ""); - I_ConstructorWithDefaults2(IN, osg::Vec3Array *, points, , IN, osg::Vec3Array *, normals, 0, - ____DelaunayTriangulator__osg_Vec3Array_P1__osg_Vec3Array_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgUtil::DelaunayTriangulator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____DelaunayTriangulator__C5_DelaunayTriangulator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(const osg::Vec3Array *, getInputPointArray, - Properties::NON_VIRTUAL, - __C5_osg_Vec3Array_P1__getInputPointArray, - "Get the const input point array. ", - ""); - I_Method0(osg::Vec3Array *, getInputPointArray, - Properties::NON_VIRTUAL, - __osg_Vec3Array_P1__getInputPointArray, - "Get the input point array. ", - ""); - I_Method1(void, setInputPointArray, IN, osg::Vec3Array *, points, - Properties::NON_VIRTUAL, - __void__setInputPointArray__osg_Vec3Array_P1, - "Set the input point array. ", - ""); - I_Method1(void, addInputConstraint, IN, osgUtil::DelaunayConstraint *, dc, - Properties::NON_VIRTUAL, - __void__addInputConstraint__DelaunayConstraint_P1, - "Add an input constraint loop. ", - "the edges of the loop will constrain the triangulation. if remove!=0, the internal triangles of the constraint will be removed; the user may the replace the constraint line with an equivalent geometry. GWM July 2005 "); - I_Method0(const osg::Vec3Array *, getOutputNormalArray, - Properties::NON_VIRTUAL, - __C5_osg_Vec3Array_P1__getOutputNormalArray, - "Get the const output normal array (optional). ", - ""); - I_Method0(osg::Vec3Array *, getOutputNormalArray, - Properties::NON_VIRTUAL, - __osg_Vec3Array_P1__getOutputNormalArray, - "Get the output normal array (optional). ", - ""); - I_Method1(void, setOutputNormalArray, IN, osg::Vec3Array *, normals, - Properties::NON_VIRTUAL, - __void__setOutputNormalArray__osg_Vec3Array_P1, - "Set the output normal array (optional). ", - ""); - I_Method0(bool, triangulate, - Properties::NON_VIRTUAL, - __bool__triangulate, - "Start triangulation. ", - ""); - I_Method0(const osg::DrawElementsUInt *, getTriangles, - Properties::NON_VIRTUAL, - __C5_osg_DrawElementsUInt_P1__getTriangles, - "Get the generated primitive (call triangulate() first). ", - ""); - I_Method0(osg::DrawElementsUInt *, getTriangles, - Properties::NON_VIRTUAL, - __osg_DrawElementsUInt_P1__getTriangles, - "Get the generated primitive (call triangulate() first). ", - ""); - I_Method1(void, removeInternalTriangles, IN, osgUtil::DelaunayConstraint *, constraint, - Properties::NON_VIRTUAL, - __void__removeInternalTriangles__DelaunayConstraint_P1, - "remove the triangles internal to the constraint loops. ", - "(Line strips cannot remove any internal triangles). "); - I_ProtectedMethod2(int, getindex, IN, const osg::Vec3 &, pt, IN, const osg::Vec3Array *, points, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __int__getindex__C5_osg_Vec3_R1__C5_osg_Vec3Array_P1, - "", - ""); - I_SimpleProperty(osg::Vec3Array *, InputPointArray, - __osg_Vec3Array_P1__getInputPointArray, - __void__setInputPointArray__osg_Vec3Array_P1); - I_SimpleProperty(osg::Vec3Array *, OutputNormalArray, - __osg_Vec3Array_P1__getOutputNormalArray, - __void__setOutputNormalArray__osg_Vec3Array_P1); - I_SimpleProperty(osg::DrawElementsUInt *, Triangles, - __osg_DrawElementsUInt_P1__getTriangles, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::DelaunayConstraint >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::DelaunayConstraint *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::DelaunayConstraint > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::DelaunayConstraint > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::DelaunayConstraint *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::DelaunayConstraint *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::DelaunayConstraint > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::DelaunayConstraint *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgUtil::DelaunayConstraint > >) - diff --git a/src/osgWrappers/introspection/osgUtil/DisplayRequirementsVisitor.cpp b/src/osgWrappers/introspection/osgUtil/DisplayRequirementsVisitor.cpp deleted file mode 100644 index d4301b933..000000000 --- a/src/osgWrappers/introspection/osgUtil/DisplayRequirementsVisitor.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::DisplayRequirementsVisitor) - I_DeclaringFile("osgUtil/DisplayRequirementsVisitor"); - I_BaseType(osg::NodeVisitor); - I_Constructor0(____DisplayRequirementsVisitor, - "Default to traversing all children, and requiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds, - Properties::NON_VIRTUAL, - __void__setDisplaySettings__osg_DisplaySettings_P1, - "Set the DisplaySettings. ", - ""); - I_Method0(const osg::DisplaySettings *, getDisplaySettings, - Properties::NON_VIRTUAL, - __C5_osg_DisplaySettings_P1__getDisplaySettings, - "Get the DisplaySettings. ", - ""); - I_Method1(void, applyStateSet, IN, osg::StateSet &, stateset, - Properties::VIRTUAL, - __void__applyStateSet__osg_StateSet_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_SimpleProperty(osg::DisplaySettings *, DisplaySettings, - 0, - __void__setDisplaySettings__osg_DisplaySettings_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/DrawElementTypeSimplifier.cpp b/src/osgWrappers/introspection/osgUtil/DrawElementTypeSimplifier.cpp deleted file mode 100644 index 4d0342d33..000000000 --- a/src/osgWrappers/introspection/osgUtil/DrawElementTypeSimplifier.cpp +++ /dev/null @@ -1,61 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgUtil::DrawElementTypeSimplifier) - I_DeclaringFile("osgUtil/DrawElementTypeSimplifier"); - I_Constructor0(____DrawElementTypeSimplifier, - "", - ""); - I_Method1(void, simplify, IN, osg::Geometry &, geometry, - Properties::NON_VIRTUAL, - __void__simplify__osg_Geometry_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::DrawElementTypeSimplifierVisitor) - I_DeclaringFile("osgUtil/DrawElementTypeSimplifier"); - I_BaseType(osg::NodeVisitor); - I_Constructor0(____DrawElementTypeSimplifierVisitor, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method1(void, apply, IN, osg::Geode &, node, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/EdgeCollector.cpp b/src/osgWrappers/introspection/osgUtil/EdgeCollector.cpp deleted file mode 100644 index 79ee21f77..000000000 --- a/src/osgWrappers/introspection/osgUtil/EdgeCollector.cpp +++ /dev/null @@ -1,506 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgUtil::dereference_clear) - I_DeclaringFile("osgUtil/EdgeCollector"); - I_Constructor0(____dereference_clear, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgUtil::dereference_less) - I_DeclaringFile("osgUtil/EdgeCollector"); - I_Constructor0(____dereference_less, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::UIntArray > >, osgUtil::EdgeCollector::IndexArrayList) - -TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Edge > COMMA osgUtil::dereference_less >, osgUtil::EdgeCollector::EdgeSet) - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::EdgeCollector::Edge > >, osgUtil::EdgeCollector::EdgeList) - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgUtil::EdgeCollector::Edgeloop > >, osgUtil::EdgeCollector::EdgeloopList) - -TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Point > COMMA osgUtil::dereference_less >, osgUtil::EdgeCollector::PointSet) - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::EdgeCollector::Point > >, osgUtil::EdgeCollector::PointList) - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > >, osgUtil::EdgeCollector::TriangleList) - -TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > >, osgUtil::EdgeCollector::TriangleSet) - -TYPE_NAME_ALIAS(std::map< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > COMMA unsigned int COMMA osgUtil::dereference_less >, osgUtil::EdgeCollector::TriangleMap) - -BEGIN_VALUE_REFLECTOR(osgUtil::EdgeCollector) - I_DeclaringFile("osgUtil/EdgeCollector"); - I_Constructor0(____EdgeCollector, - "", - ""); - I_Method1(void, setGeometry, IN, osg::Geometry *, geometry, - Properties::NON_VIRTUAL, - __void__setGeometry__osg_Geometry_P1, - "", - ""); - I_Method0(osg::Geometry *, getGeometry, - Properties::NON_VIRTUAL, - __osg_Geometry_P1__getGeometry, - "", - ""); - I_Method0(unsigned int, getNumOfTriangles, - Properties::NON_VIRTUAL, - __unsigned_int__getNumOfTriangles, - "", - ""); - I_Method3(osgUtil::EdgeCollector::Triangle *, addTriangle, IN, unsigned int, p1, IN, unsigned int, p2, IN, unsigned int, p3, - Properties::NON_VIRTUAL, - __Triangle_P1__addTriangle__unsigned_int__unsigned_int__unsigned_int, - "", - ""); - I_Method3(osgUtil::EdgeCollector::Triangle *, addTriangle, IN, osgUtil::EdgeCollector::Point *, p1, IN, osgUtil::EdgeCollector::Point *, p2, IN, osgUtil::EdgeCollector::Point *, p3, - Properties::NON_VIRTUAL, - __Triangle_P1__addTriangle__Point_P1__Point_P1__Point_P1, - "", - ""); - I_Method3(osgUtil::EdgeCollector::Edge *, addEdge, IN, osgUtil::EdgeCollector::Triangle *, triangle, IN, osgUtil::EdgeCollector::Point *, p1, IN, osgUtil::EdgeCollector::Point *, p2, - Properties::NON_VIRTUAL, - __Edge_P1__addEdge__Triangle_P1__Point_P1__Point_P1, - "", - ""); - I_Method2(osgUtil::EdgeCollector::Point *, addPoint, IN, osgUtil::EdgeCollector::Triangle *, triangle, IN, unsigned int, p1, - Properties::NON_VIRTUAL, - __Point_P1__addPoint__Triangle_P1__unsigned_int, - "", - ""); - I_Method2(osgUtil::EdgeCollector::Point *, addPoint, IN, osgUtil::EdgeCollector::Triangle *, triangle, IN, osgUtil::EdgeCollector::Point *, point, - Properties::NON_VIRTUAL, - __Point_P1__addPoint__Triangle_P1__Point_P1, - "", - ""); - I_Method1(void, getBoundaryEdgeList, IN, osgUtil::EdgeCollector::EdgeList &, el, - Properties::NON_VIRTUAL, - __void__getBoundaryEdgeList__EdgeList_R1, - "", - ""); - I_Method2(bool, extractBoundaryEdgeloop, IN, osgUtil::EdgeCollector::EdgeList &, el, IN, osgUtil::EdgeCollector::Edgeloop &, edgeloop, - Properties::NON_VIRTUAL, - __bool__extractBoundaryEdgeloop__EdgeList_R1__Edgeloop_R1, - "", - ""); - I_Method2(bool, extractBoundaryEdgeloopList, IN, osgUtil::EdgeCollector::EdgeList &, el, IN, osgUtil::EdgeCollector::EdgeloopList &, edgeloopList, - Properties::NON_VIRTUAL, - __bool__extractBoundaryEdgeloopList__EdgeList_R1__EdgeloopList_R1, - "", - ""); - I_Method1(void, getEdgeloopIndexList, IN, osgUtil::EdgeCollector::IndexArrayList &, ial, - Properties::NON_VIRTUAL, - __void__getEdgeloopIndexList__IndexArrayList_R1, - "", - ""); - I_SimpleProperty(osg::Geometry *, Geometry, - __osg_Geometry_P1__getGeometry, - __void__setGeometry__osg_Geometry_P1); - I_PublicMemberProperty(osg::Geometry *, _geometry); - I_PublicMemberProperty(osgUtil::EdgeCollector::EdgeSet, _edgeSet); - I_PublicMemberProperty(osgUtil::EdgeCollector::TriangleSet, _triangleSet); - I_PublicMemberProperty(osgUtil::EdgeCollector::PointSet, _pointSet); - I_PublicMemberProperty(osgUtil::EdgeCollector::PointList, _originalPointList); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::EdgeCollector::Edge) - I_DeclaringFile("osgUtil/EdgeCollector"); - I_BaseType(osg::Referenced); - I_Constructor0(____Edge, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_Method2(void, setOrderedPoints, IN, osgUtil::EdgeCollector::Point *, p1, IN, osgUtil::EdgeCollector::Point *, p2, - Properties::NON_VIRTUAL, - __void__setOrderedPoints__Point_P1__Point_P1, - "", - ""); - I_Method1(void, addTriangle, IN, osgUtil::EdgeCollector::Triangle *, triangle, - Properties::NON_VIRTUAL, - __void__addTriangle__Triangle_P1, - "", - ""); - I_Method0(bool, isBoundaryEdge, - Properties::NON_VIRTUAL, - __bool__isBoundaryEdge, - "", - ""); - I_Method0(bool, isAdjacentToBoundary, - Properties::NON_VIRTUAL, - __bool__isAdjacentToBoundary, - "", - ""); - I_Method1(bool, endConnected, IN, const osgUtil::EdgeCollector::Edge &, rhs, - Properties::NON_VIRTUAL, - __bool__endConnected__C5_Edge_R1, - "", - ""); - I_Method1(bool, beginConnected, IN, const osgUtil::EdgeCollector::Edge &, rhs, - Properties::NON_VIRTUAL, - __bool__beginConnected__C5_Edge_R1, - "", - ""); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _p1); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _p2); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _op1); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _op2); - I_PublicMemberProperty(osgUtil::EdgeCollector::TriangleSet, _triangles); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::EdgeCollector::Edge > >, osgUtil::EdgeCollector::Edgeloop::EdgeList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::EdgeCollector::Edgeloop) - I_DeclaringFile("osgUtil/EdgeCollector"); - I_BaseType(osg::Referenced); - I_Constructor0(____Edgeloop, - "", - ""); - I_Method0(bool, isClosed, - Properties::NON_VIRTUAL, - __bool__isClosed, - "", - ""); - I_Method0(osg::UIntArray *, toIndexArray, - Properties::NON_VIRTUAL, - __osg_UIntArray_P1__toIndexArray, - "", - ""); - I_PublicMemberProperty(osgUtil::EdgeCollector::Edgeloop::EdgeList, _edgeList); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::EdgeCollector::Point) - I_DeclaringFile("osgUtil/EdgeCollector"); - I_BaseType(osg::Referenced); - I_Constructor0(____Point, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_Method0(bool, isBoundaryPoint, - Properties::NON_VIRTUAL, - __bool__isBoundaryPoint, - "", - ""); - I_PublicMemberProperty(bool, _protected); - I_PublicMemberProperty(unsigned int, _index); - I_PublicMemberProperty(osg::Vec3d, _vertex); - I_PublicMemberProperty(osgUtil::EdgeCollector::TriangleSet, _triangles); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::EdgeCollector::Triangle) - I_DeclaringFile("osgUtil/EdgeCollector"); - I_BaseType(osg::Referenced); - I_Constructor0(____Triangle, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_Method3(void, setOrderedPoints, IN, osgUtil::EdgeCollector::Point *, p1, IN, osgUtil::EdgeCollector::Point *, p2, IN, osgUtil::EdgeCollector::Point *, p3, - Properties::NON_VIRTUAL, - __void__setOrderedPoints__Point_P1__Point_P1__Point_P1, - "", - ""); - I_Method1(float, distance, IN, const osg::Vec3 &, vertex, - Properties::NON_VIRTUAL, - __float__distance__C5_osg_Vec3_R1, - "", - ""); - I_Method0(bool, isBoundaryTriangle, - Properties::NON_VIRTUAL, - __bool__isBoundaryTriangle, - "", - ""); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _p1); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _p2); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _p3); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _op1); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _op2); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _op3); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Edge >, _e1); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Edge >, _e2); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Edge >, _e3); - I_PublicMemberProperty(osg::Plane, _plane); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::UIntArray >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::UIntArray *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::UIntArray > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::UIntArray > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::UIntArray *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::UIntArray *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::UIntArray > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::UIntArray *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::EdgeCollector::Edge >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::EdgeCollector::Edge *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::EdgeCollector::Edge > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::EdgeCollector::Edge > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::EdgeCollector::Edge *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::EdgeCollector::Edge *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::EdgeCollector::Edge > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::EdgeCollector::Edge *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::EdgeCollector::Edgeloop >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::EdgeCollector::Edgeloop *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::EdgeCollector::Edgeloop > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::EdgeCollector::Edgeloop > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::EdgeCollector::Edgeloop *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::EdgeCollector::Edgeloop *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::EdgeCollector::Edgeloop > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::EdgeCollector::Edgeloop *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::EdgeCollector::Point >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::EdgeCollector::Point *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::EdgeCollector::Point > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::EdgeCollector::Point > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::EdgeCollector::Point *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::EdgeCollector::Point *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::EdgeCollector::Point > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::EdgeCollector::Point *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::EdgeCollector::Triangle >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::EdgeCollector::Triangle *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::EdgeCollector::Triangle > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::EdgeCollector::Triangle > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::EdgeCollector::Triangle *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::EdgeCollector::Triangle *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::EdgeCollector::Triangle > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::EdgeCollector::Triangle *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::UIntArray > >) - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgUtil::EdgeCollector::Edgeloop > >) - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > >) - -STD_MAP_REFLECTOR(std::map< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > COMMA unsigned int COMMA osgUtil::dereference_less >) - -STD_SET_REFLECTOR(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Edge > COMMA osgUtil::dereference_less >) - -STD_SET_REFLECTOR(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Point > COMMA osgUtil::dereference_less >) - -STD_SET_REFLECTOR(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgUtil::EdgeCollector::Edge > >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgUtil::EdgeCollector::Point > >) - diff --git a/src/osgWrappers/introspection/osgUtil/GLObjectsVisitor.cpp b/src/osgWrappers/introspection/osgUtil/GLObjectsVisitor.cpp deleted file mode 100644 index 29842fcbd..000000000 --- a/src/osgWrappers/introspection/osgUtil/GLObjectsVisitor.cpp +++ /dev/null @@ -1,144 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::GLObjectsOperation) - I_DeclaringFile("osgUtil/GLObjectsVisitor"); - I_BaseType(osg::GraphicsOperation); - I_ConstructorWithDefaults1(IN, osgUtil::GLObjectsVisitor::Mode, mode, osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS|osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES|osgUtil::GLObjectsVisitor::CHECK_BLACK_LISTED_MODES, - Properties::NON_EXPLICIT, - ____GLObjectsOperation__GLObjectsVisitor_Mode, - "", - ""); - I_ConstructorWithDefaults2(IN, osg::Node *, subgraph, , IN, osgUtil::GLObjectsVisitor::Mode, mode, osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS|osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES|osgUtil::GLObjectsVisitor::CHECK_BLACK_LISTED_MODES, - ____GLObjectsOperation__osg_Node_P1__GLObjectsVisitor_Mode, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgUtil::GLObjectsVisitor::ModeValues) - I_DeclaringFile("osgUtil/GLObjectsVisitor"); - I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_ON_DISPLAY_LISTS); - I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_OFF_DISPLAY_LISTS); - I_EnumLabel(osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS); - I_EnumLabel(osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES); - I_EnumLabel(osgUtil::GLObjectsVisitor::RELEASE_DISPLAY_LISTS); - I_EnumLabel(osgUtil::GLObjectsVisitor::RELEASE_STATE_ATTRIBUTES); - I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_ON_VERTEX_BUFFER_OBJECTS); - I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_OFF_VERTEX_BUFFER_OBJECTS); - I_EnumLabel(osgUtil::GLObjectsVisitor::CHECK_BLACK_LISTED_MODES); -END_REFLECTOR - -TYPE_NAME_ALIAS(unsigned int, osgUtil::GLObjectsVisitor::Mode) - -BEGIN_OBJECT_REFLECTOR(osgUtil::GLObjectsVisitor) - I_DeclaringFile("osgUtil/GLObjectsVisitor"); - I_BaseType(osg::NodeVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::GLObjectsVisitor::Mode, mode, osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS|osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES|osgUtil::GLObjectsVisitor::CHECK_BLACK_LISTED_MODES, - Properties::NON_EXPLICIT, - ____GLObjectsVisitor__Mode, - "Construct a GLObjectsVisitor to traverse all children, operating on node according to specified mode, such as to compile or release display list/texture objects etc. ", - "Default mode is to compile GL objects. "); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_Method1(void, setMode, IN, osgUtil::GLObjectsVisitor::Mode, mode, - Properties::NON_VIRTUAL, - __void__setMode__Mode, - "Set the operational mode of what operations to do on the scene graph. ", - ""); - I_Method0(osgUtil::GLObjectsVisitor::Mode, getMode, - Properties::NON_VIRTUAL, - __Mode__getMode, - "Get the operational mode. ", - ""); - I_Method1(void, setState, IN, osg::State *, state, - Properties::NON_VIRTUAL, - __void__setState__osg_State_P1, - "Set the State to use during traversal. ", - ""); - I_Method0(osg::State *, getState, - Properties::NON_VIRTUAL, - __osg_State_P1__getState, - "", - ""); - I_Method1(void, setRenderInfo, IN, osg::RenderInfo &, renderInfo, - Properties::NON_VIRTUAL, - __void__setRenderInfo__osg_RenderInfo_R1, - "", - ""); - I_Method0(osg::RenderInfo &, getRenderInfo, - Properties::NON_VIRTUAL, - __osg_RenderInfo_R1__getRenderInfo, - "", - ""); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "Simply traverse using standard NodeVisitor traverse method. ", - ""); - I_Method1(void, apply, IN, osg::Geode &, node, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "For each Geode visited set the display list usage according to the _displayListMode. ", - ""); - I_Method1(void, apply, IN, osg::Drawable &, drawable, - Properties::NON_VIRTUAL, - __void__apply__osg_Drawable_R1, - "", - ""); - I_Method1(void, apply, IN, osg::StateSet &, stateset, - Properties::NON_VIRTUAL, - __void__apply__osg_StateSet_R1, - "", - ""); - I_SimpleProperty(osgUtil::GLObjectsVisitor::Mode, Mode, - __Mode__getMode, - __void__setMode__Mode); - I_SimpleProperty(osg::RenderInfo &, RenderInfo, - __osg_RenderInfo_R1__getRenderInfo, - __void__setRenderInfo__osg_RenderInfo_R1); - I_SimpleProperty(osg::State *, State, - __osg_State_P1__getState, - __void__setState__osg_State_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/HalfWayMapGenerator.cpp b/src/osgWrappers/introspection/osgUtil/HalfWayMapGenerator.cpp deleted file mode 100644 index 828e291b0..000000000 --- a/src/osgWrappers/introspection/osgUtil/HalfWayMapGenerator.cpp +++ /dev/null @@ -1,45 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::HalfWayMapGenerator) - I_DeclaringFile("osgUtil/HalfWayMapGenerator"); - I_BaseType(osgUtil::CubeMapGenerator); - I_ConstructorWithDefaults2(IN, const osg::Vec3 &, light_direction, , IN, int, texture_size, 64, - ____HalfWayMapGenerator__C5_osg_Vec3_R1__int, - "", - ""); - I_Constructor2(IN, const osgUtil::HalfWayMapGenerator &, copy, IN, const osg::CopyOp &, copyop, - ____HalfWayMapGenerator__C5_HalfWayMapGenerator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ProtectedMethod1(osg::Vec4, compute_color, IN, const osg::Vec3 &, R, - Properties::VIRTUAL, - Properties::CONST, - __osg_Vec4__compute_color__C5_osg_Vec3_R1, - "Override this method to define how colors are computed. ", - "The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/HighlightMapGenerator.cpp b/src/osgWrappers/introspection/osgUtil/HighlightMapGenerator.cpp deleted file mode 100644 index bc372812f..000000000 --- a/src/osgWrappers/introspection/osgUtil/HighlightMapGenerator.cpp +++ /dev/null @@ -1,46 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::HighlightMapGenerator) - I_DeclaringFile("osgUtil/HighlightMapGenerator"); - I_BaseType(osgUtil::CubeMapGenerator); - I_ConstructorWithDefaults4(IN, const osg::Vec3 &, light_direction, , IN, const osg::Vec4 &, light_color, , IN, float, specular_exponent, , IN, int, texture_size, 64, - ____HighlightMapGenerator__C5_osg_Vec3_R1__C5_osg_Vec4_R1__float__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgUtil::HighlightMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____HighlightMapGenerator__C5_HighlightMapGenerator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ProtectedMethod1(osg::Vec4, compute_color, IN, const osg::Vec3 &, R, - Properties::VIRTUAL, - Properties::CONST, - __osg_Vec4__compute_color__C5_osg_Vec3_R1, - "Override this method to define how colors are computed. ", - "The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/IncrementalCompileOperation.cpp b/src/osgWrappers/introspection/osgUtil/IncrementalCompileOperation.cpp deleted file mode 100644 index 2b9f830d7..000000000 --- a/src/osgWrappers/introspection/osgUtil/IncrementalCompileOperation.cpp +++ /dev/null @@ -1,397 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::GraphicsContext * >, osgUtil::IncrementalCompileOperation::Contexts) - -TYPE_NAME_ALIAS(std::set< osg::GraphicsContext * >, osgUtil::IncrementalCompileOperation::ContextSet) - -TYPE_NAME_ALIAS(std::map< osg::GraphicsContext * COMMA osgUtil::IncrementalCompileOperation::CompileData >, osgUtil::IncrementalCompileOperation::CompileMap) - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgUtil::IncrementalCompileOperation::CompileSet > >, osgUtil::IncrementalCompileOperation::CompileSets) - -BEGIN_OBJECT_REFLECTOR(osgUtil::IncrementalCompileOperation) - I_DeclaringFile("osgUtil/IncrementalCompileOperation"); - I_BaseType(osg::GraphicsOperation); - I_Constructor0(____IncrementalCompileOperation, - "", - ""); - I_Method1(void, setTargetFrameRate, IN, double, tfr, - Properties::NON_VIRTUAL, - __void__setTargetFrameRate__double, - "Set the target frame rate that the IncrementalCompileOperation should assume. ", - "Typically one would set this to the value refresh rate of your display system i.e. 60Hz. Default value is 100. Usage notes. The TargetFrameRate and the MinimumTimeAvailableForGLCompileAndDeletePerFrame parameters are not directly used by IncrementalCompileOperation, but are should be used as a guide for how long to set aside per frame for compiling and deleting OpenGL objects. The longer amount of time to set aside the faster databases will be paged in but with increased chance of frame drops, the lower the amount of time the set aside the slower databases will paged it but with better chance of avoid any frame drops. The default values are chosen to achieve the later when running on a modern mid to high end PC. The way to compute the amount of available time use a scheme such as : availableTime = maximum(1.0/targetFrameRate - timeTakenDuringUpdateCullAndDraw, minimumTimeAvailableForGLCompileAndDeletePerFrame). "); - I_Method0(double, getTargetFrameRate, - Properties::NON_VIRTUAL, - __double__getTargetFrameRate, - "Get the target frame rate that the IncrementalCompileOperation should assume. ", - ""); - I_Method1(void, setMinimumTimeAvailableForGLCompileAndDeletePerFrame, IN, double, ta, - Properties::NON_VIRTUAL, - __void__setMinimumTimeAvailableForGLCompileAndDeletePerFrame__double, - "Set the minimum amount of time (in seconds) that should be made available for compiling and delete OpenGL objects per frame. ", - "Default value is 0.001 (1 millisecond). For usage see notes in setTargetFrameRate. "); - I_Method0(double, getMinimumTimeAvailableForGLCompileAndDeletePerFrame, - Properties::NON_VIRTUAL, - __double__getMinimumTimeAvailableForGLCompileAndDeletePerFrame, - "Get the minimum amount of time that should be made available for compiling and delete OpenGL objects per frame. ", - "For usage see notes in setTargetFrameRate. "); - I_Method1(void, setMaximumNumOfObjectsToCompilePerFrame, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setMaximumNumOfObjectsToCompilePerFrame__unsigned_int, - "Set the maximum number of OpenGL objects that the page should attempt to compile per frame. ", - "Note, Lower values reduces chances of a frame drop but lower the rate that database will be paged in at. Default value is 8. "); - I_Method0(unsigned int, getMaximumNumOfObjectsToCompilePerFrame, - Properties::NON_VIRTUAL, - __unsigned_int__getMaximumNumOfObjectsToCompilePerFrame, - "Get the maximum number of OpenGL objects that the page should attempt to compile per frame. ", - ""); - I_Method1(void, setFlushTimeRatio, IN, double, ratio, - Properties::NON_VIRTUAL, - __void__setFlushTimeRatio__double, - "FlushTimeRatio governs how much of the spare time in each frame is used for flushing deleted OpenGL objects. ", - "Default value is 0.5, valid range is 0.1 to 0.9. "); - I_Method0(double, getFlushTimeRatio, - Properties::NON_VIRTUAL, - __double__getFlushTimeRatio, - "", - ""); - I_Method1(void, setConservativeTimeRatio, IN, double, ratio, - Properties::NON_VIRTUAL, - __void__setConservativeTimeRatio__double, - "ConservativeTimeRatio governs how much of the measured spare time in each frame is used for flushing deleted and compile new OpenGL objects. ", - "Default value is 0.5, valid range is 0.1 to 1.0. A ratio near 1.0 will lead to paged databases being compiled and merged quicker but increase the chances of frame drop. A ratio near 0.1 will lead to paged databases being compiled and merged closer but reduse the chances of frame drop. "); - I_Method0(double, getConservativeTimeRatio, - Properties::NON_VIRTUAL, - __double__getConservativeTimeRatio, - "", - ""); - I_Method1(void, assignContexts, IN, osgUtil::IncrementalCompileOperation::Contexts &, contexts, - Properties::NON_VIRTUAL, - __void__assignContexts__Contexts_R1, - "", - ""); - I_Method1(void, removeContexts, IN, osgUtil::IncrementalCompileOperation::Contexts &, contexts, - Properties::NON_VIRTUAL, - __void__removeContexts__Contexts_R1, - "", - ""); - I_Method1(void, addGraphicsContext, IN, osg::GraphicsContext *, gc, - Properties::NON_VIRTUAL, - __void__addGraphicsContext__osg_GraphicsContext_P1, - "", - ""); - I_Method1(void, removeGraphicsContext, IN, osg::GraphicsContext *, gc, - Properties::NON_VIRTUAL, - __void__removeGraphicsContext__osg_GraphicsContext_P1, - "", - ""); - I_Method0(void, mergeCompiledSubgraphs, - Properties::NON_VIRTUAL, - __void__mergeCompiledSubgraphs, - "Merge subgraphs that have been compiled. ", - ""); - I_Method1(void, add, IN, osg::Node *, subgraphToCompile, - Properties::NON_VIRTUAL, - __void__add__osg_Node_P1, - "Add a subgraph to be compiled. ", - ""); - I_Method2(void, add, IN, osg::Group *, attachmentPoint, IN, osg::Node *, subgraphToCompile, - Properties::NON_VIRTUAL, - __void__add__osg_Group_P1__osg_Node_P1, - "Add a subgraph to be compiled and add automatically to attachPoint on call to mergeCompiledSubgraphs. ", - ""); - I_MethodWithDefaults2(void, add, IN, osgUtil::IncrementalCompileOperation::CompileSet *, compileSet, , IN, bool, callBuildCompileMap, true, - Properties::NON_VIRTUAL, - __void__add__CompileSet_P1__bool, - "Add a CompileSet to be compiled. ", - ""); - I_Method0(OpenThreads::Mutex *, getToCompiledMutex, - Properties::NON_VIRTUAL, - __OpenThreads_Mutex_P1__getToCompiledMutex, - "", - ""); - I_Method0(osgUtil::IncrementalCompileOperation::CompileSets &, getToCompile, - Properties::NON_VIRTUAL, - __CompileSets_R1__getToCompile, - "", - ""); - I_Method0(OpenThreads::Mutex *, getCompiledMutex, - Properties::NON_VIRTUAL, - __OpenThreads_Mutex_P1__getCompiledMutex, - "", - ""); - I_Method0(osgUtil::IncrementalCompileOperation::CompileSets &, getCompiled, - Properties::NON_VIRTUAL, - __CompileSets_R1__getCompiled, - "", - ""); - I_SimpleProperty(osgUtil::IncrementalCompileOperation::CompileSets &, Compiled, - __CompileSets_R1__getCompiled, - 0); - I_SimpleProperty(OpenThreads::Mutex *, CompiledMutex, - __OpenThreads_Mutex_P1__getCompiledMutex, - 0); - I_SimpleProperty(double, ConservativeTimeRatio, - __double__getConservativeTimeRatio, - __void__setConservativeTimeRatio__double); - I_SimpleProperty(double, FlushTimeRatio, - __double__getFlushTimeRatio, - __void__setFlushTimeRatio__double); - I_SimpleProperty(unsigned int, MaximumNumOfObjectsToCompilePerFrame, - __unsigned_int__getMaximumNumOfObjectsToCompilePerFrame, - __void__setMaximumNumOfObjectsToCompilePerFrame__unsigned_int); - I_SimpleProperty(double, MinimumTimeAvailableForGLCompileAndDeletePerFrame, - __double__getMinimumTimeAvailableForGLCompileAndDeletePerFrame, - __void__setMinimumTimeAvailableForGLCompileAndDeletePerFrame__double); - I_SimpleProperty(double, TargetFrameRate, - __double__getTargetFrameRate, - __void__setTargetFrameRate__double); - I_SimpleProperty(osgUtil::IncrementalCompileOperation::CompileSets &, ToCompile, - __CompileSets_R1__getToCompile, - 0); - I_SimpleProperty(OpenThreads::Mutex *, ToCompiledMutex, - __OpenThreads_Mutex_P1__getToCompiledMutex, - 0); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::IncrementalCompileOperation::CompileCompletedCallback) - I_DeclaringFile("osgUtil/IncrementalCompileOperation"); - I_BaseType(osg::Referenced); - I_Constructor0(____CompileCompletedCallback, - "", - ""); - I_Method1(bool, compileCompleted, IN, osgUtil::IncrementalCompileOperation::CompileSet *, compileSet, - Properties::PURE_VIRTUAL, - __bool__compileCompleted__CompileSet_P1, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Drawable > >, osgUtil::IncrementalCompileOperation::CompileData::Drawables) - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Texture > >, osgUtil::IncrementalCompileOperation::CompileData::Textures) - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Program > >, osgUtil::IncrementalCompileOperation::CompileData::Programs) - -BEGIN_OBJECT_REFLECTOR(osgUtil::IncrementalCompileOperation::CompileData) - I_DeclaringFile("osgUtil/IncrementalCompileOperation"); - I_BaseType(osg::Referenced); - I_Constructor0(____CompileData, - "", - ""); - I_Method0(bool, empty, - Properties::NON_VIRTUAL, - __bool__empty, - "", - ""); - I_PublicMemberProperty(osgUtil::IncrementalCompileOperation::CompileData::Drawables, _drawables); - I_PublicMemberProperty(osgUtil::IncrementalCompileOperation::CompileData::Textures, _textures); - I_PublicMemberProperty(osgUtil::IncrementalCompileOperation::CompileData::Programs, _programs); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::IncrementalCompileOperation::CompileSet) - I_DeclaringFile("osgUtil/IncrementalCompileOperation"); - I_BaseType(osg::Referenced); - I_Constructor0(____CompileSet, - "", - ""); - I_Constructor1(IN, osg::Node *, subgraphToCompile, - Properties::NON_EXPLICIT, - ____CompileSet__osg_Node_P1, - "", - ""); - I_Constructor2(IN, osg::Group *, attachmentPoint, IN, osg::Node *, subgraphToCompile, - ____CompileSet__osg_Group_P1__osg_Node_P1, - "", - ""); - I_MethodWithDefaults2(void, buildCompileMap, IN, osgUtil::IncrementalCompileOperation::ContextSet &, context, , IN, osgUtil::GLObjectsVisitor::Mode, mode, osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS|osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES, - Properties::NON_VIRTUAL, - __void__buildCompileMap__ContextSet_R1__GLObjectsVisitor_Mode, - "", - ""); - I_Method0(bool, compileCompleted, - Properties::NON_VIRTUAL, - __bool__compileCompleted, - "", - ""); - I_PublicMemberProperty(osg::ref_ptr< osg::Group >, _attachmentPoint); - I_PublicMemberProperty(osg::ref_ptr< osg::Node >, _subgraphToCompile); - I_PublicMemberProperty(osg::ref_ptr< osgUtil::IncrementalCompileOperation::CompileCompletedCallback >, _compileCompletedCallback); - I_PublicMemberProperty(osgUtil::IncrementalCompileOperation::CompileMap, _compileMap); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Program >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Program *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Program > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Program > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Program *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Program *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Program > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Program *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Texture >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::Texture *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::Texture > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::Texture > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::Texture *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::Texture *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::Texture > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::Texture *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::IncrementalCompileOperation::CompileSet >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::IncrementalCompileOperation::CompileSet *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::IncrementalCompileOperation::CompileSet > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::IncrementalCompileOperation::CompileSet > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::IncrementalCompileOperation::CompileSet *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::IncrementalCompileOperation::CompileSet *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::IncrementalCompileOperation::CompileSet > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::IncrementalCompileOperation::CompileSet *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::Drawable > >) - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::Program > >) - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::Texture > >) - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgUtil::IncrementalCompileOperation::CompileSet > >) - -STD_MAP_REFLECTOR(std::map< osg::GraphicsContext * COMMA osgUtil::IncrementalCompileOperation::CompileData >) - -STD_SET_REFLECTOR(std::set< osg::GraphicsContext * >) - diff --git a/src/osgWrappers/introspection/osgUtil/IntersectVisitor.cpp b/src/osgWrappers/introspection/osgUtil/IntersectVisitor.cpp deleted file mode 100644 index 4756cc9b8..000000000 --- a/src/osgWrappers/introspection/osgUtil/IntersectVisitor.cpp +++ /dev/null @@ -1,377 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< int >, osgUtil::Hit::VecIndexList) - -BEGIN_VALUE_REFLECTOR(osgUtil::Hit) - I_DeclaringFile("osgUtil/IntersectVisitor"); - I_Constructor0(____Hit, - "Deprecated. ", - ""); - I_Constructor1(IN, const osgUtil::Hit &, hit, - Properties::NON_EXPLICIT, - ____Hit__C5_Hit_R1, - "", - ""); - I_Method0(const osg::Vec3 &, getLocalIntersectPoint, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getLocalIntersectPoint, - "", - ""); - I_Method0(const osg::Vec3 &, getLocalIntersectNormal, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getLocalIntersectNormal, - "", - ""); - I_Method0(const osg::Vec3, getWorldIntersectPoint, - Properties::NON_VIRTUAL, - __C5_osg_Vec3__getWorldIntersectPoint, - "", - ""); - I_Method0(const osg::Vec3, getWorldIntersectNormal, - Properties::NON_VIRTUAL, - __C5_osg_Vec3__getWorldIntersectNormal, - "", - ""); - I_Method0(float, getRatio, - Properties::NON_VIRTUAL, - __float__getRatio, - "", - ""); - I_Method0(const osg::LineSegment *, getOriginalLineSegment, - Properties::NON_VIRTUAL, - __C5_osg_LineSegment_P1__getOriginalLineSegment, - "", - ""); - I_Method0(const osg::LineSegment *, getLocalLineSegment, - Properties::NON_VIRTUAL, - __C5_osg_LineSegment_P1__getLocalLineSegment, - "", - ""); - I_Method0(osg::NodePath &, getNodePath, - Properties::NON_VIRTUAL, - __osg_NodePath_R1__getNodePath, - "", - ""); - I_Method0(const osg::NodePath &, getNodePath, - Properties::NON_VIRTUAL, - __C5_osg_NodePath_R1__getNodePath, - "", - ""); - I_Method0(osg::Geode *, getGeode, - Properties::NON_VIRTUAL, - __osg_Geode_P1__getGeode, - "", - ""); - I_Method0(const osg::Geode *, getGeode, - Properties::NON_VIRTUAL, - __C5_osg_Geode_P1__getGeode, - "", - ""); - I_Method0(osg::Drawable *, getDrawable, - Properties::NON_VIRTUAL, - __osg_Drawable_P1__getDrawable, - "", - ""); - I_Method0(const osg::Drawable *, getDrawable, - Properties::NON_VIRTUAL, - __C5_osg_Drawable_P1__getDrawable, - "", - ""); - I_Method0(const osg::RefMatrix *, getMatrix, - Properties::NON_VIRTUAL, - __C5_osg_RefMatrix_P1__getMatrix, - "", - ""); - I_Method0(const osg::RefMatrix *, getInverseMatrix, - Properties::NON_VIRTUAL, - __C5_osg_RefMatrix_P1__getInverseMatrix, - "", - ""); - I_Method0(const osgUtil::Hit::VecIndexList &, getVecIndexList, - Properties::NON_VIRTUAL, - __C5_VecIndexList_R1__getVecIndexList, - "", - ""); - I_Method0(int, getPrimitiveIndex, - Properties::NON_VIRTUAL, - __int__getPrimitiveIndex, - "", - ""); - I_SimpleProperty(osg::Drawable *, Drawable, - __osg_Drawable_P1__getDrawable, - 0); - I_SimpleProperty(osg::Geode *, Geode, - __osg_Geode_P1__getGeode, - 0); - I_SimpleProperty(const osg::RefMatrix *, InverseMatrix, - __C5_osg_RefMatrix_P1__getInverseMatrix, - 0); - I_SimpleProperty(const osg::Vec3 &, LocalIntersectNormal, - __C5_osg_Vec3_R1__getLocalIntersectNormal, - 0); - I_SimpleProperty(const osg::Vec3 &, LocalIntersectPoint, - __C5_osg_Vec3_R1__getLocalIntersectPoint, - 0); - I_SimpleProperty(const osg::LineSegment *, LocalLineSegment, - __C5_osg_LineSegment_P1__getLocalLineSegment, - 0); - I_SimpleProperty(const osg::RefMatrix *, Matrix, - __C5_osg_RefMatrix_P1__getMatrix, - 0); - I_SimpleProperty(osg::NodePath &, NodePath, - __osg_NodePath_R1__getNodePath, - 0); - I_SimpleProperty(const osg::LineSegment *, OriginalLineSegment, - __C5_osg_LineSegment_P1__getOriginalLineSegment, - 0); - I_SimpleProperty(int, PrimitiveIndex, - __int__getPrimitiveIndex, - 0); - I_SimpleProperty(float, Ratio, - __float__getRatio, - 0); - I_SimpleProperty(const osgUtil::Hit::VecIndexList &, VecIndexList, - __C5_VecIndexList_R1__getVecIndexList, - 0); - I_SimpleProperty(const osg::Vec3, WorldIntersectNormal, - __C5_osg_Vec3__getWorldIntersectNormal, - 0); - I_SimpleProperty(const osg::Vec3, WorldIntersectPoint, - __C5_osg_Vec3__getWorldIntersectPoint, - 0); - I_PublicMemberProperty(float, _ratio); - I_PublicMemberProperty(osg::ref_ptr< osg::LineSegment >, _originalLineSegment); - I_PublicMemberProperty(osg::ref_ptr< osg::LineSegment >, _localLineSegment); - I_PublicMemberProperty(osg::NodePath, _nodePath); - I_PublicMemberProperty(osg::ref_ptr< osg::Geode >, _geode); - I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, _drawable); - I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _matrix); - I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _inverse); - I_PublicMemberProperty(osgUtil::Hit::VecIndexList, _vecIndexList); - I_PublicMemberProperty(int, _primitiveIndex); - I_PublicMemberProperty(osg::Vec3, _intersectPoint); - I_PublicMemberProperty(osg::Vec3, _intersectNormal); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgUtil::IntersectVisitor::LODSelectionMode) - I_DeclaringFile("osgUtil/IntersectVisitor"); - I_EnumLabel(osgUtil::IntersectVisitor::USE_HIGHEST_LEVEL_OF_DETAIL); - I_EnumLabel(osgUtil::IntersectVisitor::USE_SEGMENT_START_POINT_AS_EYE_POINT_FOR_LOD_LEVEL_SELECTION); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osgUtil::Hit >, osgUtil::IntersectVisitor::HitList) - -TYPE_NAME_ALIAS(std::map< const osg::LineSegment * COMMA osgUtil::IntersectVisitor::HitList >, osgUtil::IntersectVisitor::LineSegmentHitListMap) - -BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectVisitor) - I_DeclaringFile("osgUtil/IntersectVisitor"); - I_BaseType(osg::NodeVisitor); - I_Constructor0(____IntersectVisitor, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_Method1(void, addLineSegment, IN, osg::LineSegment *, seg, - Properties::NON_VIRTUAL, - __void__addLineSegment__osg_LineSegment_P1, - "Add a line segment to use for intersection testing during scene traversal. ", - "Note, a maximum of 32 line segments can be added to a IntersectVistor, adding more than this will result in warning being emitted to the console and the excess segments being ignored. "); - I_Method1(osgUtil::IntersectVisitor::HitList &, getHitList, IN, const osg::LineSegment *, seg, - Properties::NON_VIRTUAL, - __HitList_R1__getHitList__C5_osg_LineSegment_P1, - "", - ""); - I_Method1(int, getNumHits, IN, const osg::LineSegment *, seg, - Properties::NON_VIRTUAL, - __int__getNumHits__C5_osg_LineSegment_P1, - "", - ""); - I_Method0(osgUtil::IntersectVisitor::LineSegmentHitListMap &, getSegHitList, - Properties::NON_VIRTUAL, - __LineSegmentHitListMap_R1__getSegHitList, - "", - ""); - I_Method0(bool, hits, - Properties::NON_VIRTUAL, - __bool__hits, - "", - ""); - I_Method1(void, setLODSelectionMode, IN, osgUtil::IntersectVisitor::LODSelectionMode, mode, - Properties::NON_VIRTUAL, - __void__setLODSelectionMode__LODSelectionMode, - "", - ""); - I_Method0(osgUtil::IntersectVisitor::LODSelectionMode, getLODSelectionMode, - Properties::NON_VIRTUAL, - __LODSelectionMode__getLODSelectionMode, - "", - ""); - I_Method1(void, setEyePoint, IN, const osg::Vec3 &, eye, - Properties::NON_VIRTUAL, - __void__setEyePoint__C5_osg_Vec3_R1, - "Set the eye point in local coordinates. ", - "This is a pseudo-EyePoint for billboarding and LOD purposes. It is copied from the Start point of the most-recently-added segment of the intersection ray set (IntersectState::_segList). "); - I_Method0(osg::Vec3, getEyePoint, - Properties::VIRTUAL, - __osg_Vec3__getEyePoint, - "Get the eye point in local coordinates. ", - "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. "); - I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale, - Properties::VIRTUAL, - __float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool, - "Get the distance from a point to the eye point, distance value in local coordinate system. ", - "This is calculated using the pseudo-EyePoint (above) when doing LOD calculcations. "); - I_Method1(void, apply, IN, osg::Node &, x, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, node, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Billboard &, node, - Properties::VIRTUAL, - __void__apply__osg_Billboard_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Group &, node, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, node, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Switch &, node, - Properties::VIRTUAL, - __void__apply__osg_Switch_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LOD &, node, - Properties::VIRTUAL, - __void__apply__osg_LOD_R1, - "", - ""); - I_ProtectedMethod1(bool, intersect, IN, osg::Drawable &, gset, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__intersect__osg_Drawable_R1, - "", - ""); - I_ProtectedMethod2(void, pushMatrix, IN, osg::RefMatrix *, matrix, IN, osg::Transform::ReferenceFrame, rf, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__pushMatrix__osg_RefMatrix_P1__osg_Transform_ReferenceFrame, - "", - ""); - I_ProtectedMethod0(void, popMatrix, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__popMatrix, - "", - ""); - I_ProtectedMethod1(bool, enterNode, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__enterNode__osg_Node_R1, - "", - ""); - I_ProtectedMethod0(void, leaveNode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__leaveNode, - "", - ""); - I_SimpleProperty(osg::Vec3, EyePoint, - __osg_Vec3__getEyePoint, - __void__setEyePoint__C5_osg_Vec3_R1); - I_SimpleProperty(osgUtil::IntersectVisitor::LODSelectionMode, LODSelectionMode, - __LODSelectionMode__getLODSelectionMode, - __void__setLODSelectionMode__LODSelectionMode); - I_SimpleProperty(osgUtil::IntersectVisitor::LineSegmentHitListMap &, SegHitList, - __LineSegmentHitListMap_R1__getSegHitList, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::PickVisitor) - I_DeclaringFile("osgUtil/IntersectVisitor"); - I_BaseType(osgUtil::IntersectVisitor); - I_Constructor5(IN, const osg::Viewport *, viewport, IN, const osg::Matrixd &, proj, IN, const osg::Matrixd &, view, IN, float, mx, IN, float, my, - ____PickVisitor__C5_osg_Viewport_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__float__float, - "", - ""); - I_Method6(void, runNestedPickVisitor, IN, osg::Node &, node, IN, const osg::Viewport *, viewport, IN, const osg::Matrix &, proj, IN, const osg::Matrix &, view, IN, float, mx, IN, float, my, - Properties::NON_VIRTUAL, - __void__runNestedPickVisitor__osg_Node_R1__C5_osg_Viewport_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1__float__float, - "", - ""); - I_Method1(void, apply, IN, osg::Projection &, projection, - Properties::VIRTUAL, - __void__apply__osg_Projection_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Camera &, camera, - Properties::VIRTUAL, - __void__apply__osg_Camera_R1, - "", - ""); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< const osg::LineSegment * COMMA osgUtil::IntersectVisitor::HitList >) - -STD_VECTOR_REFLECTOR(std::vector< osgUtil::Hit >) - diff --git a/src/osgWrappers/introspection/osgUtil/IntersectionVisitor.cpp b/src/osgWrappers/introspection/osgUtil/IntersectionVisitor.cpp deleted file mode 100644 index 90cc6ce63..000000000 --- a/src/osgWrappers/introspection/osgUtil/IntersectionVisitor.cpp +++ /dev/null @@ -1,547 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgUtil::IntersectionVisitor::LODSelectionMode) - I_DeclaringFile("osgUtil/IntersectionVisitor"); - I_EnumLabel(osgUtil::IntersectionVisitor::USE_HIGHEST_LEVEL_OF_DETAIL); - I_EnumLabel(osgUtil::IntersectionVisitor::USE_EYE_POINT_FOR_LOD_LEVEL_SELECTION); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectionVisitor) - I_DeclaringFile("osgUtil/IntersectionVisitor"); - I_BaseType(osg::NodeVisitor); - I_ConstructorWithDefaults2(IN, osgUtil::Intersector *, intersector, 0, IN, osgUtil::IntersectionVisitor::ReadCallback *, readCallback, 0, - ____IntersectionVisitor__Intersector_P1__ReadCallback_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_Method1(void, setIntersector, IN, osgUtil::Intersector *, intersector, - Properties::NON_VIRTUAL, - __void__setIntersector__Intersector_P1, - "Set the intersector that will be used to intersect with the scene, and to store any hits that occur. ", - ""); - I_Method0(osgUtil::Intersector *, getIntersector, - Properties::NON_VIRTUAL, - __Intersector_P1__getIntersector, - "Get the intersector that will be used to intersect with the scene, and to store any hits that occur. ", - ""); - I_Method0(const osgUtil::Intersector *, getIntersector, - Properties::NON_VIRTUAL, - __C5_Intersector_P1__getIntersector, - "Get the const intersector that will be used to intersect with the scene, and to store any hits that occur. ", - ""); - I_Method1(void, setUseKdTreeWhenAvailable, IN, bool, useKdTrees, - Properties::NON_VIRTUAL, - __void__setUseKdTreeWhenAvailable__bool, - "Set whether the intersectors should use KdTrees when they are found on the scene graph. ", - ""); - I_Method0(bool, getUseKdTreeWhenAvailable, - Properties::NON_VIRTUAL, - __bool__getUseKdTreeWhenAvailable, - "Set whether the intersectors should use KdTrees. ", - ""); - I_Method1(void, setDoDummyTraversal, IN, bool, dummy, - Properties::NON_VIRTUAL, - __void__setDoDummyTraversal__bool, - "", - ""); - I_Method0(bool, getDoDummyTraversal, - Properties::NON_VIRTUAL, - __bool__getDoDummyTraversal, - "", - ""); - I_Method1(void, setReadCallback, IN, osgUtil::IntersectionVisitor::ReadCallback *, rc, - Properties::NON_VIRTUAL, - __void__setReadCallback__ReadCallback_P1, - "Set the read callback. ", - ""); - I_Method0(osgUtil::IntersectionVisitor::ReadCallback *, getReadCallback, - Properties::NON_VIRTUAL, - __ReadCallback_P1__getReadCallback, - "Get the read callback. ", - ""); - I_Method0(const osgUtil::IntersectionVisitor::ReadCallback *, getReadCallback, - Properties::NON_VIRTUAL, - __C5_ReadCallback_P1__getReadCallback, - "Get the const read callback. ", - ""); - I_Method1(void, pushWindowMatrix, IN, osg::RefMatrix *, matrix, - Properties::NON_VIRTUAL, - __void__pushWindowMatrix__osg_RefMatrix_P1, - "", - ""); - I_Method1(void, pushWindowMatrix, IN, osg::Viewport *, viewport, - Properties::NON_VIRTUAL, - __void__pushWindowMatrix__osg_Viewport_P1, - "", - ""); - I_Method0(void, popWindowMatrix, - Properties::NON_VIRTUAL, - __void__popWindowMatrix, - "", - ""); - I_Method0(osg::RefMatrix *, getWindowMatrix, - Properties::NON_VIRTUAL, - __osg_RefMatrix_P1__getWindowMatrix, - "", - ""); - I_Method0(const osg::RefMatrix *, getWindowMatrix, - Properties::NON_VIRTUAL, - __C5_osg_RefMatrix_P1__getWindowMatrix, - "", - ""); - I_Method1(void, pushProjectionMatrix, IN, osg::RefMatrix *, matrix, - Properties::NON_VIRTUAL, - __void__pushProjectionMatrix__osg_RefMatrix_P1, - "", - ""); - I_Method0(void, popProjectionMatrix, - Properties::NON_VIRTUAL, - __void__popProjectionMatrix, - "", - ""); - I_Method0(osg::RefMatrix *, getProjectionMatrix, - Properties::NON_VIRTUAL, - __osg_RefMatrix_P1__getProjectionMatrix, - "", - ""); - I_Method0(const osg::RefMatrix *, getProjectionMatrix, - Properties::NON_VIRTUAL, - __C5_osg_RefMatrix_P1__getProjectionMatrix, - "", - ""); - I_Method1(void, pushViewMatrix, IN, osg::RefMatrix *, matrix, - Properties::NON_VIRTUAL, - __void__pushViewMatrix__osg_RefMatrix_P1, - "", - ""); - I_Method0(void, popViewMatrix, - Properties::NON_VIRTUAL, - __void__popViewMatrix, - "", - ""); - I_Method0(osg::RefMatrix *, getViewMatrix, - Properties::NON_VIRTUAL, - __osg_RefMatrix_P1__getViewMatrix, - "", - ""); - I_Method0(const osg::RefMatrix *, getViewMatrix, - Properties::NON_VIRTUAL, - __C5_osg_RefMatrix_P1__getViewMatrix, - "", - ""); - I_Method1(void, pushModelMatrix, IN, osg::RefMatrix *, matrix, - Properties::NON_VIRTUAL, - __void__pushModelMatrix__osg_RefMatrix_P1, - "", - ""); - I_Method0(void, popModelMatrix, - Properties::NON_VIRTUAL, - __void__popModelMatrix, - "", - ""); - I_Method0(osg::RefMatrix *, getModelMatrix, - Properties::NON_VIRTUAL, - __osg_RefMatrix_P1__getModelMatrix, - "", - ""); - I_Method0(const osg::RefMatrix *, getModelMatrix, - Properties::NON_VIRTUAL, - __C5_osg_RefMatrix_P1__getModelMatrix, - "", - ""); - I_Method1(void, setReferenceEyePoint, IN, const osg::Vec3 &, ep, - Properties::NON_VIRTUAL, - __void__setReferenceEyePoint__C5_osg_Vec3_R1, - "Set the reference eye point that is used for nodes that require an eye point to position themselves, such as billboards. ", - ""); - I_Method0(const osg::Vec3 &, getReferenceEyePoint, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getReferenceEyePoint, - "Get the reference eye point. ", - ""); - I_Method1(void, setReferenceEyePointCoordinateFrame, IN, osgUtil::Intersector::CoordinateFrame, cf, - Properties::NON_VIRTUAL, - __void__setReferenceEyePointCoordinateFrame__Intersector_CoordinateFrame, - "Set the coordinate frame of the reference eye point. ", - ""); - I_Method0(osgUtil::Intersector::CoordinateFrame, getReferenceEyePointCoordinateFrame, - Properties::NON_VIRTUAL, - __Intersector_CoordinateFrame__getReferenceEyePointCoordinateFrame, - "Get the coordinate frame of the reference eye point. ", - ""); - I_Method0(osg::Vec3, getEyePoint, - Properties::VIRTUAL, - __osg_Vec3__getEyePoint, - "Get the eye point in the local coordinate frame a given traversal point. ", - ""); - I_Method1(void, setLODSelectionMode, IN, osgUtil::IntersectionVisitor::LODSelectionMode, mode, - Properties::NON_VIRTUAL, - __void__setLODSelectionMode__LODSelectionMode, - "Set the LOD selection scheme. ", - ""); - I_Method0(osgUtil::IntersectionVisitor::LODSelectionMode, getLODSelectionMode, - Properties::NON_VIRTUAL, - __LODSelectionMode__getLODSelectionMode, - "Get the LOD selection scheme. ", - ""); - I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale, - Properties::VIRTUAL, - __float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool, - "Get the distance from a point to the eye point, distance value in local coordinate system. ", - "This is calculated using the pseudo-EyePoint (above) when doing LOD calculcations. "); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Billboard &, geode, - Properties::VIRTUAL, - __void__apply__osg_Billboard_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Group &, group, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LOD &, lod, - Properties::VIRTUAL, - __void__apply__osg_LOD_R1, - "", - ""); - I_Method1(void, apply, IN, osg::PagedLOD &, lod, - Properties::VIRTUAL, - __void__apply__osg_PagedLOD_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, transform, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Projection &, projection, - Properties::VIRTUAL, - __void__apply__osg_Projection_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Camera &, camera, - Properties::VIRTUAL, - __void__apply__osg_Camera_R1, - "", - ""); - I_ProtectedMethod1(bool, enter, IN, const osg::Node &, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__enter__C5_osg_Node_R1, - "", - ""); - I_ProtectedMethod0(void, leave, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__leave, - "", - ""); - I_ProtectedMethod1(void, intersect, IN, osg::Drawable *, drawable, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__intersect__osg_Drawable_P1, - "", - ""); - I_ProtectedMethod0(void, push_clone, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__push_clone, - "", - ""); - I_ProtectedMethod0(void, pop_clone, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__pop_clone, - "", - ""); - I_SimpleProperty(bool, DoDummyTraversal, - __bool__getDoDummyTraversal, - __void__setDoDummyTraversal__bool); - I_SimpleProperty(osg::Vec3, EyePoint, - __osg_Vec3__getEyePoint, - 0); - I_SimpleProperty(osgUtil::Intersector *, Intersector, - __Intersector_P1__getIntersector, - __void__setIntersector__Intersector_P1); - I_SimpleProperty(osgUtil::IntersectionVisitor::LODSelectionMode, LODSelectionMode, - __LODSelectionMode__getLODSelectionMode, - __void__setLODSelectionMode__LODSelectionMode); - I_SimpleProperty(osg::RefMatrix *, ModelMatrix, - __osg_RefMatrix_P1__getModelMatrix, - 0); - I_SimpleProperty(osg::RefMatrix *, ProjectionMatrix, - __osg_RefMatrix_P1__getProjectionMatrix, - 0); - I_SimpleProperty(osgUtil::IntersectionVisitor::ReadCallback *, ReadCallback, - __ReadCallback_P1__getReadCallback, - __void__setReadCallback__ReadCallback_P1); - I_SimpleProperty(const osg::Vec3 &, ReferenceEyePoint, - __C5_osg_Vec3_R1__getReferenceEyePoint, - __void__setReferenceEyePoint__C5_osg_Vec3_R1); - I_SimpleProperty(osgUtil::Intersector::CoordinateFrame, ReferenceEyePointCoordinateFrame, - __Intersector_CoordinateFrame__getReferenceEyePointCoordinateFrame, - __void__setReferenceEyePointCoordinateFrame__Intersector_CoordinateFrame); - I_SimpleProperty(bool, UseKdTreeWhenAvailable, - __bool__getUseKdTreeWhenAvailable, - __void__setUseKdTreeWhenAvailable__bool); - I_SimpleProperty(osg::RefMatrix *, ViewMatrix, - __osg_RefMatrix_P1__getViewMatrix, - 0); - I_SimpleProperty(osg::RefMatrix *, WindowMatrix, - __osg_RefMatrix_P1__getWindowMatrix, - 0); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::IntersectionVisitor::ReadCallback) - I_DeclaringFile("osgUtil/IntersectionVisitor"); - I_BaseType(osg::Referenced); - I_Constructor0(____ReadCallback, - "", - ""); - I_Method1(osg::Node *, readNodeFile, IN, const std::string &, filename, - Properties::PURE_VIRTUAL, - __osg_Node_P1__readNodeFile__C5_std_string_R1, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgUtil::Intersector::CoordinateFrame) - I_DeclaringFile("osgUtil/IntersectionVisitor"); - I_EnumLabel(osgUtil::Intersector::WINDOW); - I_EnumLabel(osgUtil::Intersector::PROJECTION); - I_EnumLabel(osgUtil::Intersector::VIEW); - I_EnumLabel(osgUtil::Intersector::MODEL); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::Intersector) - I_DeclaringFile("osgUtil/IntersectionVisitor"); - I_BaseType(osg::Referenced); - I_ConstructorWithDefaults1(IN, osgUtil::Intersector::CoordinateFrame, cf, osgUtil::Intersector::MODEL, - Properties::NON_EXPLICIT, - ____Intersector__CoordinateFrame, - "", - ""); - I_Method1(void, setCoordinateFrame, IN, osgUtil::Intersector::CoordinateFrame, cf, - Properties::NON_VIRTUAL, - __void__setCoordinateFrame__CoordinateFrame, - "", - ""); - I_Method0(osgUtil::Intersector::CoordinateFrame, getCoordinateFrame, - Properties::NON_VIRTUAL, - __CoordinateFrame__getCoordinateFrame, - "", - ""); - I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv, - Properties::PURE_VIRTUAL, - __Intersector_P1__clone__osgUtil_IntersectionVisitor_R1, - "", - ""); - I_Method1(bool, enter, IN, const osg::Node &, node, - Properties::PURE_VIRTUAL, - __bool__enter__C5_osg_Node_R1, - "", - ""); - I_Method0(void, leave, - Properties::PURE_VIRTUAL, - __void__leave, - "", - ""); - I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable, - Properties::PURE_VIRTUAL, - __void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "", - ""); - I_Method0(bool, containsIntersections, - Properties::PURE_VIRTUAL, - __bool__containsIntersections, - "", - ""); - I_Method0(bool, disabled, - Properties::NON_VIRTUAL, - __bool__disabled, - "", - ""); - I_Method0(void, incrementDisabledCount, - Properties::NON_VIRTUAL, - __void__incrementDisabledCount, - "", - ""); - I_Method0(void, decrementDisabledCount, - Properties::NON_VIRTUAL, - __void__decrementDisabledCount, - "", - ""); - I_SimpleProperty(osgUtil::Intersector::CoordinateFrame, CoordinateFrame, - __CoordinateFrame__getCoordinateFrame, - __void__setCoordinateFrame__CoordinateFrame); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::Intersector > >, osgUtil::IntersectorGroup::Intersectors) - -BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectorGroup) - I_DeclaringFile("osgUtil/IntersectionVisitor"); - I_BaseType(osgUtil::Intersector); - I_Constructor0(____IntersectorGroup, - "", - ""); - I_Method1(void, addIntersector, IN, osgUtil::Intersector *, intersector, - Properties::NON_VIRTUAL, - __void__addIntersector__Intersector_P1, - "Add an Intersector. ", - ""); - I_Method0(osgUtil::IntersectorGroup::Intersectors &, getIntersectors, - Properties::NON_VIRTUAL, - __Intersectors_R1__getIntersectors, - "Get the list of intersector. ", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "Clear the list of intersectors. ", - ""); - I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv, - Properties::VIRTUAL, - __Intersector_P1__clone__osgUtil_IntersectionVisitor_R1, - "", - ""); - I_Method1(bool, enter, IN, const osg::Node &, node, - Properties::VIRTUAL, - __bool__enter__C5_osg_Node_R1, - "", - ""); - I_Method0(void, leave, - Properties::VIRTUAL, - __void__leave, - "", - ""); - I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable, - Properties::VIRTUAL, - __void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "", - ""); - I_Method0(bool, containsIntersections, - Properties::VIRTUAL, - __bool__containsIntersections, - "", - ""); - I_SimpleProperty(osgUtil::IntersectorGroup::Intersectors &, Intersectors, - __Intersectors_R1__getIntersectors, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::Intersector >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::Intersector *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::Intersector > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::Intersector > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::Intersector *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::Intersector *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::Intersector > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::Intersector *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgUtil::Intersector > >) - diff --git a/src/osgWrappers/introspection/osgUtil/LineSegmentIntersector.cpp b/src/osgWrappers/introspection/osgUtil/LineSegmentIntersector.cpp deleted file mode 100644 index c3d9a8b21..000000000 --- a/src/osgWrappers/introspection/osgUtil/LineSegmentIntersector.cpp +++ /dev/null @@ -1,191 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::multiset< osgUtil::LineSegmentIntersector::Intersection >, osgUtil::LineSegmentIntersector::Intersections) - -BEGIN_OBJECT_REFLECTOR(osgUtil::LineSegmentIntersector) - I_DeclaringFile("osgUtil/LineSegmentIntersector"); - I_BaseType(osgUtil::Intersector); - I_Constructor2(IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end, - ____LineSegmentIntersector__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1, - "Construct a LineSegmentIntersector the runs between the specified start and end points in MODEL coordinates. ", - ""); - I_Constructor3(IN, osgUtil::Intersector::CoordinateFrame, cf, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end, - ____LineSegmentIntersector__CoordinateFrame__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1, - "Construct a LineSegmentIntersector the runs between the specified start and end points in the specified coordinate frame. ", - ""); - I_Constructor3(IN, osgUtil::Intersector::CoordinateFrame, cf, IN, double, x, IN, double, y, - ____LineSegmentIntersector__CoordinateFrame__double__double, - "Convenience constructor for supporting picking in WINDOW, or PROJECTION coordinates In WINDOW coordinates creates a start value of (x,y,0) and end value of (x,y,1). ", - "In PROJECTION coordinates (clip space cube) creates a start value of (x,y,-1) and end value of (x,y,1). In VIEW and MODEL coordinates creates a start value of (x,y,0) and end value of (x,y,1). "); - I_Method1(void, insertIntersection, IN, const osgUtil::LineSegmentIntersector::Intersection &, intersection, - Properties::NON_VIRTUAL, - __void__insertIntersection__C5_Intersection_R1, - "", - ""); - I_Method0(osgUtil::LineSegmentIntersector::Intersections &, getIntersections, - Properties::NON_VIRTUAL, - __Intersections_R1__getIntersections, - "", - ""); - I_Method0(osgUtil::LineSegmentIntersector::Intersection, getFirstIntersection, - Properties::NON_VIRTUAL, - __Intersection__getFirstIntersection, - "", - ""); - I_Method1(void, setStart, IN, const osg::Vec3d &, start, - Properties::NON_VIRTUAL, - __void__setStart__C5_osg_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getStart, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getStart, - "", - ""); - I_Method1(void, setEnd, IN, const osg::Vec3d &, end, - Properties::NON_VIRTUAL, - __void__setEnd__C5_osg_Vec3d_R1, - "", - ""); - I_Method0(const osg::Vec3d &, getEnd, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getEnd, - "", - ""); - I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv, - Properties::VIRTUAL, - __Intersector_P1__clone__osgUtil_IntersectionVisitor_R1, - "", - ""); - I_Method1(bool, enter, IN, const osg::Node &, node, - Properties::VIRTUAL, - __bool__enter__C5_osg_Node_R1, - "", - ""); - I_Method0(void, leave, - Properties::VIRTUAL, - __void__leave, - "", - ""); - I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable, - Properties::VIRTUAL, - __void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "", - ""); - I_Method0(bool, containsIntersections, - Properties::VIRTUAL, - __bool__containsIntersections, - "", - ""); - I_ProtectedMethod1(bool, intersects, IN, const osg::BoundingSphere &, bs, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__intersects__C5_osg_BoundingSphere_R1, - "", - ""); - I_ProtectedMethod3(bool, intersectAndClip, IN, osg::Vec3d &, s, IN, osg::Vec3d &, e, IN, const osg::BoundingBox &, bb, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__intersectAndClip__osg_Vec3d_R1__osg_Vec3d_R1__C5_osg_BoundingBox_R1, - "", - ""); - I_SimpleProperty(const osg::Vec3d &, End, - __C5_osg_Vec3d_R1__getEnd, - __void__setEnd__C5_osg_Vec3d_R1); - I_SimpleProperty(osgUtil::LineSegmentIntersector::Intersection, FirstIntersection, - __Intersection__getFirstIntersection, - 0); - I_SimpleProperty(osgUtil::LineSegmentIntersector::Intersections &, Intersections, - __Intersections_R1__getIntersections, - 0); - I_SimpleProperty(const osg::Vec3d &, Start, - __C5_osg_Vec3d_R1__getStart, - __void__setStart__C5_osg_Vec3d_R1); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< unsigned int >, osgUtil::LineSegmentIntersector::Intersection::IndexList) - -TYPE_NAME_ALIAS(std::vector< double >, osgUtil::LineSegmentIntersector::Intersection::RatioList) - -BEGIN_VALUE_REFLECTOR(osgUtil::LineSegmentIntersector::Intersection) - I_DeclaringFile("osgUtil/LineSegmentIntersector"); - I_Constructor0(____Intersection, - "", - ""); - I_Method0(const osg::Vec3d &, getLocalIntersectPoint, - Properties::NON_VIRTUAL, - __C5_osg_Vec3d_R1__getLocalIntersectPoint, - "", - ""); - I_Method0(osg::Vec3d, getWorldIntersectPoint, - Properties::NON_VIRTUAL, - __osg_Vec3d__getWorldIntersectPoint, - "", - ""); - I_Method0(const osg::Vec3 &, getLocalIntersectNormal, - Properties::NON_VIRTUAL, - __C5_osg_Vec3_R1__getLocalIntersectNormal, - "", - ""); - I_Method0(osg::Vec3, getWorldIntersectNormal, - Properties::NON_VIRTUAL, - __osg_Vec3__getWorldIntersectNormal, - "", - ""); - I_SimpleProperty(const osg::Vec3 &, LocalIntersectNormal, - __C5_osg_Vec3_R1__getLocalIntersectNormal, - 0); - I_SimpleProperty(const osg::Vec3d &, LocalIntersectPoint, - __C5_osg_Vec3d_R1__getLocalIntersectPoint, - 0); - I_SimpleProperty(osg::Vec3, WorldIntersectNormal, - __osg_Vec3__getWorldIntersectNormal, - 0); - I_SimpleProperty(osg::Vec3d, WorldIntersectPoint, - __osg_Vec3d__getWorldIntersectPoint, - 0); - I_PublicMemberProperty(double, ratio); - I_PublicMemberProperty(osg::NodePath, nodePath); - I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, drawable); - I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, matrix); - I_PublicMemberProperty(osg::Vec3d, localIntersectionPoint); - I_PublicMemberProperty(osg::Vec3, localIntersectionNormal); - I_PublicMemberProperty(osgUtil::LineSegmentIntersector::Intersection::IndexList, indexList); - I_PublicMemberProperty(osgUtil::LineSegmentIntersector::Intersection::RatioList, ratioList); - I_PublicMemberProperty(unsigned int, primitiveIndex); -END_REFLECTOR - -STD_SET_REFLECTOR(std::multiset< osgUtil::LineSegmentIntersector::Intersection >) - diff --git a/src/osgWrappers/introspection/osgUtil/OperationArrayFunctor.cpp b/src/osgWrappers/introspection/osgUtil/OperationArrayFunctor.cpp deleted file mode 100644 index 3c3ebecd1..000000000 --- a/src/osgWrappers/introspection/osgUtil/OperationArrayFunctor.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - diff --git a/src/osgWrappers/introspection/osgUtil/Optimizer.cpp b/src/osgWrappers/introspection/osgUtil/Optimizer.cpp deleted file mode 100644 index 25aa5bc6c..000000000 --- a/src/osgWrappers/introspection/osgUtil/Optimizer.cpp +++ /dev/null @@ -1,984 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::BaseOptimizerVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osg::NodeVisitor); - I_Constructor2(IN, osgUtil::Optimizer *, optimizer, IN, unsigned int, operation, - ____BaseOptimizerVisitor__Optimizer_P1__unsigned_int, - "", - ""); - I_Method1(bool, isOperationPermissibleForObject, IN, const osg::StateSet *, object, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObject__C5_osg_StateSet_P1, - "", - ""); - I_Method1(bool, isOperationPermissibleForObject, IN, const osg::StateAttribute *, object, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObject__C5_osg_StateAttribute_P1, - "", - ""); - I_Method1(bool, isOperationPermissibleForObject, IN, const osg::Drawable *, object, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObject__C5_osg_Drawable_P1, - "", - ""); - I_Method1(bool, isOperationPermissibleForObject, IN, const osg::Node *, object, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObject__C5_osg_Node_P1, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgUtil::Optimizer::OptimizationOptions) - I_DeclaringFile("osgUtil/Optimizer"); - I_EnumLabel(osgUtil::Optimizer::FLATTEN_STATIC_TRANSFORMS); - I_EnumLabel(osgUtil::Optimizer::REMOVE_REDUNDANT_NODES); - I_EnumLabel(osgUtil::Optimizer::REMOVE_LOADED_PROXY_NODES); - I_EnumLabel(osgUtil::Optimizer::COMBINE_ADJACENT_LODS); - I_EnumLabel(osgUtil::Optimizer::SHARE_DUPLICATE_STATE); - I_EnumLabel(osgUtil::Optimizer::MERGE_GEOMETRY); - I_EnumLabel(osgUtil::Optimizer::CHECK_GEOMETRY); - I_EnumLabel(osgUtil::Optimizer::MAKE_FAST_GEOMETRY); - I_EnumLabel(osgUtil::Optimizer::SPATIALIZE_GROUPS); - I_EnumLabel(osgUtil::Optimizer::COPY_SHARED_NODES); - I_EnumLabel(osgUtil::Optimizer::TRISTRIP_GEOMETRY); - I_EnumLabel(osgUtil::Optimizer::TESSELLATE_GEOMETRY); - I_EnumLabel(osgUtil::Optimizer::OPTIMIZE_TEXTURE_SETTINGS); - I_EnumLabel(osgUtil::Optimizer::MERGE_GEODES); - I_EnumLabel(osgUtil::Optimizer::FLATTEN_BILLBOARDS); - I_EnumLabel(osgUtil::Optimizer::TEXTURE_ATLAS_BUILDER); - I_EnumLabel(osgUtil::Optimizer::STATIC_OBJECT_DETECTION); - I_EnumLabel(osgUtil::Optimizer::FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS); - I_EnumLabel(osgUtil::Optimizer::INDEX_MESH); - I_EnumLabel(osgUtil::Optimizer::VERTEX_POSTTRANSFORM); - I_EnumLabel(osgUtil::Optimizer::VERTEX_PRETRANSFORM); - I_EnumLabel(osgUtil::Optimizer::DEFAULT_OPTIMIZATIONS); - I_EnumLabel(osgUtil::Optimizer::ALL_OPTIMIZATIONS); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgUtil::Optimizer) - I_DeclaringFile("osgUtil/Optimizer"); - I_Constructor0(____Optimizer, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "Reset internal data to initial state - the getPermissibleOptionsMap is cleared. ", - ""); - I_Method1(void, optimize, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__optimize__osg_Node_P1, - "Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. ", - ""); - I_Method2(void, optimize, IN, osg::Node *, node, IN, unsigned int, options, - Properties::VIRTUAL, - __void__optimize__osg_Node_P1__unsigned_int, - "Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. ", - ""); - I_Method1(void, setIsOperationPermissibleForObjectCallback, IN, osgUtil::Optimizer::IsOperationPermissibleForObjectCallback *, callback, - Properties::NON_VIRTUAL, - __void__setIsOperationPermissibleForObjectCallback__IsOperationPermissibleForObjectCallback_P1, - "Set the callback for customizing what operations are permitted on objects in the scene graph. ", - ""); - I_Method0(osgUtil::Optimizer::IsOperationPermissibleForObjectCallback *, getIsOperationPermissibleForObjectCallback, - Properties::NON_VIRTUAL, - __IsOperationPermissibleForObjectCallback_P1__getIsOperationPermissibleForObjectCallback, - "Get the callback for customizing what operations are permitted on objects in the scene graph. ", - ""); - I_Method0(const osgUtil::Optimizer::IsOperationPermissibleForObjectCallback *, getIsOperationPermissibleForObjectCallback, - Properties::NON_VIRTUAL, - __C5_IsOperationPermissibleForObjectCallback_P1__getIsOperationPermissibleForObjectCallback, - "Get the callback for customizing what operations are permitted on objects in the scene graph. ", - ""); - I_Method2(void, setPermissibleOptimizationsForObject, IN, const osg::Object *, object, IN, unsigned int, options, - Properties::NON_VIRTUAL, - __void__setPermissibleOptimizationsForObject__C5_osg_Object_P1__unsigned_int, - "", - ""); - I_Method1(unsigned int, getPermissibleOptimizationsForObject, IN, const osg::Object *, object, - Properties::NON_VIRTUAL, - __unsigned_int__getPermissibleOptimizationsForObject__C5_osg_Object_P1, - "", - ""); - I_Method2(bool, isOperationPermissibleForObject, IN, const osg::StateSet *, object, IN, unsigned int, option, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObject__C5_osg_StateSet_P1__unsigned_int, - "", - ""); - I_Method2(bool, isOperationPermissibleForObject, IN, const osg::StateAttribute *, object, IN, unsigned int, option, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObject__C5_osg_StateAttribute_P1__unsigned_int, - "", - ""); - I_Method2(bool, isOperationPermissibleForObject, IN, const osg::Drawable *, object, IN, unsigned int, option, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObject__C5_osg_Drawable_P1__unsigned_int, - "", - ""); - I_Method2(bool, isOperationPermissibleForObject, IN, const osg::Node *, object, IN, unsigned int, option, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObject__C5_osg_Node_P1__unsigned_int, - "", - ""); - I_Method2(bool, isOperationPermissibleForObjectImplementation, IN, const osg::StateSet *, stateset, IN, unsigned int, option, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObjectImplementation__C5_osg_StateSet_P1__unsigned_int, - "", - ""); - I_Method2(bool, isOperationPermissibleForObjectImplementation, IN, const osg::StateAttribute *, attribute, IN, unsigned int, option, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObjectImplementation__C5_osg_StateAttribute_P1__unsigned_int, - "", - ""); - I_Method2(bool, isOperationPermissibleForObjectImplementation, IN, const osg::Drawable *, drawable, IN, unsigned int, option, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObjectImplementation__C5_osg_Drawable_P1__unsigned_int, - "", - ""); - I_Method2(bool, isOperationPermissibleForObjectImplementation, IN, const osg::Node *, node, IN, unsigned int, option, - Properties::NON_VIRTUAL, - __bool__isOperationPermissibleForObjectImplementation__C5_osg_Node_P1__unsigned_int, - "", - ""); - I_SimpleProperty(osgUtil::Optimizer::IsOperationPermissibleForObjectCallback *, IsOperationPermissibleForObjectCallback, - __IsOperationPermissibleForObjectCallback_P1__getIsOperationPermissibleForObjectCallback, - __void__setIsOperationPermissibleForObjectCallback__IsOperationPermissibleForObjectCallback_P1); - I_IndexedProperty(unsigned int, PermissibleOptimizationsForObject, - __unsigned_int__getPermissibleOptimizationsForObject__C5_osg_Object_P1, - __void__setPermissibleOptimizationsForObject__C5_osg_Object_P1__unsigned_int, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::CheckGeometryVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____CheckGeometryVisitor__Optimizer_P1, - "default to traversing all children. ", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, checkGeode, IN, osg::Geode &, geode, - Properties::NON_VIRTUAL, - __void__checkGeode__osg_Geode_R1, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::set< osg::Group * >, osgUtil::Optimizer::CombineLODsVisitor::GroupList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::CombineLODsVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____CombineLODsVisitor__Optimizer_P1, - "", - ""); - I_Method1(void, apply, IN, osg::LOD &, lod, - Properties::VIRTUAL, - __void__apply__osg_LOD_R1, - "", - ""); - I_Method0(void, combineLODs, - Properties::NON_VIRTUAL, - __void__combineLODs, - "", - ""); - I_PublicMemberProperty(osgUtil::Optimizer::CombineLODsVisitor::GroupList, _groupList); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::CombineStaticTransformsVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____CombineStaticTransformsVisitor__Optimizer_P1, - "", - ""); - I_Method1(void, apply, IN, osg::MatrixTransform &, transform, - Properties::VIRTUAL, - __void__apply__osg_MatrixTransform_R1, - "", - ""); - I_Method1(bool, removeTransforms, IN, osg::Node *, nodeWeCannotRemove, - Properties::NON_VIRTUAL, - __bool__removeTransforms__osg_Node_P1, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::set< osg::Node * >, osgUtil::Optimizer::CopySharedSubgraphsVisitor::SharedNodeList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::CopySharedSubgraphsVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____CopySharedSubgraphsVisitor__Optimizer_P1, - "", - ""); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method0(void, copySharedNodes, - Properties::NON_VIRTUAL, - __void__copySharedNodes, - "", - ""); - I_PublicMemberProperty(osgUtil::Optimizer::CopySharedSubgraphsVisitor::SharedNodeList, _sharedNodeList); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::NodePath >, osgUtil::Optimizer::FlattenBillboardVisitor::NodePathList) - -TYPE_NAME_ALIAS(std::map< osg::Billboard * COMMA osgUtil::Optimizer::FlattenBillboardVisitor::NodePathList >, osgUtil::Optimizer::FlattenBillboardVisitor::BillboardNodePathMap) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::FlattenBillboardVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____FlattenBillboardVisitor__Optimizer_P1, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_Method1(void, apply, IN, osg::Billboard &, billboard, - Properties::VIRTUAL, - __void__apply__osg_Billboard_R1, - "", - ""); - I_Method0(void, process, - Properties::NON_VIRTUAL, - __void__process, - "", - ""); - I_PublicMemberProperty(osgUtil::Optimizer::FlattenBillboardVisitor::BillboardNodePathMap, _billboards); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor__Optimizer_P1, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_Method1(void, apply, IN, osg::Group &, group, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, transform, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LOD &, lod, - Properties::VIRTUAL, - __void__apply__osg_LOD_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Billboard &, billboard, - Properties::VIRTUAL, - __void__apply__osg_Billboard_R1, - "", - ""); - I_ProtectedMethod1(void, transformGeode, IN, osg::Geode &, geode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__transformGeode__osg_Geode_R1, - "", - ""); - I_ProtectedMethod1(void, transformDrawable, IN, osg::Drawable &, drawable, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__transformDrawable__osg_Drawable_R1, - "", - ""); - I_ProtectedMethod1(void, transformBillboard, IN, osg::Billboard &, billboard, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__transformBillboard__osg_Billboard_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::FlattenStaticTransformsVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____FlattenStaticTransformsVisitor__Optimizer_P1, - "", - ""); - I_Method1(void, apply, IN, osg::Node &, geode, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Billboard &, geode, - Properties::VIRTUAL, - __void__apply__osg_Billboard_R1, - "", - ""); - I_Method1(void, apply, IN, osg::ProxyNode &, node, - Properties::VIRTUAL, - __void__apply__osg_ProxyNode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::PagedLOD &, node, - Properties::VIRTUAL, - __void__apply__osg_PagedLOD_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, transform, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method1(bool, removeTransforms, IN, osg::Node *, nodeWeCannotRemove, - Properties::NON_VIRTUAL, - __bool__removeTransforms__osg_Node_P1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::IsOperationPermissibleForObjectCallback) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osg::Referenced); - I_Constructor0(____IsOperationPermissibleForObjectCallback, - "", - ""); - I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::StateSet *, stateset, IN, unsigned int, option, - Properties::VIRTUAL, - __bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_StateSet_P1__unsigned_int, - "", - ""); - I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::StateAttribute *, attribute, IN, unsigned int, option, - Properties::VIRTUAL, - __bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_StateAttribute_P1__unsigned_int, - "", - ""); - I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::Drawable *, drawable, IN, unsigned int, option, - Properties::VIRTUAL, - __bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_Drawable_P1__unsigned_int, - "", - ""); - I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::Node *, node, IN, unsigned int, option, - Properties::VIRTUAL, - __bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_Node_P1__unsigned_int, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::MakeFastGeometryVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____MakeFastGeometryVisitor__Optimizer_P1, - "default to traversing all children. ", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, checkGeode, IN, osg::Geode &, geode, - Properties::NON_VIRTUAL, - __void__checkGeode__osg_Geode_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::MergeGeodesVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____MergeGeodesVisitor__Optimizer_P1, - "default to traversing all children. ", - ""); - I_Method1(void, apply, IN, osg::Group &, group, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method1(bool, mergeGeodes, IN, osg::Group &, group, - Properties::NON_VIRTUAL, - __bool__mergeGeodes__osg_Group_R1, - "", - ""); - I_ProtectedMethod2(bool, mergeGeode, IN, osg::Geode &, lhs, IN, osg::Geode &, rhs, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__mergeGeode__osg_Geode_R1__osg_Geode_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::MergeGeometryVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____MergeGeometryVisitor__Optimizer_P1, - "default to traversing all children. ", - ""); - I_Method1(void, setTargetMaximumNumberOfVertices, IN, unsigned int, num, - Properties::NON_VIRTUAL, - __void__setTargetMaximumNumberOfVertices__unsigned_int, - "", - ""); - I_Method0(unsigned int, getTargetMaximumNumberOfVertices, - Properties::NON_VIRTUAL, - __unsigned_int__getTargetMaximumNumberOfVertices, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Billboard &, x, - Properties::VIRTUAL, - __void__apply__osg_Billboard_R1, - "", - ""); - I_Method1(bool, mergeGeode, IN, osg::Geode &, geode, - Properties::NON_VIRTUAL, - __bool__mergeGeode__osg_Geode_R1, - "", - ""); - I_StaticMethod1(bool, geometryContainsSharedArrays, IN, osg::Geometry &, geom, - __bool__geometryContainsSharedArrays__osg_Geometry_R1_S, - "", - ""); - I_StaticMethod2(bool, mergeGeometry, IN, osg::Geometry &, lhs, IN, osg::Geometry &, rhs, - __bool__mergeGeometry__osg_Geometry_R1__osg_Geometry_R1_S, - "", - ""); - I_StaticMethod2(bool, mergePrimitive, IN, osg::DrawArrays &, lhs, IN, osg::DrawArrays &, rhs, - __bool__mergePrimitive__osg_DrawArrays_R1__osg_DrawArrays_R1_S, - "", - ""); - I_StaticMethod2(bool, mergePrimitive, IN, osg::DrawArrayLengths &, lhs, IN, osg::DrawArrayLengths &, rhs, - __bool__mergePrimitive__osg_DrawArrayLengths_R1__osg_DrawArrayLengths_R1_S, - "", - ""); - I_StaticMethod2(bool, mergePrimitive, IN, osg::DrawElementsUByte &, lhs, IN, osg::DrawElementsUByte &, rhs, - __bool__mergePrimitive__osg_DrawElementsUByte_R1__osg_DrawElementsUByte_R1_S, - "", - ""); - I_StaticMethod2(bool, mergePrimitive, IN, osg::DrawElementsUShort &, lhs, IN, osg::DrawElementsUShort &, rhs, - __bool__mergePrimitive__osg_DrawElementsUShort_R1__osg_DrawElementsUShort_R1_S, - "", - ""); - I_StaticMethod2(bool, mergePrimitive, IN, osg::DrawElementsUInt &, lhs, IN, osg::DrawElementsUInt &, rhs, - __bool__mergePrimitive__osg_DrawElementsUInt_R1__osg_DrawElementsUInt_R1_S, - "", - ""); - I_SimpleProperty(unsigned int, TargetMaximumNumberOfVertices, - __unsigned_int__getTargetMaximumNumberOfVertices, - __void__setTargetMaximumNumberOfVertices__unsigned_int); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::set< osg::Node * >, osgUtil::Optimizer::RemoveEmptyNodesVisitor::NodeList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::RemoveEmptyNodesVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____RemoveEmptyNodesVisitor__Optimizer_P1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Group &, group, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method0(void, removeEmptyNodes, - Properties::NON_VIRTUAL, - __void__removeEmptyNodes, - "", - ""); - I_PublicMemberProperty(osgUtil::Optimizer::RemoveEmptyNodesVisitor::NodeList, _redundantNodeList); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::set< osg::Node * >, osgUtil::Optimizer::RemoveLoadedProxyNodesVisitor::NodeList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::RemoveLoadedProxyNodesVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____RemoveLoadedProxyNodesVisitor__Optimizer_P1, - "", - ""); - I_Method1(void, apply, IN, osg::ProxyNode &, group, - Properties::VIRTUAL, - __void__apply__osg_ProxyNode_R1, - "", - ""); - I_Method0(void, removeRedundantNodes, - Properties::NON_VIRTUAL, - __void__removeRedundantNodes, - "", - ""); - I_PublicMemberProperty(osgUtil::Optimizer::RemoveLoadedProxyNodesVisitor::NodeList, _redundantNodeList); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::set< osg::Node * >, osgUtil::Optimizer::RemoveRedundantNodesVisitor::NodeList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::RemoveRedundantNodesVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____RemoveRedundantNodesVisitor__Optimizer_P1, - "", - ""); - I_Method1(void, apply, IN, osg::Group &, group, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, transform, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method1(bool, isOperationPermissible, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - __bool__isOperationPermissible__osg_Node_R1, - "", - ""); - I_Method0(void, removeRedundantNodes, - Properties::NON_VIRTUAL, - __void__removeRedundantNodes, - "", - ""); - I_PublicMemberProperty(osgUtil::Optimizer::RemoveRedundantNodesVisitor::NodeList, _redundantNodeList); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::set< osg::Group * >, osgUtil::Optimizer::SpatializeGroupsVisitor::GroupsToDivideList) - -TYPE_NAME_ALIAS(std::set< osg::Geode * >, osgUtil::Optimizer::SpatializeGroupsVisitor::GeodesToDivideList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::SpatializeGroupsVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____SpatializeGroupsVisitor__Optimizer_P1, - "", - ""); - I_Method1(void, apply, IN, osg::Group &, group, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_MethodWithDefaults1(bool, divide, IN, unsigned int, maxNumTreesPerCell, 8, - Properties::NON_VIRTUAL, - __bool__divide__unsigned_int, - "", - ""); - I_Method2(bool, divide, IN, osg::Group *, group, IN, unsigned int, maxNumTreesPerCell, - Properties::NON_VIRTUAL, - __bool__divide__osg_Group_P1__unsigned_int, - "", - ""); - I_Method2(bool, divide, IN, osg::Geode *, geode, IN, unsigned int, maxNumTreesPerCell, - Properties::NON_VIRTUAL, - __bool__divide__osg_Geode_P1__unsigned_int, - "", - ""); - I_PublicMemberProperty(osgUtil::Optimizer::SpatializeGroupsVisitor::GroupsToDivideList, _groupsToDivideList); - I_PublicMemberProperty(osgUtil::Optimizer::SpatializeGroupsVisitor::GeodesToDivideList, _geodesToDivideList); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::StateVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults4(IN, bool, combineDynamicState, , IN, bool, combineStaticState, , IN, bool, combineUnspecifiedState, , IN, osgUtil::Optimizer *, optimizer, 0, - ____StateVisitor__bool__bool__bool__Optimizer_P1, - "default to traversing all children. ", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "empty visitor, make it ready for next traversal. ", - ""); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method0(void, optimize, - Properties::NON_VIRTUAL, - __void__optimize, - "", - ""); - I_ProtectedMethod2(void, addStateSet, IN, osg::StateSet *, stateset, IN, osg::Object *, obj, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addStateSet__osg_StateSet_P1__osg_Object_P1, - "", - ""); - I_ProtectedMethod1(bool, optimize, IN, osg::Object::DataVariance, variance, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__optimize__osg_Object_DataVariance, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::StaticObjectDetectionVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____StaticObjectDetectionVisitor__Optimizer_P1, - "default to traversing all children. ", - ""); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_ProtectedMethod1(void, applyStateSet, IN, osg::StateSet &, stateset, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__applyStateSet__osg_StateSet_R1, - "", - ""); - I_ProtectedMethod1(void, applyDrawable, IN, osg::Drawable &, drawable, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__applyDrawable__osg_Drawable_R1, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::set< osg::Group * >, osgUtil::Optimizer::TessellateVisitor::GroupList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::TessellateVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____TessellateVisitor__Optimizer_P1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_PublicMemberProperty(osgUtil::Optimizer::TessellateVisitor::GroupList, _groupList); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgUtil::Optimizer::TextureAtlasBuilder) - I_DeclaringFile("osgUtil/Optimizer"); - I_Constructor0(____TextureAtlasBuilder, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method2(void, setMaximumAtlasSize, IN, unsigned int, width, IN, unsigned int, height, - Properties::NON_VIRTUAL, - __void__setMaximumAtlasSize__unsigned_int__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMaximumAtlasWidth, - Properties::NON_VIRTUAL, - __unsigned_int__getMaximumAtlasWidth, - "", - ""); - I_Method0(unsigned int, getMaximumAtlasHeight, - Properties::NON_VIRTUAL, - __unsigned_int__getMaximumAtlasHeight, - "", - ""); - I_Method1(void, setMargin, IN, unsigned int, margin, - Properties::NON_VIRTUAL, - __void__setMargin__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMargin, - Properties::NON_VIRTUAL, - __unsigned_int__getMargin, - "", - ""); - I_Method1(void, addSource, IN, const osg::Image *, image, - Properties::NON_VIRTUAL, - __void__addSource__C5_osg_Image_P1, - "", - ""); - I_Method1(void, addSource, IN, const osg::Texture2D *, texture, - Properties::NON_VIRTUAL, - __void__addSource__C5_osg_Texture2D_P1, - "", - ""); - I_Method0(unsigned int, getNumSources, - Properties::NON_VIRTUAL, - __unsigned_int__getNumSources, - "", - ""); - I_Method1(const osg::Image *, getSourceImage, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_osg_Image_P1__getSourceImage__unsigned_int, - "", - ""); - I_Method1(const osg::Texture2D *, getSourceTexture, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_osg_Texture2D_P1__getSourceTexture__unsigned_int, - "", - ""); - I_Method0(void, buildAtlas, - Properties::NON_VIRTUAL, - __void__buildAtlas, - "", - ""); - I_Method1(osg::Image *, getImageAtlas, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __osg_Image_P1__getImageAtlas__unsigned_int, - "", - ""); - I_Method1(osg::Texture2D *, getTextureAtlas, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __osg_Texture2D_P1__getTextureAtlas__unsigned_int, - "", - ""); - I_Method1(osg::Matrix, getTextureMatrix, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __osg_Matrix__getTextureMatrix__unsigned_int, - "", - ""); - I_Method1(osg::Image *, getImageAtlas, IN, const osg::Image *, image, - Properties::NON_VIRTUAL, - __osg_Image_P1__getImageAtlas__C5_osg_Image_P1, - "", - ""); - I_Method1(osg::Texture2D *, getTextureAtlas, IN, const osg::Image *, image, - Properties::NON_VIRTUAL, - __osg_Texture2D_P1__getTextureAtlas__C5_osg_Image_P1, - "", - ""); - I_Method1(osg::Matrix, getTextureMatrix, IN, const osg::Image *, image, - Properties::NON_VIRTUAL, - __osg_Matrix__getTextureMatrix__C5_osg_Image_P1, - "", - ""); - I_Method1(osg::Image *, getImageAtlas, IN, const osg::Texture2D *, textue, - Properties::NON_VIRTUAL, - __osg_Image_P1__getImageAtlas__C5_osg_Texture2D_P1, - "", - ""); - I_Method1(osg::Texture2D *, getTextureAtlas, IN, const osg::Texture2D *, texture, - Properties::NON_VIRTUAL, - __osg_Texture2D_P1__getTextureAtlas__C5_osg_Texture2D_P1, - "", - ""); - I_Method1(osg::Matrix, getTextureMatrix, IN, const osg::Texture2D *, texture, - Properties::NON_VIRTUAL, - __osg_Matrix__getTextureMatrix__C5_osg_Texture2D_P1, - "", - ""); - - - I_SimpleProperty(unsigned int, Margin, - __unsigned_int__getMargin, - __void__setMargin__unsigned_int); - I_SimpleProperty(unsigned int, MaximumAtlasHeight, - __unsigned_int__getMaximumAtlasHeight, - 0); - I_SimpleProperty(unsigned int, MaximumAtlasWidth, - __unsigned_int__getMaximumAtlasWidth, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::TextureAtlasVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____TextureAtlasVisitor__Optimizer_P1, - "default to traversing all children. ", - ""); - I_Method0(osgUtil::Optimizer::TextureAtlasBuilder &, getTextureAtlasBuilder, - Properties::NON_VIRTUAL, - __TextureAtlasBuilder_R1__getTextureAtlasBuilder, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "empty visitor, make it ready for next traversal. ", - ""); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method0(void, optimize, - Properties::NON_VIRTUAL, - __void__optimize, - "", - ""); - I_ProtectedMethod1(bool, pushStateSet, IN, osg::StateSet *, stateset, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__pushStateSet__osg_StateSet_P1, - "", - ""); - I_ProtectedMethod0(void, popStateSet, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__popStateSet, - "", - ""); - I_SimpleProperty(osgUtil::Optimizer::TextureAtlasBuilder &, TextureAtlasBuilder, - __TextureAtlasBuilder_R1__getTextureAtlasBuilder, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::TextureVisitor) - I_DeclaringFile("osgUtil/Optimizer"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults7(IN, bool, changeAutoUnRef, , IN, bool, valueAutoUnRef, , IN, bool, changeClientImageStorage, , IN, bool, valueClientImageStorage, , IN, bool, changeAnisotropy, , IN, float, valueAnisotropy, , IN, osgUtil::Optimizer *, optimizer, 0, - ____TextureVisitor__bool__bool__bool__bool__bool__float__Optimizer_P1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, node, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::StateSet &, stateset, - Properties::NON_VIRTUAL, - __void__apply__osg_StateSet_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Texture &, texture, - Properties::NON_VIRTUAL, - __void__apply__osg_Texture_R1, - "", - ""); - I_PublicMemberProperty(bool, _changeAutoUnRef); - I_PublicMemberProperty(bool, _valueAutoUnRef); - I_PublicMemberProperty(bool, _changeClientImageStorage); - I_PublicMemberProperty(bool, _valueClientImageStorage); - I_PublicMemberProperty(bool, _changeAnisotropy); - I_PublicMemberProperty(float, _valueAnisotropy); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< osg::Billboard * COMMA osgUtil::Optimizer::FlattenBillboardVisitor::NodePathList >) - -STD_SET_REFLECTOR(std::set< osg::Geode * >) - -STD_SET_REFLECTOR(std::set< osg::Group * >) - -STD_SET_REFLECTOR(std::set< osg::Node * >) - diff --git a/src/osgWrappers/introspection/osgUtil/PlaneIntersector.cpp b/src/osgWrappers/introspection/osgUtil/PlaneIntersector.cpp deleted file mode 100644 index 420d9c770..000000000 --- a/src/osgWrappers/introspection/osgUtil/PlaneIntersector.cpp +++ /dev/null @@ -1,132 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osgUtil::PlaneIntersector::Intersection >, osgUtil::PlaneIntersector::Intersections) - -BEGIN_OBJECT_REFLECTOR(osgUtil::PlaneIntersector) - I_DeclaringFile("osgUtil/PlaneIntersector"); - I_BaseType(osgUtil::Intersector); - I_ConstructorWithDefaults2(IN, const osg::Plane &, plane, , IN, const osg::Polytope &, boundingPolytope, osg::Polytope(), - ____PlaneIntersector__C5_osg_Plane_R1__C5_osg_Polytope_R1, - "Construct a PolytopeIntersector using speified polytope in MODEL coordinates. ", - ""); - I_ConstructorWithDefaults3(IN, osgUtil::Intersector::CoordinateFrame, cf, , IN, const osg::Plane &, plane, , IN, const osg::Polytope &, boundingPolytope, osg::Polytope(), - ____PlaneIntersector__CoordinateFrame__C5_osg_Plane_R1__C5_osg_Polytope_R1, - "Construct a PolytopeIntersector using speified polytope in specified coordinate frame. ", - ""); - I_Method1(void, insertIntersection, IN, const osgUtil::PlaneIntersector::Intersection &, intersection, - Properties::NON_VIRTUAL, - __void__insertIntersection__C5_Intersection_R1, - "", - ""); - I_Method0(osgUtil::PlaneIntersector::Intersections &, getIntersections, - Properties::NON_VIRTUAL, - __Intersections_R1__getIntersections, - "", - ""); - I_Method1(void, setRecordHeightsAsAttributes, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setRecordHeightsAsAttributes__bool, - "", - ""); - I_Method0(bool, getRecordHeightsAsAttributes, - Properties::NON_VIRTUAL, - __bool__getRecordHeightsAsAttributes, - "", - ""); - I_Method1(void, setEllipsoidModel, IN, osg::EllipsoidModel *, em, - Properties::NON_VIRTUAL, - __void__setEllipsoidModel__osg_EllipsoidModel_P1, - "", - ""); - I_Method0(const osg::EllipsoidModel *, getEllipsoidModel, - Properties::NON_VIRTUAL, - __C5_osg_EllipsoidModel_P1__getEllipsoidModel, - "", - ""); - I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv, - Properties::VIRTUAL, - __Intersector_P1__clone__osgUtil_IntersectionVisitor_R1, - "", - ""); - I_Method1(bool, enter, IN, const osg::Node &, node, - Properties::VIRTUAL, - __bool__enter__C5_osg_Node_R1, - "", - ""); - I_Method0(void, leave, - Properties::VIRTUAL, - __void__leave, - "", - ""); - I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable, - Properties::VIRTUAL, - __void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "", - ""); - I_Method0(bool, containsIntersections, - Properties::VIRTUAL, - __bool__containsIntersections, - "", - ""); - I_SimpleProperty(osg::EllipsoidModel *, EllipsoidModel, - 0, - __void__setEllipsoidModel__osg_EllipsoidModel_P1); - I_SimpleProperty(osgUtil::PlaneIntersector::Intersections &, Intersections, - __Intersections_R1__getIntersections, - 0); - I_SimpleProperty(bool, RecordHeightsAsAttributes, - __bool__getRecordHeightsAsAttributes, - __void__setRecordHeightsAsAttributes__bool); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::Vec3d >, osgUtil::PlaneIntersector::Intersection::Polyline) - -TYPE_NAME_ALIAS(std::vector< double >, osgUtil::PlaneIntersector::Intersection::Attributes) - -BEGIN_VALUE_REFLECTOR(osgUtil::PlaneIntersector::Intersection) - I_DeclaringFile("osgUtil/PlaneIntersector"); - I_Constructor0(____Intersection, - "", - ""); - I_PublicMemberProperty(osg::NodePath, nodePath); - I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, matrix); - I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, drawable); - I_PublicMemberProperty(osgUtil::PlaneIntersector::Intersection::Polyline, polyline); - I_PublicMemberProperty(osgUtil::PlaneIntersector::Intersection::Attributes, attributes); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osgUtil::PlaneIntersector::Intersection >) - diff --git a/src/osgWrappers/introspection/osgUtil/PolytopeIntersector.cpp b/src/osgWrappers/introspection/osgUtil/PolytopeIntersector.cpp deleted file mode 100644 index 04ab74b7c..000000000 --- a/src/osgWrappers/introspection/osgUtil/PolytopeIntersector.cpp +++ /dev/null @@ -1,143 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::set< osgUtil::PolytopeIntersector::Intersection >, osgUtil::PolytopeIntersector::Intersections) - -BEGIN_OBJECT_REFLECTOR(osgUtil::PolytopeIntersector) - I_DeclaringFile("osgUtil/PolytopeIntersector"); - I_BaseType(osgUtil::Intersector); - I_Constructor1(IN, const osg::Polytope &, polytope, - Properties::NON_EXPLICIT, - ____PolytopeIntersector__C5_osg_Polytope_R1, - "Construct a PolytopeIntersector using specified polytope in MODEL coordinates. ", - ""); - I_Constructor2(IN, osgUtil::Intersector::CoordinateFrame, cf, IN, const osg::Polytope &, polytope, - ____PolytopeIntersector__CoordinateFrame__C5_osg_Polytope_R1, - "Construct a PolytopeIntersector using specified polytope in specified coordinate frame. ", - ""); - I_Constructor5(IN, osgUtil::Intersector::CoordinateFrame, cf, IN, double, xMin, IN, double, yMin, IN, double, xMax, IN, double, yMax, - ____PolytopeIntersector__CoordinateFrame__double__double__double__double, - "Convenience constructor for supporting picking in WINDOW, or PROJECTION coordinates In WINDOW coordinates (clip space cube) creates a five sided polytope box that has a front face at 0.0 and sides around box xMin, yMin, xMax, yMax. ", - "In PROJECTION coordinates (clip space cube) creates a five sided polytope box that has a front face at -1 and sides around box xMin, yMin, xMax, yMax. In VIEW and MODEL coordinates (clip space cube) creates a five sided polytope box that has a front face at 0.0 and sides around box xMin, yMin, xMax, yMax. "); - I_Method1(void, insertIntersection, IN, const osgUtil::PolytopeIntersector::Intersection &, intersection, - Properties::NON_VIRTUAL, - __void__insertIntersection__C5_Intersection_R1, - "", - ""); - I_Method0(osgUtil::PolytopeIntersector::Intersections &, getIntersections, - Properties::NON_VIRTUAL, - __Intersections_R1__getIntersections, - "", - ""); - I_Method0(osgUtil::PolytopeIntersector::Intersection, getFirstIntersection, - Properties::NON_VIRTUAL, - __Intersection__getFirstIntersection, - "", - ""); - I_Method0(unsigned int, getDimensionMask, - Properties::NON_VIRTUAL, - __unsigned_int__getDimensionMask, - "", - ""); - I_Method1(void, setDimensionMask, IN, unsigned int, dimensionMask, - Properties::NON_VIRTUAL, - __void__setDimensionMask__unsigned_int, - "set the dimension mask. ", - "As polytope-triangle and polytope-quad intersections are expensive to compute it is possible to turn them off by calling setDimensionMask( DimZero | DimOne ) "); - I_Method0(const osg::Plane &, getReferencePlane, - Properties::NON_VIRTUAL, - __C5_osg_Plane_R1__getReferencePlane, - "", - ""); - I_Method1(void, setReferencePlane, IN, const osg::Plane &, plane, - Properties::NON_VIRTUAL, - __void__setReferencePlane__C5_osg_Plane_R1, - "set the plane used to sort the intersections. ", - "The intersections are sorted by the distance of the localIntersectionPoint and the reference plane. The default for the reference plane is the last plane of the polytope. "); - I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv, - Properties::VIRTUAL, - __Intersector_P1__clone__osgUtil_IntersectionVisitor_R1, - "", - ""); - I_Method1(bool, enter, IN, const osg::Node &, node, - Properties::VIRTUAL, - __bool__enter__C5_osg_Node_R1, - "", - ""); - I_Method0(void, leave, - Properties::VIRTUAL, - __void__leave, - "", - ""); - I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable, - Properties::VIRTUAL, - __void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "", - ""); - I_Method0(bool, containsIntersections, - Properties::VIRTUAL, - __bool__containsIntersections, - "", - ""); - I_SimpleProperty(unsigned int, DimensionMask, - __unsigned_int__getDimensionMask, - __void__setDimensionMask__unsigned_int); - I_SimpleProperty(osgUtil::PolytopeIntersector::Intersection, FirstIntersection, - __Intersection__getFirstIntersection, - 0); - I_SimpleProperty(osgUtil::PolytopeIntersector::Intersections &, Intersections, - __Intersections_R1__getIntersections, - 0); - I_SimpleProperty(const osg::Plane &, ReferencePlane, - __C5_osg_Plane_R1__getReferencePlane, - __void__setReferencePlane__C5_osg_Plane_R1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgUtil::PolytopeIntersector::Intersection) - I_DeclaringFile("osgUtil/PolytopeIntersector"); - I_Constructor0(____Intersection, - "", - ""); - I_PublicMemberProperty(double, distance); - I_PublicMemberProperty(double, maxDistance); - I_PublicMemberProperty(osg::NodePath, nodePath); - I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, drawable); - I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, matrix); - I_PublicMemberProperty(osg::Vec3, localIntersectionPoint); - I_PublicMemberProperty(unsigned int, numIntersectionPoints); - I_PublicMemberProperty(unsigned int, primitiveIndex); -END_REFLECTOR - -STD_SET_REFLECTOR(std::set< osgUtil::PolytopeIntersector::Intersection >) - diff --git a/src/osgWrappers/introspection/osgUtil/PositionalStateContainer.cpp b/src/osgWrappers/introspection/osgUtil/PositionalStateContainer.cpp deleted file mode 100644 index 482b0f26d..000000000 --- a/src/osgWrappers/introspection/osgUtil/PositionalStateContainer.cpp +++ /dev/null @@ -1,158 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::pair< osg::ref_ptr< const osg::StateAttribute > COMMA osg::ref_ptr< osg::RefMatrix > >, osgUtil::PositionalStateContainer::AttrMatrixPair) - -TYPE_NAME_ALIAS(std::vector< osgUtil::PositionalStateContainer::AttrMatrixPair >, osgUtil::PositionalStateContainer::AttrMatrixList) - -TYPE_NAME_ALIAS(std::map< unsigned int COMMA osgUtil::PositionalStateContainer::AttrMatrixList >, osgUtil::PositionalStateContainer::TexUnitAttrMatrixListMap) - -BEGIN_OBJECT_REFLECTOR(osgUtil::PositionalStateContainer) - I_DeclaringFile("osgUtil/PositionalStateContainer"); - I_BaseType(osg::Object); - I_Constructor0(____PositionalStateContainer, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "", - ""); - I_Method0(osgUtil::PositionalStateContainer::AttrMatrixList &, getAttrMatrixList, - Properties::NON_VIRTUAL, - __AttrMatrixList_R1__getAttrMatrixList, - "", - ""); - I_Method2(void, addPositionedAttribute, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr, - Properties::VIRTUAL, - __void__addPositionedAttribute__osg_RefMatrix_P1__C5_osg_StateAttribute_P1, - "", - ""); - I_Method0(osgUtil::PositionalStateContainer::TexUnitAttrMatrixListMap &, getTexUnitAttrMatrixListMap, - Properties::NON_VIRTUAL, - __TexUnitAttrMatrixListMap_R1__getTexUnitAttrMatrixListMap, - "", - ""); - I_Method3(void, addPositionedTextureAttribute, IN, unsigned int, textureUnit, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr, - Properties::VIRTUAL, - __void__addPositionedTextureAttribute__unsigned_int__osg_RefMatrix_P1__C5_osg_StateAttribute_P1, - "", - ""); - I_MethodWithDefaults3(void, draw, IN, osg::State &, state, , IN, osgUtil::RenderLeaf *&, previous, , IN, const osg::Matrix *, postMultMatrix, 0, - Properties::VIRTUAL, - __void__draw__osg_State_R1__RenderLeaf_P1R1__C5_osg_Matrix_P1, - "", - ""); - I_SimpleProperty(osgUtil::PositionalStateContainer::AttrMatrixList &, AttrMatrixList, - __AttrMatrixList_R1__getAttrMatrixList, - 0); - I_SimpleProperty(osgUtil::PositionalStateContainer::TexUnitAttrMatrixListMap &, TexUnitAttrMatrixListMap, - __TexUnitAttrMatrixListMap_R1__getTexUnitAttrMatrixListMap, - 0); - I_PublicMemberProperty(osgUtil::PositionalStateContainer::AttrMatrixList, _attrList); - I_PublicMemberProperty(osgUtil::PositionalStateContainer::TexUnitAttrMatrixListMap, _texAttrListMap); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::RefMatrix >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osg::RefMatrix *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osg::RefMatrix > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osg::RefMatrix > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osg::RefMatrix *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osg::RefMatrix *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osg::RefMatrix > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osg::RefMatrix *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< unsigned int COMMA osgUtil::PositionalStateContainer::AttrMatrixList >) - -STD_PAIR_REFLECTOR(std::pair< osg::ref_ptr< const osg::StateAttribute > COMMA osg::ref_ptr< osg::RefMatrix > >) - -STD_VECTOR_REFLECTOR(std::vector< osgUtil::PositionalStateContainer::AttrMatrixPair >) - diff --git a/src/osgWrappers/introspection/osgUtil/ReflectionMapGenerator.cpp b/src/osgWrappers/introspection/osgUtil/ReflectionMapGenerator.cpp deleted file mode 100644 index 2c7df9de1..000000000 --- a/src/osgWrappers/introspection/osgUtil/ReflectionMapGenerator.cpp +++ /dev/null @@ -1,45 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::ReflectionMapGenerator) - I_DeclaringFile("osgUtil/ReflectionMapGenerator"); - I_BaseType(osgUtil::CubeMapGenerator); - I_ConstructorWithDefaults1(IN, int, texture_size, 64, - Properties::NON_EXPLICIT, - ____ReflectionMapGenerator__int, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgUtil::ReflectionMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ReflectionMapGenerator__C5_ReflectionMapGenerator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ProtectedMethod1(osg::Vec4, compute_color, IN, const osg::Vec3 &, R, - Properties::VIRTUAL, - Properties::CONST, - __osg_Vec4__compute_color__C5_osg_Vec3_R1, - "Override this method to define how colors are computed. ", - "The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray. "); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/RenderBin.cpp b/src/osgWrappers/introspection/osgUtil/RenderBin.cpp deleted file mode 100644 index 136f246a0..000000000 --- a/src/osgWrappers/introspection/osgUtil/RenderBin.cpp +++ /dev/null @@ -1,405 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgUtil::RenderBin::SortMode) - I_DeclaringFile("osgUtil/RenderBin"); - I_EnumLabel(osgUtil::RenderBin::SORT_BY_STATE); - I_EnumLabel(osgUtil::RenderBin::SORT_BY_STATE_THEN_FRONT_TO_BACK); - I_EnumLabel(osgUtil::RenderBin::SORT_FRONT_TO_BACK); - I_EnumLabel(osgUtil::RenderBin::SORT_BACK_TO_FRONT); - I_EnumLabel(osgUtil::RenderBin::TRAVERSAL_ORDER); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osgUtil::RenderLeaf * >, osgUtil::RenderBin::RenderLeafList) - -TYPE_NAME_ALIAS(std::vector< osgUtil::StateGraph * >, osgUtil::RenderBin::StateGraphList) - -TYPE_NAME_ALIAS(std::map< int COMMA osg::ref_ptr< osgUtil::RenderBin > >, osgUtil::RenderBin::RenderBinList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::RenderBin) - I_DeclaringFile("osgUtil/RenderBin"); - I_BaseType(osg::Object); - I_StaticMethod1(osgUtil::RenderBin *, createRenderBin, IN, const std::string &, binName, - __RenderBin_P1__createRenderBin__C5_std_string_R1_S, - "", - ""); - I_StaticMethod1(osgUtil::RenderBin *, getRenderBinPrototype, IN, const std::string &, binName, - __RenderBin_P1__getRenderBinPrototype__C5_std_string_R1_S, - "", - ""); - I_StaticMethod2(void, addRenderBinPrototype, IN, const std::string &, binName, IN, osgUtil::RenderBin *, proto, - __void__addRenderBinPrototype__C5_std_string_R1__RenderBin_P1_S, - "", - ""); - I_StaticMethod1(void, removeRenderBinPrototype, IN, osgUtil::RenderBin *, proto, - __void__removeRenderBinPrototype__RenderBin_P1_S, - "", - ""); - I_StaticMethod1(void, setDefaultRenderBinSortMode, IN, osgUtil::RenderBin::SortMode, mode, - __void__setDefaultRenderBinSortMode__SortMode_S, - "", - ""); - I_StaticMethod0(osgUtil::RenderBin::SortMode, getDefaultRenderBinSortMode, - __SortMode__getDefaultRenderBinSortMode_S, - "", - ""); - I_Constructor0(____RenderBin, - "", - ""); - I_Constructor1(IN, osgUtil::RenderBin::SortMode, mode, - Properties::NON_EXPLICIT, - ____RenderBin__SortMode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgUtil::RenderBin &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____RenderBin__C5_RenderBin_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "", - ""); - I_Method1(void, setStateSet, IN, osg::StateSet *, stateset, - Properties::NON_VIRTUAL, - __void__setStateSet__osg_StateSet_P1, - "", - ""); - I_Method0(osg::StateSet *, getStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getStateSet, - "", - ""); - I_Method0(const osg::StateSet *, getStateSet, - Properties::NON_VIRTUAL, - __C5_osg_StateSet_P1__getStateSet, - "", - ""); - I_Method0(osgUtil::RenderBin *, getParent, - Properties::NON_VIRTUAL, - __RenderBin_P1__getParent, - "", - ""); - I_Method0(const osgUtil::RenderBin *, getParent, - Properties::NON_VIRTUAL, - __C5_RenderBin_P1__getParent, - "", - ""); - I_Method0(osgUtil::RenderStage *, getStage, - Properties::NON_VIRTUAL, - __RenderStage_P1__getStage, - "", - ""); - I_Method0(const osgUtil::RenderStage *, getStage, - Properties::NON_VIRTUAL, - __C5_RenderStage_P1__getStage, - "", - ""); - I_Method0(int, getBinNum, - Properties::NON_VIRTUAL, - __int__getBinNum, - "", - ""); - I_Method0(osgUtil::RenderBin::StateGraphList &, getStateGraphList, - Properties::NON_VIRTUAL, - __StateGraphList_R1__getStateGraphList, - "", - ""); - I_Method0(const osgUtil::RenderBin::StateGraphList &, getStateGraphList, - Properties::NON_VIRTUAL, - __C5_StateGraphList_R1__getStateGraphList, - "", - ""); - I_Method0(osgUtil::RenderBin::RenderBinList &, getRenderBinList, - Properties::NON_VIRTUAL, - __RenderBinList_R1__getRenderBinList, - "", - ""); - I_Method0(const osgUtil::RenderBin::RenderBinList &, getRenderBinList, - Properties::NON_VIRTUAL, - __C5_RenderBinList_R1__getRenderBinList, - "", - ""); - I_Method0(osgUtil::RenderBin::RenderLeafList &, getRenderLeafList, - Properties::NON_VIRTUAL, - __RenderLeafList_R1__getRenderLeafList, - "", - ""); - I_Method0(const osgUtil::RenderBin::RenderLeafList &, getRenderLeafList, - Properties::NON_VIRTUAL, - __C5_RenderLeafList_R1__getRenderLeafList, - "", - ""); - I_Method2(osgUtil::RenderBin *, find_or_insert, IN, int, binNum, IN, const std::string &, binName, - Properties::NON_VIRTUAL, - __RenderBin_P1__find_or_insert__int__C5_std_string_R1, - "", - ""); - I_Method1(void, addStateGraph, IN, osgUtil::StateGraph *, rg, - Properties::NON_VIRTUAL, - __void__addStateGraph__StateGraph_P1, - "", - ""); - I_Method0(void, sort, - Properties::VIRTUAL, - __void__sort, - "", - ""); - I_Method0(void, sortImplementation, - Properties::VIRTUAL, - __void__sortImplementation, - "", - ""); - I_Method1(void, setSortMode, IN, osgUtil::RenderBin::SortMode, mode, - Properties::NON_VIRTUAL, - __void__setSortMode__SortMode, - "", - ""); - I_Method0(osgUtil::RenderBin::SortMode, getSortMode, - Properties::NON_VIRTUAL, - __SortMode__getSortMode, - "", - ""); - I_Method0(void, sortByState, - Properties::VIRTUAL, - __void__sortByState, - "", - ""); - I_Method0(void, sortByStateThenFrontToBack, - Properties::VIRTUAL, - __void__sortByStateThenFrontToBack, - "", - ""); - I_Method0(void, sortFrontToBack, - Properties::VIRTUAL, - __void__sortFrontToBack, - "", - ""); - I_Method0(void, sortBackToFront, - Properties::VIRTUAL, - __void__sortBackToFront, - "", - ""); - I_Method0(void, sortTraversalOrder, - Properties::VIRTUAL, - __void__sortTraversalOrder, - "", - ""); - I_Method1(void, setSortCallback, IN, osgUtil::RenderBin::SortCallback *, sortCallback, - Properties::NON_VIRTUAL, - __void__setSortCallback__SortCallback_P1, - "", - ""); - I_Method0(osgUtil::RenderBin::SortCallback *, getSortCallback, - Properties::NON_VIRTUAL, - __SortCallback_P1__getSortCallback, - "", - ""); - I_Method0(const osgUtil::RenderBin::SortCallback *, getSortCallback, - Properties::NON_VIRTUAL, - __C5_SortCallback_P1__getSortCallback, - "", - ""); - I_Method2(void, draw, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *&, previous, - Properties::VIRTUAL, - __void__draw__osg_RenderInfo_R1__RenderLeaf_P1R1, - "", - ""); - I_Method2(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *&, previous, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1__RenderLeaf_P1R1, - "", - ""); - I_Method1(void, setDrawCallback, IN, osgUtil::RenderBin::DrawCallback *, drawCallback, - Properties::NON_VIRTUAL, - __void__setDrawCallback__DrawCallback_P1, - "", - ""); - I_Method0(osgUtil::RenderBin::DrawCallback *, getDrawCallback, - Properties::NON_VIRTUAL, - __DrawCallback_P1__getDrawCallback, - "", - ""); - I_Method0(const osgUtil::RenderBin::DrawCallback *, getDrawCallback, - Properties::NON_VIRTUAL, - __C5_DrawCallback_P1__getDrawCallback, - "", - ""); - I_Method1(bool, getStats, IN, osgUtil::Statistics &, primStats, - Properties::NON_VIRTUAL, - __bool__getStats__Statistics_R1, - "Extract stats for current draw list. ", - ""); - I_Method0(unsigned int, computeNumberOfDynamicRenderLeaves, - Properties::VIRTUAL, - __unsigned_int__computeNumberOfDynamicRenderLeaves, - "Compute the number of dynamic RenderLeaves. ", - ""); - I_Method0(void, copyLeavesFromStateGraphListToRenderLeafList, - Properties::NON_VIRTUAL, - __void__copyLeavesFromStateGraphListToRenderLeafList, - "", - ""); - I_SimpleProperty(int, BinNum, - __int__getBinNum, - 0); - I_SimpleProperty(osgUtil::RenderBin::DrawCallback *, DrawCallback, - __DrawCallback_P1__getDrawCallback, - __void__setDrawCallback__DrawCallback_P1); - I_SimpleProperty(osgUtil::RenderBin *, Parent, - __RenderBin_P1__getParent, - 0); - I_SimpleProperty(osgUtil::RenderBin::RenderBinList &, RenderBinList, - __RenderBinList_R1__getRenderBinList, - 0); - I_SimpleProperty(osgUtil::RenderBin::RenderLeafList &, RenderLeafList, - __RenderLeafList_R1__getRenderLeafList, - 0); - I_SimpleProperty(osgUtil::RenderBin::SortCallback *, SortCallback, - __SortCallback_P1__getSortCallback, - __void__setSortCallback__SortCallback_P1); - I_SimpleProperty(osgUtil::RenderBin::SortMode, SortMode, - __SortMode__getSortMode, - __void__setSortMode__SortMode); - I_SimpleProperty(osgUtil::RenderStage *, Stage, - __RenderStage_P1__getStage, - 0); - I_SimpleProperty(osgUtil::RenderBin::StateGraphList &, StateGraphList, - __StateGraphList_R1__getStateGraphList, - 0); - I_SimpleProperty(osg::StateSet *, StateSet, - __osg_StateSet_P1__getStateSet, - __void__setStateSet__osg_StateSet_P1); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::RenderBin::DrawCallback) - I_DeclaringFile("osgUtil/RenderBin"); - I_BaseType(osg::Referenced); - I_Constructor0(____DrawCallback, - "", - ""); - I_Method3(void, drawImplementation, IN, osgUtil::RenderBin *, bin, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *&, previous, - Properties::PURE_VIRTUAL, - __void__drawImplementation__RenderBin_P1__osg_RenderInfo_R1__RenderLeaf_P1R1, - "", - ""); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::RenderBin::SortCallback) - I_DeclaringFile("osgUtil/RenderBin"); - I_BaseType(osg::Referenced); - I_Constructor0(____SortCallback, - "", - ""); - I_Method1(void, sortImplementation, IN, osgUtil::RenderBin *, x, - Properties::PURE_VIRTUAL, - __void__sortImplementation__RenderBin_P1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::RenderBin >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::RenderBin *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::RenderBin > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::RenderBin > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::RenderBin *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::RenderBin *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::RenderBin > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::RenderBin *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< int COMMA osg::ref_ptr< osgUtil::RenderBin > >) - -STD_VECTOR_REFLECTOR(std::vector< osgUtil::RenderLeaf * >) - -STD_VECTOR_REFLECTOR(std::vector< osgUtil::StateGraph * >) - diff --git a/src/osgWrappers/introspection/osgUtil/RenderLeaf.cpp b/src/osgWrappers/introspection/osgUtil/RenderLeaf.cpp deleted file mode 100644 index ef0ea1833..000000000 --- a/src/osgWrappers/introspection/osgUtil/RenderLeaf.cpp +++ /dev/null @@ -1,66 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::RenderLeaf) - I_DeclaringFile("osgUtil/RenderLeaf"); - I_BaseType(osg::Referenced); - I_ConstructorWithDefaults5(IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f, IN, unsigned int, traversalNumber, 0, - ____RenderLeaf__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float__unsigned_int, - "", - ""); - I_MethodWithDefaults5(void, set, IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f, IN, unsigned int, traversalNumber, 0, - Properties::NON_VIRTUAL, - __void__set__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float__unsigned_int, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method2(void, render, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *, previous, - Properties::VIRTUAL, - __void__render__osg_RenderInfo_R1__RenderLeaf_P1, - "", - ""); - I_Method0(const osg::Drawable *, getDrawable, - Properties::NON_VIRTUAL, - __C5_osg_Drawable_P1__getDrawable, - "", - ""); - I_SimpleProperty(const osg::Drawable *, Drawable, - __C5_osg_Drawable_P1__getDrawable, - 0); - I_PublicMemberProperty(osgUtil::StateGraph *, _parent); - I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, _drawable); - I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _projection); - I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _modelview); - I_PublicMemberProperty(float, _depth); - I_PublicMemberProperty(bool, _dynamic); - I_PublicMemberProperty(unsigned int, _traversalNumber); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/RenderStage.cpp b/src/osgWrappers/introspection/osgUtil/RenderStage.cpp deleted file mode 100644 index ea69af1c2..000000000 --- a/src/osgWrappers/introspection/osgUtil/RenderStage.cpp +++ /dev/null @@ -1,538 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::RenderStage) - I_DeclaringFile("osgUtil/RenderStage"); - I_BaseType(osgUtil::RenderBin); - I_Constructor0(____RenderStage, - "", - ""); - I_Constructor1(IN, osgUtil::RenderBin::SortMode, mode, - Properties::NON_EXPLICIT, - ____RenderStage__SortMode, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgUtil::RenderStage &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____RenderStage__C5_RenderStage_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "", - ""); - I_MethodWithDefaults2(void, setDrawBuffer, IN, GLenum, buffer, , IN, bool, applyMask, true, - Properties::NON_VIRTUAL, - __void__setDrawBuffer__GLenum__bool, - "Set the draw buffer used at the start of each frame draw. ", - ""); - I_Method0(GLenum, getDrawBuffer, - Properties::NON_VIRTUAL, - __GLenum__getDrawBuffer, - "Get the draw buffer used at the start of each frame draw. ", - ""); - I_Method0(bool, getDrawBufferApplyMask, - Properties::NON_VIRTUAL, - __bool__getDrawBufferApplyMask, - "Get the apply mask defining whether glDrawBuffer is called at each frame draw. ", - ""); - I_Method1(void, setDrawBufferApplyMask, IN, bool, applyMask, - Properties::NON_VIRTUAL, - __void__setDrawBufferApplyMask__bool, - "Set the apply mask defining whether glDrawBuffer is called at each frame draw. ", - ""); - I_MethodWithDefaults2(void, setReadBuffer, IN, GLenum, buffer, , IN, bool, applyMask, true, - Properties::NON_VIRTUAL, - __void__setReadBuffer__GLenum__bool, - "Set the read buffer for any required copy operations to use. ", - ""); - I_Method0(GLenum, getReadBuffer, - Properties::NON_VIRTUAL, - __GLenum__getReadBuffer, - "Get the read buffer for any required copy operations to use. ", - ""); - I_Method0(bool, getReadBufferApplyMask, - Properties::NON_VIRTUAL, - __bool__getReadBufferApplyMask, - "Get the apply mask defining whether glReadBuffer is called at each frame draw. ", - ""); - I_Method1(void, setReadBufferApplyMask, IN, bool, applyMask, - Properties::NON_VIRTUAL, - __void__setReadBufferApplyMask__bool, - "Set the apply mask defining whether glReadBuffer is called at each frame draw. ", - ""); - I_Method1(void, setViewport, IN, osg::Viewport *, viewport, - Properties::NON_VIRTUAL, - __void__setViewport__osg_Viewport_P1, - "Set the viewport. ", - ""); - I_Method0(const osg::Viewport *, getViewport, - Properties::NON_VIRTUAL, - __C5_osg_Viewport_P1__getViewport, - "Get the const viewport. ", - ""); - I_Method0(osg::Viewport *, getViewport, - Properties::NON_VIRTUAL, - __osg_Viewport_P1__getViewport, - "Get the viewport. ", - ""); - I_Method1(void, setInitialViewMatrix, IN, const osg::RefMatrix *, matrix, - Properties::NON_VIRTUAL, - __void__setInitialViewMatrix__C5_osg_RefMatrix_P1, - "Set the initial view matrix. ", - ""); - I_Method0(const osg::RefMatrix *, getInitialViewMatrix, - Properties::NON_VIRTUAL, - __C5_osg_RefMatrix_P1__getInitialViewMatrix, - "Get the initial view matrix. ", - ""); - I_Method1(void, setClearMask, IN, GLbitfield, mask, - Properties::NON_VIRTUAL, - __void__setClearMask__GLbitfield, - "Set the clear mask used in glClear(. ", - ".). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. "); - I_Method0(GLbitfield, getClearMask, - Properties::NON_VIRTUAL, - __GLbitfield__getClearMask, - "Get the clear mask. ", - ""); - I_Method1(void, setColorMask, IN, osg::ColorMask *, cm, - Properties::NON_VIRTUAL, - __void__setColorMask__osg_ColorMask_P1, - "", - ""); - I_Method0(osg::ColorMask *, getColorMask, - Properties::NON_VIRTUAL, - __osg_ColorMask_P1__getColorMask, - "", - ""); - I_Method0(const osg::ColorMask *, getColorMask, - Properties::NON_VIRTUAL, - __C5_osg_ColorMask_P1__getColorMask, - "", - ""); - I_Method1(void, setClearColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setClearColor__C5_osg_Vec4_R1, - "Set the clear color used in glClearColor(. ", - ".). glClearColor is only called if mask & GL_COLOR_BUFFER_BIT is true "); - I_Method0(const osg::Vec4 &, getClearColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getClearColor, - "Get the clear color. ", - ""); - I_Method1(void, setClearAccum, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setClearAccum__C5_osg_Vec4_R1, - "Set the clear accum used in glClearAccum(. ", - ".). glClearAcumm is only called if mask & GL_ACCUM_BUFFER_BIT is true. "); - I_Method0(const osg::Vec4 &, getClearAccum, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getClearAccum, - "Get the clear accum. ", - ""); - I_Method1(void, setClearDepth, IN, double, depth, - Properties::NON_VIRTUAL, - __void__setClearDepth__double, - "Set the clear depth used in glClearDepth(. ", - ".). Defaults to 1.0 glClearDepth is only called if mask & GL_DEPTH_BUFFER_BIT is true. "); - I_Method0(double, getClearDepth, - Properties::NON_VIRTUAL, - __double__getClearDepth, - "Get the clear depth. ", - ""); - I_Method1(void, setClearStencil, IN, int, stencil, - Properties::NON_VIRTUAL, - __void__setClearStencil__int, - "Set the clear stencil value used in glClearStencil(). ", - "Defaults to 0; glClearStencil is only called if mask & GL_STENCIL_BUFFER_BIT is true "); - I_Method0(int, getClearStencil, - Properties::NON_VIRTUAL, - __int__getClearStencil, - "Get the clear color. ", - ""); - I_Method1(void, setCamera, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - __void__setCamera__osg_Camera_P1, - "", - ""); - I_Method0(osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCamera, - "", - ""); - I_Method0(const osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCamera, - "", - ""); - I_Method1(void, setCameraRequiresSetUp, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setCameraRequiresSetUp__bool, - "", - ""); - I_Method0(bool, getCameraRequiresSetUp, - Properties::NON_VIRTUAL, - __bool__getCameraRequiresSetUp, - "", - ""); - I_Method1(void, runCameraSetUp, IN, osg::RenderInfo &, renderInfo, - Properties::NON_VIRTUAL, - __void__runCameraSetUp__osg_RenderInfo_R1, - "Attempt the set the RenderStage from the Camera settings. ", - ""); - I_MethodWithDefaults3(void, setTexture, IN, osg::Texture *, texture, , IN, unsigned int, level, 0, IN, unsigned int, face, 0, - Properties::NON_VIRTUAL, - __void__setTexture__osg_Texture_P1__unsigned_int__unsigned_int, - "", - ""); - I_Method0(osg::Texture *, getTexture, - Properties::NON_VIRTUAL, - __osg_Texture_P1__getTexture, - "", - ""); - I_Method1(void, setImage, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__setImage__osg_Image_P1, - "", - ""); - I_Method0(osg::Image *, getImage, - Properties::NON_VIRTUAL, - __osg_Image_P1__getImage, - "", - ""); - I_Method1(void, setImageReadPixelFormat, IN, GLenum, format, - Properties::NON_VIRTUAL, - __void__setImageReadPixelFormat__GLenum, - "", - ""); - I_Method0(GLenum, getImageReadPixelFormat, - Properties::NON_VIRTUAL, - __GLenum__getImageReadPixelFormat, - "", - ""); - I_Method1(void, setImageReadPixelDataType, IN, GLenum, type, - Properties::NON_VIRTUAL, - __void__setImageReadPixelDataType__GLenum, - "", - ""); - I_Method0(GLenum, getImageReadPixelDataType, - Properties::NON_VIRTUAL, - __GLenum__getImageReadPixelDataType, - "", - ""); - I_Method1(void, setFrameBufferObject, IN, osg::FrameBufferObject *, fbo, - Properties::NON_VIRTUAL, - __void__setFrameBufferObject__osg_FrameBufferObject_P1, - "Set a framebuffer object to render into. ", - "It is permissible for the framebuffer object to be multisampled, in which case you should also set a resolve framebuffer object - see setMultisampleResolveFramebufferObject(). "); - I_Method0(osg::FrameBufferObject *, getFrameBufferObject, - Properties::NON_VIRTUAL, - __osg_FrameBufferObject_P1__getFrameBufferObject, - "", - ""); - I_Method0(const osg::FrameBufferObject *, getFrameBufferObject, - Properties::NON_VIRTUAL, - __C5_osg_FrameBufferObject_P1__getFrameBufferObject, - "", - ""); - I_Method1(void, setMultisampleResolveFramebufferObject, IN, osg::FrameBufferObject *, fbo, - Properties::NON_VIRTUAL, - __void__setMultisampleResolveFramebufferObject__osg_FrameBufferObject_P1, - "Sets the destination framebuffer object for glBlitFramebufferEXT to resolve a multisampled framebuffer object after the RenderStage is drawn. ", - "The resolve framebuffer object must not be multisampled. The resolve framebuffer object is only necessary if the primary framebuffer object is multisampled, if not then leave it set to null. "); - I_Method0(osg::FrameBufferObject *, getMultisampleResolveFramebufferObject, - Properties::NON_VIRTUAL, - __osg_FrameBufferObject_P1__getMultisampleResolveFramebufferObject, - "", - ""); - I_Method0(const osg::FrameBufferObject *, getMultisampleResolveFramebufferObject, - Properties::NON_VIRTUAL, - __C5_osg_FrameBufferObject_P1__getMultisampleResolveFramebufferObject, - "", - ""); - I_Method1(void, setDisableFboAfterRender, IN, bool, disable, - Properties::NON_VIRTUAL, - __void__setDisableFboAfterRender__bool, - "Set whether the framebuffer object should be unbound after rendering. ", - "By default this is set to true. Set it to false if the unbinding is not required. "); - I_Method0(bool, getDisableFboAfterRender, - Properties::NON_VIRTUAL, - __bool__getDisableFboAfterRender, - "", - ""); - I_Method1(void, setGraphicsContext, IN, osg::GraphicsContext *, context, - Properties::NON_VIRTUAL, - __void__setGraphicsContext__osg_GraphicsContext_P1, - "", - ""); - I_Method0(osg::GraphicsContext *, getGraphicsContext, - Properties::NON_VIRTUAL, - __osg_GraphicsContext_P1__getGraphicsContext, - "", - ""); - I_Method0(const osg::GraphicsContext *, getGraphicsContext, - Properties::NON_VIRTUAL, - __C5_osg_GraphicsContext_P1__getGraphicsContext, - "", - ""); - I_Method1(void, setInheritedPositionalStateContainerMatrix, IN, const osg::Matrix &, matrix, - Properties::NON_VIRTUAL, - __void__setInheritedPositionalStateContainerMatrix__C5_osg_Matrix_R1, - "", - ""); - I_Method0(const osg::Matrix &, getInheritedPositionalStateContainerMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrix_R1__getInheritedPositionalStateContainerMatrix, - "", - ""); - I_Method1(void, setInheritedPositionalStateContainer, IN, osgUtil::PositionalStateContainer *, rsl, - Properties::NON_VIRTUAL, - __void__setInheritedPositionalStateContainer__PositionalStateContainer_P1, - "", - ""); - I_Method0(osgUtil::PositionalStateContainer *, getInheritedPositionalStateContainer, - Properties::NON_VIRTUAL, - __PositionalStateContainer_P1__getInheritedPositionalStateContainer, - "", - ""); - I_Method1(void, setPositionalStateContainer, IN, osgUtil::PositionalStateContainer *, rsl, - Properties::NON_VIRTUAL, - __void__setPositionalStateContainer__PositionalStateContainer_P1, - "", - ""); - I_Method0(osgUtil::PositionalStateContainer *, getPositionalStateContainer, - Properties::NON_VIRTUAL, - __PositionalStateContainer_P1__getPositionalStateContainer, - "", - ""); - I_Method2(void, addPositionedAttribute, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr, - Properties::VIRTUAL, - __void__addPositionedAttribute__osg_RefMatrix_P1__C5_osg_StateAttribute_P1, - "", - ""); - I_Method3(void, addPositionedTextureAttribute, IN, unsigned int, textureUnit, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr, - Properties::VIRTUAL, - __void__addPositionedTextureAttribute__unsigned_int__osg_RefMatrix_P1__C5_osg_StateAttribute_P1, - "", - ""); - I_Method1(void, copyTexture, IN, osg::RenderInfo &, renderInfo, - Properties::NON_VIRTUAL, - __void__copyTexture__osg_RenderInfo_R1, - "", - ""); - I_Method0(void, sort, - Properties::VIRTUAL, - __void__sort, - "", - ""); - I_Method2(void, drawPreRenderStages, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *&, previous, - Properties::VIRTUAL, - __void__drawPreRenderStages__osg_RenderInfo_R1__RenderLeaf_P1R1, - "", - ""); - I_Method2(void, draw, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *&, previous, - Properties::VIRTUAL, - __void__draw__osg_RenderInfo_R1__RenderLeaf_P1R1, - "", - ""); - I_Method3(void, drawInner, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *&, previous, IN, bool &, doCopyTexture, - Properties::VIRTUAL, - __void__drawInner__osg_RenderInfo_R1__RenderLeaf_P1R1__bool_R1, - "", - ""); - I_Method2(void, drawPostRenderStages, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *&, previous, - Properties::VIRTUAL, - __void__drawPostRenderStages__osg_RenderInfo_R1__RenderLeaf_P1R1, - "", - ""); - I_Method2(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *&, previous, - Properties::VIRTUAL, - __void__drawImplementation__osg_RenderInfo_R1__RenderLeaf_P1R1, - "", - ""); - I_Method1(void, addToDependencyList, IN, osgUtil::RenderStage *, rs, - Properties::NON_VIRTUAL, - __void__addToDependencyList__RenderStage_P1, - "", - ""); - I_MethodWithDefaults2(void, addPreRenderStage, IN, osgUtil::RenderStage *, rs, , IN, int, order, 0, - Properties::NON_VIRTUAL, - __void__addPreRenderStage__RenderStage_P1__int, - "", - ""); - I_MethodWithDefaults2(void, addPostRenderStage, IN, osgUtil::RenderStage *, rs, , IN, int, order, 0, - Properties::NON_VIRTUAL, - __void__addPostRenderStage__RenderStage_P1__int, - "", - ""); - I_Method1(bool, getStats, IN, osgUtil::Statistics &, stats, - Properties::NON_VIRTUAL, - __bool__getStats__Statistics_R1, - "Extract stats for current draw list. ", - ""); - I_Method0(unsigned int, computeNumberOfDynamicRenderLeaves, - Properties::VIRTUAL, - __unsigned_int__computeNumberOfDynamicRenderLeaves, - "Compute the number of dynamic RenderLeaves. ", - ""); - I_Method2(void, attach, IN, osg::Camera::BufferComponent, buffer, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__attach__osg_Camera_BufferComponent__osg_Image_P1, - "", - ""); - I_Method0(void, collateReferencesToDependentCameras, - Properties::NON_VIRTUAL, - __void__collateReferencesToDependentCameras, - "search through any pre and post RenderStage that reference a Camera, and take a reference to each of these cameras to prevent them being deleted while they are still be used by the drawing thread. ", - ""); - I_Method0(void, clearReferencesToDependentCameras, - Properties::NON_VIRTUAL, - __void__clearReferencesToDependentCameras, - "clear the references to any dependent cameras. ", - ""); - I_SimpleProperty(osg::Camera *, Camera, - __osg_Camera_P1__getCamera, - __void__setCamera__osg_Camera_P1); - I_SimpleProperty(bool, CameraRequiresSetUp, - __bool__getCameraRequiresSetUp, - __void__setCameraRequiresSetUp__bool); - I_SimpleProperty(const osg::Vec4 &, ClearAccum, - __C5_osg_Vec4_R1__getClearAccum, - __void__setClearAccum__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec4 &, ClearColor, - __C5_osg_Vec4_R1__getClearColor, - __void__setClearColor__C5_osg_Vec4_R1); - I_SimpleProperty(double, ClearDepth, - __double__getClearDepth, - __void__setClearDepth__double); - I_SimpleProperty(GLbitfield, ClearMask, - __GLbitfield__getClearMask, - __void__setClearMask__GLbitfield); - I_SimpleProperty(int, ClearStencil, - __int__getClearStencil, - __void__setClearStencil__int); - I_SimpleProperty(osg::ColorMask *, ColorMask, - __osg_ColorMask_P1__getColorMask, - __void__setColorMask__osg_ColorMask_P1); - I_SimpleProperty(bool, DisableFboAfterRender, - __bool__getDisableFboAfterRender, - __void__setDisableFboAfterRender__bool); - I_SimpleProperty(GLenum, DrawBuffer, - __GLenum__getDrawBuffer, - 0); - I_SimpleProperty(bool, DrawBufferApplyMask, - __bool__getDrawBufferApplyMask, - __void__setDrawBufferApplyMask__bool); - I_SimpleProperty(osg::FrameBufferObject *, FrameBufferObject, - __osg_FrameBufferObject_P1__getFrameBufferObject, - __void__setFrameBufferObject__osg_FrameBufferObject_P1); - I_SimpleProperty(osg::GraphicsContext *, GraphicsContext, - __osg_GraphicsContext_P1__getGraphicsContext, - __void__setGraphicsContext__osg_GraphicsContext_P1); - I_SimpleProperty(osg::Image *, Image, - __osg_Image_P1__getImage, - __void__setImage__osg_Image_P1); - I_SimpleProperty(GLenum, ImageReadPixelDataType, - __GLenum__getImageReadPixelDataType, - __void__setImageReadPixelDataType__GLenum); - I_SimpleProperty(GLenum, ImageReadPixelFormat, - __GLenum__getImageReadPixelFormat, - __void__setImageReadPixelFormat__GLenum); - I_SimpleProperty(osgUtil::PositionalStateContainer *, InheritedPositionalStateContainer, - __PositionalStateContainer_P1__getInheritedPositionalStateContainer, - __void__setInheritedPositionalStateContainer__PositionalStateContainer_P1); - I_SimpleProperty(const osg::Matrix &, InheritedPositionalStateContainerMatrix, - __C5_osg_Matrix_R1__getInheritedPositionalStateContainerMatrix, - __void__setInheritedPositionalStateContainerMatrix__C5_osg_Matrix_R1); - I_SimpleProperty(const osg::RefMatrix *, InitialViewMatrix, - __C5_osg_RefMatrix_P1__getInitialViewMatrix, - __void__setInitialViewMatrix__C5_osg_RefMatrix_P1); - I_SimpleProperty(osg::FrameBufferObject *, MultisampleResolveFramebufferObject, - __osg_FrameBufferObject_P1__getMultisampleResolveFramebufferObject, - __void__setMultisampleResolveFramebufferObject__osg_FrameBufferObject_P1); - I_SimpleProperty(osgUtil::PositionalStateContainer *, PositionalStateContainer, - __PositionalStateContainer_P1__getPositionalStateContainer, - __void__setPositionalStateContainer__PositionalStateContainer_P1); - I_SimpleProperty(GLenum, ReadBuffer, - __GLenum__getReadBuffer, - 0); - I_SimpleProperty(bool, ReadBufferApplyMask, - __bool__getReadBufferApplyMask, - __void__setReadBufferApplyMask__bool); - I_SimpleProperty(osg::Texture *, Texture, - __osg_Texture_P1__getTexture, - 0); - I_SimpleProperty(osg::Viewport *, Viewport, - __osg_Viewport_P1__getViewport, - __void__setViewport__osg_Viewport_P1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgUtil::RenderStage::Attachment) - I_DeclaringFile("osgUtil/RenderStage"); - I_Constructor0(____Attachment, - "", - ""); - I_PublicMemberProperty(osg::ref_ptr< osg::Image >, _image); - I_PublicMemberProperty(GLenum, _imageReadPixelFormat); - I_PublicMemberProperty(GLenum, _imageReadPixelDataType); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/ReversePrimitiveFunctor.cpp b/src/osgWrappers/introspection/osgUtil/ReversePrimitiveFunctor.cpp deleted file mode 100644 index ea0f55010..000000000 --- a/src/osgWrappers/introspection/osgUtil/ReversePrimitiveFunctor.cpp +++ /dev/null @@ -1,113 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::ReversePrimitiveFunctor) - I_DeclaringFile("osgUtil/ReversePrimitiveFunctor"); - I_BaseType(osg::PrimitiveIndexFunctor); - I_Constructor0(____ReversePrimitiveFunctor, - "", - ""); - I_Method0(osg::PrimitiveSet *, getReversedPrimitiveSet, - Properties::NON_VIRTUAL, - __osg_PrimitiveSet_P1__getReversedPrimitiveSet, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec2 *, x, - Properties::VIRTUAL, - __void__setVertexArray__unsigned__C5_osg_Vec2_P1, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec3 *, x, - Properties::VIRTUAL, - __void__setVertexArray__unsigned__C5_osg_Vec3_P1, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec4 *, x, - Properties::VIRTUAL, - __void__setVertexArray__unsigned__C5_osg_Vec4_P1, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec2d *, x, - Properties::VIRTUAL, - __void__setVertexArray__unsigned__C5_osg_Vec2d_P1, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec3d *, x, - Properties::VIRTUAL, - __void__setVertexArray__unsigned__C5_osg_Vec3d_P1, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec4d *, x, - Properties::VIRTUAL, - __void__setVertexArray__unsigned__C5_osg_Vec4d_P1, - "", - ""); - I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, - Properties::VIRTUAL, - __void__drawArrays__GLenum__GLint__GLsizei, - "", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices, - Properties::VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLubyte_P1, - "", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices, - Properties::VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLushort_P1, - "", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices, - Properties::VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLuint_P1, - "", - ""); - I_Method1(void, begin, IN, GLenum, mode, - Properties::VIRTUAL, - __void__begin__GLenum, - "Mimics the OpenGL glBegin() function. ", - ""); - I_Method1(void, vertex, IN, unsigned, int, - Properties::VIRTUAL, - __void__vertex__unsigned, - "", - ""); - I_Method0(void, end, - Properties::VIRTUAL, - __void__end, - "", - ""); - I_SimpleProperty(osg::PrimitiveSet *, ReversedPrimitiveSet, - __osg_PrimitiveSet_P1__getReversedPrimitiveSet, - 0); - I_PublicMemberProperty(osg::ref_ptr< osg::PrimitiveSet >, _reversedPrimitiveSet); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/SceneGraphBuilder.cpp b/src/osgWrappers/introspection/osgUtil/SceneGraphBuilder.cpp deleted file mode 100644 index ce0ed7a50..000000000 --- a/src/osgWrappers/introspection/osgUtil/SceneGraphBuilder.cpp +++ /dev/null @@ -1,336 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgUtil::SceneGraphBuilder) - I_DeclaringFile("osgUtil/SceneGraphBuilder"); - I_Constructor0(____SceneGraphBuilder, - "", - ""); - I_Method0(void, PushMatrix, - Properties::NON_VIRTUAL, - __void__PushMatrix, - "", - ""); - I_Method0(void, PopMatrix, - Properties::NON_VIRTUAL, - __void__PopMatrix, - "", - ""); - I_Method0(void, LoadIdentity, - Properties::NON_VIRTUAL, - __void__LoadIdentity, - "", - ""); - I_Method1(void, LoadMatrixd, IN, const GLdouble *, m, - Properties::NON_VIRTUAL, - __void__LoadMatrixd__C5_GLdouble_P1, - "", - ""); - I_Method1(void, MultMatrixd, IN, const GLdouble *, m, - Properties::NON_VIRTUAL, - __void__MultMatrixd__C5_GLdouble_P1, - "", - ""); - I_Method3(void, Translated, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z, - Properties::NON_VIRTUAL, - __void__Translated__GLdouble__GLdouble__GLdouble, - "", - ""); - I_Method3(void, Scaled, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z, - Properties::NON_VIRTUAL, - __void__Scaled__GLdouble__GLdouble__GLdouble, - "", - ""); - I_Method4(void, Rotated, IN, GLdouble, angle, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z, - Properties::NON_VIRTUAL, - __void__Rotated__GLdouble__GLdouble__GLdouble__GLdouble, - "", - ""); - I_Method2(void, BlendFunc, IN, GLenum, srcFactor, IN, GLenum, dstFactor, - Properties::NON_VIRTUAL, - __void__BlendFunc__GLenum__GLenum, - "", - ""); - I_Method1(void, CullFace, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__CullFace__GLenum, - "", - ""); - I_Method1(void, DepthFunc, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__DepthFunc__GLenum, - "", - ""); - I_Method1(void, FrontFace, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__FrontFace__GLenum, - "", - ""); - I_Method2(void, LineStipple, IN, GLint, factor, IN, GLushort, pattern, - Properties::NON_VIRTUAL, - __void__LineStipple__GLint__GLushort, - "", - ""); - I_Method1(void, LineWidth, IN, GLfloat, lineWidth, - Properties::NON_VIRTUAL, - __void__LineWidth__GLfloat, - "", - ""); - I_Method1(void, PointSize, IN, GLfloat, pointSize, - Properties::NON_VIRTUAL, - __void__PointSize__GLfloat, - "", - ""); - I_Method2(void, PolygonMode, IN, GLenum, face, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__PolygonMode__GLenum__GLenum, - "", - ""); - I_Method2(void, PolygonOffset, IN, GLfloat, factor, IN, GLfloat, units, - Properties::NON_VIRTUAL, - __void__PolygonOffset__GLfloat__GLfloat, - "", - ""); - I_Method1(void, PolygonStipple, IN, const GLubyte *, mask, - Properties::NON_VIRTUAL, - __void__PolygonStipple__C5_GLubyte_P1, - "", - ""); - I_Method1(void, ShadeModel, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__ShadeModel__GLenum, - "", - ""); - I_Method1(void, Enable, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__Enable__GLenum, - "", - ""); - I_Method1(void, Disable, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__Disable__GLenum, - "", - ""); - I_Method4(void, Color4f, IN, GLfloat, red, IN, GLfloat, green, IN, GLfloat, blue, IN, GLfloat, alpha, - Properties::NON_VIRTUAL, - __void__Color4f__GLfloat__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method1(void, Color4fv, IN, GLfloat *, c, - Properties::NON_VIRTUAL, - __void__Color4fv__GLfloat_P1, - "", - ""); - I_Method3(void, Vertex3f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, - Properties::NON_VIRTUAL, - __void__Vertex3f__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method1(void, Vertex3fv, IN, GLfloat *, v, - Properties::NON_VIRTUAL, - __void__Vertex3fv__GLfloat_P1, - "", - ""); - I_Method3(void, Normal3f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, - Properties::NON_VIRTUAL, - __void__Normal3f__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method1(void, Normal3fv, IN, GLfloat *, n, - Properties::NON_VIRTUAL, - __void__Normal3fv__GLfloat_P1, - "", - ""); - I_Method1(void, TexCoord1f, IN, GLfloat, x, - Properties::NON_VIRTUAL, - __void__TexCoord1f__GLfloat, - "", - ""); - I_Method1(void, TexCoord1fv, IN, GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__TexCoord1fv__GLfloat_P1, - "", - ""); - I_Method2(void, TexCoord2f, IN, GLfloat, x, IN, GLfloat, y, - Properties::NON_VIRTUAL, - __void__TexCoord2f__GLfloat__GLfloat, - "", - ""); - I_Method1(void, TexCoord2fv, IN, GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__TexCoord2fv__GLfloat_P1, - "", - ""); - I_Method3(void, TexCoord3f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, - Properties::NON_VIRTUAL, - __void__TexCoord3f__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method1(void, TexCoord3fv, IN, GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__TexCoord3fv__GLfloat_P1, - "", - ""); - I_Method4(void, TexCoord4f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, IN, GLfloat, w, - Properties::NON_VIRTUAL, - __void__TexCoord4f__GLfloat__GLfloat__GLfloat__GLfloat, - "", - ""); - I_Method1(void, TexCoord4fv, IN, GLfloat *, tc, - Properties::NON_VIRTUAL, - __void__TexCoord4fv__GLfloat_P1, - "", - ""); - I_Method1(void, Begin, IN, GLenum, mode, - Properties::NON_VIRTUAL, - __void__Begin__GLenum, - "", - ""); - I_Method0(void, End, - Properties::NON_VIRTUAL, - __void__End, - "", - ""); - I_Method1(void, QuadricDrawStyle, IN, GLenum, aDrawStyle, - Properties::NON_VIRTUAL, - __void__QuadricDrawStyle__GLenum, - "", - ""); - I_Method1(void, QuadricNormals, IN, GLenum, aNormals, - Properties::NON_VIRTUAL, - __void__QuadricNormals__GLenum, - "", - ""); - I_Method1(void, QuadricOrientation, IN, GLenum, aOrientation, - Properties::NON_VIRTUAL, - __void__QuadricOrientation__GLenum, - "", - ""); - I_Method1(void, QuadricTexture, IN, GLboolean, aTexture, - Properties::NON_VIRTUAL, - __void__QuadricTexture__GLboolean, - "", - ""); - I_Method5(void, Cylinder, IN, GLfloat, base, IN, GLfloat, top, IN, GLfloat, height, IN, GLint, slices, IN, GLint, stacks, - Properties::NON_VIRTUAL, - __void__Cylinder__GLfloat__GLfloat__GLfloat__GLint__GLint, - "", - ""); - I_Method4(void, Disk, IN, GLfloat, inner, IN, GLfloat, outer, IN, GLint, slices, IN, GLint, loops, - Properties::NON_VIRTUAL, - __void__Disk__GLfloat__GLfloat__GLint__GLint, - "", - ""); - I_Method6(void, PartialDisk, IN, GLfloat, inner, IN, GLfloat, outer, IN, GLint, slices, IN, GLint, loops, IN, GLfloat, start, IN, GLfloat, sweep, - Properties::NON_VIRTUAL, - __void__PartialDisk__GLfloat__GLfloat__GLint__GLint__GLfloat__GLfloat, - "", - ""); - I_Method3(void, Sphere, IN, GLfloat, radius, IN, GLint, slices, IN, GLint, stacks, - Properties::NON_VIRTUAL, - __void__Sphere__GLfloat__GLint__GLint, - "", - ""); - I_Method0(osg::Node *, getScene, - Properties::NON_VIRTUAL, - __osg_Node_P1__getScene, - "", - ""); - I_Method0(osg::Node *, takeScene, - Properties::NON_VIRTUAL, - __osg_Node_P1__takeScene, - "", - ""); - I_ProtectedMethod0(void, matrixChanged, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__matrixChanged, - "", - ""); - I_ProtectedMethod1(void, addAttribute, IN, osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addAttribute__osg_StateAttribute_P1, - "", - ""); - I_ProtectedMethod2(void, addMode, IN, GLenum, mode, IN, bool, enabled, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addMode__GLenum__bool, - "", - ""); - I_ProtectedMethod2(void, addTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute *, attribute, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addTextureAttribute__unsigned_int__osg_StateAttribute_P1, - "", - ""); - I_ProtectedMethod3(void, addTextureMode, IN, unsigned int, unit, IN, GLenum, mode, IN, bool, enabled, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addTextureMode__unsigned_int__GLenum__bool, - "", - ""); - I_ProtectedMethod1(void, addShape, IN, osg::Shape *, shape, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addShape__osg_Shape_P1, - "", - ""); - I_ProtectedMethod1(void, addDrawable, IN, osg::Drawable *, drawable, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addDrawable__osg_Drawable_P1, - "", - ""); - I_ProtectedMethod0(void, newGeometry, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__newGeometry, - "", - ""); - I_ProtectedMethod0(void, allocateGeometry, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__allocateGeometry, - "", - ""); - I_ProtectedMethod0(void, completeGeometry, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__completeGeometry, - "", - ""); - I_ProtectedMethod0(void, allocateStateSet, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__allocateStateSet, - "", - ""); - I_SimpleProperty(osg::Node *, Scene, - __osg_Node_P1__getScene, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/SceneView.cpp b/src/osgWrappers/introspection/osgUtil/SceneView.cpp deleted file mode 100644 index f7cf2be28..000000000 --- a/src/osgWrappers/introspection/osgUtil/SceneView.cpp +++ /dev/null @@ -1,965 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgUtil::SceneView::Options) - I_DeclaringFile("osgUtil/SceneView"); - I_EnumLabel(osgUtil::SceneView::NO_SCENEVIEW_LIGHT); - I_EnumLabel(osgUtil::SceneView::HEADLIGHT); - I_EnumLabel(osgUtil::SceneView::SKY_LIGHT); - I_EnumLabel(osgUtil::SceneView::COMPILE_GLOBJECTS_AT_INIT); - I_EnumLabel(osgUtil::SceneView::STANDARD_SETTINGS); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgUtil::SceneView::ActiveUniforms) - I_DeclaringFile("osgUtil/SceneView"); - I_EnumLabel(osgUtil::SceneView::FRAME_NUMBER_UNIFORM); - I_EnumLabel(osgUtil::SceneView::FRAME_TIME_UNIFORM); - I_EnumLabel(osgUtil::SceneView::DELTA_FRAME_TIME_UNIFORM); - I_EnumLabel(osgUtil::SceneView::SIMULATION_TIME_UNIFORM); - I_EnumLabel(osgUtil::SceneView::DELTA_SIMULATION_TIME_UNIFORM); - I_EnumLabel(osgUtil::SceneView::VIEW_MATRIX_UNIFORM); - I_EnumLabel(osgUtil::SceneView::VIEW_MATRIX_INVERSE_UNIFORM); - I_EnumLabel(osgUtil::SceneView::DEFAULT_UNIFORMS); - I_EnumLabel(osgUtil::SceneView::ALL_UNIFORMS); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgUtil::SceneView::FusionDistanceMode) - I_DeclaringFile("osgUtil/SceneView"); - I_EnumLabel(osgUtil::SceneView::USE_FUSION_DISTANCE_VALUE); - I_EnumLabel(osgUtil::SceneView::PROPORTIONAL_TO_SCREEN_DISTANCE); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgUtil::SceneView::Options, osgUtil::SceneView::LightingMode) - -BEGIN_OBJECT_REFLECTOR(osgUtil::SceneView) - I_DeclaringFile("osgUtil/SceneView"); - I_BaseType(osg::Object); - I_BaseType(osg::CullSettings); - I_ConstructorWithDefaults1(IN, osg::DisplaySettings *, ds, NULL, - Properties::NON_EXPLICIT, - ____SceneView__osg_DisplaySettings_P1, - "Construct a default scene view. ", - ""); - I_ConstructorWithDefaults2(IN, const osgUtil::SceneView &, sceneview, , IN, const osg::CopyOp &, copyop, osg::CopyOp(), - ____SceneView__C5_SceneView_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, setDefaults, - Properties::VIRTUAL, - __void__setDefaults, - "", - ""); - I_Method1(void, setDefaults, IN, unsigned int, options, - Properties::VIRTUAL, - __void__setDefaults__unsigned_int, - "Set scene view to use default global state, light, camera and render visitor. ", - ""); - I_MethodWithDefaults2(void, setCamera, IN, osg::Camera *, camera, , IN, bool, assumeOwnershipOfCamera, true, - Properties::NON_VIRTUAL, - __void__setCamera__osg_Camera_P1__bool, - "Set the camera used to represent the camera view of this SceneView. ", - ""); - I_Method0(osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCamera, - "Get the camera used to represent the camera view of this SceneView. ", - ""); - I_Method0(const osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCamera, - "Get the const camera used to represent the camera view of this SceneView. ", - ""); - I_Method1(void, setSceneData, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__setSceneData__osg_Node_P1, - "Set the data to view. ", - "The data will typically be an osg::Scene but can be any osg::Node type. "); - I_MethodWithDefaults1(osg::Node *, getSceneData, IN, unsigned int, childNo, 0, - Properties::NON_VIRTUAL, - __osg_Node_P1__getSceneData__unsigned_int, - "Get the scene data to view. ", - "The data will typically be an osg::Scene but can be any osg::Node type. "); - I_MethodWithDefaults1(const osg::Node *, getSceneData, IN, unsigned int, childNo, 0, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getSceneData__unsigned_int, - "Get the const scene data which to view. ", - "The data will typically be an osg::Scene but can be any osg::Node type. "); - I_Method0(unsigned int, getNumSceneData, - Properties::NON_VIRTUAL, - __unsigned_int__getNumSceneData, - "Get the number of scene data subgraphs added to the SceneView's camera. ", - ""); - I_Method1(void, setViewport, IN, osg::Viewport *, viewport, - Properties::NON_VIRTUAL, - __void__setViewport__osg_Viewport_P1, - "Set the viewport of the scene view to use specified osg::Viewport. ", - ""); - I_Method4(void, setViewport, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__setViewport__int__int__int__int, - "Set the viewport of the scene view to specified dimensions. ", - ""); - I_Method0(osg::Viewport *, getViewport, - Properties::NON_VIRTUAL, - __osg_Viewport_P1__getViewport, - "Get the viewport. ", - ""); - I_Method0(const osg::Viewport *, getViewport, - Properties::NON_VIRTUAL, - __C5_osg_Viewport_P1__getViewport, - "Get the const viewport. ", - ""); - I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, vs, - Properties::NON_VIRTUAL, - __void__setDisplaySettings__osg_DisplaySettings_P1, - "Set the DisplaySettings. ", - ""); - I_Method0(const osg::DisplaySettings *, getDisplaySettings, - Properties::NON_VIRTUAL, - __C5_osg_DisplaySettings_P1__getDisplaySettings, - "Get the const DisplaySettings. ", - ""); - I_Method0(osg::DisplaySettings *, getDisplaySettings, - Properties::NON_VIRTUAL, - __osg_DisplaySettings_P1__getDisplaySettings, - "Get the DisplaySettings. ", - ""); - I_Method1(void, setClearColor, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - __void__setClearColor__C5_osg_Vec4_R1, - "Set the color used in glClearColor(). ", - "Defaults to an off blue color. "); - I_Method0(const osg::Vec4 &, getClearColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getClearColor, - "Get the color used in glClearColor. ", - ""); - I_Method1(void, setRedrawInterlacedStereoStencilMask, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setRedrawInterlacedStereoStencilMask__bool, - "Manually set the redraw interlaced stereo stencil mask request flag to control whether to redraw the stencil buffer on the next frame. ", - ""); - I_Method0(bool, getRedrawInterlacedStereoStencilMask, - Properties::NON_VIRTUAL, - __bool__getRedrawInterlacedStereoStencilMask, - "Get the redraw interlaced stereo stencil mask request flag. ", - ""); - I_Method1(void, setGlobalStateSet, IN, osg::StateSet *, state, - Properties::NON_VIRTUAL, - __void__setGlobalStateSet__osg_StateSet_P1, - "", - ""); - I_Method0(osg::StateSet *, getGlobalStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getGlobalStateSet, - "", - ""); - I_Method0(const osg::StateSet *, getGlobalStateSet, - Properties::NON_VIRTUAL, - __C5_osg_StateSet_P1__getGlobalStateSet, - "", - ""); - I_Method1(void, setSecondaryStateSet, IN, osg::StateSet *, state, - Properties::NON_VIRTUAL, - __void__setSecondaryStateSet__osg_StateSet_P1, - "", - ""); - I_Method0(osg::StateSet *, getSecondaryStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getSecondaryStateSet, - "", - ""); - I_Method0(const osg::StateSet *, getSecondaryStateSet, - Properties::NON_VIRTUAL, - __C5_osg_StateSet_P1__getSecondaryStateSet, - "", - ""); - I_Method1(void, setLocalStateSet, IN, osg::StateSet *, state, - Properties::NON_VIRTUAL, - __void__setLocalStateSet__osg_StateSet_P1, - "", - ""); - I_Method0(osg::StateSet *, getLocalStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getLocalStateSet, - "", - ""); - I_Method0(const osg::StateSet *, getLocalStateSet, - Properties::NON_VIRTUAL, - __C5_osg_StateSet_P1__getLocalStateSet, - "", - ""); - I_Method1(void, setActiveUniforms, IN, int, activeUniforms, - Properties::NON_VIRTUAL, - __void__setActiveUniforms__int, - "Set the uniforms that SceneView should set set up on each frame. ", - ""); - I_Method0(int, getActiveUniforms, - Properties::NON_VIRTUAL, - __int__getActiveUniforms, - "Get the uniforms that SceneView should set set up on each frame. ", - ""); - I_Method0(void, updateUniforms, - Properties::NON_VIRTUAL, - __void__updateUniforms, - "", - ""); - I_Method1(void, setLightingMode, IN, osgUtil::SceneView::LightingMode, mode, - Properties::NON_VIRTUAL, - __void__setLightingMode__LightingMode, - "", - ""); - I_Method0(osgUtil::SceneView::LightingMode, getLightingMode, - Properties::NON_VIRTUAL, - __LightingMode__getLightingMode, - "", - ""); - I_Method1(void, setLight, IN, osg::Light *, light, - Properties::NON_VIRTUAL, - __void__setLight__osg_Light_P1, - "", - ""); - I_Method0(osg::Light *, getLight, - Properties::NON_VIRTUAL, - __osg_Light_P1__getLight, - "", - ""); - I_Method0(const osg::Light *, getLight, - Properties::NON_VIRTUAL, - __C5_osg_Light_P1__getLight, - "", - ""); - I_Method1(void, setState, IN, osg::State *, state, - Properties::NON_VIRTUAL, - __void__setState__osg_State_P1, - "", - ""); - I_Method0(osg::State *, getState, - Properties::NON_VIRTUAL, - __osg_State_P1__getState, - "", - ""); - I_Method0(const osg::State *, getState, - Properties::NON_VIRTUAL, - __C5_osg_State_P1__getState, - "", - ""); - I_Method1(void, setView, IN, osg::View *, view, - Properties::NON_VIRTUAL, - __void__setView__osg_View_P1, - "", - ""); - I_Method0(osg::View *, getView, - Properties::NON_VIRTUAL, - __osg_View_P1__getView, - "", - ""); - I_Method0(const osg::View *, getView, - Properties::NON_VIRTUAL, - __C5_osg_View_P1__getView, - "", - ""); - I_Method1(void, setRenderInfo, IN, osg::RenderInfo &, renderInfo, - Properties::NON_VIRTUAL, - __void__setRenderInfo__osg_RenderInfo_R1, - "", - ""); - I_Method0(osg::RenderInfo &, getRenderInfo, - Properties::NON_VIRTUAL, - __osg_RenderInfo_R1__getRenderInfo, - "", - ""); - I_Method0(const osg::RenderInfo &, getRenderInfo, - Properties::NON_VIRTUAL, - __C5_osg_RenderInfo_R1__getRenderInfo, - "", - ""); - I_Method1(void, setProjectionMatrix, IN, const osg::Matrixf &, matrix, - Properties::NON_VIRTUAL, - __void__setProjectionMatrix__C5_osg_Matrixf_R1, - "Set the projection matrix. ", - "Can be thought of as setting the lens of a camera. "); - I_Method1(void, setProjectionMatrix, IN, const osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __void__setProjectionMatrix__C5_osg_Matrixd_R1, - "Set the projection matrix. ", - "Can be thought of as setting the lens of a camera. "); - I_Method6(void, setProjectionMatrixAsOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__setProjectionMatrixAsOrtho__double__double__double__double__double__double, - "Set to an orthographic projection. ", - "See OpenGL glOrtho for documentation further details. "); - I_Method4(void, setProjectionMatrixAsOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, - Properties::NON_VIRTUAL, - __void__setProjectionMatrixAsOrtho2D__double__double__double__double, - "Set to a 2D orthographic projection. ", - "See OpenGL glOrtho2D documentation for further details. "); - I_Method6(void, setProjectionMatrixAsFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__setProjectionMatrixAsFrustum__double__double__double__double__double__double, - "Set to a perspective projection. ", - "See OpenGL glFrustum documentation for further details. "); - I_Method4(void, setProjectionMatrixAsPerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar, - Properties::NON_VIRTUAL, - __void__setProjectionMatrixAsPerspective__double__double__double__double, - "Create a symmetrical perspective projection, See OpenGL gluPerspective documentation for further details. ", - "Aspect ratio is defined as width/height. "); - I_Method0(osg::Matrixd &, getProjectionMatrix, - Properties::NON_VIRTUAL, - __osg_Matrixd_R1__getProjectionMatrix, - "Get the projection matrix. ", - ""); - I_Method0(const osg::Matrixd &, getProjectionMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrixd_R1__getProjectionMatrix, - "Get the const projection matrix. ", - ""); - I_Method6(bool, getProjectionMatrixAsOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getProjectionMatrixAsOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1, - "Get the orthographic settings of the orthographic projection matrix. ", - "Returns false if matrix is not an orthographic matrix, where parameter values are undefined. "); - I_Method6(bool, getProjectionMatrixAsFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getProjectionMatrixAsFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1, - "Get the frustum setting of a perspective projection matrix. ", - "Returns false if matrix is not a perspective matrix, where parameter values are undefined. "); - I_Method4(bool, getProjectionMatrixAsPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar, - Properties::NON_VIRTUAL, - __bool__getProjectionMatrixAsPerspective__double_R1__double_R1__double_R1__double_R1, - "Get the frustum setting of a symmetric perspective projection matrix. ", - "Returns false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configurations one should use the 'getProjectionMatrixAsFrustum' method instead. "); - I_Method1(void, setViewMatrix, IN, const osg::Matrixf &, matrix, - Properties::NON_VIRTUAL, - __void__setViewMatrix__C5_osg_Matrixf_R1, - "Set the view matrix. ", - "Can be thought of as setting the position of the world relative to the camera in camera coordinates. "); - I_Method1(void, setViewMatrix, IN, const osg::Matrixd &, matrix, - Properties::NON_VIRTUAL, - __void__setViewMatrix__C5_osg_Matrixd_R1, - "Set the view matrix. ", - "Can be thought of as setting the position of the world relative to the camera in camera coordinates. "); - I_Method3(void, setViewMatrixAsLookAt, IN, const osg::Vec3 &, eye, IN, const osg::Vec3 &, center, IN, const osg::Vec3 &, up, - Properties::NON_VIRTUAL, - __void__setViewMatrixAsLookAt__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1, - "Set to the position and orientation of view matrix, using the same convention as gluLookAt. ", - ""); - I_Method0(osg::Matrixd &, getViewMatrix, - Properties::NON_VIRTUAL, - __osg_Matrixd_R1__getViewMatrix, - "Get the view matrix. ", - ""); - I_Method0(const osg::Matrixd &, getViewMatrix, - Properties::NON_VIRTUAL, - __C5_osg_Matrixd_R1__getViewMatrix, - "Get the const view matrix. ", - ""); - I_MethodWithDefaults4(void, getViewMatrixAsLookAt, IN, osg::Vec3 &, eye, , IN, osg::Vec3 &, center, , IN, osg::Vec3 &, up, , IN, float, lookDistance, 1.0f, - Properties::NON_VIRTUAL, - __void__getViewMatrixAsLookAt__osg_Vec3_R1__osg_Vec3_R1__osg_Vec3_R1__float, - "Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ", - ""); - I_Method1(void, setInitVisitor, IN, osg::NodeVisitor *, av, - Properties::NON_VIRTUAL, - __void__setInitVisitor__osg_NodeVisitor_P1, - "", - ""); - I_Method0(osg::NodeVisitor *, getInitVisitor, - Properties::NON_VIRTUAL, - __osg_NodeVisitor_P1__getInitVisitor, - "", - ""); - I_Method0(const osg::NodeVisitor *, getInitVisitor, - Properties::NON_VIRTUAL, - __C5_osg_NodeVisitor_P1__getInitVisitor, - "", - ""); - I_Method1(void, setUpdateVisitor, IN, osg::NodeVisitor *, av, - Properties::NON_VIRTUAL, - __void__setUpdateVisitor__osg_NodeVisitor_P1, - "", - ""); - I_Method0(osg::NodeVisitor *, getUpdateVisitor, - Properties::NON_VIRTUAL, - __osg_NodeVisitor_P1__getUpdateVisitor, - "", - ""); - I_Method0(const osg::NodeVisitor *, getUpdateVisitor, - Properties::NON_VIRTUAL, - __C5_osg_NodeVisitor_P1__getUpdateVisitor, - "", - ""); - I_Method1(void, setCullVisitor, IN, osgUtil::CullVisitor *, cv, - Properties::NON_VIRTUAL, - __void__setCullVisitor__osgUtil_CullVisitor_P1, - "", - ""); - I_Method0(osgUtil::CullVisitor *, getCullVisitor, - Properties::NON_VIRTUAL, - __osgUtil_CullVisitor_P1__getCullVisitor, - "", - ""); - I_Method0(const osgUtil::CullVisitor *, getCullVisitor, - Properties::NON_VIRTUAL, - __C5_osgUtil_CullVisitor_P1__getCullVisitor, - "", - ""); - I_Method1(void, setCullVisitorLeft, IN, osgUtil::CullVisitor *, cv, - Properties::NON_VIRTUAL, - __void__setCullVisitorLeft__osgUtil_CullVisitor_P1, - "", - ""); - I_Method0(osgUtil::CullVisitor *, getCullVisitorLeft, - Properties::NON_VIRTUAL, - __osgUtil_CullVisitor_P1__getCullVisitorLeft, - "", - ""); - I_Method0(const osgUtil::CullVisitor *, getCullVisitorLeft, - Properties::NON_VIRTUAL, - __C5_osgUtil_CullVisitor_P1__getCullVisitorLeft, - "", - ""); - I_Method1(void, setCullVisitorRight, IN, osgUtil::CullVisitor *, cv, - Properties::NON_VIRTUAL, - __void__setCullVisitorRight__osgUtil_CullVisitor_P1, - "", - ""); - I_Method0(osgUtil::CullVisitor *, getCullVisitorRight, - Properties::NON_VIRTUAL, - __osgUtil_CullVisitor_P1__getCullVisitorRight, - "", - ""); - I_Method0(const osgUtil::CullVisitor *, getCullVisitorRight, - Properties::NON_VIRTUAL, - __C5_osgUtil_CullVisitor_P1__getCullVisitorRight, - "", - ""); - I_Method1(void, setCollectOccludersVisitor, IN, osg::CollectOccludersVisitor *, cov, - Properties::NON_VIRTUAL, - __void__setCollectOccludersVisitor__osg_CollectOccludersVisitor_P1, - "", - ""); - I_Method0(osg::CollectOccludersVisitor *, getCollectOccludersVisitor, - Properties::NON_VIRTUAL, - __osg_CollectOccludersVisitor_P1__getCollectOccludersVisitor, - "", - ""); - I_Method0(const osg::CollectOccludersVisitor *, getCollectOccludersVisitor, - Properties::NON_VIRTUAL, - __C5_osg_CollectOccludersVisitor_P1__getCollectOccludersVisitor, - "", - ""); - I_Method1(void, setStateGraph, IN, osgUtil::StateGraph *, rg, - Properties::NON_VIRTUAL, - __void__setStateGraph__osgUtil_StateGraph_P1, - "", - ""); - I_Method0(osgUtil::StateGraph *, getStateGraph, - Properties::NON_VIRTUAL, - __osgUtil_StateGraph_P1__getStateGraph, - "", - ""); - I_Method0(const osgUtil::StateGraph *, getStateGraph, - Properties::NON_VIRTUAL, - __C5_osgUtil_StateGraph_P1__getStateGraph, - "", - ""); - I_Method1(void, setStateGraphLeft, IN, osgUtil::StateGraph *, rg, - Properties::NON_VIRTUAL, - __void__setStateGraphLeft__osgUtil_StateGraph_P1, - "", - ""); - I_Method0(osgUtil::StateGraph *, getStateGraphLeft, - Properties::NON_VIRTUAL, - __osgUtil_StateGraph_P1__getStateGraphLeft, - "", - ""); - I_Method0(const osgUtil::StateGraph *, getStateGraphLeft, - Properties::NON_VIRTUAL, - __C5_osgUtil_StateGraph_P1__getStateGraphLeft, - "", - ""); - I_Method1(void, setStateGraphRight, IN, osgUtil::StateGraph *, rg, - Properties::NON_VIRTUAL, - __void__setStateGraphRight__osgUtil_StateGraph_P1, - "", - ""); - I_Method0(osgUtil::StateGraph *, getStateGraphRight, - Properties::NON_VIRTUAL, - __osgUtil_StateGraph_P1__getStateGraphRight, - "", - ""); - I_Method0(const osgUtil::StateGraph *, getStateGraphRight, - Properties::NON_VIRTUAL, - __C5_osgUtil_StateGraph_P1__getStateGraphRight, - "", - ""); - I_Method1(void, setRenderStage, IN, osgUtil::RenderStage *, rs, - Properties::NON_VIRTUAL, - __void__setRenderStage__osgUtil_RenderStage_P1, - "", - ""); - I_Method0(osgUtil::RenderStage *, getRenderStage, - Properties::NON_VIRTUAL, - __osgUtil_RenderStage_P1__getRenderStage, - "", - ""); - I_Method0(const osgUtil::RenderStage *, getRenderStage, - Properties::NON_VIRTUAL, - __C5_osgUtil_RenderStage_P1__getRenderStage, - "", - ""); - I_Method1(void, setRenderStageLeft, IN, osgUtil::RenderStage *, rs, - Properties::NON_VIRTUAL, - __void__setRenderStageLeft__osgUtil_RenderStage_P1, - "", - ""); - I_Method0(osgUtil::RenderStage *, getRenderStageLeft, - Properties::NON_VIRTUAL, - __osgUtil_RenderStage_P1__getRenderStageLeft, - "", - ""); - I_Method0(const osgUtil::RenderStage *, getRenderStageLeft, - Properties::NON_VIRTUAL, - __C5_osgUtil_RenderStage_P1__getRenderStageLeft, - "", - ""); - I_Method1(void, setRenderStageRight, IN, osgUtil::RenderStage *, rs, - Properties::NON_VIRTUAL, - __void__setRenderStageRight__osgUtil_RenderStage_P1, - "", - ""); - I_Method0(osgUtil::RenderStage *, getRenderStageRight, - Properties::NON_VIRTUAL, - __osgUtil_RenderStage_P1__getRenderStageRight, - "", - ""); - I_Method0(const osgUtil::RenderStage *, getRenderStageRight, - Properties::NON_VIRTUAL, - __C5_osgUtil_RenderStage_P1__getRenderStageRight, - "", - ""); - I_Method0(void, collateReferencesToDependentCameras, - Properties::NON_VIRTUAL, - __void__collateReferencesToDependentCameras, - "search through any pre and post RenderStage that reference a Camera, and take a reference to each of these cameras to prevent them being deleted while they are still be used by the drawing thread. ", - ""); - I_Method0(void, clearReferencesToDependentCameras, - Properties::NON_VIRTUAL, - __void__clearReferencesToDependentCameras, - "clear the refence to any any dependent cameras. ", - ""); - I_Method1(void, setDrawBufferValue, IN, GLenum, drawBufferValue, - Properties::NON_VIRTUAL, - __void__setDrawBufferValue__GLenum, - "Set the draw buffer value used at the start of each frame draw. ", - "Note, overridden in quad buffer stereo mode "); - I_Method0(GLenum, getDrawBufferValue, - Properties::NON_VIRTUAL, - __GLenum__getDrawBufferValue, - "Get the draw buffer value used at the start of each frame draw. ", - ""); - I_MethodWithDefaults2(void, setFusionDistance, IN, osgUtil::SceneView::FusionDistanceMode, mode, , IN, float, value, 1.0f, - Properties::NON_VIRTUAL, - __void__setFusionDistance__FusionDistanceMode__float, - "Set the FusionDistanceMode and Value. ", - "Note, is used only when working in stereo. "); - I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode, - Properties::NON_VIRTUAL, - __FusionDistanceMode__getFusionDistanceMode, - "Get the FusionDistanceMode. ", - ""); - I_Method0(float, getFusionDistanceValue, - Properties::NON_VIRTUAL, - __float__getFusionDistanceValue, - "Get the FusionDistanceValue. ", - "Note, only used for USE_FUSION_DISTANCE_VALUE & PROPORTIONAL_TO_SCREEN_DISTANCE modes. "); - I_Method1(void, setPrioritizeTextures, IN, bool, pt, - Properties::NON_VIRTUAL, - __void__setPrioritizeTextures__bool, - "Set whether the draw method should call renderer->prioritizeTexture. ", - ""); - I_Method0(bool, getPrioritizeTextures, - Properties::NON_VIRTUAL, - __bool__getPrioritizeTextures, - "Get whether the draw method should call renderer->prioritizeTexture. ", - ""); - I_Method1(void, setComputeStereoMatricesCallback, IN, osgUtil::SceneView::ComputeStereoMatricesCallback *, callback, - Properties::NON_VIRTUAL, - __void__setComputeStereoMatricesCallback__ComputeStereoMatricesCallback_P1, - "", - ""); - I_Method0(osgUtil::SceneView::ComputeStereoMatricesCallback *, getComputeStereoMatricesCallback, - Properties::NON_VIRTUAL, - __ComputeStereoMatricesCallback_P1__getComputeStereoMatricesCallback, - "", - ""); - I_Method0(const osgUtil::SceneView::ComputeStereoMatricesCallback *, getComputeStereoMatricesCallback, - Properties::NON_VIRTUAL, - __C5_ComputeStereoMatricesCallback_P1__getComputeStereoMatricesCallback, - "", - ""); - I_Method2(bool, projectWindowIntoObject, IN, const osg::Vec3 &, window, IN, osg::Vec3 &, object, - Properties::NON_VIRTUAL, - __bool__projectWindowIntoObject__C5_osg_Vec3_R1__osg_Vec3_R1, - "Calculate the object coordinates of a point in window coordinates. ", - "Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection. "); - I_Method4(bool, projectWindowXYIntoObject, IN, int, x, IN, int, y, IN, osg::Vec3 &, near_point, IN, osg::Vec3 &, far_point, - Properties::NON_VIRTUAL, - __bool__projectWindowXYIntoObject__int__int__osg_Vec3_R1__osg_Vec3_R1, - "Calculate the object coordinates of a window x,y when projected onto the near and far planes. ", - "Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection. "); - I_Method2(bool, projectObjectIntoWindow, IN, const osg::Vec3 &, object, IN, osg::Vec3 &, window, - Properties::NON_VIRTUAL, - __bool__projectObjectIntoWindow__C5_osg_Vec3_R1__osg_Vec3_R1, - "Calculate the window coordinates of a point in object coordinates. ", - "Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window, whereas window API's normally have the top left as the origin, so you may need to pass in (mouseX,window_height-mouseY,...). Returns true on successful projection. "); - I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs, - Properties::NON_VIRTUAL, - __void__setFrameStamp__osg_FrameStamp_P1, - "Set the frame stamp for the current frame. ", - ""); - I_Method0(const osg::FrameStamp *, getFrameStamp, - Properties::NON_VIRTUAL, - __C5_osg_FrameStamp_P1__getFrameStamp, - "Get the frame stamp for the current frame. ", - ""); - I_Method1(osg::Matrixd, computeLeftEyeProjection, IN, const osg::Matrixd &, projection, - Properties::NON_VIRTUAL, - __osg_Matrixd__computeLeftEyeProjection__C5_osg_Matrixd_R1, - "", - ""); - I_Method1(osg::Matrixd, computeLeftEyeView, IN, const osg::Matrixd &, view, - Properties::NON_VIRTUAL, - __osg_Matrixd__computeLeftEyeView__C5_osg_Matrixd_R1, - "", - ""); - I_Method1(osg::Matrixd, computeRightEyeProjection, IN, const osg::Matrixd &, projection, - Properties::NON_VIRTUAL, - __osg_Matrixd__computeRightEyeProjection__C5_osg_Matrixd_R1, - "", - ""); - I_Method1(osg::Matrixd, computeRightEyeView, IN, const osg::Matrixd &, view, - Properties::NON_VIRTUAL, - __osg_Matrixd__computeRightEyeView__C5_osg_Matrixd_R1, - "", - ""); - I_Method1(osg::Matrixd, computeLeftEyeProjectionImplementation, IN, const osg::Matrixd &, projection, - Properties::VIRTUAL, - __osg_Matrixd__computeLeftEyeProjectionImplementation__C5_osg_Matrixd_R1, - "", - ""); - I_Method1(osg::Matrixd, computeLeftEyeViewImplementation, IN, const osg::Matrixd &, view, - Properties::VIRTUAL, - __osg_Matrixd__computeLeftEyeViewImplementation__C5_osg_Matrixd_R1, - "", - ""); - I_Method1(osg::Matrixd, computeRightEyeProjectionImplementation, IN, const osg::Matrixd &, projection, - Properties::VIRTUAL, - __osg_Matrixd__computeRightEyeProjectionImplementation__C5_osg_Matrixd_R1, - "", - ""); - I_Method1(osg::Matrixd, computeRightEyeViewImplementation, IN, const osg::Matrixd &, view, - Properties::VIRTUAL, - __osg_Matrixd__computeRightEyeViewImplementation__C5_osg_Matrixd_R1, - "", - ""); - I_Method1(void, inheritCullSettings, IN, const osg::CullSettings &, settings, - Properties::VIRTUAL, - __void__inheritCullSettings__C5_osg_CullSettings_R1, - "Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ", - ""); - I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask, - Properties::VIRTUAL, - __void__inheritCullSettings__C5_osg_CullSettings_R1__unsigned_int, - "Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ", - ""); - I_Method0(void, init, - Properties::VIRTUAL, - __void__init, - "Do init traversal of attached scene graph using Init NodeVisitor. ", - "The init traversal is called once for each SceneView, and should be used to compile display list, texture objects intialize data not otherwise intialized during scene graph loading. Note, is called automatically by update & cull if it hasn't already been called elsewhere. Also init() should only ever be called within a valid graphics context. "); - I_Method0(void, update, - Properties::VIRTUAL, - __void__update, - "Do app traversal of attached scene graph using App NodeVisitor. ", - ""); - I_Method0(void, cull, - Properties::VIRTUAL, - __void__cull, - "Do cull traversal of attached scene graph using Cull NodeVisitor. ", - ""); - I_Method0(void, draw, - Properties::VIRTUAL, - __void__draw, - "Do draw traversal of draw bins generated by cull traversal. ", - ""); - I_Method0(unsigned int, getDynamicObjectCount, - Properties::NON_VIRTUAL, - __unsigned_int__getDynamicObjectCount, - "Compute the number of dynamic objects that will be held in the rendering backend. ", - ""); - I_Method0(void, releaseAllGLObjects, - Properties::VIRTUAL, - __void__releaseAllGLObjects, - "Release all OpenGL objects from the scene graph, such as texture objects, display lists etc. ", - "These released scene graphs placed in the respective delete GLObjects cache, which then need to be deleted in OpenGL by SceneView::flushAllDeleteGLObjects(). "); - I_Method0(void, flushAllDeletedGLObjects, - Properties::VIRTUAL, - __void__flushAllDeletedGLObjects, - "Flush all deleted OpenGL objects, such as texture objects, display lists etc. ", - ""); - I_Method1(void, flushDeletedGLObjects, IN, double &, availableTime, - Properties::VIRTUAL, - __void__flushDeletedGLObjects__double_R1, - "Flush deleted OpenGL objects, such as texture objects, display lists etc within specified available time. ", - ""); - I_Method1(bool, getStats, IN, osgUtil::Statistics &, primStats, - Properties::NON_VIRTUAL, - __bool__getStats__Statistics_R1, - "Extract stats for current draw list. ", - ""); - I_ProtectedMethod6(bool, cullStage, IN, const osg::Matrixd &, projection, IN, const osg::Matrixd &, modelview, IN, osgUtil::CullVisitor *, cullVisitor, IN, osgUtil::StateGraph *, rendergraph, IN, osgUtil::RenderStage *, renderStage, IN, osg::Viewport *, viewport, - Properties::VIRTUAL, - Properties::NON_CONST, - __bool__cullStage__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__osgUtil_CullVisitor_P1__osgUtil_StateGraph_P1__osgUtil_RenderStage_P1__osg_Viewport_P1, - "Do cull traversal of attached scene graph using Cull NodeVisitor. ", - "Return true if computeNearFar has been done during the cull traversal. "); - I_ProtectedMethod1(void, computeLeftEyeViewport, IN, const osg::Viewport *, viewport, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computeLeftEyeViewport__C5_osg_Viewport_P1, - "", - ""); - I_ProtectedMethod1(void, computeRightEyeViewport, IN, const osg::Viewport *, viewport, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__computeRightEyeViewport__C5_osg_Viewport_P1, - "", - ""); - I_ProtectedMethod0(const osg::Matrix, computeMVPW, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_osg_Matrix__computeMVPW, - "", - ""); - I_ProtectedMethod5(void, clearArea, IN, int, x, IN, int, y, IN, int, width, IN, int, height, IN, const osg::Vec4 &, color, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__clearArea__int__int__int__int__C5_osg_Vec4_R1, - "", - ""); - I_SimpleProperty(int, ActiveUniforms, - __int__getActiveUniforms, - __void__setActiveUniforms__int); - I_SimpleProperty(osg::Camera *, Camera, - __osg_Camera_P1__getCamera, - 0); - I_SimpleProperty(const osg::Vec4 &, ClearColor, - __C5_osg_Vec4_R1__getClearColor, - __void__setClearColor__C5_osg_Vec4_R1); - I_SimpleProperty(osg::CollectOccludersVisitor *, CollectOccludersVisitor, - __osg_CollectOccludersVisitor_P1__getCollectOccludersVisitor, - __void__setCollectOccludersVisitor__osg_CollectOccludersVisitor_P1); - I_SimpleProperty(osgUtil::SceneView::ComputeStereoMatricesCallback *, ComputeStereoMatricesCallback, - __ComputeStereoMatricesCallback_P1__getComputeStereoMatricesCallback, - __void__setComputeStereoMatricesCallback__ComputeStereoMatricesCallback_P1); - I_SimpleProperty(osgUtil::CullVisitor *, CullVisitor, - __osgUtil_CullVisitor_P1__getCullVisitor, - __void__setCullVisitor__osgUtil_CullVisitor_P1); - I_SimpleProperty(osgUtil::CullVisitor *, CullVisitorLeft, - __osgUtil_CullVisitor_P1__getCullVisitorLeft, - __void__setCullVisitorLeft__osgUtil_CullVisitor_P1); - I_SimpleProperty(osgUtil::CullVisitor *, CullVisitorRight, - __osgUtil_CullVisitor_P1__getCullVisitorRight, - __void__setCullVisitorRight__osgUtil_CullVisitor_P1); - I_SimpleProperty(unsigned int, Defaults, - 0, - __void__setDefaults__unsigned_int); - I_SimpleProperty(osg::DisplaySettings *, DisplaySettings, - __osg_DisplaySettings_P1__getDisplaySettings, - __void__setDisplaySettings__osg_DisplaySettings_P1); - I_SimpleProperty(GLenum, DrawBufferValue, - __GLenum__getDrawBufferValue, - __void__setDrawBufferValue__GLenum); - I_SimpleProperty(unsigned int, DynamicObjectCount, - __unsigned_int__getDynamicObjectCount, - 0); - I_SimpleProperty(osg::FrameStamp *, FrameStamp, - 0, - __void__setFrameStamp__osg_FrameStamp_P1); - I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode, - __FusionDistanceMode__getFusionDistanceMode, - 0); - I_SimpleProperty(float, FusionDistanceValue, - __float__getFusionDistanceValue, - 0); - I_SimpleProperty(osg::StateSet *, GlobalStateSet, - __osg_StateSet_P1__getGlobalStateSet, - __void__setGlobalStateSet__osg_StateSet_P1); - I_SimpleProperty(osg::NodeVisitor *, InitVisitor, - __osg_NodeVisitor_P1__getInitVisitor, - __void__setInitVisitor__osg_NodeVisitor_P1); - I_SimpleProperty(osg::Light *, Light, - __osg_Light_P1__getLight, - __void__setLight__osg_Light_P1); - I_SimpleProperty(osgUtil::SceneView::LightingMode, LightingMode, - __LightingMode__getLightingMode, - __void__setLightingMode__LightingMode); - I_SimpleProperty(osg::StateSet *, LocalStateSet, - __osg_StateSet_P1__getLocalStateSet, - __void__setLocalStateSet__osg_StateSet_P1); - I_SimpleProperty(bool, PrioritizeTextures, - __bool__getPrioritizeTextures, - __void__setPrioritizeTextures__bool); - I_SimpleProperty(const osg::Matrixd &, ProjectionMatrix, - __C5_osg_Matrixd_R1__getProjectionMatrix, - __void__setProjectionMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(bool, RedrawInterlacedStereoStencilMask, - __bool__getRedrawInterlacedStereoStencilMask, - __void__setRedrawInterlacedStereoStencilMask__bool); - I_SimpleProperty(osg::RenderInfo &, RenderInfo, - __osg_RenderInfo_R1__getRenderInfo, - __void__setRenderInfo__osg_RenderInfo_R1); - I_SimpleProperty(osgUtil::RenderStage *, RenderStage, - __osgUtil_RenderStage_P1__getRenderStage, - __void__setRenderStage__osgUtil_RenderStage_P1); - I_SimpleProperty(osgUtil::RenderStage *, RenderStageLeft, - __osgUtil_RenderStage_P1__getRenderStageLeft, - __void__setRenderStageLeft__osgUtil_RenderStage_P1); - I_SimpleProperty(osgUtil::RenderStage *, RenderStageRight, - __osgUtil_RenderStage_P1__getRenderStageRight, - __void__setRenderStageRight__osgUtil_RenderStage_P1); - I_ArrayProperty(const osg::Node *, SceneData, - __C5_osg_Node_P1__getSceneData__unsigned_int, - 0, - __unsigned_int__getNumSceneData, - 0, - 0, - 0); - I_SimpleProperty(osg::StateSet *, SecondaryStateSet, - __osg_StateSet_P1__getSecondaryStateSet, - __void__setSecondaryStateSet__osg_StateSet_P1); - I_SimpleProperty(osg::State *, State, - __osg_State_P1__getState, - __void__setState__osg_State_P1); - I_SimpleProperty(osgUtil::StateGraph *, StateGraph, - __osgUtil_StateGraph_P1__getStateGraph, - __void__setStateGraph__osgUtil_StateGraph_P1); - I_SimpleProperty(osgUtil::StateGraph *, StateGraphLeft, - __osgUtil_StateGraph_P1__getStateGraphLeft, - __void__setStateGraphLeft__osgUtil_StateGraph_P1); - I_SimpleProperty(osgUtil::StateGraph *, StateGraphRight, - __osgUtil_StateGraph_P1__getStateGraphRight, - __void__setStateGraphRight__osgUtil_StateGraph_P1); - I_SimpleProperty(osg::NodeVisitor *, UpdateVisitor, - __osg_NodeVisitor_P1__getUpdateVisitor, - __void__setUpdateVisitor__osg_NodeVisitor_P1); - I_SimpleProperty(osg::View *, View, - __osg_View_P1__getView, - __void__setView__osg_View_P1); - I_SimpleProperty(const osg::Matrixd &, ViewMatrix, - __C5_osg_Matrixd_R1__getViewMatrix, - __void__setViewMatrix__C5_osg_Matrixd_R1); - I_SimpleProperty(osg::Viewport *, Viewport, - __osg_Viewport_P1__getViewport, - __void__setViewport__osg_Viewport_P1); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::SceneView::ComputeStereoMatricesCallback) - I_DeclaringFile("osgUtil/SceneView"); - I_BaseType(osg::Referenced); - I_Constructor0(____ComputeStereoMatricesCallback, - "", - ""); - I_Method1(osg::Matrixd, computeLeftEyeProjection, IN, const osg::Matrixd &, projection, - Properties::PURE_VIRTUAL, - __osg_Matrixd__computeLeftEyeProjection__C5_osg_Matrixd_R1, - "", - ""); - I_Method1(osg::Matrixd, computeLeftEyeView, IN, const osg::Matrixd &, view, - Properties::PURE_VIRTUAL, - __osg_Matrixd__computeLeftEyeView__C5_osg_Matrixd_R1, - "", - ""); - I_Method1(osg::Matrixd, computeRightEyeProjection, IN, const osg::Matrixd &, projection, - Properties::PURE_VIRTUAL, - __osg_Matrixd__computeRightEyeProjection__C5_osg_Matrixd_R1, - "", - ""); - I_Method1(osg::Matrixd, computeRightEyeView, IN, const osg::Matrixd &, view, - Properties::PURE_VIRTUAL, - __osg_Matrixd__computeRightEyeView__C5_osg_Matrixd_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/ShaderGen.cpp b/src/osgWrappers/introspection/osgUtil/ShaderGen.cpp deleted file mode 100644 index 211ee91c5..000000000 --- a/src/osgWrappers/introspection/osgUtil/ShaderGen.cpp +++ /dev/null @@ -1,133 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgUtil::ShaderGenCache::StateMask) - I_DeclaringFile("osgUtil/ShaderGen"); - I_EnumLabel(osgUtil::ShaderGenCache::BLEND); - I_EnumLabel(osgUtil::ShaderGenCache::LIGHTING); - I_EnumLabel(osgUtil::ShaderGenCache::FOG); - I_EnumLabel(osgUtil::ShaderGenCache::DIFFUSE_MAP); - I_EnumLabel(osgUtil::ShaderGenCache::NORMAL_MAP); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< int COMMA osg::ref_ptr< osg::StateSet > >, osgUtil::ShaderGenCache::StateSetMap) - -BEGIN_OBJECT_REFLECTOR(osgUtil::ShaderGenCache) - I_DeclaringFile("osgUtil/ShaderGen"); - I_BaseType(osg::Referenced); - I_Constructor0(____ShaderGenCache, - "", - ""); - I_Method2(void, setStateSet, IN, int, stateMask, IN, osg::StateSet *, program, - Properties::NON_VIRTUAL, - __void__setStateSet__int__osg_StateSet_P1, - "", - ""); - I_Method1(osg::StateSet *, getStateSet, IN, int, stateMask, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getStateSet__int, - "", - ""); - I_Method1(osg::StateSet *, getOrCreateStateSet, IN, int, stateMask, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getOrCreateStateSet__int, - "", - ""); - I_ProtectedMethod1(osg::StateSet *, createStateSet, IN, int, stateMask, - Properties::NON_VIRTUAL, - Properties::CONST, - __osg_StateSet_P1__createStateSet__int, - "", - ""); - I_IndexedProperty(osg::StateSet *, StateSet, - __osg_StateSet_P1__getStateSet__int, - __void__setStateSet__int__osg_StateSet_P1, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::ShaderGenVisitor) - I_DeclaringFile("osgUtil/ShaderGen"); - I_BaseType(osg::NodeVisitor); - I_Constructor0(____ShaderGenVisitor, - "", - ""); - I_Constructor1(IN, osgUtil::ShaderGenCache *, stateCache, - Properties::NON_EXPLICIT, - ____ShaderGenVisitor__ShaderGenCache_P1, - "", - ""); - I_Method1(void, setStateCache, IN, osgUtil::ShaderGenCache *, stateCache, - Properties::NON_VIRTUAL, - __void__setStateCache__ShaderGenCache_P1, - "", - ""); - I_Method0(osgUtil::ShaderGenCache *, getStateCache, - Properties::NON_VIRTUAL, - __ShaderGenCache_P1__getStateCache, - "", - ""); - I_Method1(void, setRootStateSet, IN, osg::StateSet *, stateSet, - Properties::NON_VIRTUAL, - __void__setRootStateSet__osg_StateSet_P1, - "Top level state set applied as the first one. ", - ""); - I_Method0(osg::StateSet *, getRootStateSet, - Properties::NON_VIRTUAL, - __osg_StateSet_P1__getRootStateSet, - "", - ""); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_ProtectedMethod1(void, update, IN, osg::Drawable *, drawable, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__update__osg_Drawable_P1, - "", - ""); - I_SimpleProperty(osg::StateSet *, RootStateSet, - __osg_StateSet_P1__getRootStateSet, - __void__setRootStateSet__osg_StateSet_P1); - I_SimpleProperty(osgUtil::ShaderGenCache *, StateCache, - __ShaderGenCache_P1__getStateCache, - __void__setStateCache__ShaderGenCache_P1); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< int COMMA osg::ref_ptr< osg::StateSet > >) - diff --git a/src/osgWrappers/introspection/osgUtil/Simplifier.cpp b/src/osgWrappers/introspection/osgUtil/Simplifier.cpp deleted file mode 100644 index c39dbada0..000000000 --- a/src/osgWrappers/introspection/osgUtil/Simplifier.cpp +++ /dev/null @@ -1,168 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< unsigned int >, osgUtil::Simplifier::IndexList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier) - I_DeclaringFile("osgUtil/Simplifier"); - I_BaseType(osg::NodeVisitor); - I_ConstructorWithDefaults3(IN, double, sampleRatio, 1.0, IN, double, maximumError, FLT_MAX, IN, double, maximumLength, 0.0, - ____Simplifier__double__double__double, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method1(void, setSampleRatio, IN, float, sampleRatio, - Properties::NON_VIRTUAL, - __void__setSampleRatio__float, - "", - ""); - I_Method0(float, getSampleRatio, - Properties::NON_VIRTUAL, - __float__getSampleRatio, - "", - ""); - I_Method1(void, setMaximumError, IN, float, error, - Properties::NON_VIRTUAL, - __void__setMaximumError__float, - "Set the maximum point error that all point removals must be less than to permit removal of a point. ", - "Note, Only used when down sampling. i.e. sampleRatio < 1.0 "); - I_Method0(float, getMaximumError, - Properties::NON_VIRTUAL, - __float__getMaximumError, - "", - ""); - I_Method1(void, setMaximumLength, IN, float, length, - Properties::NON_VIRTUAL, - __void__setMaximumLength__float, - "Set the maximum length target that all edges must be shorted than. ", - "Note, Only used when up sampling i.e. sampleRatio > 1.0. "); - I_Method0(float, getMaximumLength, - Properties::NON_VIRTUAL, - __float__getMaximumLength, - "", - ""); - I_Method1(void, setDoTriStrip, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setDoTriStrip__bool, - "", - ""); - I_Method0(bool, getDoTriStrip, - Properties::NON_VIRTUAL, - __bool__getDoTriStrip, - "", - ""); - I_Method1(void, setSmoothing, IN, bool, on, - Properties::NON_VIRTUAL, - __void__setSmoothing__bool, - "", - ""); - I_Method0(bool, getSmoothing, - Properties::NON_VIRTUAL, - __bool__getSmoothing, - "", - ""); - I_Method1(void, setContinueSimplificationCallback, IN, osgUtil::Simplifier::ContinueSimplificationCallback *, cb, - Properties::NON_VIRTUAL, - __void__setContinueSimplificationCallback__ContinueSimplificationCallback_P1, - "", - ""); - I_Method0(osgUtil::Simplifier::ContinueSimplificationCallback *, getContinueSimplificationCallback, - Properties::NON_VIRTUAL, - __ContinueSimplificationCallback_P1__getContinueSimplificationCallback, - "", - ""); - I_Method0(const osgUtil::Simplifier::ContinueSimplificationCallback *, getContinueSimplificationCallback, - Properties::NON_VIRTUAL, - __C5_ContinueSimplificationCallback_P1__getContinueSimplificationCallback, - "", - ""); - I_Method3(bool, continueSimplification, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives, - Properties::NON_VIRTUAL, - __bool__continueSimplification__float__unsigned_int__unsigned_int, - "", - ""); - I_Method3(bool, continueSimplificationImplementation, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives, - Properties::VIRTUAL, - __bool__continueSimplificationImplementation__float__unsigned_int__unsigned_int, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, simplify, IN, osg::Geometry &, geometry, - Properties::NON_VIRTUAL, - __void__simplify__osg_Geometry_R1, - "simply the geometry. ", - ""); - I_Method2(void, simplify, IN, osg::Geometry &, geometry, IN, const osgUtil::Simplifier::IndexList &, protectedPoints, - Properties::NON_VIRTUAL, - __void__simplify__osg_Geometry_R1__C5_IndexList_R1, - "a list of point indices ", - "simply the geometry, whilst protecting key points from being modified. "); - I_SimpleProperty(osgUtil::Simplifier::ContinueSimplificationCallback *, ContinueSimplificationCallback, - __ContinueSimplificationCallback_P1__getContinueSimplificationCallback, - __void__setContinueSimplificationCallback__ContinueSimplificationCallback_P1); - I_SimpleProperty(bool, DoTriStrip, - __bool__getDoTriStrip, - __void__setDoTriStrip__bool); - I_SimpleProperty(float, MaximumError, - __float__getMaximumError, - __void__setMaximumError__float); - I_SimpleProperty(float, MaximumLength, - __float__getMaximumLength, - __void__setMaximumLength__float); - I_SimpleProperty(float, SampleRatio, - __float__getSampleRatio, - __void__setSampleRatio__float); - I_SimpleProperty(bool, Smoothing, - __bool__getSmoothing, - __void__setSmoothing__bool); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier::ContinueSimplificationCallback) - I_DeclaringFile("osgUtil/Simplifier"); - I_BaseType(osg::Referenced); - I_Constructor0(____ContinueSimplificationCallback, - "", - ""); - I_Method4(bool, continueSimplification, IN, const osgUtil::Simplifier &, simplifier, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives, - Properties::VIRTUAL, - __bool__continueSimplification__C5_Simplifier_R1__float__unsigned_int__unsigned_int, - "return true if mesh should be continued to be simplified, return false to stop simplification. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/SmoothingVisitor.cpp b/src/osgWrappers/introspection/osgUtil/SmoothingVisitor.cpp deleted file mode 100644 index 0f88ff11f..000000000 --- a/src/osgWrappers/introspection/osgUtil/SmoothingVisitor.cpp +++ /dev/null @@ -1,43 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::SmoothingVisitor) - I_DeclaringFile("osgUtil/SmoothingVisitor"); - I_BaseType(osg::NodeVisitor); - I_Constructor0(____SmoothingVisitor, - "default to traversing all children. ", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "apply smoothing method to all geode geosets. ", - ""); - I_StaticMethod1(void, smooth, IN, osg::Geometry &, geoset, - __void__smooth__osg_Geometry_R1_S, - "smooth geoset by creating per vertex normals. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/StateGraph.cpp b/src/osgWrappers/introspection/osgUtil/StateGraph.cpp deleted file mode 100644 index bea7955e4..000000000 --- a/src/osgWrappers/introspection/osgUtil/StateGraph.cpp +++ /dev/null @@ -1,252 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgUtil::LessDepthSortFunctor) - I_DeclaringFile("osgUtil/StateGraph"); - I_Constructor0(____LessDepthSortFunctor, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< const osg::StateSet * COMMA osg::ref_ptr< osgUtil::StateGraph > >, osgUtil::StateGraph::ChildList) - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::RenderLeaf > >, osgUtil::StateGraph::LeafList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::StateGraph) - I_DeclaringFile("osgUtil/StateGraph"); - I_BaseType(osg::Referenced); - I_Constructor0(____StateGraph, - "", - ""); - I_Constructor2(IN, osgUtil::StateGraph *, parent, IN, const osg::StateSet *, stateset, - ____StateGraph__StateGraph_P1__C5_osg_StateSet_P1, - "", - ""); - I_Method0(osgUtil::StateGraph *, cloneType, - Properties::NON_VIRTUAL, - __StateGraph_P1__cloneType, - "", - ""); - I_Method1(void, setUserData, IN, osg::Referenced *, obj, - Properties::NON_VIRTUAL, - __void__setUserData__osg_Referenced_P1, - "", - ""); - I_Method0(osg::Referenced *, getUserData, - Properties::NON_VIRTUAL, - __osg_Referenced_P1__getUserData, - "", - ""); - I_Method0(const osg::Referenced *, getUserData, - Properties::NON_VIRTUAL, - __C5_osg_Referenced_P1__getUserData, - "", - ""); - I_Method0(const osg::StateSet *, getStateSet, - Properties::NON_VIRTUAL, - __C5_osg_StateSet_P1__getStateSet, - "", - ""); - I_Method0(bool, empty, - Properties::NON_VIRTUAL, - __bool__empty, - "return true if all of drawables, lights and children are empty. ", - ""); - I_Method0(bool, leaves_empty, - Properties::NON_VIRTUAL, - __bool__leaves_empty, - "", - ""); - I_Method0(float, getAverageDistance, - Properties::NON_VIRTUAL, - __float__getAverageDistance, - "", - ""); - I_Method0(float, getMinimumDistance, - Properties::NON_VIRTUAL, - __float__getMinimumDistance, - "", - ""); - I_Method0(void, sortFrontToBack, - Properties::NON_VIRTUAL, - __void__sortFrontToBack, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "Reset the internal contents of a StateGraph, including deleting all children. ", - ""); - I_Method0(void, clean, - Properties::NON_VIRTUAL, - __void__clean, - "Recursively clean the StateGraph of all its drawables, lights and depths. ", - "Leaves children intact, and ready to be populated again. "); - I_Method0(void, prune, - Properties::NON_VIRTUAL, - __void__prune, - "Recursively prune the StateGraph of empty children. ", - ""); - I_Method1(osgUtil::StateGraph *, find_or_insert, IN, const osg::StateSet *, stateset, - Properties::NON_VIRTUAL, - __StateGraph_P1__find_or_insert__C5_osg_StateSet_P1, - "", - ""); - I_Method1(void, addLeaf, IN, osgUtil::RenderLeaf *, leaf, - Properties::NON_VIRTUAL, - __void__addLeaf__RenderLeaf_P1, - "add a render leaf. ", - ""); - I_StaticMethod3(void, moveStateGraph, IN, osg::State &, state, IN, osgUtil::StateGraph *, sg_curr, IN, osgUtil::StateGraph *, sg_new, - __void__moveStateGraph__osg_State_R1__StateGraph_P1__StateGraph_P1_S, - "", - ""); - I_StaticMethod2(void, moveToRootStateGraph, IN, osg::State &, state, IN, osgUtil::StateGraph *, sg_curr, - __void__moveToRootStateGraph__osg_State_R1__StateGraph_P1_S, - "", - ""); - I_StaticMethod1(int, numToPop, IN, osgUtil::StateGraph *, sg_curr, - __int__numToPop__StateGraph_P1_S, - "", - ""); - I_SimpleProperty(float, AverageDistance, - __float__getAverageDistance, - 0); - I_SimpleProperty(float, MinimumDistance, - __float__getMinimumDistance, - 0); - I_SimpleProperty(const osg::StateSet *, StateSet, - __C5_osg_StateSet_P1__getStateSet, - 0); - I_SimpleProperty(osg::Referenced *, UserData, - __osg_Referenced_P1__getUserData, - __void__setUserData__osg_Referenced_P1); - I_PublicMemberProperty(osgUtil::StateGraph *, _parent); - I_PublicMemberProperty(int, _depth); - I_PublicMemberProperty(osgUtil::StateGraph::ChildList, _children); - I_PublicMemberProperty(osgUtil::StateGraph::LeafList, _leaves); - I_PublicMemberProperty(float, _averageDistance); - I_PublicMemberProperty(float, _minimumDistance); - I_PublicMemberProperty(osg::ref_ptr< osg::Referenced >, _userData); - I_PublicMemberProperty(bool, _dynamic); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::RenderLeaf >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::RenderLeaf *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::RenderLeaf > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::RenderLeaf > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::RenderLeaf *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::RenderLeaf *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::RenderLeaf > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::RenderLeaf *, , - __T_P1__get, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::StateGraph >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::StateGraph *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::StateGraph > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::StateGraph > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::StateGraph *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::StateGraph *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::StateGraph > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::StateGraph *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< const osg::StateSet * COMMA osg::ref_ptr< osgUtil::StateGraph > >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgUtil::RenderLeaf > >) - diff --git a/src/osgWrappers/introspection/osgUtil/Statistics.cpp b/src/osgWrappers/introspection/osgUtil/Statistics.cpp deleted file mode 100644 index f853ace40..000000000 --- a/src/osgWrappers/introspection/osgUtil/Statistics.cpp +++ /dev/null @@ -1,373 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgUtil::Statistics::StatsType) - I_DeclaringFile("osgUtil/Statistics"); - I_EnumLabel(osgUtil::Statistics::STAT_NONE); - I_EnumLabel(osgUtil::Statistics::STAT_FRAMERATE); - I_EnumLabel(osgUtil::Statistics::STAT_GRAPHS); - I_EnumLabel(osgUtil::Statistics::STAT_PRIMS); - I_EnumLabel(osgUtil::Statistics::STAT_PRIMSPERVIEW); - I_EnumLabel(osgUtil::Statistics::STAT_PRIMSPERBIN); - I_EnumLabel(osgUtil::Statistics::STAT_DC); - I_EnumLabel(osgUtil::Statistics::STAT_RESTART); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::pair< unsigned int COMMA unsigned int >, osgUtil::Statistics::PrimitivePair) - -TYPE_NAME_ALIAS(std::map< GLenum COMMA osgUtil::Statistics::PrimitivePair >, osgUtil::Statistics::PrimitiveValueMap) - -TYPE_NAME_ALIAS(std::map< GLenum COMMA unsigned int >, osgUtil::Statistics::PrimitiveCountMap) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Statistics) - I_DeclaringFile("osgUtil/Statistics"); - I_BaseType(osg::PrimitiveFunctor); - I_Constructor0(____Statistics, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method1(void, setType, IN, osgUtil::Statistics::StatsType, t, - Properties::NON_VIRTUAL, - __void__setType__StatsType, - "", - ""); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices, - Properties::VIRTUAL, - __void__setVertexArray__unsigned_int__C5_osg_Vec3_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, vertices, - Properties::VIRTUAL, - __void__setVertexArray__unsigned_int__C5_osg_Vec2_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices, - Properties::VIRTUAL, - __void__setVertexArray__unsigned_int__C5_osg_Vec4_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3d *, vertices, - Properties::VIRTUAL, - __void__setVertexArray__unsigned_int__C5_osg_Vec3d_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2d *, vertices, - Properties::VIRTUAL, - __void__setVertexArray__unsigned_int__C5_osg_Vec2d_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4d *, vertices, - Properties::VIRTUAL, - __void__setVertexArray__unsigned_int__C5_osg_Vec4d_P1, - "Sets the array of vertices used to describe the primitives. ", - "Somehow mimics the OpenGL glVertexPointer() function. "); - I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, - Properties::VIRTUAL, - __void__drawArrays__GLenum__GLint__GLsizei, - "Mimics the OpenGL glDrawArrays() function. ", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices, - Properties::VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLubyte_P1, - "Mimics the OpenGL glDrawElements() function. ", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices, - Properties::VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLushort_P1, - "Mimics the OpenGL glDrawElements() function. ", - ""); - I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices, - Properties::VIRTUAL, - __void__drawElements__GLenum__GLsizei__C5_GLuint_P1, - "Mimics the OpenGL glDrawElements() function. ", - ""); - I_Method1(void, begin, IN, GLenum, mode, - Properties::VIRTUAL, - __void__begin__GLenum, - "Mimics the OpenGL glBegin() function. ", - ""); - I_Method0(void, vertex, - Properties::NON_VIRTUAL, - __void__vertex, - "", - ""); - I_Method3(void, vertex, IN, float, x, IN, float, y, IN, float, z, - Properties::VIRTUAL, - __void__vertex__float__float__float, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method1(void, vertex, IN, const osg::Vec3 &, vert, - Properties::VIRTUAL, - __void__vertex__C5_osg_Vec3_R1, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method1(void, vertex, IN, const osg::Vec2 &, vert, - Properties::VIRTUAL, - __void__vertex__C5_osg_Vec2_R1, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method1(void, vertex, IN, const osg::Vec4 &, vert, - Properties::VIRTUAL, - __void__vertex__C5_osg_Vec4_R1, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method2(void, vertex, IN, float, x, IN, float, y, - Properties::VIRTUAL, - __void__vertex__float__float, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method4(void, vertex, IN, float, x, IN, float, y, IN, float, z, IN, float, w, - Properties::VIRTUAL, - __void__vertex__float__float__float__float, - "Mimics the OpenGL glVertex() \"family of functions\". ", - ""); - I_Method0(void, end, - Properties::VIRTUAL, - __void__end, - "Mimics the OpenGL glEnd() function. ", - ""); - I_Method0(void, addDrawable, - Properties::NON_VIRTUAL, - __void__addDrawable, - "", - ""); - I_Method0(void, addMatrix, - Properties::NON_VIRTUAL, - __void__addMatrix, - "", - ""); - I_Method1(void, addLight, IN, int, np, - Properties::NON_VIRTUAL, - __void__addLight__int, - "", - ""); - I_Method1(void, addImpostor, IN, int, np, - Properties::NON_VIRTUAL, - __void__addImpostor__int, - "", - ""); - I_Method0(int, getBins, - Properties::NON_VIRTUAL, - __int__getBins, - "", - ""); - I_Method1(void, setDepth, IN, int, d, - Properties::NON_VIRTUAL, - __void__setDepth__int, - "", - ""); - I_Method1(void, addBins, IN, int, np, - Properties::NON_VIRTUAL, - __void__addBins__int, - "", - ""); - I_Method1(void, setBinNo, IN, int, n, - Properties::NON_VIRTUAL, - __void__setBinNo__int, - "", - ""); - I_Method1(void, addStateGraphs, IN, int, n, - Properties::NON_VIRTUAL, - __void__addStateGraphs__int, - "", - ""); - I_Method1(void, addOrderedLeaves, IN, int, n, - Properties::NON_VIRTUAL, - __void__addOrderedLeaves__int, - "", - ""); - I_Method1(void, add, IN, const osgUtil::Statistics &, stats, - Properties::NON_VIRTUAL, - __void__add__C5_Statistics_R1, - "", - ""); - I_Method0(osgUtil::Statistics::PrimitiveCountMap &, getPrimitiveCountMap, - Properties::NON_VIRTUAL, - __PrimitiveCountMap_R1__getPrimitiveCountMap, - "", - ""); - I_Method0(const osgUtil::Statistics::PrimitiveCountMap &, getPrimitiveCountMap, - Properties::NON_VIRTUAL, - __C5_PrimitiveCountMap_R1__getPrimitiveCountMap, - "", - ""); - I_Method0(osgUtil::Statistics::PrimitiveCountMap::iterator, GetPrimitivesBegin, - Properties::NON_VIRTUAL, - __PrimitiveCountMap_iterator__GetPrimitivesBegin, - "deprecated ", - ""); - I_Method0(osgUtil::Statistics::PrimitiveCountMap::iterator, GetPrimitivesEnd, - Properties::NON_VIRTUAL, - __PrimitiveCountMap_iterator__GetPrimitivesEnd, - "deprecated ", - ""); - I_SimpleProperty(int, BinNo, - 0, - __void__setBinNo__int); - I_SimpleProperty(int, Bins, - __int__getBins, - 0); - I_SimpleProperty(int, Depth, - 0, - __void__setDepth__int); - I_SimpleProperty(osgUtil::Statistics::PrimitiveCountMap &, PrimitiveCountMap, - __PrimitiveCountMap_R1__getPrimitiveCountMap, - 0); - I_SimpleProperty(osgUtil::Statistics::StatsType, Type, - 0, - __void__setType__StatsType); - I_PublicMemberProperty(int, numDrawables); - I_PublicMemberProperty(int, nummat); - I_PublicMemberProperty(int, nbins); - I_PublicMemberProperty(int, numStateGraphs); - I_PublicMemberProperty(int, nlights); - I_PublicMemberProperty(int, depth); - I_PublicMemberProperty(int, _binNo); - I_PublicMemberProperty(osgUtil::Statistics::StatsType, stattype); - I_PublicMemberProperty(int, nimpostor); - I_PublicMemberProperty(int, numOrderedLeaves); - I_PublicMemberProperty(unsigned int, _vertexCount); - I_PublicMemberProperty(osgUtil::Statistics::PrimitiveValueMap, _primitiveCount); - I_PublicMemberProperty(GLenum, _currentPrimitiveFunctorMode); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::set< osg::Node * >, osgUtil::StatsVisitor::NodeSet) - -TYPE_NAME_ALIAS(std::set< osg::Drawable * >, osgUtil::StatsVisitor::DrawableSet) - -TYPE_NAME_ALIAS(std::set< osg::StateSet * >, osgUtil::StatsVisitor::StateSetSet) - -BEGIN_OBJECT_REFLECTOR(osgUtil::StatsVisitor) - I_DeclaringFile("osgUtil/Statistics"); - I_BaseType(osg::NodeVisitor); - I_Constructor0(____StatsVisitor, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Group &, node, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, node, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LOD &, node, - Properties::VIRTUAL, - __void__apply__osg_LOD_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Switch &, node, - Properties::VIRTUAL, - __void__apply__osg_Switch_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Geode &, node, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Drawable &, drawable, - Properties::NON_VIRTUAL, - __void__apply__osg_Drawable_R1, - "", - ""); - I_Method0(void, totalUpStats, - Properties::NON_VIRTUAL, - __void__totalUpStats, - "", - ""); - I_Method1(void, print, IN, std::ostream &, out, - Properties::NON_VIRTUAL, - __void__print__std_ostream_R1, - "", - ""); - I_PublicMemberProperty(unsigned int, _numInstancedGroup); - I_PublicMemberProperty(unsigned int, _numInstancedSwitch); - I_PublicMemberProperty(unsigned int, _numInstancedLOD); - I_PublicMemberProperty(unsigned int, _numInstancedTransform); - I_PublicMemberProperty(unsigned int, _numInstancedGeode); - I_PublicMemberProperty(unsigned int, _numInstancedDrawable); - I_PublicMemberProperty(unsigned int, _numInstancedGeometry); - I_PublicMemberProperty(unsigned int, _numInstancedFastGeometry); - I_PublicMemberProperty(unsigned int, _numInstancedStateSet); - I_PublicMemberProperty(osgUtil::StatsVisitor::NodeSet, _groupSet); - I_PublicMemberProperty(osgUtil::StatsVisitor::NodeSet, _transformSet); - I_PublicMemberProperty(osgUtil::StatsVisitor::NodeSet, _lodSet); - I_PublicMemberProperty(osgUtil::StatsVisitor::NodeSet, _switchSet); - I_PublicMemberProperty(osgUtil::StatsVisitor::NodeSet, _geodeSet); - I_PublicMemberProperty(osgUtil::StatsVisitor::DrawableSet, _drawableSet); - I_PublicMemberProperty(osgUtil::StatsVisitor::DrawableSet, _geometrySet); - I_PublicMemberProperty(osgUtil::StatsVisitor::DrawableSet, _fastGeometrySet); - I_PublicMemberProperty(osgUtil::StatsVisitor::StateSetSet, _statesetSet); - I_PublicMemberProperty(osgUtil::Statistics, _uniqueStats); - I_PublicMemberProperty(osgUtil::Statistics, _instancedStats); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< GLenum COMMA osgUtil::Statistics::PrimitivePair >) - -STD_MAP_REFLECTOR(std::map< GLenum COMMA unsigned int >) - -STD_SET_REFLECTOR(std::set< osg::Drawable * >) - -STD_SET_REFLECTOR(std::set< osg::StateSet * >) - diff --git a/src/osgWrappers/introspection/osgUtil/TangentSpaceGenerator.cpp b/src/osgWrappers/introspection/osgUtil/TangentSpaceGenerator.cpp deleted file mode 100644 index 9f8724e0a..000000000 --- a/src/osgWrappers/introspection/osgUtil/TangentSpaceGenerator.cpp +++ /dev/null @@ -1,112 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::TangentSpaceGenerator) - I_DeclaringFile("osgUtil/TangentSpaceGenerator"); - I_BaseType(osg::Referenced); - I_Constructor0(____TangentSpaceGenerator, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgUtil::TangentSpaceGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TangentSpaceGenerator__C5_TangentSpaceGenerator_R1__C5_osg_CopyOp_R1, - "", - ""); - I_MethodWithDefaults2(void, generate, IN, osg::Geometry *, geo, , IN, int, normal_map_tex_unit, 0, - Properties::NON_VIRTUAL, - __void__generate__osg_Geometry_P1__int, - "", - ""); - I_Method0(osg::Vec4Array *, getTangentArray, - Properties::NON_VIRTUAL, - __osg_Vec4Array_P1__getTangentArray, - "", - ""); - I_Method0(const osg::Vec4Array *, getTangentArray, - Properties::NON_VIRTUAL, - __C5_osg_Vec4Array_P1__getTangentArray, - "", - ""); - I_Method1(void, setTangentArray, IN, osg::Vec4Array *, array, - Properties::NON_VIRTUAL, - __void__setTangentArray__osg_Vec4Array_P1, - "", - ""); - I_Method0(osg::Vec4Array *, getNormalArray, - Properties::NON_VIRTUAL, - __osg_Vec4Array_P1__getNormalArray, - "", - ""); - I_Method0(const osg::Vec4Array *, getNormalArray, - Properties::NON_VIRTUAL, - __C5_osg_Vec4Array_P1__getNormalArray, - "", - ""); - I_Method1(void, setNormalArray, IN, osg::Vec4Array *, array, - Properties::NON_VIRTUAL, - __void__setNormalArray__osg_Vec4Array_P1, - "", - ""); - I_Method0(osg::Vec4Array *, getBinormalArray, - Properties::NON_VIRTUAL, - __osg_Vec4Array_P1__getBinormalArray, - "", - ""); - I_Method0(const osg::Vec4Array *, getBinormalArray, - Properties::NON_VIRTUAL, - __C5_osg_Vec4Array_P1__getBinormalArray, - "", - ""); - I_Method1(void, setBinormalArray, IN, osg::Vec4Array *, array, - Properties::NON_VIRTUAL, - __void__setBinormalArray__osg_Vec4Array_P1, - "", - ""); - I_Method0(osg::IndexArray *, getIndices, - Properties::NON_VIRTUAL, - __osg_IndexArray_P1__getIndices, - "", - ""); - I_ProtectedMethod7(void, compute, IN, osg::PrimitiveSet *, pset, IN, const osg::Array *, vx, IN, const osg::Array *, nx, IN, const osg::Array *, tx, IN, int, iA, IN, int, iB, IN, int, iC, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__compute__osg_PrimitiveSet_P1__C5_osg_Array_P1__C5_osg_Array_P1__C5_osg_Array_P1__int__int__int, - "", - ""); - I_SimpleProperty(osg::Vec4Array *, BinormalArray, - __osg_Vec4Array_P1__getBinormalArray, - __void__setBinormalArray__osg_Vec4Array_P1); - I_SimpleProperty(osg::IndexArray *, Indices, - __osg_IndexArray_P1__getIndices, - 0); - I_SimpleProperty(osg::Vec4Array *, NormalArray, - __osg_Vec4Array_P1__getNormalArray, - __void__setNormalArray__osg_Vec4Array_P1); - I_SimpleProperty(osg::Vec4Array *, TangentArray, - __osg_Vec4Array_P1__getTangentArray, - __void__setTangentArray__osg_Vec4Array_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/Tessellator.cpp b/src/osgWrappers/introspection/osgUtil/Tessellator.cpp deleted file mode 100644 index 4ab37751e..000000000 --- a/src/osgWrappers/introspection/osgUtil/Tessellator.cpp +++ /dev/null @@ -1,270 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgUtil::Tessellator::WindingType) - I_DeclaringFile("osgUtil/Tessellator"); - I_EnumLabel(osgUtil::Tessellator::TESS_WINDING_ODD); - I_EnumLabel(osgUtil::Tessellator::TESS_WINDING_NONZERO); - I_EnumLabel(osgUtil::Tessellator::TESS_WINDING_POSITIVE); - I_EnumLabel(osgUtil::Tessellator::TESS_WINDING_NEGATIVE); - I_EnumLabel(osgUtil::Tessellator::TESS_WINDING_ABS_GEQ_TWO); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgUtil::Tessellator::TessellationType) - I_DeclaringFile("osgUtil/Tessellator"); - I_EnumLabel(osgUtil::Tessellator::TESS_TYPE_GEOMETRY); - I_EnumLabel(osgUtil::Tessellator::TESS_TYPE_DRAWABLE); - I_EnumLabel(osgUtil::Tessellator::TESS_TYPE_POLYGONS); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::Vec3 * >, osgUtil::Tessellator::VertexPointList) - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::Tessellator::Prim > >, osgUtil::Tessellator::PrimList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Tessellator) - I_DeclaringFile("osgUtil/Tessellator"); - I_BaseType(osg::Referenced); - I_Constructor0(____Tessellator, - "", - ""); - I_Method1(void, setBoundaryOnly, IN, const bool, tt, - Properties::NON_VIRTUAL, - __void__setBoundaryOnly__C5_bool, - "Set and get tessellation request boundary only on/off. ", - ""); - I_Method0(bool, getBoundaryOnly, - Properties::NON_VIRTUAL, - __bool__getBoundaryOnly, - "", - ""); - I_Method1(void, setWindingType, IN, const osgUtil::Tessellator::WindingType, wt, - Properties::NON_VIRTUAL, - __void__setWindingType__C5_WindingType, - "Set and get tessellation windong rule. ", - ""); - I_Method0(osgUtil::Tessellator::WindingType, getWindingType, - Properties::NON_VIRTUAL, - __WindingType__getWindingType, - "", - ""); - I_Method1(void, setTessellationType, IN, const osgUtil::Tessellator::TessellationType, tt, - Properties::NON_VIRTUAL, - __void__setTessellationType__C5_TessellationType, - "Set and get tessellation type. ", - ""); - I_Method0(osgUtil::Tessellator::TessellationType, getTessellationType, - Properties::NON_VIRTUAL, - __TessellationType__getTessellationType, - "", - ""); - I_Method1(void, retessellatePolygons, IN, osg::Geometry &, cxgeom, - Properties::NON_VIRTUAL, - __void__retessellatePolygons__osg_Geometry_R1, - "Change the contours lists of the geometry into tessellated primitives (the list of primitives in the original geometry is stored in the Tessellator for possible re-use. ", - "The name remains retessellatePolygons although it now handles trifans, strips, quads etc. as well as Polygons so as to not break old codes relying on this function name. "); - I_Method1(void, setTessellationNormal, IN, const osg::Vec3, norm, - Properties::NON_VIRTUAL, - __void__setTessellationNormal__C5_osg_Vec3, - "Define the normal to the tessellated polygon - this provides a hint how to tessellate the contours; see gluTessNormal in red book or man pages. ", - "GWM July 2005. Can improve teselation \"For example, if you know that all polygons lie in the x-y plane, call gluTessNormal(tess, 0.0, 0.0, 1.0) before rendering any polygons.\" "); - I_Method0(osg::Geometry::PrimitiveSetList, getContours, - Properties::NON_VIRTUAL, - __osg_Geometry_PrimitiveSetList__getContours, - "", - ""); - I_Method0(void, beginTessellation, - Properties::NON_VIRTUAL, - __void__beginTessellation, - "", - ""); - I_Method0(void, beginContour, - Properties::NON_VIRTUAL, - __void__beginContour, - "", - ""); - I_Method1(void, addVertex, IN, osg::Vec3 *, vertex, - Properties::NON_VIRTUAL, - __void__addVertex__osg_Vec3_P1, - "", - ""); - I_Method0(void, endContour, - Properties::NON_VIRTUAL, - __void__endContour, - "", - ""); - I_Method0(void, endTessellation, - Properties::NON_VIRTUAL, - __void__endTessellation, - "", - ""); - I_Method0(osgUtil::Tessellator::PrimList &, getPrimList, - Properties::NON_VIRTUAL, - __PrimList_R1__getPrimList, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_ProtectedMethod2(void, reduceArray, IN, osg::Array *, cold, IN, const unsigned int, nnu, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__reduceArray__osg_Array_P1__C5_unsigned_int, - "remove unused parts of the array, eg for wehn retessellating tessellation can introduce extra vertices for concave or crossing boundaries, these will leak memory if not removed when retessellating. ", - ""); - I_ProtectedMethod2(void, collectTessellation, IN, osg::Geometry &, cxgeom, IN, unsigned int, originalIndex, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__collectTessellation__osg_Geometry_R1__unsigned_int, - "", - ""); - I_ProtectedMethod4(void, addContour, IN, GLenum, mode, IN, unsigned int, first, IN, unsigned int, last, IN, osg::Vec3Array *, vertices, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addContour__GLenum__unsigned_int__unsigned_int__osg_Vec3Array_P1, - "", - ""); - I_ProtectedMethod2(void, addContour, IN, osg::PrimitiveSet *, primitive, IN, osg::Vec3Array *, vertices, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addContour__osg_PrimitiveSet_P1__osg_Vec3Array_P1, - "", - ""); - - I_ProtectedMethod1(void, begin, IN, GLenum, mode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__begin__GLenum, - "", - ""); - I_ProtectedMethod1(void, vertex, IN, osg::Vec3 *, vertex, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__vertex__osg_Vec3_P1, - "", - ""); - I_ProtectedMethod3(void, combine, IN, osg::Vec3 *, vertex, IN, void *, vertex_data, IN, GLfloat, weight, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__combine__osg_Vec3_P1__void_P1__GLfloat, - "", - ""); - I_ProtectedMethod0(void, end, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__end, - "", - ""); - I_ProtectedMethod1(void, error, IN, GLenum, errorCode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__error__GLenum, - "", - ""); - I_SimpleProperty(bool, BoundaryOnly, - __bool__getBoundaryOnly, - 0); - I_SimpleProperty(osg::Geometry::PrimitiveSetList, Contours, - __osg_Geometry_PrimitiveSetList__getContours, - 0); - I_SimpleProperty(osgUtil::Tessellator::PrimList &, PrimList, - __PrimList_R1__getPrimList, - 0); - I_SimpleProperty(const osg::Vec3, TessellationNormal, - 0, - __void__setTessellationNormal__C5_osg_Vec3); - I_SimpleProperty(osgUtil::Tessellator::TessellationType, TessellationType, - __TessellationType__getTessellationType, - 0); - I_SimpleProperty(osgUtil::Tessellator::WindingType, WindingType, - __WindingType__getWindingType, - 0); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::Vec3 * >, osgUtil::Tessellator::Prim::VecList) - -BEGIN_OBJECT_REFLECTOR(osgUtil::Tessellator::Prim) - I_DeclaringFile("osgUtil/Tessellator"); - I_BaseType(osg::Referenced); - I_Constructor1(IN, GLenum, mode, - Properties::NON_EXPLICIT, - ____Prim__GLenum, - "", - ""); - I_PublicMemberProperty(GLenum, _mode); - I_PublicMemberProperty(osgUtil::Tessellator::Prim::VecList, _vertices); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::Tessellator::Prim >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgUtil::Tessellator::Prim *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgUtil::Tessellator::Prim > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgUtil::Tessellator::Prim > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgUtil::Tessellator::Prim *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgUtil::Tessellator::Prim *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::Tessellator::Prim > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgUtil::Tessellator::Prim *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::Vec3 * >) - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgUtil::Tessellator::Prim > >) - diff --git a/src/osgWrappers/introspection/osgUtil/TransformAttributeFunctor.cpp b/src/osgWrappers/introspection/osgUtil/TransformAttributeFunctor.cpp deleted file mode 100644 index 1adb7fe0b..000000000 --- a/src/osgWrappers/introspection/osgUtil/TransformAttributeFunctor.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::TransformAttributeFunctor) - I_DeclaringFile("osgUtil/TransformAttributeFunctor"); - I_BaseType(osg::Drawable::AttributeFunctor); - I_Constructor1(IN, const osg::Matrix &, m, - Properties::NON_EXPLICIT, - ____TransformAttributeFunctor__C5_osg_Matrix_R1, - "Construct a functor to transform a drawable's vertex and normal attributes by specified matrix. ", - ""); - I_Method3(void, apply, IN, osg::Drawable::AttributeType, type, IN, unsigned int, count, IN, osg::Vec3 *, begin, - Properties::VIRTUAL, - __void__apply__osg_Drawable_AttributeType__unsigned_int__osg_Vec3_P1, - "Do the work of transforming vertex and normal attributes. ", - ""); - I_PublicMemberProperty(osg::Matrix, _m); - I_PublicMemberProperty(osg::Matrix, _im); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/TransformCallback.cpp b/src/osgWrappers/introspection/osgUtil/TransformCallback.cpp deleted file mode 100644 index 3028085c0..000000000 --- a/src/osgWrappers/introspection/osgUtil/TransformCallback.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::TransformCallback) - I_DeclaringFile("osgUtil/TransformCallback"); - I_BaseType(osg::NodeCallback); - I_Constructor3(IN, const osg::Vec3 &, pivot, IN, const osg::Vec3 &, axis, IN, float, angularVelocity, - ____TransformCallback__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float, - "", - ""); - I_Method1(void, setPause, IN, bool, pause, - Properties::NON_VIRTUAL, - __void__setPause__bool, - "", - ""); - I_SimpleProperty(bool, Pause, - 0, - __void__setPause__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/TriStripVisitor.cpp b/src/osgWrappers/introspection/osgUtil/TriStripVisitor.cpp deleted file mode 100644 index 006613d1d..000000000 --- a/src/osgWrappers/introspection/osgUtil/TriStripVisitor.cpp +++ /dev/null @@ -1,91 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::TriStripVisitor) - I_DeclaringFile("osgUtil/TriStripVisitor"); - I_BaseType(osgUtil::BaseOptimizerVisitor); - I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0, - Properties::NON_EXPLICIT, - ____TriStripVisitor__Optimizer_P1, - "default to traversing all children. ", - ""); - I_Method1(void, stripify, IN, osg::Geometry &, drawable, - Properties::NON_VIRTUAL, - __void__stripify__osg_Geometry_R1, - "Convert mesh primitives in Geometry into Tri Strips. ", - "Converts all primitive types except points and lines, linestrips which it leaves unchanged. "); - I_Method0(void, stripify, - Properties::NON_VIRTUAL, - __void__stripify, - "Stripify (make into strips of tria or quads) the accumulated list of Geometry drawables. ", - ""); - I_Method1(void, apply, IN, osg::Geode &, geode, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "Accumulate the Geometry drawables to make into strips. ", - ""); - I_Method1(void, setCacheSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setCacheSize__unsigned_int, - "", - ""); - I_Method0(unsigned int, getCacheSize, - Properties::NON_VIRTUAL, - __unsigned_int__getCacheSize, - "", - ""); - I_Method1(void, setMinStripSize, IN, unsigned int, size, - Properties::NON_VIRTUAL, - __void__setMinStripSize__unsigned_int, - "", - ""); - I_Method0(unsigned int, getMinStripSize, - Properties::NON_VIRTUAL, - __unsigned_int__getMinStripSize, - "", - ""); - I_Method1(void, setGenerateFourPointPrimitivesQuads, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setGenerateFourPointPrimitivesQuads__bool, - "", - ""); - I_Method0(bool, getGenerateFourPointPrimitivesQuads, - Properties::NON_VIRTUAL, - __bool__getGenerateFourPointPrimitivesQuads, - "", - ""); - I_SimpleProperty(unsigned int, CacheSize, - __unsigned_int__getCacheSize, - __void__setCacheSize__unsigned_int); - I_SimpleProperty(bool, GenerateFourPointPrimitivesQuads, - __bool__getGenerateFourPointPrimitivesQuads, - __void__setGenerateFourPointPrimitivesQuads__bool); - I_SimpleProperty(unsigned int, MinStripSize, - __unsigned_int__getMinStripSize, - __void__setMinStripSize__unsigned_int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgUtil/UpdateVisitor.cpp b/src/osgWrappers/introspection/osgUtil/UpdateVisitor.cpp deleted file mode 100644 index 90cddc248..000000000 --- a/src/osgWrappers/introspection/osgUtil/UpdateVisitor.cpp +++ /dev/null @@ -1,125 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgUtil::UpdateVisitor) - I_DeclaringFile("osgUtil/UpdateVisitor"); - I_BaseType(osg::NodeVisitor); - I_Constructor0(____UpdateVisitor, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the library name/namespapce of the visitor's. ", - "Should be defined by derived classes. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the visitor's class type. ", - "Should be defined by derived classes. "); - I_Method0(void, reset, - Properties::VIRTUAL, - __void__reset, - "Method to call to reset visitor. ", - "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); - I_Method1(void, apply, IN, osg::Node &, node, - Properties::VIRTUAL, - __void__apply__osg_Node_R1, - "During traversal each type of node calls its callbacks and its children traversed. ", - ""); - I_Method1(void, apply, IN, osg::Geode &, node, - Properties::VIRTUAL, - __void__apply__osg_Geode_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Billboard &, node, - Properties::VIRTUAL, - __void__apply__osg_Billboard_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LightSource &, node, - Properties::VIRTUAL, - __void__apply__osg_LightSource_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Group &, node, - Properties::VIRTUAL, - __void__apply__osg_Group_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Transform &, node, - Properties::VIRTUAL, - __void__apply__osg_Transform_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Projection &, node, - Properties::VIRTUAL, - __void__apply__osg_Projection_R1, - "", - ""); - I_Method1(void, apply, IN, osg::Switch &, node, - Properties::VIRTUAL, - __void__apply__osg_Switch_R1, - "", - ""); - I_Method1(void, apply, IN, osg::LOD &, node, - Properties::VIRTUAL, - __void__apply__osg_LOD_R1, - "", - ""); - I_Method1(void, apply, IN, osg::OccluderNode &, node, - Properties::VIRTUAL, - __void__apply__osg_OccluderNode_R1, - "", - ""); - I_ProtectedMethod1(void, handle_callbacks, IN, osg::StateSet *, stateset, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handle_callbacks__osg_StateSet_P1, - "", - ""); - I_ProtectedMethod1(void, handle_callbacks_and_traverse, IN, osg::Node &, node, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handle_callbacks_and_traverse__osg_Node_R1, - "", - ""); - I_ProtectedMethod1(void, handle_geode_callbacks, IN, osg::Geode &, geode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__handle_geode_callbacks__osg_Geode_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgViewer/CompositeViewer.cpp b/src/osgWrappers/introspection/osgViewer/CompositeViewer.cpp deleted file mode 100644 index 6bfb11856..000000000 --- a/src/osgWrappers/introspection/osgViewer/CompositeViewer.cpp +++ /dev/null @@ -1,286 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgViewer::CompositeViewer) - I_DeclaringFile("osgViewer/CompositeViewer"); - I_BaseType(osgViewer::ViewerBase); - I_Constructor0(____CompositeViewer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgViewer::CompositeViewer &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____CompositeViewer__C5_CompositeViewer_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Constructor1(IN, osg::ArgumentParser &, arguments, - Properties::NON_EXPLICIT, - ____CompositeViewer__osg_ArgumentParser_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(bool, readConfiguration, IN, const std::string &, filename, - Properties::VIRTUAL, - __bool__readConfiguration__C5_std_string_R1, - "read the viewer configuration from a configuration file. ", - ""); - I_Method1(void, setViewerStats, IN, osg::Stats *, stats, - Properties::VIRTUAL, - __void__setViewerStats__osg_Stats_P1, - "Set the Stats object used for collect various frame related timing and scene graph stats. ", - ""); - I_Method0(osg::Stats *, getViewerStats, - Properties::VIRTUAL, - __osg_Stats_P1__getViewerStats, - "Get the Viewers Stats object. ", - ""); - I_Method0(const osg::Stats *, getViewerStats, - Properties::VIRTUAL, - __C5_osg_Stats_P1__getViewerStats, - "Get the Viewers Stats object. ", - ""); - I_Method1(void, addView, IN, osgViewer::View *, view, - Properties::NON_VIRTUAL, - __void__addView__osgViewer_View_P1, - "", - ""); - I_Method1(void, removeView, IN, osgViewer::View *, view, - Properties::NON_VIRTUAL, - __void__removeView__osgViewer_View_P1, - "", - ""); - I_Method1(osgViewer::View *, getView, IN, unsigned, i, - Properties::NON_VIRTUAL, - __osgViewer_View_P1__getView__unsigned, - "", - ""); - I_Method1(const osgViewer::View *, getView, IN, unsigned, i, - Properties::NON_VIRTUAL, - __C5_osgViewer_View_P1__getView__unsigned, - "", - ""); - I_Method0(unsigned int, getNumViews, - Properties::NON_VIRTUAL, - __unsigned_int__getNumViews, - "", - ""); - I_Method0(bool, isRealized, - Properties::VIRTUAL, - __bool__isRealized, - "Get whether at least of one of this viewers windows are realized. ", - ""); - I_Method0(void, realize, - Properties::VIRTUAL, - __void__realize, - "set up windows and associated threads. ", - ""); - I_Method1(void, setStartTick, IN, osg::Timer_t, tick, - Properties::VIRTUAL, - __void__setStartTick__osg_Timer_t, - "", - ""); - I_MethodWithDefaults1(void, setReferenceTime, IN, double, time, 0.0, - Properties::NON_VIRTUAL, - __void__setReferenceTime__double, - "", - ""); - I_Method0(osg::FrameStamp *, getFrameStamp, - Properties::NON_VIRTUAL, - __osg_FrameStamp_P1__getFrameStamp, - "", - ""); - I_Method0(const osg::FrameStamp *, getFrameStamp, - Properties::NON_VIRTUAL, - __C5_osg_FrameStamp_P1__getFrameStamp, - "", - ""); - I_Method0(double, elapsedTime, - Properties::VIRTUAL, - __double__elapsedTime, - "", - ""); - I_Method0(osg::FrameStamp *, getViewerFrameStamp, - Properties::VIRTUAL, - __osg_FrameStamp_P1__getViewerFrameStamp, - "", - ""); - I_Method0(int, run, - Properties::VIRTUAL, - __int__run, - "Execute a main frame loop. ", - "Equivalent to while (!viewer.done()) viewer.frame(); Also calls realize() if the viewer is not already realized, and installs trackball manipulator if one is not already assigned. "); - I_Method0(bool, checkNeedToDoFrame, - Properties::VIRTUAL, - __bool__checkNeedToDoFrame, - "check to see if the new frame is required, called by run(. ", - ".) when FrameScheme is set to ON_DEMAND. "); - I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME, - Properties::VIRTUAL, - __void__advance__double, - "", - ""); - I_Method0(void, eventTraversal, - Properties::VIRTUAL, - __void__eventTraversal, - "", - ""); - I_Method0(void, updateTraversal, - Properties::VIRTUAL, - __void__updateTraversal, - "", - ""); - I_Method1(void, setCameraWithFocus, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - __void__setCameraWithFocus__osg_Camera_P1, - "", - ""); - I_Method0(osg::Camera *, getCameraWithFocus, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCameraWithFocus, - "", - ""); - I_Method0(const osg::Camera *, getCameraWithFocus, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCameraWithFocus, - "", - ""); - I_Method0(osgViewer::View *, getViewWithFocus, - Properties::NON_VIRTUAL, - __osgViewer_View_P1__getViewWithFocus, - "", - ""); - I_Method0(const osgViewer::View *, getViewWithFocus, - Properties::NON_VIRTUAL, - __C5_osgViewer_View_P1__getViewWithFocus, - "", - ""); - I_MethodWithDefaults2(void, getCameras, IN, osgViewer::ViewerBase::Cameras &, cameras, , IN, bool, onlyActive, true, - Properties::VIRTUAL, - __void__getCameras__Cameras_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getContexts, IN, osgViewer::ViewerBase::Contexts &, contexts, , IN, bool, onlyValid, true, - Properties::VIRTUAL, - __void__getContexts__Contexts_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getAllThreads, IN, osgViewer::ViewerBase::Threads &, threads, , IN, bool, onlyActive, true, - Properties::VIRTUAL, - __void__getAllThreads__Threads_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getOperationThreads, IN, osgViewer::ViewerBase::OperationThreads &, threads, , IN, bool, onlyActive, true, - Properties::VIRTUAL, - __void__getOperationThreads__OperationThreads_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getScenes, IN, osgViewer::ViewerBase::Scenes &, scenes, , IN, bool, onlyValid, true, - Properties::VIRTUAL, - __void__getScenes__Scenes_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getViews, IN, osgViewer::ViewerBase::Views &, views, , IN, bool, onlyValid, true, - Properties::VIRTUAL, - __void__getViews__Views_R1__bool, - "", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this viewer. ", - ""); - I_ProtectedMethod0(void, constructorInit, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__constructorInit, - "", - ""); - I_ProtectedMethod0(void, viewerInit, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__viewerInit, - "", - ""); - I_SimpleProperty(osg::Camera *, CameraWithFocus, - __osg_Camera_P1__getCameraWithFocus, - __void__setCameraWithFocus__osg_Camera_P1); - I_SimpleProperty(osg::FrameStamp *, FrameStamp, - __osg_FrameStamp_P1__getFrameStamp, - 0); - I_SimpleProperty(double, ReferenceTime, - 0, - __void__setReferenceTime__double); - I_SimpleProperty(osg::Timer_t, StartTick, - 0, - __void__setStartTick__osg_Timer_t); - I_ArrayProperty(osgViewer::View *, View, - __osgViewer_View_P1__getView__unsigned, - 0, - __unsigned_int__getNumViews, - __void__addView__osgViewer_View_P1, - 0, - 0); - I_SimpleProperty(osgViewer::View *, ViewWithFocus, - __osgViewer_View_P1__getViewWithFocus, - 0); - I_SimpleProperty(osg::FrameStamp *, ViewerFrameStamp, - __osg_FrameStamp_P1__getViewerFrameStamp, - 0); - I_SimpleProperty(osg::Stats *, ViewerStats, - __osg_Stats_P1__getViewerStats, - __void__setViewerStats__osg_Stats_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgViewer/GraphicsWindow.cpp b/src/osgWrappers/introspection/osgViewer/GraphicsWindow.cpp deleted file mode 100644 index f1b49dd25..000000000 --- a/src/osgWrappers/introspection/osgViewer/GraphicsWindow.cpp +++ /dev/null @@ -1,344 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgViewer::GraphicsWindow::MouseCursor) - I_DeclaringFile("osgViewer/GraphicsWindow"); - I_EnumLabel(osgViewer::GraphicsWindow::InheritCursor); - I_EnumLabel(osgViewer::GraphicsWindow::NoCursor); - I_EnumLabel(osgViewer::GraphicsWindow::RightArrowCursor); - I_EnumLabel(osgViewer::GraphicsWindow::LeftArrowCursor); - I_EnumLabel(osgViewer::GraphicsWindow::InfoCursor); - I_EnumLabel(osgViewer::GraphicsWindow::DestroyCursor); - I_EnumLabel(osgViewer::GraphicsWindow::HelpCursor); - I_EnumLabel(osgViewer::GraphicsWindow::CycleCursor); - I_EnumLabel(osgViewer::GraphicsWindow::SprayCursor); - I_EnumLabel(osgViewer::GraphicsWindow::WaitCursor); - I_EnumLabel(osgViewer::GraphicsWindow::TextCursor); - I_EnumLabel(osgViewer::GraphicsWindow::CrosshairCursor); - I_EnumLabel(osgViewer::GraphicsWindow::HandCursor); - I_EnumLabel(osgViewer::GraphicsWindow::UpDownCursor); - I_EnumLabel(osgViewer::GraphicsWindow::LeftRightCursor); - I_EnumLabel(osgViewer::GraphicsWindow::TopSideCursor); - I_EnumLabel(osgViewer::GraphicsWindow::BottomSideCursor); - I_EnumLabel(osgViewer::GraphicsWindow::LeftSideCursor); - I_EnumLabel(osgViewer::GraphicsWindow::RightSideCursor); - I_EnumLabel(osgViewer::GraphicsWindow::TopLeftCorner); - I_EnumLabel(osgViewer::GraphicsWindow::TopRightCorner); - I_EnumLabel(osgViewer::GraphicsWindow::BottomRightCorner); - I_EnumLabel(osgViewer::GraphicsWindow::BottomLeftCorner); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindow) - I_DeclaringFile("osgViewer/GraphicsWindow"); - I_BaseType(osg::GraphicsContext); - I_BaseType(osgGA::GUIActionAdapter); - I_Constructor0(____GraphicsWindow, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, object, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue, - Properties::NON_VIRTUAL, - __void__setEventQueue__osgGA_EventQueue_P1, - "", - ""); - I_Method0(osgGA::EventQueue *, getEventQueue, - Properties::NON_VIRTUAL, - __osgGA_EventQueue_P1__getEventQueue, - "", - ""); - I_Method0(const osgGA::EventQueue *, getEventQueue, - Properties::NON_VIRTUAL, - __C5_osgGA_EventQueue_P1__getEventQueue, - "", - ""); - I_Method0(void, checkEvents, - Properties::VIRTUAL, - __void__checkEvents, - "", - ""); - I_Method4(void, setWindowRectangle, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - __void__setWindowRectangle__int__int__int__int, - "Set the window's position and size. ", - ""); - I_Method4(bool, setWindowRectangleImplementation, IN, int, x, IN, int, x, IN, int, x, IN, int, x, - Properties::VIRTUAL, - __bool__setWindowRectangleImplementation__int__int__int__int, - "implementation of setWindowRectangle, should be implemented by derived classes ", - ""); - I_Method4(void, getWindowRectangle, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height, - Properties::VIRTUAL, - __void__getWindowRectangle__int_R1__int_R1__int_R1__int_R1, - "Get the window's position and size. ", - ""); - I_Method1(void, setWindowDecoration, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setWindowDecoration__bool, - "Set Window decoration. ", - ""); - I_Method1(bool, setWindowDecorationImplementation, IN, bool, x, - Properties::VIRTUAL, - __bool__setWindowDecorationImplementation__bool, - "implementation of setWindowDecoration, should be implemented by derived classes ", - ""); - I_Method0(bool, getWindowDecoration, - Properties::VIRTUAL, - __bool__getWindowDecoration, - "Set Window decoration. ", - ""); - I_Method0(void, grabFocus, - Properties::VIRTUAL, - __void__grabFocus, - "Get focus. ", - ""); - I_Method0(void, grabFocusIfPointerInWindow, - Properties::VIRTUAL, - __void__grabFocusIfPointerInWindow, - "Get focus on if the pointer is in this window. ", - ""); - I_Method0(void, raiseWindow, - Properties::VIRTUAL, - __void__raiseWindow, - "Raise the window to the top. ", - ""); - I_Method1(void, setWindowName, IN, const std::string &, x, - Properties::VIRTUAL, - __void__setWindowName__C5_std_string_R1, - "Set the name of the window. ", - ""); - I_Method0(std::string, getWindowName, - Properties::VIRTUAL, - __std_string__getWindowName, - "Return the name of the window. ", - ""); - I_Method1(void, useCursor, IN, bool, cursorOn, - Properties::VIRTUAL, - __void__useCursor__bool, - "Switch on/off the cursor. ", - ""); - I_Method1(void, setCursor, IN, osgViewer::GraphicsWindow::MouseCursor, x, - Properties::VIRTUAL, - __void__setCursor__MouseCursor, - "Set mouse cursor to a specific shape. ", - ""); - I_Method1(void, setSyncToVBlank, IN, bool, on, - Properties::VIRTUAL, - __void__setSyncToVBlank__bool, - "Create a new mouse cursor from the usual bitmap data. ", - "Set sync-to-vblank. "); - I_Method0(bool, getSyncToVBlank, - Properties::NON_VIRTUAL, - __bool__getSyncToVBlank, - "", - ""); - I_Method0(bool, valid, - Properties::VIRTUAL, - __bool__valid, - "Return whether a valid and usable GraphicsContext has been created. ", - ""); - I_Method0(bool, realizeImplementation, - Properties::VIRTUAL, - __bool__realizeImplementation, - "Realize the GraphicsContext implementation, Pure virtual - must be implemented by concrete implementations of GraphicsContext. ", - ""); - I_Method0(bool, isRealizedImplementation, - Properties::VIRTUAL, - __bool__isRealizedImplementation, - "Return true if the graphics context has been realized, and is ready to use, implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(void, closeImplementation, - Properties::VIRTUAL, - __void__closeImplementation, - "Close the graphics context implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(bool, makeCurrentImplementation, - Properties::VIRTUAL, - __bool__makeCurrentImplementation, - "Make this graphics context current implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method1(bool, makeContextCurrentImplementation, IN, osg::GraphicsContext *, x, - Properties::VIRTUAL, - __bool__makeContextCurrentImplementation__GraphicsContext_P1, - "Make this graphics context current with specified read context implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(bool, releaseContextImplementation, - Properties::VIRTUAL, - __bool__releaseContextImplementation, - "Release the graphics context. ", - ""); - I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, x, - Properties::VIRTUAL, - __void__bindPBufferToTextureImplementation__GLenum, - "Pure virtual, Bind the graphics context to associated texture implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(void, swapBuffersImplementation, - Properties::VIRTUAL, - __void__swapBuffersImplementation, - "Swap the front and back buffers implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(void, requestRedraw, - Properties::VIRTUAL, - __void__requestRedraw, - "requestRedraw() requests a single redraw. ", - ""); - I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, needed, true, - Properties::VIRTUAL, - __void__requestContinuousUpdate__bool, - "requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a MatrixManipulator, though other GUIEventHandler's may also provide functionality). ", - "GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure. "); - I_Method2(void, requestWarpPointer, IN, float, x, IN, float, y, - Properties::VIRTUAL, - __void__requestWarpPointer__float__float, - "requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window. ", - "This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking a aircrafts joystick. "); - I_SimpleProperty(osgViewer::GraphicsWindow::MouseCursor, Cursor, - 0, - __void__setCursor__MouseCursor); - I_SimpleProperty(osgGA::EventQueue *, EventQueue, - __osgGA_EventQueue_P1__getEventQueue, - __void__setEventQueue__osgGA_EventQueue_P1); - I_SimpleProperty(bool, SyncToVBlank, - __bool__getSyncToVBlank, - __void__setSyncToVBlank__bool); - I_SimpleProperty(bool, WindowDecoration, - __bool__getWindowDecoration, - __void__setWindowDecoration__bool); - I_SimpleProperty(bool, WindowDecorationImplementation, - 0, - __bool__setWindowDecorationImplementation__bool); - I_SimpleProperty(std::string, WindowName, - __std_string__getWindowName, - __void__setWindowName__C5_std_string_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindowEmbedded) - I_DeclaringFile("osgViewer/GraphicsWindow"); - I_BaseType(osgViewer::GraphicsWindow); - I_ConstructorWithDefaults1(IN, osg::GraphicsContext::Traits *, traits, 0, - Properties::NON_EXPLICIT, - ____GraphicsWindowEmbedded__osg_GraphicsContext_Traits_P1, - "", - ""); - I_Constructor4(IN, int, x, IN, int, y, IN, int, width, IN, int, height, - ____GraphicsWindowEmbedded__int__int__int__int, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, object, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, init, - Properties::NON_VIRTUAL, - __void__init, - "", - ""); - I_Method0(bool, valid, - Properties::VIRTUAL, - __bool__valid, - "Return whether a valid and usable GraphicsContext has been created. ", - ""); - I_Method0(bool, realizeImplementation, - Properties::VIRTUAL, - __bool__realizeImplementation, - "Realize the GraphicsContext implementation, Pure virtual - must be implemented by concrete implementations of GraphicsContext. ", - ""); - I_Method0(bool, isRealizedImplementation, - Properties::VIRTUAL, - __bool__isRealizedImplementation, - "Return true if the graphics context has been realized, and is ready to use, implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(void, closeImplementation, - Properties::VIRTUAL, - __void__closeImplementation, - "Close the graphics context implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(bool, makeCurrentImplementation, - Properties::VIRTUAL, - __bool__makeCurrentImplementation, - "Make this graphics context current implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(bool, releaseContextImplementation, - Properties::VIRTUAL, - __bool__releaseContextImplementation, - "Release the graphics context. ", - ""); - I_Method0(void, swapBuffersImplementation, - Properties::VIRTUAL, - __void__swapBuffersImplementation, - "Swap the front and back buffers implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_Method0(void, grabFocus, - Properties::VIRTUAL, - __void__grabFocus, - "Get focus. ", - ""); - I_Method0(void, grabFocusIfPointerInWindow, - Properties::VIRTUAL, - __void__grabFocusIfPointerInWindow, - "Get focus on if the pointer is in this window. ", - ""); - I_Method0(void, raiseWindow, - Properties::VIRTUAL, - __void__raiseWindow, - "Raise the window to the top. ", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgViewer::GraphicsWindowFunctionProxy) - I_DeclaringFile("osgViewer/GraphicsWindow"); - I_Constructor1(IN, CGraphicsWindowFunction, function, - Properties::NON_EXPLICIT, - ____GraphicsWindowFunctionProxy__CGraphicsWindowFunction, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgViewer/Renderer.cpp b/src/osgWrappers/introspection/osgViewer/Renderer.cpp deleted file mode 100644 index 589cc2422..000000000 --- a/src/osgWrappers/introspection/osgViewer/Renderer.cpp +++ /dev/null @@ -1,248 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::pair< GLuint COMMA int >, osgViewer::OpenGLQuerySupport::QueryFrameNumberPair) - -TYPE_NAME_ALIAS(std::list< osgViewer::OpenGLQuerySupport::QueryFrameNumberPair >, osgViewer::OpenGLQuerySupport::QueryFrameNumberList) - -TYPE_NAME_ALIAS(std::vector< GLuint >, osgViewer::OpenGLQuerySupport::QueryList) - -BEGIN_VALUE_REFLECTOR(osgViewer::OpenGLQuerySupport) - I_DeclaringFile("osgViewer/Renderer"); - I_Constructor0(____OpenGLQuerySupport, - "", - ""); - I_Method1(void, setStartTick, IN, osg::Timer_t, startTick, - Properties::NON_VIRTUAL, - __void__setStartTick__osg_Timer_t, - "", - ""); - I_Method0(osg::Timer_t, getStartTick, - Properties::NON_VIRTUAL, - __osg_Timer_t__getStartTick, - "", - ""); - I_Method1(void, checkQuery, IN, osg::Stats *, stats, - Properties::NON_VIRTUAL, - __void__checkQuery__osg_Stats_P1, - "", - ""); - I_Method0(GLuint, createQueryObject, - Properties::NON_VIRTUAL, - __GLuint__createQueryObject, - "", - ""); - I_Method1(void, beginQuery, IN, int, frameNumber, - Properties::NON_VIRTUAL, - __void__beginQuery__int, - "", - ""); - I_Method0(void, endQuery, - Properties::NON_VIRTUAL, - __void__endQuery, - "", - ""); - I_Method1(void, initialize, IN, osg::State *, state, - Properties::NON_VIRTUAL, - __void__initialize__osg_State_P1, - "", - ""); - I_SimpleProperty(osg::Timer_t, StartTick, - __osg_Timer_t__getStartTick, - __void__setStartTick__osg_Timer_t); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::Renderer) - I_DeclaringFile("osgViewer/Renderer"); - I_BaseType(osg::GraphicsOperation); - I_BaseType(osgViewer::OpenGLQuerySupport); - I_Constructor1(IN, osg::Camera *, camera, - Properties::NON_EXPLICIT, - ____Renderer__osg_Camera_P1, - "", - ""); - I_Method1(osgUtil::SceneView *, getSceneView, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __osgUtil_SceneView_P1__getSceneView__unsigned_int, - "", - ""); - I_Method1(const osgUtil::SceneView *, getSceneView, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_osgUtil_SceneView_P1__getSceneView__unsigned_int, - "", - ""); - I_Method1(void, setDone, IN, bool, done, - Properties::NON_VIRTUAL, - __void__setDone__bool, - "", - ""); - I_Method0(bool, getDone, - Properties::NON_VIRTUAL, - __bool__getDone, - "", - ""); - I_Method1(void, setGraphicsThreadDoesCull, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setGraphicsThreadDoesCull__bool, - "", - ""); - I_Method0(bool, getGraphicsThreadDoesCull, - Properties::NON_VIRTUAL, - __bool__getGraphicsThreadDoesCull, - "", - ""); - I_Method0(void, cull, - Properties::VIRTUAL, - __void__cull, - "", - ""); - I_Method0(void, draw, - Properties::VIRTUAL, - __void__draw, - "", - ""); - I_Method0(void, cull_draw, - Properties::VIRTUAL, - __void__cull_draw, - "", - ""); - I_Method0(void, compile, - Properties::VIRTUAL, - __void__compile, - "", - ""); - I_Method1(void, setCompileOnNextDraw, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setCompileOnNextDraw__bool, - "", - ""); - I_Method0(bool, getCompileOnNextDraw, - Properties::NON_VIRTUAL, - __bool__getCompileOnNextDraw, - "", - ""); - I_Method0(void, release, - Properties::VIRTUAL, - __void__release, - "if this operation is a barrier then release it. ", - ""); - I_Method1(void, setTargetFrameRate, IN, double, tfr, - Properties::NON_VIRTUAL, - __void__setTargetFrameRate__double, - "Set the target frame rate that the DatabasePager should assume. ", - "Typically one would set this to the value refresh rate of your display system i.e. 60Hz. Default value is 100. Usage notes. The TargetFrameRate and the MinimumTimeAvailableForGLCompileAndDeletePerFrame parameters are not directly used by DatabasePager, but are should be used as a guide for how long to set aside per frame for compiling and deleting OpenGL objects - ie. the value to use when calling DatabasePager::compileGLObjectgs(state,availableTime,). The longer amount of time to set aside cthe faster databases will be paged in but with increased chance of frame drops, the lower the amount of time the set aside the slower databases will paged it but with better chance of avoid any frame drops. The default values are chosen to achieve the later when running on a modern mid to high end PC. The way to compute the amount of available time use a scheme such as : availableTime = maximum(1.0/targetFrameRate - timeTakenDuringUpdateCullAndDraw, minimumTimeAvailableForGLCompileAndDeletePerFrame).Note, the actual TargetFrameRate used is the minimum of this value and that set in the DatabasePager. "); - I_Method0(double, getTargetFrameRate, - Properties::NON_VIRTUAL, - __double__getTargetFrameRate, - "Get the target frame rate that the DatabasePager should assume. ", - ""); - I_Method1(void, setMinimumTimeAvailableForGLCompileAndDeletePerFrame, IN, double, ta, - Properties::NON_VIRTUAL, - __void__setMinimumTimeAvailableForGLCompileAndDeletePerFrame__double, - "Set the minimum amount of time (in seconds) that should be made available for compiling and delete OpenGL objects per frame. ", - "Default value is 0.001 (1 millisecond). For usage see notes in setTargetFrameRate.Note, the actual TargetFrameRate used is the minimum of this value and that set in the DatabasePager. "); - I_Method0(double, getMinimumTimeAvailableForGLCompileAndDeletePerFrame, - Properties::NON_VIRTUAL, - __double__getMinimumTimeAvailableForGLCompileAndDeletePerFrame, - "Get the minimum amount of time that should be made available for compiling and delete OpenGL objects per frame. ", - "For usage see notes in setTargetFrameRate. "); - I_Method1(void, setFlushTimeRatio, IN, double, ratio, - Properties::NON_VIRTUAL, - __void__setFlushTimeRatio__double, - "FlushTimeRatio governs how much of the spare time in each frame is used for flushing deleted OpenGL objects. ", - "Default value is 0.5, valid range is 0.1 to 0.9. "); - I_Method0(double, getFlushTimeRatio, - Properties::NON_VIRTUAL, - __double__getFlushTimeRatio, - "", - ""); - I_Method1(void, setConservativeTimeRatio, IN, double, ratio, - Properties::NON_VIRTUAL, - __void__setConservativeTimeRatio__double, - "ConservativeTimeRatio governs how much of the measured spare time in each frame is used for flushing deleted and compile new OpenGL objects. ", - "Default value is 0.5, valid range is 0.1 to 1.0. A ratio near 1.0 will lead to paged databases being compiled and merged quicker but increase the chances of frame drop. A ratio near 0.1 will lead to paged databases being compiled and merged closer but reduse the chances of frame drop. "); - I_Method0(double, getConservativeTimeRatio, - Properties::NON_VIRTUAL, - __double__getConservativeTimeRatio, - "", - ""); - I_Method1(void, setCameraRequiresSetUp, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setCameraRequiresSetUp__bool, - "Force update of state associated with cameras. ", - ""); - I_Method0(bool, getCameraRequiresSetUp, - Properties::NON_VIRTUAL, - __bool__getCameraRequiresSetUp, - "", - ""); - I_ProtectedMethod1(void, updateSceneView, IN, osgUtil::SceneView *, sceneView, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__updateSceneView__osgUtil_SceneView_P1, - "", - ""); - I_ProtectedMethod4(void, flushAndCompile, IN, double, currentElapsedFrameTime, IN, osgUtil::SceneView *, sceneView, IN, osgDB::DatabasePager *, databasePager, IN, osg::GraphicsThread *, compileThread, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__flushAndCompile__double__osgUtil_SceneView_P1__osgDB_DatabasePager_P1__osg_GraphicsThread_P1, - "", - ""); - I_SimpleProperty(bool, CameraRequiresSetUp, - __bool__getCameraRequiresSetUp, - __void__setCameraRequiresSetUp__bool); - I_SimpleProperty(bool, CompileOnNextDraw, - __bool__getCompileOnNextDraw, - __void__setCompileOnNextDraw__bool); - I_SimpleProperty(double, ConservativeTimeRatio, - __double__getConservativeTimeRatio, - __void__setConservativeTimeRatio__double); - I_SimpleProperty(bool, Done, - __bool__getDone, - __void__setDone__bool); - I_SimpleProperty(double, FlushTimeRatio, - __double__getFlushTimeRatio, - __void__setFlushTimeRatio__double); - I_SimpleProperty(bool, GraphicsThreadDoesCull, - __bool__getGraphicsThreadDoesCull, - __void__setGraphicsThreadDoesCull__bool); - I_SimpleProperty(double, MinimumTimeAvailableForGLCompileAndDeletePerFrame, - __double__getMinimumTimeAvailableForGLCompileAndDeletePerFrame, - __void__setMinimumTimeAvailableForGLCompileAndDeletePerFrame__double); - I_SimpleProperty(double, TargetFrameRate, - __double__getTargetFrameRate, - __void__setTargetFrameRate__double); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osgViewer::OpenGLQuerySupport::QueryFrameNumberPair >) - -STD_PAIR_REFLECTOR(std::pair< GLuint COMMA int >) - diff --git a/src/osgWrappers/introspection/osgViewer/Scene.cpp b/src/osgWrappers/introspection/osgViewer/Scene.cpp deleted file mode 100644 index 15e0a05de..000000000 --- a/src/osgWrappers/introspection/osgViewer/Scene.cpp +++ /dev/null @@ -1,104 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgViewer::Scene) - I_DeclaringFile("osgViewer/Scene"); - I_BaseType(osg::Referenced); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "", - ""); - I_Method1(void, setSceneData, IN, osg::Node *, node, - Properties::NON_VIRTUAL, - __void__setSceneData__osg_Node_P1, - "", - ""); - I_Method0(osg::Node *, getSceneData, - Properties::NON_VIRTUAL, - __osg_Node_P1__getSceneData, - "", - ""); - I_Method0(const osg::Node *, getSceneData, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getSceneData, - "", - ""); - I_Method1(void, setDatabasePager, IN, osgDB::DatabasePager *, dp, - Properties::NON_VIRTUAL, - __void__setDatabasePager__osgDB_DatabasePager_P1, - "", - ""); - I_Method0(osgDB::DatabasePager *, getDatabasePager, - Properties::NON_VIRTUAL, - __osgDB_DatabasePager_P1__getDatabasePager, - "", - ""); - I_Method0(const osgDB::DatabasePager *, getDatabasePager, - Properties::NON_VIRTUAL, - __C5_osgDB_DatabasePager_P1__getDatabasePager, - "", - ""); - I_Method1(void, setImagePager, IN, osgDB::ImagePager *, ip, - Properties::NON_VIRTUAL, - __void__setImagePager__osgDB_ImagePager_P1, - "", - ""); - I_Method0(osgDB::ImagePager *, getImagePager, - Properties::NON_VIRTUAL, - __osgDB_ImagePager_P1__getImagePager, - "", - ""); - I_Method0(const osgDB::ImagePager *, getImagePager, - Properties::NON_VIRTUAL, - __C5_osgDB_ImagePager_P1__getImagePager, - "", - ""); - I_Method1(void, updateSceneGraph, IN, osg::NodeVisitor &, updateVisitor, - Properties::NON_VIRTUAL, - __void__updateSceneGraph__osg_NodeVisitor_R1, - "", - ""); - I_StaticMethod1(osgViewer::Scene *, getScene, IN, osg::Node *, node, - __Scene_P1__getScene__osg_Node_P1_S, - "Get the Scene object that has the specified node assigned to it. ", - "return 0 if no Scene has yet been assigned the specified node. "); - I_ProtectedConstructor0(____Scene, - "", - ""); - I_SimpleProperty(osgDB::DatabasePager *, DatabasePager, - __osgDB_DatabasePager_P1__getDatabasePager, - __void__setDatabasePager__osgDB_DatabasePager_P1); - I_SimpleProperty(osgDB::ImagePager *, ImagePager, - __osgDB_ImagePager_P1__getImagePager, - __void__setImagePager__osgDB_ImagePager_P1); - I_SimpleProperty(osg::Node *, SceneData, - __osg_Node_P1__getSceneData, - __void__setSceneData__osg_Node_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgViewer/View.cpp b/src/osgWrappers/introspection/osgViewer/View.cpp deleted file mode 100644 index 0f415d584..000000000 --- a/src/osgWrappers/introspection/osgViewer/View.cpp +++ /dev/null @@ -1,432 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >, osgViewer::View::EventHandlers) - -BEGIN_OBJECT_REFLECTOR(osgViewer::View) - I_DeclaringFile("osgViewer/View"); - I_BaseType(osg::View); - I_BaseType(osgGA::GUIActionAdapter); - I_Constructor0(____View, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgViewer::View &, view, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____View__C5_osgViewer_View_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osg::View *, asView, - Properties::VIRTUAL, - __osg_View_P1__asView, - "Provide a mechanism for getting the osg::View associated from the GUIActionAdapter. ", - "One would use this to case view to osgViewer::View(er) if supported by the subclass. "); - I_Method0(osgViewer::ViewerBase *, getViewerBase, - Properties::NON_VIRTUAL, - __ViewerBase_P1__getViewerBase, - "Provide a mechanism for getting the viewer object from this osgViewer::View. ", - "In the case of a osgViewer::Viewer the ViewerBase will effectively point to this object as Viewer subclasses from View. In the case of a osgViewer::CompsoiteViewer the ViewerBase will point to the CompositeViewer that owns this View. "); - I_Method1(void, take, IN, osg::View &, rhs, - Properties::VIRTUAL, - __void__take__osg_View_R1, - "Take all the settings, Camera and Slaves from the passed in view, leaving it empty. ", - ""); - I_Method1(void, setStartTick, IN, osg::Timer_t, tick, - Properties::VIRTUAL, - __void__setStartTick__osg_Timer_t, - "", - ""); - I_Method0(osg::Timer_t, getStartTick, - Properties::NON_VIRTUAL, - __osg_Timer_t__getStartTick, - "", - ""); - I_Method0(osgViewer::Scene *, getScene, - Properties::NON_VIRTUAL, - __Scene_P1__getScene, - "", - ""); - I_Method0(const osgViewer::Scene *, getScene, - Properties::NON_VIRTUAL, - __C5_Scene_P1__getScene, - "", - ""); - I_Method1(void, setSceneData, IN, osg::Node *, node, - Properties::VIRTUAL, - __void__setSceneData__osg_Node_P1, - "Set the scene graph that the View will use. ", - ""); - I_Method0(osg::Node *, getSceneData, - Properties::NON_VIRTUAL, - __osg_Node_P1__getSceneData, - "Get the View's scene graph. ", - ""); - I_Method0(const osg::Node *, getSceneData, - Properties::NON_VIRTUAL, - __C5_osg_Node_P1__getSceneData, - "Get the const View's scene graph. ", - ""); - I_Method1(void, setDatabasePager, IN, osgDB::DatabasePager *, dp, - Properties::NON_VIRTUAL, - __void__setDatabasePager__osgDB_DatabasePager_P1, - "Set the View's database pager. ", - ""); - I_Method0(osgDB::DatabasePager *, getDatabasePager, - Properties::NON_VIRTUAL, - __osgDB_DatabasePager_P1__getDatabasePager, - "Get the View's database pager. ", - ""); - I_Method0(const osgDB::DatabasePager *, getDatabasePager, - Properties::NON_VIRTUAL, - __C5_osgDB_DatabasePager_P1__getDatabasePager, - "Get the const View's database pager. ", - ""); - I_Method1(void, setImagePager, IN, osgDB::ImagePager *, ip, - Properties::NON_VIRTUAL, - __void__setImagePager__osgDB_ImagePager_P1, - "Set the View's image pager. ", - ""); - I_Method0(osgDB::ImagePager *, getImagePager, - Properties::NON_VIRTUAL, - __osgDB_ImagePager_P1__getImagePager, - "Get the View's image pager. ", - ""); - I_Method0(const osgDB::ImagePager *, getImagePager, - Properties::NON_VIRTUAL, - __C5_osgDB_ImagePager_P1__getImagePager, - "Get the const View's image pager. ", - ""); - I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue, - Properties::NON_VIRTUAL, - __void__setEventQueue__osgGA_EventQueue_P1, - "", - ""); - I_Method0(osgGA::EventQueue *, getEventQueue, - Properties::NON_VIRTUAL, - __osgGA_EventQueue_P1__getEventQueue, - "", - ""); - I_Method0(const osgGA::EventQueue *, getEventQueue, - Properties::NON_VIRTUAL, - __C5_osgGA_EventQueue_P1__getEventQueue, - "", - ""); - I_MethodWithDefaults2(void, setCameraManipulator, IN, osgGA::CameraManipulator *, manipulator, , IN, bool, resetPosition, true, - Properties::NON_VIRTUAL, - __void__setCameraManipulator__osgGA_CameraManipulator_P1__bool, - "Set the CameraManipulator that moves the View's master Camera position in response to events. ", - "The parameter resetPosition determines whether manipulator is set to its home position. "); - I_Method0(osgGA::CameraManipulator *, getCameraManipulator, - Properties::NON_VIRTUAL, - __osgGA_CameraManipulator_P1__getCameraManipulator, - "Get the View's CameraManipulator. ", - ""); - I_Method0(const osgGA::CameraManipulator *, getCameraManipulator, - Properties::NON_VIRTUAL, - __C5_osgGA_CameraManipulator_P1__getCameraManipulator, - "Get the const View's CameraManipulator. ", - ""); - I_Method0(void, home, - Properties::NON_VIRTUAL, - __void__home, - "Set the view to the CameraManipulator's home position, if non is attached home() is does nothing. ", - "Note, to set the home position use getCamaraManipulator()->setHomePosition(...). "); - I_Method1(void, addEventHandler, IN, osgGA::GUIEventHandler *, eventHandler, - Properties::NON_VIRTUAL, - __void__addEventHandler__osgGA_GUIEventHandler_P1, - "Add an EventHandler that adds handling of events to the View. ", - ""); - I_Method1(void, removeEventHandler, IN, osgGA::GUIEventHandler *, eventHandler, - Properties::NON_VIRTUAL, - __void__removeEventHandler__osgGA_GUIEventHandler_P1, - "Remove an EventHandler from View. ", - ""); - I_Method0(osgViewer::View::EventHandlers &, getEventHandlers, - Properties::NON_VIRTUAL, - __EventHandlers_R1__getEventHandlers, - "Get the View's list of EventHandlers. ", - ""); - I_Method0(const osgViewer::View::EventHandlers &, getEventHandlers, - Properties::NON_VIRTUAL, - __C5_EventHandlers_R1__getEventHandlers, - "Get the const View's list of EventHandlers. ", - ""); - I_Method1(void, setCoordinateSystemNodePath, IN, const osg::NodePath &, nodePath, - Properties::NON_VIRTUAL, - __void__setCoordinateSystemNodePath__C5_osg_NodePath_R1, - "Set the NodePath to any active CoordinateSystemNode present in the Scene. ", - "The CoordinateSystemNode path is used to help applications and CamaraManipualtors handle geocentric coordinates systems, such as known which way is the local up at any position on the a whole earth. "); - I_Method0(osg::NodePath, getCoordinateSystemNodePath, - Properties::NON_VIRTUAL, - __osg_NodePath__getCoordinateSystemNodePath, - "Get the NodePath to any active CoordinateSystemNode present in the Scene. ", - ""); - I_Method0(void, computeActiveCoordinateSystemNodePath, - Properties::NON_VIRTUAL, - __void__computeActiveCoordinateSystemNodePath, - "Compute the NodePath to any active CoordinateSystemNode present in the Scene. ", - ""); - I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds, - Properties::NON_VIRTUAL, - __void__setDisplaySettings__osg_DisplaySettings_P1, - "Set the DisplaySettings object associated with this view. ", - ""); - I_Method0(osg::DisplaySettings *, getDisplaySettings, - Properties::NON_VIRTUAL, - __osg_DisplaySettings_P1__getDisplaySettings, - "Set the DisplaySettings object associated with this view. ", - ""); - I_Method0(const osg::DisplaySettings *, getDisplaySettings, - Properties::NON_VIRTUAL, - __C5_osg_DisplaySettings_P1__getDisplaySettings, - "Set the DisplaySettings object associated with this view. ", - ""); - I_MethodWithDefaults2(void, setFusionDistance, IN, osgUtil::SceneView::FusionDistanceMode, mode, , IN, float, value, 1.0f, - Properties::NON_VIRTUAL, - __void__setFusionDistance__osgUtil_SceneView_FusionDistanceMode__float, - "Set the FusionDistanceMode and Value. ", - "Note, is used only when working in stereo. "); - I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode, - Properties::NON_VIRTUAL, - __osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode, - "Get the FusionDistanceMode. ", - ""); - I_Method0(float, getFusionDistanceValue, - Properties::NON_VIRTUAL, - __float__getFusionDistanceValue, - "Get the FusionDistanceValue. ", - "Note, only used for USE_FUSION_DISTANCE_VALUE & PROPORTIONAL_TO_SCREEN_DISTANCE modes. "); - I_Method0(void, setUpViewAcrossAllScreens, - Properties::NON_VIRTUAL, - __void__setUpViewAcrossAllScreens, - "Convenience method for creating slave Cameras and associated GraphicsWindows across all screens. ", - ""); - I_MethodWithDefaults5(void, setUpViewInWindow, IN, int, x, , IN, int, y, , IN, int, width, , IN, int, height, , IN, unsigned int, screenNum, 0, - Properties::NON_VIRTUAL, - __void__setUpViewInWindow__int__int__int__int__unsigned_int, - "Convenience method for a single camera on a single window. ", - ""); - I_MethodWithDefaults1(void, setUpViewOnSingleScreen, IN, unsigned int, screenNum, 0, - Properties::NON_VIRTUAL, - __void__setUpViewOnSingleScreen__unsigned_int, - "Convenience method for a single camera associated with a single full screen GraphicsWindow. ", - ""); - I_MethodWithDefaults5(void, setUpViewFor3DSphericalDisplay, IN, double, radius, 1.0, IN, double, collar, 0.45, IN, unsigned int, screenNum, 0, IN, osg::Image *, intensityMap, 0, IN, const osg::Matrixd &, projectorMatrix, osg::Matrixd(), - Properties::NON_VIRTUAL, - __void__setUpViewFor3DSphericalDisplay__double__double__unsigned_int__osg_Image_P1__C5_osg_Matrixd_R1, - "Convenience method for spherical display using 6 slave cameras rendering the 6 sides of a cube map, and 7th camera doing distortion correction to present on a spherical display. ", - ""); - I_MethodWithDefaults5(void, setUpViewForPanoramicSphericalDisplay, IN, double, radius, 1.0, IN, double, collar, 0.45, IN, unsigned int, screenNum, 0, IN, osg::Image *, intensityMap, 0, IN, const osg::Matrixd &, projectorMatrix, osg::Matrixd(), - Properties::NON_VIRTUAL, - __void__setUpViewForPanoramicSphericalDisplay__double__double__unsigned_int__osg_Image_P1__C5_osg_Matrixd_R1, - "Convenience method for spherical display by rendering main scene to as panoramic 2:1 texture and then doing distortion correction to present onto a spherical display. ", - ""); - I_Method8(void, setUpViewForWoWVxDisplay, IN, unsigned int, screenNum, IN, unsigned char, wow_content, IN, unsigned char, wow_factor, IN, unsigned char, wow_offset, IN, float, wow_disparity_Zd, IN, float, wow_disparity_vz, IN, float, wow_disparity_M, IN, float, wow_disparity_C, - Properties::NON_VIRTUAL, - __void__setUpViewForWoWVxDisplay__unsigned_int__unsigned_char__unsigned_char__unsigned_char__float__float__float__float, - "Convenience method for autostereoscopic Philips WoWvx display. ", - ""); - I_Method1(bool, containsCamera, IN, const osg::Camera *, camera, - Properties::NON_VIRTUAL, - __bool__containsCamera__C5_osg_Camera_P1, - "Return true if this view contains a specified camera. ", - ""); - I_Method4(const osg::Camera *, getCameraContainingPosition, IN, float, x, IN, float, y, IN, float &, local_x, IN, float &, local_y, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCameraContainingPosition__float__float__float_R1__float_R1, - "Get the camera which contains the pointer position x,y specified master cameras window/eye coords. ", - "Also passes back the local window coords for the graphics context associated with the camera passed back. "); - I_MethodWithDefaults4(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, osgUtil::LineSegmentIntersector::Intersections &, intersections, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff, - Properties::NON_VIRTUAL, - __bool__computeIntersections__float__float__osgUtil_LineSegmentIntersector_Intersections_R1__osg_Node_NodeMask, - "Compute intersections between a ray through the specified master cameras window/eye coords and a specified node. ", - "Note, when a master cameras has slaves and no viewport itself its coordinate frame will be in clip space i.e. -1,-1 to 1,1, while if its has a viewport the coordintates will be relative to its viewport dimensions. Mouse events handled by the view will automatically be attached into the master camera window/clip coords so can be passed directly on to the computeIntersections method. "); - I_MethodWithDefaults5(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, const osg::NodePath &, nodePath, , IN, osgUtil::LineSegmentIntersector::Intersections &, intersections, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff, - Properties::NON_VIRTUAL, - __bool__computeIntersections__float__float__C5_osg_NodePath_R1__osgUtil_LineSegmentIntersector_Intersections_R1__osg_Node_NodeMask, - "Compute intersections between a ray through the specified master cameras window/eye coords and a specified nodePath's subgraph. ", - ""); - I_Method0(void, requestRedraw, - Properties::VIRTUAL, - __void__requestRedraw, - "requestRedraw() requests a single redraw. ", - ""); - I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, needed, true, - Properties::VIRTUAL, - __void__requestContinuousUpdate__bool, - "requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a MatrixManipulator, though other GUIEventHandler's may also provide functionality). ", - "GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure. "); - I_Method2(void, requestWarpPointer, IN, float, x, IN, float, y, - Properties::VIRTUAL, - __void__requestWarpPointer__float__float, - "requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window. ", - "This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking a aircrafts joystick. "); - I_Method0(void, assignSceneDataToCameras, - Properties::NON_VIRTUAL, - __void__assignSceneDataToCameras, - "", - ""); - I_Method0(void, init, - Properties::NON_VIRTUAL, - __void__init, - "", - ""); - I_ProtectedMethod1(osg::GraphicsOperation *, createRenderer, IN, osg::Camera *, camera, - Properties::VIRTUAL, - Properties::NON_CONST, - __osg_GraphicsOperation_P1__createRenderer__osg_Camera_P1, - "", - ""); - I_SimpleProperty(osgGA::CameraManipulator *, CameraManipulator, - __osgGA_CameraManipulator_P1__getCameraManipulator, - 0); - I_SimpleProperty(osg::NodePath, CoordinateSystemNodePath, - __osg_NodePath__getCoordinateSystemNodePath, - __void__setCoordinateSystemNodePath__C5_osg_NodePath_R1); - I_SimpleProperty(osgDB::DatabasePager *, DatabasePager, - __osgDB_DatabasePager_P1__getDatabasePager, - __void__setDatabasePager__osgDB_DatabasePager_P1); - I_SimpleProperty(osg::DisplaySettings *, DisplaySettings, - __osg_DisplaySettings_P1__getDisplaySettings, - __void__setDisplaySettings__osg_DisplaySettings_P1); - I_SimpleProperty(osgViewer::View::EventHandlers &, EventHandlers, - __EventHandlers_R1__getEventHandlers, - 0); - I_SimpleProperty(osgGA::EventQueue *, EventQueue, - __osgGA_EventQueue_P1__getEventQueue, - __void__setEventQueue__osgGA_EventQueue_P1); - I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode, - __osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode, - 0); - I_SimpleProperty(float, FusionDistanceValue, - __float__getFusionDistanceValue, - 0); - I_SimpleProperty(osgDB::ImagePager *, ImagePager, - __osgDB_ImagePager_P1__getImagePager, - __void__setImagePager__osgDB_ImagePager_P1); - I_SimpleProperty(osgViewer::Scene *, Scene, - __Scene_P1__getScene, - 0); - I_SimpleProperty(osg::Node *, SceneData, - __osg_Node_P1__getSceneData, - __void__setSceneData__osg_Node_P1); - I_SimpleProperty(osg::Timer_t, StartTick, - __osg_Timer_t__getStartTick, - __void__setStartTick__osg_Timer_t); - I_SimpleProperty(unsigned int, UpViewOnSingleScreen, - 0, - __void__setUpViewOnSingleScreen__unsigned_int); - I_SimpleProperty(osgViewer::ViewerBase *, ViewerBase, - __ViewerBase_P1__getViewerBase, - 0); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::GUIEventHandler >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgGA::GUIEventHandler *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgGA::GUIEventHandler > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgGA::GUIEventHandler > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgGA::GUIEventHandler *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgGA::GUIEventHandler *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgGA::GUIEventHandler > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgGA::GUIEventHandler *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >) - diff --git a/src/osgWrappers/introspection/osgViewer/Viewer.cpp b/src/osgWrappers/introspection/osgViewer/Viewer.cpp deleted file mode 100644 index 52e1cf62f..000000000 --- a/src/osgWrappers/introspection/osgViewer/Viewer.cpp +++ /dev/null @@ -1,249 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgViewer::Viewer) - I_DeclaringFile("osgViewer/Viewer"); - I_BaseType(osgViewer::ViewerBase); - I_BaseType(osgViewer::View); - I_Constructor0(____Viewer, - "", - ""); - I_Constructor1(IN, osg::ArgumentParser &, arguments, - Properties::NON_EXPLICIT, - ____Viewer__osg_ArgumentParser_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgViewer::Viewer &, viewer, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Viewer__C5_osgViewer_Viewer_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, take, IN, osgViewer::View &, rhs, - Properties::VIRTUAL, - __void__take__View_R1, - "Take all the settings, Camera and Slaves from the passed in view(er), leaving it empty. ", - ""); - I_Method1(void, setViewerStats, IN, osg::Stats *, stats, - Properties::VIRTUAL, - __void__setViewerStats__osg_Stats_P1, - "Set the Stats object used for collect various frame related timing and scene graph stats. ", - ""); - I_Method0(osg::Stats *, getViewerStats, - Properties::VIRTUAL, - __osg_Stats_P1__getViewerStats, - "Get the Viewers Stats object. ", - ""); - I_Method0(const osg::Stats *, getViewerStats, - Properties::VIRTUAL, - __C5_osg_Stats_P1__getViewerStats, - "Get the Viewers Stats object. ", - ""); - I_Method1(bool, readConfiguration, IN, const std::string &, filename, - Properties::VIRTUAL, - __bool__readConfiguration__C5_std_string_R1, - "read the viewer configuration from a configuration file. ", - ""); - I_Method0(bool, isRealized, - Properties::VIRTUAL, - __bool__isRealized, - "Get whether at least of one of this viewers windows are realized. ", - ""); - I_Method0(void, realize, - Properties::VIRTUAL, - __void__realize, - "set up windows and associated threads. ", - ""); - I_Method1(void, setStartTick, IN, osg::Timer_t, tick, - Properties::VIRTUAL, - __void__setStartTick__osg_Timer_t, - "", - ""); - I_MethodWithDefaults1(void, setReferenceTime, IN, double, time, 0.0, - Properties::NON_VIRTUAL, - __void__setReferenceTime__double, - "", - ""); - I_Method1(void, setSceneData, IN, osg::Node *, node, - Properties::VIRTUAL, - __void__setSceneData__osg_Node_P1, - "Set the sene graph data that viewer with view. ", - ""); - I_Method4(osgViewer::GraphicsWindowEmbedded *, setUpViewerAsEmbeddedInWindow, IN, int, x, IN, int, y, IN, int, width, IN, int, height, - Properties::VIRTUAL, - __GraphicsWindowEmbedded_P1__setUpViewerAsEmbeddedInWindow__int__int__int__int, - "Convenience method for setting up the viewer so it can be used embedded in an external managed window. ", - "Returns the GraphicsWindowEmbedded that can be used by applications to pass in events to the viewer. "); - I_Method0(double, elapsedTime, - Properties::VIRTUAL, - __double__elapsedTime, - "", - ""); - I_Method0(osg::FrameStamp *, getViewerFrameStamp, - Properties::VIRTUAL, - __osg_FrameStamp_P1__getViewerFrameStamp, - "", - ""); - I_Method0(int, run, - Properties::VIRTUAL, - __int__run, - "Execute a main frame loop. ", - "Equivalent to while (!viewer.done()) viewer.frame(); Also calls realize() if the viewer is not already realized, and installs trackball manipulator if one is not already assigned. "); - I_Method0(bool, checkNeedToDoFrame, - Properties::VIRTUAL, - __bool__checkNeedToDoFrame, - "check to see if the new frame is required, called by run(. ", - ".) when FrameScheme is set to ON_DEMAND. "); - I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME, - Properties::VIRTUAL, - __void__advance__double, - "", - ""); - I_Method0(void, eventTraversal, - Properties::VIRTUAL, - __void__eventTraversal, - "", - ""); - I_Method0(void, updateTraversal, - Properties::VIRTUAL, - __void__updateTraversal, - "", - ""); - I_Method1(void, setCameraWithFocus, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - __void__setCameraWithFocus__osg_Camera_P1, - "", - ""); - I_Method0(osg::Camera *, getCameraWithFocus, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCameraWithFocus, - "", - ""); - I_Method0(const osg::Camera *, getCameraWithFocus, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCameraWithFocus, - "", - ""); - I_MethodWithDefaults2(void, getCameras, IN, osgViewer::ViewerBase::Cameras &, cameras, , IN, bool, onlyActive, true, - Properties::VIRTUAL, - __void__getCameras__Cameras_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getContexts, IN, osgViewer::ViewerBase::Contexts &, contexts, , IN, bool, onlyValid, true, - Properties::VIRTUAL, - __void__getContexts__Contexts_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getAllThreads, IN, osgViewer::ViewerBase::Threads &, threads, , IN, bool, onlyActive, true, - Properties::VIRTUAL, - __void__getAllThreads__Threads_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getOperationThreads, IN, osgViewer::ViewerBase::OperationThreads &, threads, , IN, bool, onlyActive, true, - Properties::VIRTUAL, - __void__getOperationThreads__OperationThreads_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getScenes, IN, osgViewer::ViewerBase::Scenes &, scenes, , IN, bool, onlyValid, true, - Properties::VIRTUAL, - __void__getScenes__Scenes_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getViews, IN, osgViewer::ViewerBase::Views &, views, , IN, bool, onlyValid, true, - Properties::VIRTUAL, - __void__getViews__Views_R1__bool, - "", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this viewer. ", - ""); - I_ProtectedMethod0(void, constructorInit, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__constructorInit, - "", - ""); - I_ProtectedMethod0(void, viewerInit, - Properties::VIRTUAL, - Properties::NON_CONST, - __void__viewerInit, - "", - ""); - I_SimpleProperty(osg::Camera *, CameraWithFocus, - __osg_Camera_P1__getCameraWithFocus, - __void__setCameraWithFocus__osg_Camera_P1); - I_SimpleProperty(double, ReferenceTime, - 0, - __void__setReferenceTime__double); - I_SimpleProperty(osg::Node *, SceneData, - 0, - __void__setSceneData__osg_Node_P1); - I_SimpleProperty(osg::Timer_t, StartTick, - 0, - __void__setStartTick__osg_Timer_t); - I_SimpleProperty(osg::FrameStamp *, ViewerFrameStamp, - __osg_FrameStamp_P1__getViewerFrameStamp, - 0); - I_SimpleProperty(osg::Stats *, ViewerStats, - __osg_Stats_P1__getViewerStats, - __void__setViewerStats__osg_Stats_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgViewer/ViewerBase.cpp b/src/osgWrappers/introspection/osgViewer/ViewerBase.cpp deleted file mode 100644 index 5d8b3b722..000000000 --- a/src/osgWrappers/introspection/osgViewer/ViewerBase.cpp +++ /dev/null @@ -1,462 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgViewer::ViewerBase::ThreadingModel) - I_DeclaringFile("osgViewer/ViewerBase"); - I_EnumLabel(osgViewer::ViewerBase::SingleThreaded); - I_EnumLabel(osgViewer::ViewerBase::CullDrawThreadPerContext); - I_EnumLabel(osgViewer::ViewerBase::ThreadPerContext); - I_EnumLabel(osgViewer::ViewerBase::DrawThreadPerContext); - I_EnumLabel(osgViewer::ViewerBase::CullThreadPerCameraDrawThreadPerContext); - I_EnumLabel(osgViewer::ViewerBase::ThreadPerCamera); - I_EnumLabel(osgViewer::ViewerBase::AutomaticSelection); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgViewer::ViewerBase::BarrierPosition) - I_DeclaringFile("osgViewer/ViewerBase"); - I_EnumLabel(osgViewer::ViewerBase::BeforeSwapBuffers); - I_EnumLabel(osgViewer::ViewerBase::AfterSwapBuffers); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgViewer::ViewerBase::FrameScheme) - I_DeclaringFile("osgViewer/ViewerBase"); - I_EnumLabel(osgViewer::ViewerBase::ON_DEMAND); - I_EnumLabel(osgViewer::ViewerBase::CONTINUOUS); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::Camera * >, osgViewer::ViewerBase::Cameras) - -TYPE_NAME_ALIAS(std::vector< osg::GraphicsContext * >, osgViewer::ViewerBase::Contexts) - -TYPE_NAME_ALIAS(std::vector< osgViewer::GraphicsWindow * >, osgViewer::ViewerBase::Windows) - -TYPE_NAME_ALIAS(std::vector< OpenThreads::Thread * >, osgViewer::ViewerBase::Threads) - -TYPE_NAME_ALIAS(std::vector< osg::OperationThread * >, osgViewer::ViewerBase::OperationThreads) - -TYPE_NAME_ALIAS(std::vector< osgViewer::Scene * >, osgViewer::ViewerBase::Scenes) - -TYPE_NAME_ALIAS(std::vector< osgViewer::View * >, osgViewer::ViewerBase::Views) - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::ViewerBase) - I_DeclaringFile("osgViewer/ViewerBase"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____ViewerBase, - "", - ""); - I_Constructor1(IN, const osgViewer::ViewerBase &, vb, - Properties::NON_EXPLICIT, - ____ViewerBase__C5_ViewerBase_R1, - "", - ""); - I_Method1(void, setViewerStats, IN, osg::Stats *, stats, - Properties::PURE_VIRTUAL, - __void__setViewerStats__osg_Stats_P1, - "Set the Stats object used for collect various frame related timing and scene graph stats. ", - ""); - I_Method0(osg::Stats *, getViewerStats, - Properties::PURE_VIRTUAL, - __osg_Stats_P1__getViewerStats, - "Get the Viewers Stats object. ", - ""); - I_Method0(const osg::Stats *, getViewerStats, - Properties::PURE_VIRTUAL, - __C5_osg_Stats_P1__getViewerStats, - "Get the Viewers Stats object. ", - ""); - I_Method1(bool, readConfiguration, IN, const std::string &, filename, - Properties::PURE_VIRTUAL, - __bool__readConfiguration__C5_std_string_R1, - "read the viewer configuration from a configuration file. ", - ""); - I_Method0(bool, isRealized, - Properties::PURE_VIRTUAL, - __bool__isRealized, - "Get whether at least of one of this viewers windows are realized. ", - ""); - I_Method0(void, realize, - Properties::PURE_VIRTUAL, - __void__realize, - "set up windows and associated threads. ", - ""); - I_Method1(void, setThreadingModel, IN, osgViewer::ViewerBase::ThreadingModel, threadingModel, - Properties::VIRTUAL, - __void__setThreadingModel__ThreadingModel, - "Set the threading model the rendering traversals will use. ", - ""); - I_Method0(osgViewer::ViewerBase::ThreadingModel, getThreadingModel, - Properties::NON_VIRTUAL, - __ThreadingModel__getThreadingModel, - "Get the threading model the rendering traversals will use. ", - ""); - I_Method0(osgViewer::ViewerBase::ThreadingModel, suggestBestThreadingModel, - Properties::VIRTUAL, - __ThreadingModel__suggestBestThreadingModel, - "Let the viewer suggest the best threading model for the viewers camera/window setup and the hardware available. ", - ""); - I_Method0(void, setUpThreading, - Properties::VIRTUAL, - __void__setUpThreading, - "Set up the threading and processor affinity as per the viewers threading model. ", - ""); - I_Method0(bool, areThreadsRunning, - Properties::NON_VIRTUAL, - __bool__areThreadsRunning, - "Return true if viewer threads are running. ", - ""); - I_Method0(void, stopThreading, - Properties::VIRTUAL, - __void__stopThreading, - "Stop any threads begin run by viewer. ", - ""); - I_Method0(void, startThreading, - Properties::VIRTUAL, - __void__startThreading, - "Start any threads required by the viewer. ", - ""); - I_Method1(void, setEndBarrierPosition, IN, osgViewer::ViewerBase::BarrierPosition, bp, - Properties::NON_VIRTUAL, - __void__setEndBarrierPosition__BarrierPosition, - "Set the position of the end barrier. ", - "AfterSwapBuffers may result in slightly higher framerates, but may lead to inconsistent swapping between different windows. BeforeSwapBuffers may lead to slightly lower framerate, but improve consistency in timing of swap buffers, especially important if you are likely to consistently break frame. "); - I_Method0(osgViewer::ViewerBase::BarrierPosition, getEndBarrierPosition, - Properties::NON_VIRTUAL, - __BarrierPosition__getEndBarrierPosition, - "Get the end barrier position. ", - ""); - I_Method1(void, setDone, IN, bool, done, - Properties::NON_VIRTUAL, - __void__setDone__bool, - "Set the done flag to signal the viewer's work is done and should exit the frame loop. ", - ""); - I_Method0(bool, done, - Properties::NON_VIRTUAL, - __bool__done, - "Return true if viewer's work is done and should exit the frame loop. ", - ""); - I_Method1(void, setEventVisitor, IN, osgGA::EventVisitor *, eventVisitor, - Properties::NON_VIRTUAL, - __void__setEventVisitor__osgGA_EventVisitor_P1, - "Set the EventVisitor. ", - ""); - I_Method0(osgGA::EventVisitor *, getEventVisitor, - Properties::NON_VIRTUAL, - __osgGA_EventVisitor_P1__getEventVisitor, - "Get the EventVisitor. ", - ""); - I_Method0(const osgGA::EventVisitor *, getEventVisitor, - Properties::NON_VIRTUAL, - __C5_osgGA_EventVisitor_P1__getEventVisitor, - "Get the const EventVisitor. ", - ""); - I_Method1(void, setKeyEventSetsDone, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventSetsDone__int, - "Set the key event that the viewer checks on each frame to see if the viewer's done flag should be set to signal end of viewers main loop. ", - "Default value is Escape (osgGA::GUIEVentAdapter::KEY_Escape). Setting to 0 switches off the feature. "); - I_Method0(int, getKeyEventSetsDone, - Properties::NON_VIRTUAL, - __int__getKeyEventSetsDone, - "get the key event that the viewer checks on each frame to see if the viewer's done flag. ", - ""); - I_Method1(void, setQuitEventSetsDone, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setQuitEventSetsDone__bool, - "if the flag is true, the viewer set its done flag when a QUIT_APPLICATION is received, false disables this feature ", - ""); - I_Method0(bool, getQuitEventSetsDone, - Properties::NON_VIRTUAL, - __bool__getQuitEventSetsDone, - "", - "true if the viewer respond to the QUIT_APPLICATION-event "); - I_Method1(void, setReleaseContextAtEndOfFrameHint, IN, bool, hint, - Properties::NON_VIRTUAL, - __void__setReleaseContextAtEndOfFrameHint__bool, - "Hint to tell the renderingTraversals() method whether to call relaseContext() on the last context that was made current by the thread calling renderingTraverals(). ", - "Note, when running multi-threaded viewer no threads will be made current or release current. Setting this hint to false can enable the frame loop to be lazy about calling makeCurrent and releaseContext on each new frame, helping performance. However, if you frame loop is managing multiple graphics context all from the main frame thread then this hint must be left on, otherwise the wrong context could be left active, introducing errors in rendering. "); - I_Method0(bool, getReleaseContextAtEndOfFrameHint, - Properties::NON_VIRTUAL, - __bool__getReleaseContextAtEndOfFrameHint, - "Hint to tell the renderingTraversals() method whether to call relaseContext(). ", - ""); - I_Method1(void, setUpdateVisitor, IN, osgUtil::UpdateVisitor *, updateVisitor, - Properties::NON_VIRTUAL, - __void__setUpdateVisitor__osgUtil_UpdateVisitor_P1, - "Set the UpdateVisitor. ", - ""); - I_Method0(osgUtil::UpdateVisitor *, getUpdateVisitor, - Properties::NON_VIRTUAL, - __osgUtil_UpdateVisitor_P1__getUpdateVisitor, - "Get the UpdateVisitor. ", - ""); - I_Method0(const osgUtil::UpdateVisitor *, getUpdateVisitor, - Properties::NON_VIRTUAL, - __C5_osgUtil_UpdateVisitor_P1__getUpdateVisitor, - "Get the const UpdateVisitor. ", - ""); - I_Method1(void, setUpdateOperations, IN, osg::OperationQueue *, operations, - Properties::NON_VIRTUAL, - __void__setUpdateOperations__osg_OperationQueue_P1, - "Set the Update OperationQueue. ", - ""); - I_Method0(osg::OperationQueue *, getUpdateOperations, - Properties::NON_VIRTUAL, - __osg_OperationQueue_P1__getUpdateOperations, - "Get the Update OperationQueue. ", - ""); - I_Method0(const osg::OperationQueue *, getUpdateOperations, - Properties::NON_VIRTUAL, - __C5_osg_OperationQueue_P1__getUpdateOperations, - "Get the const Update OperationQueue. ", - ""); - I_Method1(void, addUpdateOperation, IN, osg::Operation *, operation, - Properties::NON_VIRTUAL, - __void__addUpdateOperation__osg_Operation_P1, - "Add an update operation. ", - ""); - I_Method1(void, removeUpdateOperation, IN, osg::Operation *, operation, - Properties::NON_VIRTUAL, - __void__removeUpdateOperation__osg_Operation_P1, - "Remove an update operation. ", - ""); - I_Method1(void, setRealizeOperation, IN, osg::Operation *, op, - Properties::NON_VIRTUAL, - __void__setRealizeOperation__osg_Operation_P1, - "Set the graphics operation to call on realization of the viewers graphics windows. ", - ""); - I_Method0(osg::Operation *, getRealizeOperation, - Properties::NON_VIRTUAL, - __osg_Operation_P1__getRealizeOperation, - "Get the graphics operation to call on realization of the viewers graphics windows. ", - ""); - I_Method1(void, setIncrementalCompileOperation, IN, osgUtil::IncrementalCompileOperation *, ico, - Properties::NON_VIRTUAL, - __void__setIncrementalCompileOperation__osgUtil_IncrementalCompileOperation_P1, - "Set the incremental compile operation. ", - "Used to manage the OpenGL object compilation and merging of subgraphs in a way that avoids overloading the rendering of frame with too many new objects in one frame. "); - I_Method0(osgUtil::IncrementalCompileOperation *, getIncrementalCompileOperation, - Properties::NON_VIRTUAL, - __osgUtil_IncrementalCompileOperation_P1__getIncrementalCompileOperation, - "Get the incremental compile operation. ", - ""); - I_Method0(void, checkWindowStatus, - Properties::NON_VIRTUAL, - __void__checkWindowStatus, - "Check to see if windows are still open, if not set viewer done to true. ", - ""); - I_Method1(void, setRunFrameScheme, IN, osgViewer::ViewerBase::FrameScheme, fs, - Properties::NON_VIRTUAL, - __void__setRunFrameScheme__FrameScheme, - "", - ""); - I_Method0(osgViewer::ViewerBase::FrameScheme, getRunFrameScheme, - Properties::NON_VIRTUAL, - __FrameScheme__getRunFrameScheme, - "", - ""); - I_Method1(void, setRunMaxFrameRate, IN, double, frameRate, - Properties::NON_VIRTUAL, - __void__setRunMaxFrameRate__double, - "", - ""); - I_Method0(double, getRunMaxFrameRate, - Properties::NON_VIRTUAL, - __double__getRunMaxFrameRate, - "", - ""); - I_Method0(int, run, - Properties::VIRTUAL, - __int__run, - "Execute a main frame loop. ", - "Equivalent to while (!viewer.done()) viewer.frame(); Also calls realize() if the viewer is not already realized, and installs trackball manipulator if one is not already assigned. "); - I_Method0(bool, checkNeedToDoFrame, - Properties::PURE_VIRTUAL, - __bool__checkNeedToDoFrame, - "check to see if the new frame is required, called by run(. ", - ".) when FrameScheme is set to ON_DEMAND. "); - I_MethodWithDefaults1(void, frame, IN, double, simulationTime, USE_REFERENCE_TIME, - Properties::VIRTUAL, - __void__frame__double, - "Render a complete new frame. ", - "Calls advance(), eventTraversal(), updateTraversal(), renderingTraversals(). "); - I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME, - Properties::PURE_VIRTUAL, - __void__advance__double, - "", - ""); - I_Method0(void, eventTraversal, - Properties::PURE_VIRTUAL, - __void__eventTraversal, - "", - ""); - I_Method0(void, updateTraversal, - Properties::PURE_VIRTUAL, - __void__updateTraversal, - "", - ""); - I_Method0(void, renderingTraversals, - Properties::VIRTUAL, - __void__renderingTraversals, - "", - ""); - I_MethodWithDefaults2(void, getCameras, IN, osgViewer::ViewerBase::Cameras &, cameras, , IN, bool, onlyActive, true, - Properties::PURE_VIRTUAL, - __void__getCameras__Cameras_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getContexts, IN, osgViewer::ViewerBase::Contexts &, contexts, , IN, bool, onlyValid, true, - Properties::PURE_VIRTUAL, - __void__getContexts__Contexts_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getWindows, IN, osgViewer::ViewerBase::Windows &, windows, , IN, bool, onlyValid, true, - Properties::VIRTUAL, - __void__getWindows__Windows_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getAllThreads, IN, osgViewer::ViewerBase::Threads &, threads, , IN, bool, onlyActive, true, - Properties::PURE_VIRTUAL, - __void__getAllThreads__Threads_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getOperationThreads, IN, osgViewer::ViewerBase::OperationThreads &, threads, , IN, bool, onlyActive, true, - Properties::PURE_VIRTUAL, - __void__getOperationThreads__OperationThreads_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getScenes, IN, osgViewer::ViewerBase::Scenes &, scenes, , IN, bool, onlyValid, true, - Properties::PURE_VIRTUAL, - __void__getScenes__Scenes_R1__bool, - "", - ""); - I_MethodWithDefaults2(void, getViews, IN, osgViewer::ViewerBase::Views &, views, , IN, bool, onlyValid, true, - Properties::PURE_VIRTUAL, - __void__getViews__Views_R1__bool, - "", - ""); - I_Method0(double, elapsedTime, - Properties::PURE_VIRTUAL, - __double__elapsedTime, - "", - ""); - I_Method0(osg::FrameStamp *, getViewerFrameStamp, - Properties::PURE_VIRTUAL, - __osg_FrameStamp_P1__getViewerFrameStamp, - "", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::PURE_VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this viewer. ", - ""); - I_ProtectedMethod0(void, viewerBaseInit, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__viewerBaseInit, - "", - ""); - I_ProtectedMethod1(void, makeCurrent, IN, osg::GraphicsContext *, gc, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__makeCurrent__osg_GraphicsContext_P1, - "", - ""); - I_ProtectedMethod0(void, releaseContext, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__releaseContext, - "", - ""); - I_ProtectedMethod0(void, viewerInit, - Properties::PURE_VIRTUAL, - Properties::NON_CONST, - __void__viewerInit, - "", - ""); - I_SimpleProperty(bool, Done, - 0, - __void__setDone__bool); - I_SimpleProperty(osgViewer::ViewerBase::BarrierPosition, EndBarrierPosition, - __BarrierPosition__getEndBarrierPosition, - __void__setEndBarrierPosition__BarrierPosition); - I_SimpleProperty(osgGA::EventVisitor *, EventVisitor, - __osgGA_EventVisitor_P1__getEventVisitor, - __void__setEventVisitor__osgGA_EventVisitor_P1); - I_SimpleProperty(osgUtil::IncrementalCompileOperation *, IncrementalCompileOperation, - __osgUtil_IncrementalCompileOperation_P1__getIncrementalCompileOperation, - __void__setIncrementalCompileOperation__osgUtil_IncrementalCompileOperation_P1); - I_SimpleProperty(int, KeyEventSetsDone, - __int__getKeyEventSetsDone, - __void__setKeyEventSetsDone__int); - I_SimpleProperty(bool, QuitEventSetsDone, - __bool__getQuitEventSetsDone, - __void__setQuitEventSetsDone__bool); - I_SimpleProperty(osg::Operation *, RealizeOperation, - __osg_Operation_P1__getRealizeOperation, - __void__setRealizeOperation__osg_Operation_P1); - I_SimpleProperty(bool, ReleaseContextAtEndOfFrameHint, - __bool__getReleaseContextAtEndOfFrameHint, - __void__setReleaseContextAtEndOfFrameHint__bool); - I_SimpleProperty(osgViewer::ViewerBase::FrameScheme, RunFrameScheme, - __FrameScheme__getRunFrameScheme, - __void__setRunFrameScheme__FrameScheme); - I_SimpleProperty(double, RunMaxFrameRate, - __double__getRunMaxFrameRate, - __void__setRunMaxFrameRate__double); - I_SimpleProperty(osgViewer::ViewerBase::ThreadingModel, ThreadingModel, - __ThreadingModel__getThreadingModel, - __void__setThreadingModel__ThreadingModel); - I_SimpleProperty(osg::OperationQueue *, UpdateOperations, - __osg_OperationQueue_P1__getUpdateOperations, - __void__setUpdateOperations__osg_OperationQueue_P1); - I_SimpleProperty(osgUtil::UpdateVisitor *, UpdateVisitor, - __osgUtil_UpdateVisitor_P1__getUpdateVisitor, - __void__setUpdateVisitor__osgUtil_UpdateVisitor_P1); - I_SimpleProperty(osg::FrameStamp *, ViewerFrameStamp, - __osg_FrameStamp_P1__getViewerFrameStamp, - 0); - I_SimpleProperty(osg::Stats *, ViewerStats, - __osg_Stats_P1__getViewerStats, - __void__setViewerStats__osg_Stats_P1); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< OpenThreads::Thread * >) - -STD_VECTOR_REFLECTOR(std::vector< osg::Camera * >) - -STD_VECTOR_REFLECTOR(std::vector< osg::OperationThread * >) - -STD_VECTOR_REFLECTOR(std::vector< osgViewer::GraphicsWindow * >) - -STD_VECTOR_REFLECTOR(std::vector< osgViewer::Scene * >) - -STD_VECTOR_REFLECTOR(std::vector< osgViewer::View * >) - diff --git a/src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp b/src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp deleted file mode 100644 index 5ac1b7ce6..000000000 --- a/src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp +++ /dev/null @@ -1,729 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgViewer::HelpHandler) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_ConstructorWithDefaults1(IN, osg::ApplicationUsage *, au, 0, - Properties::NON_EXPLICIT, - ____HelpHandler__osg_ApplicationUsage_P1, - "", - ""); - I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, au, - Properties::NON_VIRTUAL, - __void__setApplicationUsage__osg_ApplicationUsage_P1, - "", - ""); - I_Method0(osg::ApplicationUsage *, getApplicationUsage, - Properties::NON_VIRTUAL, - __osg_ApplicationUsage_P1__getApplicationUsage, - "", - ""); - I_Method0(const osg::ApplicationUsage *, getApplicationUsage, - Properties::NON_VIRTUAL, - __C5_osg_ApplicationUsage_P1__getApplicationUsage, - "", - ""); - I_Method1(void, setKeyEventTogglesOnScreenHelp, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventTogglesOnScreenHelp__int, - "", - ""); - I_Method0(int, getKeyEventTogglesOnScreenHelp, - Properties::NON_VIRTUAL, - __int__getKeyEventTogglesOnScreenHelp, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCamera, - "", - ""); - I_Method0(const osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCamera, - "", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_ProtectedMethod1(void, setUpHUDCamera, IN, osgViewer::ViewerBase *, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpHUDCamera__osgViewer_ViewerBase_P1, - "", - ""); - I_ProtectedMethod1(void, setUpScene, IN, osgViewer::ViewerBase *, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpScene__osgViewer_ViewerBase_P1, - "", - ""); - I_SimpleProperty(osg::ApplicationUsage *, ApplicationUsage, - __osg_ApplicationUsage_P1__getApplicationUsage, - __void__setApplicationUsage__osg_ApplicationUsage_P1); - I_SimpleProperty(osg::Camera *, Camera, - __osg_Camera_P1__getCamera, - 0); - I_SimpleProperty(int, KeyEventTogglesOnScreenHelp, - __int__getKeyEventTogglesOnScreenHelp, - __void__setKeyEventTogglesOnScreenHelp__int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::InteractiveImageHandler) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_BaseType(osg::Drawable::CullCallback); - I_ConstructorWithDefaults2(IN, osg::Image *, image, , IN, osg::Camera *, camera, 0, - ____InteractiveImageHandler__osg_Image_P1__osg_Camera_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, - "Handle events, return true if handled, false otherwise. ", - ""); - I_Method3(bool, cull, IN, osg::NodeVisitor *, nv, IN, osg::Drawable *, drawable, IN, osg::RenderInfo *, renderInfo, - Properties::VIRTUAL, - __bool__cull__osg_NodeVisitor_P1__osg_Drawable_P1__osg_RenderInfo_P1, - "do customized cull code, return true if drawable should be culled. ", - ""); - I_ProtectedConstructor0(____InteractiveImageHandler, - "", - ""); - I_ProtectedConstructorWithDefaults2(IN, const osgViewer::InteractiveImageHandler &, x, , IN, const osg::CopyOp &, x, osg::CopyOp::SHALLOW_COPY, - ____InteractiveImageHandler__C5_InteractiveImageHandler_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ProtectedMethod5(bool, mousePosition, IN, osgViewer::View *, view, IN, osg::NodeVisitor *, nv, IN, const osgGA::GUIEventAdapter &, ea, IN, int &, x, IN, int &, y, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__mousePosition__osgViewer_View_P1__osg_NodeVisitor_P1__C5_osgGA_GUIEventAdapter_R1__int_R1__int_R1, - "", - ""); - I_ProtectedMethodWithDefaults6(bool, computeIntersections, IN, osgViewer::View *, view, , IN, float, x, , IN, float, y, , IN, const osg::NodePath &, nodePath, , IN, osgUtil::LineSegmentIntersector::Intersections &, intersections, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff, - Properties::NON_VIRTUAL, - Properties::CONST, - __bool__computeIntersections__osgViewer_View_P1__float__float__C5_osg_NodePath_R1__osgUtil_LineSegmentIntersector_Intersections_R1__osg_Node_NodeMask, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::LODScaleHandler) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_Constructor0(____LODScaleHandler, - "", - ""); - I_Method1(void, setKeyEventIncreaseLODScale, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventIncreaseLODScale__int, - "", - ""); - I_Method0(int, getKeyEventIncreaseLODScale, - Properties::NON_VIRTUAL, - __int__getKeyEventIncreaseLODScale, - "", - ""); - I_Method1(void, setKeyEventDecreaseLODScale, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventDecreaseLODScale__int, - "", - ""); - I_Method0(int, getKeyEventDecreaseLODScale, - Properties::NON_VIRTUAL, - __int__getKeyEventDecreaseLODScale, - "", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_SimpleProperty(int, KeyEventDecreaseLODScale, - __int__getKeyEventDecreaseLODScale, - __void__setKeyEventDecreaseLODScale__int); - I_SimpleProperty(int, KeyEventIncreaseLODScale, - __int__getKeyEventIncreaseLODScale, - __void__setKeyEventIncreaseLODScale__int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::RecordCameraPathHandler) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_ConstructorWithDefaults2(IN, const std::string &, filename, "saved_animation.path", IN, float, fps, 25.0f, - ____RecordCameraPathHandler__C5_std_string_R1__float, - "", - ""); - I_Method1(void, setKeyEventToggleRecord, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventToggleRecord__int, - "", - ""); - I_Method0(int, getKeyEventToggleRecord, - Properties::NON_VIRTUAL, - __int__getKeyEventToggleRecord, - "", - ""); - I_Method1(void, setKeyEventTogglePlayback, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventTogglePlayback__int, - "", - ""); - I_Method0(int, getKeyEventTogglePlayback, - Properties::NON_VIRTUAL, - __int__getKeyEventTogglePlayback, - "", - ""); - I_MethodWithDefaults1(void, setAutoIncrementFilename, IN, bool, autoinc, true, - Properties::NON_VIRTUAL, - __void__setAutoIncrementFilename__bool, - "", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, x, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_SimpleProperty(bool, AutoIncrementFilename, - 0, - __void__setAutoIncrementFilename__bool); - I_SimpleProperty(int, KeyEventTogglePlayback, - __int__getKeyEventTogglePlayback, - __void__setKeyEventTogglePlayback__int); - I_SimpleProperty(int, KeyEventToggleRecord, - __int__getKeyEventToggleRecord, - __void__setKeyEventToggleRecord__int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::ScreenCaptureHandler) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_ConstructorWithDefaults2(IN, osgViewer::ScreenCaptureHandler::CaptureOperation *, defaultOperation, 0, IN, int, numFrames, 1, - ____ScreenCaptureHandler__CaptureOperation_P1__int, - "", - " param numFrames >0: capture that number of frames. <0: capture all frames, call stopCapture() to stop it. "); - I_Method1(void, setKeyEventTakeScreenShot, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventTakeScreenShot__int, - "", - ""); - I_Method0(int, getKeyEventTakeScreenShot, - Properties::NON_VIRTUAL, - __int__getKeyEventTakeScreenShot, - "", - ""); - I_Method1(void, setKeyEventToggleContinuousCapture, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventToggleContinuousCapture__int, - "", - ""); - I_Method0(int, getKeyEventToggleContinuousCapture, - Properties::NON_VIRTUAL, - __int__getKeyEventToggleContinuousCapture, - "", - ""); - I_Method1(void, setCaptureOperation, IN, osgViewer::ScreenCaptureHandler::CaptureOperation *, operation, - Properties::NON_VIRTUAL, - __void__setCaptureOperation__CaptureOperation_P1, - "", - ""); - I_Method0(osgViewer::ScreenCaptureHandler::CaptureOperation *, getCaptureOperation, - Properties::NON_VIRTUAL, - __CaptureOperation_P1__getCaptureOperation, - "", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, captureNextFrame, IN, osgViewer::ViewerBase &, viewer, - Properties::VIRTUAL, - __void__captureNextFrame__osgViewer_ViewerBase_R1, - "Capture the given viewer's views on the next frame. ", - ""); - I_Method1(void, setFramesToCapture, IN, int, numFrames, - Properties::NON_VIRTUAL, - __void__setFramesToCapture__int, - "Set the number of frames to capture. ", - " param numFrames >0: capture that number of frames. <0: capture all frames, call stopCapture() to stop it. "); - I_Method0(int, getFramesToCapture, - Properties::NON_VIRTUAL, - __int__getFramesToCapture, - "Get the number of frames to capture. ", - ""); - I_Method0(void, startCapture, - Properties::NON_VIRTUAL, - __void__startCapture, - "Start capturing any viewer(s) the handler is attached to at the end of the next frame. ", - ""); - I_Method0(void, stopCapture, - Properties::NON_VIRTUAL, - __void__stopCapture, - "Stop capturing. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_ProtectedMethod1(void, addCallbackToViewer, IN, osgViewer::ViewerBase &, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__addCallbackToViewer__osgViewer_ViewerBase_R1, - "", - ""); - I_ProtectedMethod1(void, removeCallbackFromViewer, IN, osgViewer::ViewerBase &, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__removeCallbackFromViewer__osgViewer_ViewerBase_R1, - "", - ""); - I_ProtectedMethod1(osg::Camera *, findAppropriateCameraForCallback, IN, osgViewer::ViewerBase &, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Camera_P1__findAppropriateCameraForCallback__osgViewer_ViewerBase_R1, - "", - ""); - I_SimpleProperty(osgViewer::ScreenCaptureHandler::CaptureOperation *, CaptureOperation, - __CaptureOperation_P1__getCaptureOperation, - __void__setCaptureOperation__CaptureOperation_P1); - I_SimpleProperty(int, FramesToCapture, - __int__getFramesToCapture, - __void__setFramesToCapture__int); - I_SimpleProperty(int, KeyEventTakeScreenShot, - __int__getKeyEventTakeScreenShot, - __void__setKeyEventTakeScreenShot__int); - I_SimpleProperty(int, KeyEventToggleContinuousCapture, - __int__getKeyEventToggleContinuousCapture, - __void__setKeyEventToggleContinuousCapture__int); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::ScreenCaptureHandler::CaptureOperation) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_BaseType(osg::Referenced); - I_Constructor0(____CaptureOperation, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgViewer::ScreenCaptureHandler::WriteToFile::SavePolicy) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_EnumLabel(osgViewer::ScreenCaptureHandler::WriteToFile::OVERWRITE); - I_EnumLabel(osgViewer::ScreenCaptureHandler::WriteToFile::SEQUENTIAL_NUMBER); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::ScreenCaptureHandler::WriteToFile) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_BaseType(osgViewer::ScreenCaptureHandler::CaptureOperation); - I_ConstructorWithDefaults3(IN, const std::string &, filename, , IN, const std::string &, extension, , IN, osgViewer::ScreenCaptureHandler::WriteToFile::SavePolicy, savePolicy, osgViewer::ScreenCaptureHandler::WriteToFile::SEQUENTIAL_NUMBER, - ____WriteToFile__C5_std_string_R1__C5_std_string_R1__SavePolicy, - "", - ""); - I_Method1(void, setSavePolicy, IN, osgViewer::ScreenCaptureHandler::WriteToFile::SavePolicy, savePolicy, - Properties::NON_VIRTUAL, - __void__setSavePolicy__SavePolicy, - "", - ""); - I_Method0(osgViewer::ScreenCaptureHandler::WriteToFile::SavePolicy, getSavePolicy, - Properties::NON_VIRTUAL, - __SavePolicy__getSavePolicy, - "", - ""); - I_SimpleProperty(osgViewer::ScreenCaptureHandler::WriteToFile::SavePolicy, SavePolicy, - __SavePolicy__getSavePolicy, - __void__setSavePolicy__SavePolicy); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgViewer::StatsHandler::StatsType) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_EnumLabel(osgViewer::StatsHandler::NO_STATS); - I_EnumLabel(osgViewer::StatsHandler::FRAME_RATE); - I_EnumLabel(osgViewer::StatsHandler::VIEWER_STATS); - I_EnumLabel(osgViewer::StatsHandler::CAMERA_SCENE_STATS); - I_EnumLabel(osgViewer::StatsHandler::VIEWER_SCENE_STATS); - I_EnumLabel(osgViewer::StatsHandler::LAST); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::StatsHandler) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_Constructor0(____StatsHandler, - "", - ""); - I_Method1(void, setKeyEventTogglesOnScreenStats, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventTogglesOnScreenStats__int, - "", - ""); - I_Method0(int, getKeyEventTogglesOnScreenStats, - Properties::NON_VIRTUAL, - __int__getKeyEventTogglesOnScreenStats, - "", - ""); - I_Method1(void, setKeyEventPrintsOutStats, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventPrintsOutStats__int, - "", - ""); - I_Method0(int, getKeyEventPrintsOutStats, - Properties::NON_VIRTUAL, - __int__getKeyEventPrintsOutStats, - "", - ""); - I_Method1(void, setKeyEventToggleVSync, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventToggleVSync__int, - "", - ""); - I_Method0(int, getKeyEventToggleVSync, - Properties::NON_VIRTUAL, - __int__getKeyEventToggleVSync, - "", - ""); - I_Method0(double, getBlockMultiplier, - Properties::NON_VIRTUAL, - __double__getBlockMultiplier, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCamera, - "", - ""); - I_Method0(const osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCamera, - "", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_ProtectedMethod1(void, setUpHUDCamera, IN, osgViewer::ViewerBase *, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpHUDCamera__osgViewer_ViewerBase_P1, - "", - ""); - I_ProtectedMethod4(osg::Geometry *, createBackgroundRectangle, IN, const osg::Vec3 &, pos, IN, const float, width, IN, const float, height, IN, osg::Vec4 &, color, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createBackgroundRectangle__C5_osg_Vec3_R1__C5_float__C5_float__osg_Vec4_R1, - "", - ""); - I_ProtectedMethod4(osg::Geometry *, createGeometry, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createGeometry__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, - "", - ""); - I_ProtectedMethod4(osg::Geometry *, createFrameMarkers, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createFrameMarkers__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, - "", - ""); - I_ProtectedMethod4(osg::Geometry *, createTick, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numTicks, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createTick__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, - "", - ""); - I_ProtectedMethod7(osg::Node *, createCameraTimeStats, IN, const std::string &, font, IN, osg::Vec3 &, pos, IN, float, startBlocks, IN, bool, acquireGPUStats, IN, float, characterSize, IN, osg::Stats *, viewerStats, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Node_P1__createCameraTimeStats__C5_std_string_R1__osg_Vec3_R1__float__bool__float__osg_Stats_P1__osg_Camera_P1, - "", - ""); - I_ProtectedMethod1(void, setUpScene, IN, osgViewer::ViewerBase *, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpScene__osgViewer_ViewerBase_P1, - "", - ""); - I_ProtectedMethod0(void, updateThreadingModelText, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__updateThreadingModelText, - "", - ""); - I_SimpleProperty(double, BlockMultiplier, - __double__getBlockMultiplier, - 0); - I_SimpleProperty(osg::Camera *, Camera, - __osg_Camera_P1__getCamera, - 0); - I_SimpleProperty(int, KeyEventPrintsOutStats, - __int__getKeyEventPrintsOutStats, - __void__setKeyEventPrintsOutStats__int); - I_SimpleProperty(int, KeyEventToggleVSync, - __int__getKeyEventToggleVSync, - __void__setKeyEventToggleVSync__int); - I_SimpleProperty(int, KeyEventTogglesOnScreenStats, - __int__getKeyEventTogglesOnScreenStats, - __void__setKeyEventTogglesOnScreenStats__int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::ThreadingHandler) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_Constructor0(____ThreadingHandler, - "", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_Method1(void, setKeyEventChangeThreadingModel, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventChangeThreadingModel__int, - "", - ""); - I_Method0(int, getKeyEventChangeThreadingModel, - Properties::NON_VIRTUAL, - __int__getKeyEventChangeThreadingModel, - "", - ""); - I_Method1(void, setChangeThreadingModel, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setChangeThreadingModel__bool, - "", - ""); - I_Method0(bool, getChangeThreadingModel, - Properties::NON_VIRTUAL, - __bool__getChangeThreadingModel, - "", - ""); - I_Method1(void, setKeyEventChangeEndBarrierPosition, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventChangeEndBarrierPosition__int, - "", - ""); - I_Method0(int, getKeyEventChangeEndBarrierPosition, - Properties::NON_VIRTUAL, - __int__getKeyEventChangeEndBarrierPosition, - "", - ""); - I_Method1(void, setChangeEndBarrierPosition, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setChangeEndBarrierPosition__bool, - "", - ""); - I_Method0(bool, getChangeEndBarrierPosition, - Properties::NON_VIRTUAL, - __bool__getChangeEndBarrierPosition, - "", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_SimpleProperty(bool, ChangeEndBarrierPosition, - __bool__getChangeEndBarrierPosition, - __void__setChangeEndBarrierPosition__bool); - I_SimpleProperty(bool, ChangeThreadingModel, - __bool__getChangeThreadingModel, - __void__setChangeThreadingModel__bool); - I_SimpleProperty(int, KeyEventChangeEndBarrierPosition, - __int__getKeyEventChangeEndBarrierPosition, - __void__setKeyEventChangeEndBarrierPosition__int); - I_SimpleProperty(int, KeyEventChangeThreadingModel, - __int__getKeyEventChangeThreadingModel, - __void__setKeyEventChangeThreadingModel__int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::WindowSizeHandler) - I_DeclaringFile("osgViewer/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_Constructor0(____WindowSizeHandler, - "", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_Method1(void, setKeyEventToggleFullscreen, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventToggleFullscreen__int, - "", - ""); - I_Method0(int, getKeyEventToggleFullscreen, - Properties::NON_VIRTUAL, - __int__getKeyEventToggleFullscreen, - "", - ""); - I_Method1(void, setToggleFullscreen, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setToggleFullscreen__bool, - "", - ""); - I_Method0(bool, getToggleFullscreen, - Properties::NON_VIRTUAL, - __bool__getToggleFullscreen, - "", - ""); - I_Method1(void, setKeyEventWindowedResolutionUp, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventWindowedResolutionUp__int, - "", - ""); - I_Method0(int, getKeyEventWindowedResolutionUp, - Properties::NON_VIRTUAL, - __int__getKeyEventWindowedResolutionUp, - "", - ""); - I_Method1(void, setKeyEventWindowedResolutionDown, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventWindowedResolutionDown__int, - "", - ""); - I_Method0(int, getKeyEventWindowedResolutionDown, - Properties::NON_VIRTUAL, - __int__getKeyEventWindowedResolutionDown, - "", - ""); - I_Method1(void, setChangeWindowedResolution, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__setChangeWindowedResolution__bool, - "", - ""); - I_Method0(bool, getChangeWindowedResolution, - Properties::NON_VIRTUAL, - __bool__getChangeWindowedResolution, - "", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "Deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_ProtectedMethod1(void, toggleFullscreen, IN, osgViewer::GraphicsWindow *, window, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__toggleFullscreen__osgViewer_GraphicsWindow_P1, - "", - ""); - I_ProtectedMethod2(void, changeWindowedResolution, IN, osgViewer::GraphicsWindow *, window, IN, bool, increase, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__changeWindowedResolution__osgViewer_GraphicsWindow_P1__bool, - "", - ""); - I_ProtectedMethod4(unsigned int, getNearestResolution, IN, int, screenWidth, IN, int, screenHeight, IN, int, width, IN, int, height, - Properties::NON_VIRTUAL, - Properties::CONST, - __unsigned_int__getNearestResolution__int__int__int__int, - "", - ""); - I_SimpleProperty(bool, ChangeWindowedResolution, - __bool__getChangeWindowedResolution, - __void__setChangeWindowedResolution__bool); - I_SimpleProperty(int, KeyEventToggleFullscreen, - __int__getKeyEventToggleFullscreen, - __void__setKeyEventToggleFullscreen__int); - I_SimpleProperty(int, KeyEventWindowedResolutionDown, - __int__getKeyEventWindowedResolutionDown, - __void__setKeyEventWindowedResolutionDown__int); - I_SimpleProperty(int, KeyEventWindowedResolutionUp, - __int__getKeyEventWindowedResolutionUp, - __void__setKeyEventWindowedResolutionUp__int); - I_SimpleProperty(bool, ToggleFullscreen, - __bool__getToggleFullscreen, - __void__setToggleFullscreen__bool); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgViewer/api/Carbon/GraphicsHandleCarbon.cpp b/src/osgWrappers/introspection/osgViewer/api/Carbon/GraphicsHandleCarbon.cpp deleted file mode 100644 index 00f058e12..000000000 --- a/src/osgWrappers/introspection/osgViewer/api/Carbon/GraphicsHandleCarbon.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgViewer::GraphicsHandleCarbon) - I_DeclaringFile("osgViewer/api/Carbon/GraphicsHandleCarbon"); - I_Constructor0(____GraphicsHandleCarbon, - "", - ""); - I_Method1(void, setAGLContext, IN, AGLContext, context, - Properties::NON_VIRTUAL, - __void__setAGLContext__AGLContext, - "Set native AGL graphics context. ", - ""); - I_Method0(AGLContext, getAGLContext, - Properties::NON_VIRTUAL, - __AGLContext__getAGLContext, - "Get native AGL graphics context. ", - ""); - I_SimpleProperty(AGLContext, AGLContext, - __AGLContext__getAGLContext, - __void__setAGLContext__AGLContext); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgViewer/api/Cocoa/GraphicsHandleCocoa.cpp b/src/osgWrappers/introspection/osgViewer/api/Cocoa/GraphicsHandleCocoa.cpp deleted file mode 100644 index ef014d30c..000000000 --- a/src/osgWrappers/introspection/osgViewer/api/Cocoa/GraphicsHandleCocoa.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgViewer::GraphicsHandleCocoa) - I_DeclaringFile("osgViewer/api/Cocoa/GraphicsHandleCocoa"); - I_Constructor0(____GraphicsHandleCocoa, - "", - ""); - I_Method1(void, setNSOpenGLContext, IN, NSOpenGLContext *, context, - Properties::NON_VIRTUAL, - __void__setNSOpenGLContext__NSOpenGLContext_P1, - "Set native AGL graphics context. ", - ""); - I_Method0(NSOpenGLContext *, getNSOpenGLContext, - Properties::NON_VIRTUAL, - __NSOpenGLContext_P1__getNSOpenGLContext, - "Get native AGL graphics context. ", - ""); - I_SimpleProperty(NSOpenGLContext *, NSOpenGLContext, - __NSOpenGLContext_P1__getNSOpenGLContext, - __void__setNSOpenGLContext__NSOpenGLContext_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgViewer/api/Win32/GraphicsHandleWin32.cpp b/src/osgWrappers/introspection/osgViewer/api/Win32/GraphicsHandleWin32.cpp deleted file mode 100644 index 6d7438ed0..000000000 --- a/src/osgWrappers/introspection/osgViewer/api/Win32/GraphicsHandleWin32.cpp +++ /dev/null @@ -1,70 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgViewer::GraphicsHandleWin32) - I_DeclaringFile("osgViewer/api/Win32/GraphicsHandleWin32"); - I_Constructor0(____GraphicsHandleWin32, - "", - ""); - I_Method1(void, setHWND, IN, HWND, hwnd, - Properties::NON_VIRTUAL, - __void__setHWND__HWND, - "Set native window. ", - ""); - I_Method0(HWND, getHWND, - Properties::NON_VIRTUAL, - __HWND__getHWND, - "Get native window. ", - ""); - I_Method1(void, setHDC, IN, HDC, hdc, - Properties::NON_VIRTUAL, - __void__setHDC__HDC, - "Set device context. ", - ""); - I_Method0(HDC, getHDC, - Properties::NON_VIRTUAL, - __HDC__getHDC, - "Get device context. ", - ""); - I_Method1(void, setWGLContext, IN, HGLRC, hglrc, - Properties::NON_VIRTUAL, - __void__setWGLContext__HGLRC, - "Set native OpenGL graphics context. ", - ""); - I_Method0(HGLRC, getWGLContext, - Properties::NON_VIRTUAL, - __HGLRC__getWGLContext, - "Get native OpenGL graphics context. ", - ""); - I_SimpleProperty(HDC, HDC, - __HDC__getHDC, - __void__setHDC__HDC); - I_SimpleProperty(HWND, HWND, - __HWND__getHWND, - __void__setHWND__HWND); - I_SimpleProperty(HGLRC, WGLContext, - __HGLRC__getWGLContext, - __void__setWGLContext__HGLRC); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgViewer/api/Win32/PixelBufferWin32.cpp b/src/osgWrappers/introspection/osgViewer/api/Win32/PixelBufferWin32.cpp deleted file mode 100644 index 0c85c2cfd..000000000 --- a/src/osgWrappers/introspection/osgViewer/api/Win32/PixelBufferWin32.cpp +++ /dev/null @@ -1,103 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgViewer::PixelBufferWin32) - I_DeclaringFile("osgViewer/api/Win32/PixelBufferWin32"); - I_BaseType(osg::GraphicsContext); - I_BaseType(osgViewer::GraphicsHandleWin32); - I_Constructor1(IN, osg::GraphicsContext::Traits *, traits, - Properties::NON_EXPLICIT, - ____PixelBufferWin32__osg_GraphicsContext_Traits_P1, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, object, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(bool, valid, - Properties::VIRTUAL, - __bool__valid, - "Return whether a valid and usable GraphicsContext has been created. ", - ""); - I_Method0(bool, realizeImplementation, - Properties::VIRTUAL, - __bool__realizeImplementation, - "Realize the GraphicsContext. ", - ""); - I_Method0(bool, isRealizedImplementation, - Properties::VIRTUAL, - __bool__isRealizedImplementation, - "Return true if the graphics context has been realized and is ready to use. ", - ""); - I_Method0(void, closeImplementation, - Properties::VIRTUAL, - __void__closeImplementation, - "Close the graphics context. ", - ""); - I_Method0(bool, makeCurrentImplementation, - Properties::VIRTUAL, - __bool__makeCurrentImplementation, - "Make this graphics context current. ", - ""); - I_Method1(bool, makeContextCurrentImplementation, IN, osg::GraphicsContext *, x, - Properties::VIRTUAL, - __bool__makeContextCurrentImplementation__GraphicsContext_P1, - "", - ""); - I_Method0(bool, releaseContextImplementation, - Properties::VIRTUAL, - __bool__releaseContextImplementation, - "Release the graphics context. ", - ""); - I_Method0(void, swapBuffersImplementation, - Properties::VIRTUAL, - __void__swapBuffersImplementation, - "Swap the front and back buffers. ", - ""); - I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, buffer, - Properties::VIRTUAL, - __void__bindPBufferToTextureImplementation__GLenum, - "Pure virtual, Bind the graphics context to associated texture implementation. ", - "Pure virtual - must be implemented by concrete implementations of GraphicsContext. "); - I_ProtectedMethod0(void, init, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__init, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgViewer/api/X11/GraphicsHandleX11.cpp b/src/osgWrappers/introspection/osgViewer/api/X11/GraphicsHandleX11.cpp deleted file mode 100644 index 0e2c0c251..000000000 --- a/src/osgWrappers/introspection/osgViewer/api/X11/GraphicsHandleX11.cpp +++ /dev/null @@ -1,61 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(GLXContext, osgViewer::GraphicsHandleX11::Context) - -TYPE_NAME_ALIAS(GLXPbuffer, osgViewer::GraphicsHandleX11::Pbuffer) - -BEGIN_VALUE_REFLECTOR(osgViewer::GraphicsHandleX11) - I_DeclaringFile("osgViewer/api/X11/GraphicsHandleX11"); - I_Constructor0(____GraphicsHandleX11, - "", - ""); - I_Method1(void, setDisplay, IN, Display *, display, - Properties::NON_VIRTUAL, - __void__setDisplay__Display_P1, - "Set X11 display. ", - ""); - I_Method0(Display *, getDisplay, - Properties::NON_VIRTUAL, - __Display_P1__getDisplay, - "Get X11 display. ", - ""); - I_Method1(void, setContext, IN, osgViewer::GraphicsHandleX11::Context, context, - Properties::NON_VIRTUAL, - __void__setContext__Context, - "Set native OpenGL graphics context. ", - ""); - I_Method0(osgViewer::GraphicsHandleX11::Context, getContext, - Properties::NON_VIRTUAL, - __Context__getContext, - "Get native OpenGL graphics context. ", - ""); - I_SimpleProperty(osgViewer::GraphicsHandleX11::Context, Context, - __Context__getContext, - __void__setContext__Context); - I_SimpleProperty(Display *, Display, - __Display_P1__getDisplay, - __void__setDisplay__Display_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgViewer/api/X11/PixelBufferX11.cpp b/src/osgWrappers/introspection/osgViewer/api/X11/PixelBufferX11.cpp deleted file mode 100644 index c9e57f7b9..000000000 --- a/src/osgWrappers/introspection/osgViewer/api/X11/PixelBufferX11.cpp +++ /dev/null @@ -1,118 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgViewer::PixelBufferX11) - I_DeclaringFile("osgViewer/api/X11/PixelBufferX11"); - I_BaseType(osg::GraphicsContext); - I_BaseType(osgViewer::GraphicsHandleX11); - I_Constructor1(IN, osg::GraphicsContext::Traits *, traits, - Properties::NON_EXPLICIT, - ____PixelBufferX11__osg_GraphicsContext_Traits_P1, - "", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, object, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(bool, valid, - Properties::VIRTUAL, - __bool__valid, - "Return whether a valid and usable GraphicsContext has been created. ", - ""); - I_Method0(bool, realizeImplementation, - Properties::VIRTUAL, - __bool__realizeImplementation, - "Realise the GraphicsContext. ", - ""); - I_Method0(bool, isRealizedImplementation, - Properties::VIRTUAL, - __bool__isRealizedImplementation, - "Return true if the graphics context has been realised and is ready to use. ", - ""); - I_Method0(void, closeImplementation, - Properties::VIRTUAL, - __void__closeImplementation, - "Close the graphics context. ", - ""); - I_Method0(bool, makeCurrentImplementation, - Properties::VIRTUAL, - __bool__makeCurrentImplementation, - "Make this graphics context current. ", - ""); - I_Method1(bool, makeContextCurrentImplementation, IN, osg::GraphicsContext *, readContext, - Properties::VIRTUAL, - __bool__makeContextCurrentImplementation__osg_GraphicsContext_P1, - "Make this graphics context current with specified read context implementation. ", - ""); - I_Method0(bool, releaseContextImplementation, - Properties::VIRTUAL, - __bool__releaseContextImplementation, - "Release the graphics context. ", - ""); - I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, buffer, - Properties::VIRTUAL, - __void__bindPBufferToTextureImplementation__GLenum, - "Bind the graphics context to associated texture implementation. ", - ""); - I_Method0(void, swapBuffersImplementation, - Properties::VIRTUAL, - __void__swapBuffersImplementation, - "Swap the front and back buffers. ", - ""); - I_Method0(osgViewer::GraphicsHandleX11::Pbuffer &, getPbuffer, - Properties::NON_VIRTUAL, - __Pbuffer_R1__getPbuffer, - "", - ""); - I_ProtectedMethod0(bool, createVisualInfo, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool__createVisualInfo, - "", - ""); - I_ProtectedMethod0(void, init, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__init, - "", - ""); - I_SimpleProperty(osgViewer::GraphicsHandleX11::Pbuffer &, Pbuffer, - __Pbuffer_R1__getPbuffer, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgVolume/Export.cpp b/src/osgWrappers/introspection/osgVolume/Export.cpp deleted file mode 100644 index 91855904a..000000000 --- a/src/osgWrappers/introspection/osgVolume/Export.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - diff --git a/src/osgWrappers/introspection/osgVolume/FixedFunctionTechnique.cpp b/src/osgWrappers/introspection/osgVolume/FixedFunctionTechnique.cpp deleted file mode 100644 index 504959a19..000000000 --- a/src/osgWrappers/introspection/osgVolume/FixedFunctionTechnique.cpp +++ /dev/null @@ -1,104 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgVolume::FixedFunctionTechnique) - I_DeclaringFile("osgVolume/FixedFunctionTechnique"); - I_BaseType(osgVolume::VolumeTechnique); - I_Constructor0(____FixedFunctionTechnique, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::FixedFunctionTechnique &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____FixedFunctionTechnique__C5_FixedFunctionTechnique_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, init, - Properties::VIRTUAL, - __void__init, - "", - ""); - I_Method1(void, update, IN, osgUtil::UpdateVisitor *, nv, - Properties::VIRTUAL, - __void__update__osgUtil_UpdateVisitor_P1, - "", - ""); - I_Method1(void, cull, IN, osgUtil::CullVisitor *, nv, - Properties::VIRTUAL, - __void__cull__osgUtil_CullVisitor_P1, - "", - ""); - I_Method1(void, setNumSlices, IN, unsigned int, numSlices, - Properties::NON_VIRTUAL, - __void__setNumSlices__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumSlices, - Properties::NON_VIRTUAL, - __unsigned_int__getNumSlices, - "", - ""); - I_Method0(void, cleanSceneGraph, - Properties::VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any terrain technique specific nodes. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse the terrain subgraph. ", - ""); - I_SimpleProperty(unsigned int, NumSlices, - 0, - __void__setNumSlices__unsigned_int); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgVolume/Layer.cpp b/src/osgWrappers/introspection/osgVolume/Layer.cpp deleted file mode 100644 index 96e4d4fa6..000000000 --- a/src/osgWrappers/introspection/osgVolume/Layer.cpp +++ /dev/null @@ -1,538 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgVolume::CompositeLayer) - I_DeclaringFile("osgVolume/Layer"); - I_BaseType(osgVolume::Layer); - I_Constructor0(____CompositeLayer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::CompositeLayer &, compositeLayer, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____CompositeLayer__C5_CompositeLayer_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_Method2(void, setFileName, IN, unsigned int, i, IN, const std::string &, filename, - Properties::NON_VIRTUAL, - __void__setFileName__unsigned_int__C5_std_string_R1, - "", - ""); - I_Method1(const std::string &, getFileName, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getFileName__unsigned_int, - "", - ""); - I_Method2(void, setLayer, IN, unsigned int, i, IN, osgVolume::Layer *, layer, - Properties::NON_VIRTUAL, - __void__setLayer__unsigned_int__Layer_P1, - "", - ""); - I_Method1(osgVolume::Layer *, getLayer, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Layer_P1__getLayer__unsigned_int, - "", - ""); - I_Method1(const osgVolume::Layer *, getLayer, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Layer_P1__getLayer__unsigned_int, - "", - ""); - I_Method1(void, addLayer, IN, osgVolume::Layer *, layer, - Properties::NON_VIRTUAL, - __void__addLayer__Layer_P1, - "", - ""); - I_Method1(void, removeLayer, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __void__removeLayer__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumLayers, - Properties::NON_VIRTUAL, - __unsigned_int__getNumLayers, - "", - ""); - I_Method0(bool, requiresUpdateTraversal, - Properties::VIRTUAL, - __bool__requiresUpdateTraversal, - "Specify whether ImageLayer requires update traversal. ", - ""); - I_Method1(void, update, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__update__osg_NodeVisitor_R1, - "Call update on the Layer. ", - ""); - I_IndexedProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName__unsigned_int, - __void__setFileName__unsigned_int__C5_std_string_R1, - 0); - I_ArrayProperty(osgVolume::Layer *, Layer, - __Layer_P1__getLayer__unsigned_int, - __void__setLayer__unsigned_int__Layer_P1, - __unsigned_int__getNumLayers, - __void__addLayer__Layer_P1, - 0, - __void__removeLayer__unsigned_int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::ImageDetails) - I_DeclaringFile("osgVolume/Layer"); - I_BaseType(osg::Object); - I_Constructor0(____ImageDetails, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::ImageDetails &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ImageDetails__C5_ImageDetails_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setTexelOffset, IN, const osg::Vec4 &, offset, - Properties::NON_VIRTUAL, - __void__setTexelOffset__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getTexelOffset, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getTexelOffset, - "", - ""); - I_Method1(void, setTexelScale, IN, const osg::Vec4 &, scale, - Properties::NON_VIRTUAL, - __void__setTexelScale__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getTexelScale, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getTexelScale, - "", - ""); - I_Method1(void, setMatrix, IN, osg::RefMatrix *, matrix, - Properties::NON_VIRTUAL, - __void__setMatrix__osg_RefMatrix_P1, - "", - ""); - I_Method0(osg::RefMatrix *, getMatrix, - Properties::NON_VIRTUAL, - __osg_RefMatrix_P1__getMatrix, - "", - ""); - I_Method0(const osg::RefMatrix *, getMatrix, - Properties::NON_VIRTUAL, - __C5_osg_RefMatrix_P1__getMatrix, - "", - ""); - I_SimpleProperty(osg::RefMatrix *, Matrix, - __osg_RefMatrix_P1__getMatrix, - __void__setMatrix__osg_RefMatrix_P1); - I_SimpleProperty(const osg::Vec4 &, TexelOffset, - __C5_osg_Vec4_R1__getTexelOffset, - __void__setTexelOffset__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec4 &, TexelScale, - __C5_osg_Vec4_R1__getTexelScale, - __void__setTexelScale__C5_osg_Vec4_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::ImageLayer) - I_DeclaringFile("osgVolume/Layer"); - I_BaseType(osgVolume::Layer); - I_ConstructorWithDefaults1(IN, osg::Image *, image, 0, - Properties::NON_EXPLICIT, - ____ImageLayer__osg_Image_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::ImageLayer &, imageLayer, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ImageLayer__C5_ImageLayer_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setFileName, IN, const std::string &, filename, - Properties::VIRTUAL, - __void__setFileName__C5_std_string_R1, - "Set the file name of the data associated with this layer. ", - ""); - I_Method0(const std::string &, getFileName, - Properties::VIRTUAL, - __C5_std_string_R1__getFileName, - "Get the file name of the layer. ", - ""); - I_Method1(void, setImage, IN, osg::Image *, image, - Properties::NON_VIRTUAL, - __void__setImage__osg_Image_P1, - "", - ""); - I_Method0(osg::Image *, getImage, - Properties::VIRTUAL, - __osg_Image_P1__getImage, - "Return image associated with layer. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::VIRTUAL, - __C5_osg_Image_P1__getImage, - "Return const image associated with layer. ", - ""); - I_Method1(void, setTexelOffset, IN, const osg::Vec4 &, offset, - Properties::NON_VIRTUAL, - __void__setTexelOffset__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getTexelOffset, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getTexelOffset, - "", - ""); - I_Method1(void, setTexelScale, IN, const osg::Vec4 &, scale, - Properties::NON_VIRTUAL, - __void__setTexelScale__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getTexelScale, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getTexelScale, - "", - ""); - I_Method2(bool, computeMinMax, IN, osg::Vec4 &, min, IN, osg::Vec4 &, max, - Properties::NON_VIRTUAL, - __bool__computeMinMax__osg_Vec4_R1__osg_Vec4_R1, - "Compute the min and max pixel colors. ", - ""); - I_Method2(void, offsetAndScaleImage, IN, const osg::Vec4 &, offset, IN, const osg::Vec4 &, scale, - Properties::NON_VIRTUAL, - __void__offsetAndScaleImage__C5_osg_Vec4_R1__C5_osg_Vec4_R1, - "Apply color transformation to pixels using c' = offset + c * scale . ", - ""); - I_Method0(void, rescaleToZeroToOneRange, - Properties::NON_VIRTUAL, - __void__rescaleToZeroToOneRange, - "Compute the min max range of the image, and then remap this to a 0 to 1 range. ", - ""); - I_Method0(void, translateMinToZero, - Properties::NON_VIRTUAL, - __void__translateMinToZero, - "Compute the min color component of the image and then translate and pixels by this offset to make the new min component 0. ", - ""); - I_Method0(bool, requiresUpdateTraversal, - Properties::VIRTUAL, - __bool__requiresUpdateTraversal, - "Specify whether ImageLayer requires update traversal. ", - ""); - I_Method1(void, update, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__update__osg_NodeVisitor_R1, - "Call update on the Layer. ", - ""); - I_Method0(void, dirty, - Properties::VIRTUAL, - __void__dirty, - "increment the modified count. ", - "\" "); - I_Method1(void, setModifiedCount, IN, unsigned int, int, - Properties::VIRTUAL, - __void__setModifiedCount__unsigned_int, - "Set the modified count value. ", - ""); - I_Method0(unsigned int, getModifiedCount, - Properties::VIRTUAL, - __unsigned_int__getModifiedCount, - "Get modified count value. ", - ""); - I_SimpleProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName, - __void__setFileName__C5_std_string_R1); - I_SimpleProperty(osg::Image *, Image, - __osg_Image_P1__getImage, - __void__setImage__osg_Image_P1); - I_SimpleProperty(unsigned int, ModifiedCount, - __unsigned_int__getModifiedCount, - __void__setModifiedCount__unsigned_int); - I_SimpleProperty(const osg::Vec4 &, TexelOffset, - __C5_osg_Vec4_R1__getTexelOffset, - __void__setTexelOffset__C5_osg_Vec4_R1); - I_SimpleProperty(const osg::Vec4 &, TexelScale, - __C5_osg_Vec4_R1__getTexelScale, - __void__setTexelScale__C5_osg_Vec4_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::Layer) - I_DeclaringFile("osgVolume/Layer"); - I_BaseType(osg::Object); - I_Constructor0(____Layer, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::Layer &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Layer__C5_Layer_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setFileName, IN, const std::string &, filename, - Properties::VIRTUAL, - __void__setFileName__C5_std_string_R1, - "Set the file name of the data associated with this layer. ", - ""); - I_Method0(const std::string &, getFileName, - Properties::VIRTUAL, - __C5_std_string_R1__getFileName, - "Get the file name of the layer. ", - ""); - I_Method1(void, setLocator, IN, osgVolume::Locator *, locator, - Properties::NON_VIRTUAL, - __void__setLocator__Locator_P1, - "", - ""); - I_Method0(osgVolume::Locator *, getLocator, - Properties::NON_VIRTUAL, - __Locator_P1__getLocator, - "", - ""); - I_Method0(const osgVolume::Locator *, getLocator, - Properties::NON_VIRTUAL, - __C5_Locator_P1__getLocator, - "", - ""); - I_Method1(void, setDefaultValue, IN, const osg::Vec4 &, value, - Properties::NON_VIRTUAL, - __void__setDefaultValue__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getDefaultValue, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getDefaultValue, - "", - ""); - I_Method1(void, setMinFilter, IN, osg::Texture::FilterMode, filter, - Properties::NON_VIRTUAL, - __void__setMinFilter__osg_Texture_FilterMode, - "Set the minification texture filter to use when do texture associated with this layer. ", - ""); - I_Method0(osg::Texture::FilterMode, getMinFilter, - Properties::NON_VIRTUAL, - __osg_Texture_FilterMode__getMinFilter, - "Get the minification texture filter to use when do texture associated with this layer. ", - ""); - I_Method1(void, setMagFilter, IN, osg::Texture::FilterMode, filter, - Properties::NON_VIRTUAL, - __void__setMagFilter__osg_Texture_FilterMode, - "Set the magniification texture filter to use when do texture associated with this layer. ", - ""); - I_Method0(osg::Texture::FilterMode, getMagFilter, - Properties::NON_VIRTUAL, - __osg_Texture_FilterMode__getMagFilter, - "Get the magnification texture filter to use when do texture associated with this layer. ", - ""); - I_Method0(osg::Image *, getImage, - Properties::VIRTUAL, - __osg_Image_P1__getImage, - "Return image associated with layer if supported. ", - ""); - I_Method0(const osg::Image *, getImage, - Properties::VIRTUAL, - __C5_osg_Image_P1__getImage, - "Return const image associated with layer if supported. ", - ""); - I_Method1(void, setProperty, IN, osgVolume::Property *, property, - Properties::NON_VIRTUAL, - __void__setProperty__Property_P1, - "Set the Property (or Properties via the CompositeProperty) that informs the VolumeTechnique how this layer should be rendered. ", - ""); - I_Method0(osgVolume::Property *, getProperty, - Properties::NON_VIRTUAL, - __Property_P1__getProperty, - "Get the Property that informs the VolumeTechnique how this layer should be rendered. ", - ""); - I_Method0(const osgVolume::Property *, getProperty, - Properties::NON_VIRTUAL, - __C5_Property_P1__getProperty, - "Get the const Property that informs the VolumeTechnique how this layer should be rendered. ", - ""); - I_Method1(void, addProperty, IN, osgVolume::Property *, property, - Properties::NON_VIRTUAL, - __void__addProperty__Property_P1, - "Add a property, automatically creating a CompositePorperty if one isn't already assigned. ", - ""); - I_Method0(bool, requiresUpdateTraversal, - Properties::VIRTUAL, - __bool__requiresUpdateTraversal, - "Specify whether ImageLayer requires update traversal. ", - ""); - I_Method1(void, update, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__update__osg_NodeVisitor_R1, - "Call update on the Layer. ", - ""); - I_Method0(void, dirty, - Properties::VIRTUAL, - __void__dirty, - "increment the modified count. ", - "\" "); - I_Method1(void, setModifiedCount, IN, unsigned, int, - Properties::VIRTUAL, - __void__setModifiedCount__unsigned, - "Set the modified count value. ", - ""); - I_Method0(unsigned int, getModifiedCount, - Properties::VIRTUAL, - __unsigned_int__getModifiedCount, - "Get modified count value. ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __osg_BoundingSphere__computeBound, - "", - ""); - I_SimpleProperty(const osg::Vec4 &, DefaultValue, - __C5_osg_Vec4_R1__getDefaultValue, - __void__setDefaultValue__C5_osg_Vec4_R1); - I_SimpleProperty(const std::string &, FileName, - __C5_std_string_R1__getFileName, - __void__setFileName__C5_std_string_R1); - I_SimpleProperty(osg::Image *, Image, - __osg_Image_P1__getImage, - 0); - I_SimpleProperty(osgVolume::Locator *, Locator, - __Locator_P1__getLocator, - __void__setLocator__Locator_P1); - I_SimpleProperty(osg::Texture::FilterMode, MagFilter, - __osg_Texture_FilterMode__getMagFilter, - __void__setMagFilter__osg_Texture_FilterMode); - I_SimpleProperty(osg::Texture::FilterMode, MinFilter, - __osg_Texture_FilterMode__getMinFilter, - __void__setMinFilter__osg_Texture_FilterMode); - I_SimpleProperty(unsigned, ModifiedCount, - 0, - __void__setModifiedCount__unsigned); - I_SimpleProperty(osgVolume::Property *, Property, - __Property_P1__getProperty, - __void__setProperty__Property_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgVolume/Locator.cpp b/src/osgWrappers/introspection/osgVolume/Locator.cpp deleted file mode 100644 index b4824de0a..000000000 --- a/src/osgWrappers/introspection/osgVolume/Locator.cpp +++ /dev/null @@ -1,232 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgVolume::Locator::LocatorCallback > >, osgVolume::Locator::LocatorCallbacks) - -BEGIN_OBJECT_REFLECTOR(osgVolume::Locator) - I_DeclaringFile("osgVolume/Locator"); - I_BaseType(osg::Object); - I_Constructor0(____Locator, - "", - ""); - I_Constructor1(IN, const osg::Matrixd &, transform, - Properties::NON_EXPLICIT, - ____Locator__C5_osg_Matrixd_R1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::Locator &, locator, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Locator__C5_Locator_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setTransform, IN, const osg::Matrixd &, transform, - Properties::NON_VIRTUAL, - __void__setTransform__C5_osg_Matrixd_R1, - "Set the transformation from local coordinates to model coordinates. ", - ""); - I_Method0(const osg::Matrixd &, getTransform, - Properties::NON_VIRTUAL, - __C5_osg_Matrixd_R1__getTransform, - "Set the transformation from local coordinates to model coordinates. ", - ""); - I_Method6(void, setTransformAsExtents, IN, double, minX, IN, double, minY, IN, double, maxX, IN, double, maxY, IN, double, minZ, IN, double, maxZ, - Properties::NON_VIRTUAL, - __void__setTransformAsExtents__double__double__double__double__double__double, - "Set the extents of the local coords. ", - ""); - I_Method2(bool, convertLocalToModel, IN, const osg::Vec3d &, x, IN, osg::Vec3d &, x, - Properties::VIRTUAL, - __bool__convertLocalToModel__C5_osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_Method2(bool, convertModelToLocal, IN, const osg::Vec3d &, x, IN, osg::Vec3d &, x, - Properties::VIRTUAL, - __bool__convertModelToLocal__C5_osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_Method2(bool, computeLocalBounds, IN, osg::Vec3d &, bottomLeft, IN, osg::Vec3d &, topRight, - Properties::NON_VIRTUAL, - __bool__computeLocalBounds__osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_Method3(bool, computeLocalBounds, IN, osgVolume::Locator &, source, IN, osg::Vec3d &, bottomLeft, IN, osg::Vec3d &, topRight, - Properties::NON_VIRTUAL, - __bool__computeLocalBounds__Locator_R1__osg_Vec3d_R1__osg_Vec3d_R1, - "", - ""); - I_Method1(void, addCallback, IN, osgVolume::Locator::LocatorCallback *, callback, - Properties::NON_VIRTUAL, - __void__addCallback__LocatorCallback_P1, - "", - ""); - I_Method1(void, removeCallback, IN, osgVolume::Locator::LocatorCallback *, callback, - Properties::NON_VIRTUAL, - __void__removeCallback__LocatorCallback_P1, - "", - ""); - I_Method0(osgVolume::Locator::LocatorCallbacks &, getLocatorCallbacks, - Properties::NON_VIRTUAL, - __LocatorCallbacks_R1__getLocatorCallbacks, - "", - ""); - I_Method0(const osgVolume::Locator::LocatorCallbacks &, getLocatorCallbacks, - Properties::NON_VIRTUAL, - __C5_LocatorCallbacks_R1__getLocatorCallbacks, - "", - ""); - I_StaticMethod4(bool, convertLocalCoordBetween, IN, const osgVolume::Locator &, source, IN, const osg::Vec3d &, sourceNDC, IN, const osgVolume::Locator &, destination, IN, osg::Vec3d &, destinationNDC, - __bool__convertLocalCoordBetween__C5_Locator_R1__C5_osg_Vec3d_R1__C5_Locator_R1__osg_Vec3d_R1_S, - "", - ""); - I_ProtectedMethod0(void, locatorModified, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__locatorModified, - "", - ""); - I_SimpleProperty(osgVolume::Locator::LocatorCallbacks &, LocatorCallbacks, - __LocatorCallbacks_R1__getLocatorCallbacks, - 0); - I_SimpleProperty(const osg::Matrixd &, Transform, - __C5_osg_Matrixd_R1__getTransform, - __void__setTransform__C5_osg_Matrixd_R1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::Locator::LocatorCallback) - I_DeclaringFile("osgVolume/Locator"); - I_VirtualBaseType(osg::Object); - I_Constructor0(____LocatorCallback, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::Locator::LocatorCallback &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LocatorCallback__C5_LocatorCallback_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, locatorModified, IN, osgVolume::Locator *, locator, - Properties::VIRTUAL, - __void__locatorModified__Locator_P1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgVolume::Locator::LocatorCallback >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgVolume::Locator::LocatorCallback *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgVolume::Locator::LocatorCallback > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgVolume::Locator::LocatorCallback > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgVolume::Locator::LocatorCallback *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgVolume::Locator::LocatorCallback *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgVolume::Locator::LocatorCallback > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgVolume::Locator::LocatorCallback *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgVolume::Locator::LocatorCallback > >) - diff --git a/src/osgWrappers/introspection/osgVolume/Property.cpp b/src/osgWrappers/introspection/osgVolume/Property.cpp deleted file mode 100644 index a3938d4f3..000000000 --- a/src/osgWrappers/introspection/osgVolume/Property.cpp +++ /dev/null @@ -1,917 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgVolume::AlphaFuncProperty) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgVolume::ScalarProperty); - I_ConstructorWithDefaults1(IN, float, value, 1.0, - Properties::NON_EXPLICIT, - ____AlphaFuncProperty__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::AlphaFuncProperty &, isp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____AlphaFuncProperty__C5_AlphaFuncProperty_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, - Properties::VIRTUAL, - __void__accept__PropertyVisitor_R1, - "", - ""); - I_Method1(void, setValue, IN, float, v, - Properties::VIRTUAL, - __void__setValue__float, - "Set the value. ", - ""); - I_Method0(osg::AlphaFunc *, getAlphaFunc, - Properties::NON_VIRTUAL, - __osg_AlphaFunc_P1__getAlphaFunc, - "", - ""); - I_Method0(const osg::AlphaFunc *, getAlphaFunc, - Properties::NON_VIRTUAL, - __C5_osg_AlphaFunc_P1__getAlphaFunc, - "", - ""); - I_SimpleProperty(osg::AlphaFunc *, AlphaFunc, - __osg_AlphaFunc_P1__getAlphaFunc, - 0); - I_SimpleProperty(float, Value, - 0, - __void__setValue__float); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::CollectPropertiesVisitor) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgVolume::PropertyVisitor); - I_ConstructorWithDefaults1(IN, bool, traverseOnlyActiveChildren, true, - Properties::NON_EXPLICIT, - ____CollectPropertiesVisitor__bool, - "", - ""); - I_Method1(void, apply, IN, osgVolume::Property &, x, - Properties::VIRTUAL, - __void__apply__Property_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::TransferFunctionProperty &, x, - Properties::VIRTUAL, - __void__apply__TransferFunctionProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::ScalarProperty &, x, - Properties::VIRTUAL, - __void__apply__ScalarProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::IsoSurfaceProperty &, iso, - Properties::VIRTUAL, - __void__apply__IsoSurfaceProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::AlphaFuncProperty &, af, - Properties::VIRTUAL, - __void__apply__AlphaFuncProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::MaximumIntensityProjectionProperty &, mip, - Properties::VIRTUAL, - __void__apply__MaximumIntensityProjectionProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::LightingProperty &, lp, - Properties::VIRTUAL, - __void__apply__LightingProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::SampleDensityProperty &, sdp, - Properties::VIRTUAL, - __void__apply__SampleDensityProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::TransparencyProperty &, tp, - Properties::VIRTUAL, - __void__apply__TransparencyProperty_R1, - "", - ""); - I_PublicMemberProperty(osg::ref_ptr< osgVolume::TransferFunctionProperty >, _tfProperty); - I_PublicMemberProperty(osg::ref_ptr< osgVolume::IsoSurfaceProperty >, _isoProperty); - I_PublicMemberProperty(osg::ref_ptr< osgVolume::AlphaFuncProperty >, _afProperty); - I_PublicMemberProperty(osg::ref_ptr< osgVolume::MaximumIntensityProjectionProperty >, _mipProperty); - I_PublicMemberProperty(osg::ref_ptr< osgVolume::LightingProperty >, _lightingProperty); - I_PublicMemberProperty(osg::ref_ptr< osgVolume::SampleDensityProperty >, _sampleDensityProperty); - I_PublicMemberProperty(osg::ref_ptr< osgVolume::TransparencyProperty >, _transparencyProperty); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgVolume::Property > >, osgVolume::CompositeProperty::Properties) - -BEGIN_OBJECT_REFLECTOR(osgVolume::CompositeProperty) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgVolume::Property); - I_Constructor0(____CompositeProperty, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::CompositeProperty &, compositeProperty, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____CompositeProperty__C5_CompositeProperty_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, - Properties::VIRTUAL, - __void__accept__PropertyVisitor_R1, - "", - ""); - I_Method0(void, clear, - Properties::NON_VIRTUAL, - __void__clear, - "", - ""); - I_Method2(void, setProperty, IN, unsigned int, i, IN, osgVolume::Property *, property, - Properties::NON_VIRTUAL, - __void__setProperty__unsigned_int__Property_P1, - "", - ""); - I_Method1(osgVolume::Property *, getProperty, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __Property_P1__getProperty__unsigned_int, - "", - ""); - I_Method1(const osgVolume::Property *, getProperty, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __C5_Property_P1__getProperty__unsigned_int, - "", - ""); - I_Method1(void, addProperty, IN, osgVolume::Property *, property, - Properties::NON_VIRTUAL, - __void__addProperty__Property_P1, - "", - ""); - I_Method1(void, removeProperty, IN, unsigned int, i, - Properties::NON_VIRTUAL, - __void__removeProperty__unsigned_int, - "", - ""); - I_Method0(unsigned int, getNumProperties, - Properties::NON_VIRTUAL, - __unsigned_int__getNumProperties, - "", - ""); - I_IndexedProperty(osgVolume::Property *, Property, - __Property_P1__getProperty__unsigned_int, - __void__setProperty__unsigned_int__Property_P1, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::IsoSurfaceProperty) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgVolume::ScalarProperty); - I_ConstructorWithDefaults1(IN, float, value, 1.0, - Properties::NON_EXPLICIT, - ____IsoSurfaceProperty__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::IsoSurfaceProperty &, isp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____IsoSurfaceProperty__C5_IsoSurfaceProperty_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, - Properties::VIRTUAL, - __void__accept__PropertyVisitor_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::LightingProperty) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgVolume::Property); - I_Constructor0(____LightingProperty, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::LightingProperty &, mipp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____LightingProperty__C5_LightingProperty_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, - Properties::VIRTUAL, - __void__accept__PropertyVisitor_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::MaximumIntensityProjectionProperty) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgVolume::Property); - I_Constructor0(____MaximumIntensityProjectionProperty, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::MaximumIntensityProjectionProperty &, mipp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____MaximumIntensityProjectionProperty__C5_MaximumIntensityProjectionProperty_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, - Properties::VIRTUAL, - __void__accept__PropertyVisitor_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::Property) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osg::Object); - I_Constructor0(____Property, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::Property &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Property__C5_Property_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, - Properties::VIRTUAL, - __void__accept__PropertyVisitor_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::PropertyAdjustmentCallback) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgGA::GUIEventHandler); - I_BaseType(osg::StateSet::Callback); - I_Constructor0(____PropertyAdjustmentCallback, - "", - ""); - I_Constructor2(IN, const osgVolume::PropertyAdjustmentCallback &, x, IN, const osg::CopyOp &, x, - ____PropertyAdjustmentCallback__C5_PropertyAdjustmentCallback_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setKeyEventCycleForward, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventCycleForward__int, - "", - ""); - I_Method0(int, getKeyEventCycleForward, - Properties::NON_VIRTUAL, - __int__getKeyEventCycleForward, - "", - ""); - I_Method1(void, setKeyEventCycleBackward, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventCycleBackward__int, - "", - ""); - I_Method0(int, getKeyEventCycleBackward, - Properties::NON_VIRTUAL, - __int__getKeyEventCycleBackward, - "", - ""); - I_Method1(void, setKeyEventActivatesTransparencyAdjustment, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventActivatesTransparencyAdjustment__int, - "", - ""); - I_Method0(int, getKeyEventActivatesTransparencyAdjustment, - Properties::NON_VIRTUAL, - __int__getKeyEventActivatesTransparencyAdjustment, - "", - ""); - I_Method1(void, setKeyEventActivatesSampleDensityAdjustment, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventActivatesSampleDensityAdjustment__int, - "", - ""); - I_Method0(int, getKeyEventActivatesSampleDensityAdjustment, - Properties::NON_VIRTUAL, - __int__getKeyEventActivatesSampleDensityAdjustment, - "", - ""); - I_Method1(void, setKeyEventActivatesAlphaFuncAdjustment, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventActivatesAlphaFuncAdjustment__int, - "", - ""); - I_Method0(int, getKeyEventActivatesAlphaFuncAdjustment, - Properties::NON_VIRTUAL, - __int__getKeyEventActivatesAlphaFuncAdjustment, - "", - ""); - I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, - "Handle events, return true if handled, false otherwise. ", - ""); - I_SimpleProperty(int, KeyEventActivatesAlphaFuncAdjustment, - __int__getKeyEventActivatesAlphaFuncAdjustment, - __void__setKeyEventActivatesAlphaFuncAdjustment__int); - I_SimpleProperty(int, KeyEventActivatesSampleDensityAdjustment, - __int__getKeyEventActivatesSampleDensityAdjustment, - __void__setKeyEventActivatesSampleDensityAdjustment__int); - I_SimpleProperty(int, KeyEventActivatesTransparencyAdjustment, - __int__getKeyEventActivatesTransparencyAdjustment, - __void__setKeyEventActivatesTransparencyAdjustment__int); - I_SimpleProperty(int, KeyEventCycleBackward, - __int__getKeyEventCycleBackward, - __void__setKeyEventCycleBackward__int); - I_SimpleProperty(int, KeyEventCycleForward, - __int__getKeyEventCycleForward, - __void__setKeyEventCycleForward__int); - I_PublicMemberProperty(int, _cyleForwardKey); - I_PublicMemberProperty(int, _cyleBackwardKey); - I_PublicMemberProperty(int, _transparencyKey); - I_PublicMemberProperty(int, _alphaFuncKey); - I_PublicMemberProperty(int, _sampleDensityKey); - I_PublicMemberProperty(bool, _updateTransparency); - I_PublicMemberProperty(bool, _updateAlphaCutOff); - I_PublicMemberProperty(bool, _updateSampleDensity); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgVolume::PropertyVisitor) - I_DeclaringFile("osgVolume/Property"); - I_ConstructorWithDefaults1(IN, bool, traverseOnlyActiveChildren, true, - Properties::NON_EXPLICIT, - ____PropertyVisitor__bool, - "", - ""); - I_Method1(void, apply, IN, osgVolume::Property &, x, - Properties::VIRTUAL, - __void__apply__Property_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::CompositeProperty &, x, - Properties::VIRTUAL, - __void__apply__CompositeProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::SwitchProperty &, x, - Properties::VIRTUAL, - __void__apply__SwitchProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::TransferFunctionProperty &, x, - Properties::VIRTUAL, - __void__apply__TransferFunctionProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::ScalarProperty &, x, - Properties::VIRTUAL, - __void__apply__ScalarProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::IsoSurfaceProperty &, x, - Properties::VIRTUAL, - __void__apply__IsoSurfaceProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::AlphaFuncProperty &, x, - Properties::VIRTUAL, - __void__apply__AlphaFuncProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::MaximumIntensityProjectionProperty &, x, - Properties::VIRTUAL, - __void__apply__MaximumIntensityProjectionProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::LightingProperty &, x, - Properties::VIRTUAL, - __void__apply__LightingProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::SampleDensityProperty &, x, - Properties::VIRTUAL, - __void__apply__SampleDensityProperty_R1, - "", - ""); - I_Method1(void, apply, IN, osgVolume::TransparencyProperty &, x, - Properties::VIRTUAL, - __void__apply__TransparencyProperty_R1, - "", - ""); - I_PublicMemberProperty(bool, _traverseOnlyActiveChildren); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::SampleDensityProperty) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgVolume::ScalarProperty); - I_ConstructorWithDefaults1(IN, float, value, 1.0, - Properties::NON_EXPLICIT, - ____SampleDensityProperty__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::SampleDensityProperty &, isp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____SampleDensityProperty__C5_SampleDensityProperty_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, - Properties::VIRTUAL, - __void__accept__PropertyVisitor_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::ScalarProperty) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgVolume::Property); - I_Constructor2(IN, const std::string &, scaleName, IN, float, value, - ____ScalarProperty__C5_std_string_R1__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::ScalarProperty &, scalarProperty, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____ScalarProperty__C5_ScalarProperty_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, - Properties::VIRTUAL, - __void__accept__PropertyVisitor_R1, - "", - ""); - I_Method1(void, setValue, IN, float, v, - Properties::VIRTUAL, - __void__setValue__float, - "Set the value. ", - ""); - I_Method0(float, getValue, - Properties::NON_VIRTUAL, - __float__getValue, - "Get the value. ", - ""); - I_Method0(osg::Uniform *, getUniform, - Properties::NON_VIRTUAL, - __osg_Uniform_P1__getUniform, - "Get the underlying uniform. ", - ""); - I_Method0(const osg::Uniform *, getUniform, - Properties::NON_VIRTUAL, - __C5_osg_Uniform_P1__getUniform, - "Get the underlying uniform. ", - ""); - I_ProtectedConstructor0(____ScalarProperty, - "", - ""); - I_SimpleProperty(osg::Uniform *, Uniform, - __osg_Uniform_P1__getUniform, - 0); - I_SimpleProperty(float, Value, - __float__getValue, - __void__setValue__float); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::SwitchProperty) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgVolume::CompositeProperty); - I_Constructor0(____SwitchProperty, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::SwitchProperty &, switchProperty, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____SwitchProperty__C5_SwitchProperty_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, - Properties::VIRTUAL, - __void__accept__PropertyVisitor_R1, - "", - ""); - I_Method1(void, setActiveProperty, IN, int, i, - Properties::NON_VIRTUAL, - __void__setActiveProperty__int, - "Set which child property is active. ", - "-1 disables all children. "); - I_Method0(int, getActiveProperty, - Properties::NON_VIRTUAL, - __int__getActiveProperty, - "Get the active property. ", - ""); - I_SimpleProperty(int, ActiveProperty, - __int__getActiveProperty, - __void__setActiveProperty__int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::TransferFunctionProperty) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgVolume::Property); - I_ConstructorWithDefaults1(IN, osg::TransferFunction *, tf, 0, - Properties::NON_EXPLICIT, - ____TransferFunctionProperty__osg_TransferFunction_P1, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::TransferFunctionProperty &, tfp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TransferFunctionProperty__C5_TransferFunctionProperty_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, - Properties::VIRTUAL, - __void__accept__PropertyVisitor_R1, - "", - ""); - I_Method1(void, setTransferFunction, IN, osg::TransferFunction *, tf, - Properties::NON_VIRTUAL, - __void__setTransferFunction__osg_TransferFunction_P1, - "Set the transfer function. ", - ""); - I_Method0(osg::TransferFunction *, getTransferFunction, - Properties::NON_VIRTUAL, - __osg_TransferFunction_P1__getTransferFunction, - "Get the transfer function. ", - ""); - I_Method0(const osg::TransferFunction *, getTransferFunction, - Properties::NON_VIRTUAL, - __C5_osg_TransferFunction_P1__getTransferFunction, - "Get the const transfer function. ", - ""); - I_SimpleProperty(osg::TransferFunction *, TransferFunction, - __osg_TransferFunction_P1__getTransferFunction, - __void__setTransferFunction__osg_TransferFunction_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::TransparencyProperty) - I_DeclaringFile("osgVolume/Property"); - I_BaseType(osgVolume::ScalarProperty); - I_ConstructorWithDefaults1(IN, float, value, 1.0, - Properties::NON_EXPLICIT, - ____TransparencyProperty__float, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::TransparencyProperty &, isp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TransparencyProperty__C5_TransparencyProperty_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, - Properties::VIRTUAL, - __void__accept__PropertyVisitor_R1, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgVolume::Property >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgVolume::Property *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgVolume::Property > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgVolume::Property > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgVolume::Property *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgVolume::Property *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgVolume::Property > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgVolume::Property *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgVolume::Property > >) - diff --git a/src/osgWrappers/introspection/osgVolume/RayTracedTechnique.cpp b/src/osgWrappers/introspection/osgVolume/RayTracedTechnique.cpp deleted file mode 100644 index 0bb03661a..000000000 --- a/src/osgWrappers/introspection/osgVolume/RayTracedTechnique.cpp +++ /dev/null @@ -1,91 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgVolume::RayTracedTechnique) - I_DeclaringFile("osgVolume/RayTracedTechnique"); - I_BaseType(osgVolume::VolumeTechnique); - I_Constructor0(____RayTracedTechnique, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::RayTracedTechnique &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____RayTracedTechnique__C5_RayTracedTechnique_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(void, init, - Properties::VIRTUAL, - __void__init, - "", - ""); - I_Method1(void, update, IN, osgUtil::UpdateVisitor *, nv, - Properties::VIRTUAL, - __void__update__osgUtil_UpdateVisitor_P1, - "", - ""); - I_Method1(void, cull, IN, osgUtil::CullVisitor *, nv, - Properties::VIRTUAL, - __void__cull__osgUtil_CullVisitor_P1, - "", - ""); - I_Method0(void, cleanSceneGraph, - Properties::VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any terrain technique specific nodes. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse the terrain subgraph. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgVolume/Volume.cpp b/src/osgWrappers/introspection/osgVolume/Volume.cpp deleted file mode 100644 index e8ae37ae9..000000000 --- a/src/osgWrappers/introspection/osgVolume/Volume.cpp +++ /dev/null @@ -1,122 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgVolume::Volume) - I_DeclaringFile("osgVolume/Volume"); - I_BaseType(osg::Group); - I_Constructor0(____Volume, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::Volume &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____Volume__C5_Volume_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method1(osgVolume::VolumeTile *, getVolumeTile, IN, const osgVolume::TileID &, tileID, - Properties::NON_VIRTUAL, - __VolumeTile_P1__getVolumeTile__C5_TileID_R1, - "Get the VolumeTile for a given VolumeTileID. ", - ""); - I_Method1(const osgVolume::VolumeTile *, getVolumeTile, IN, const osgVolume::TileID &, tileID, - Properties::NON_VIRTUAL, - __C5_VolumeTile_P1__getVolumeTile__C5_TileID_R1, - "Get the const VolumeTile for a given VolumeTileID. ", - ""); - I_Method1(void, setVolumeTechniquePrototype, IN, osgVolume::VolumeTechnique *, volumeTechnique, - Properties::NON_VIRTUAL, - __void__setVolumeTechniquePrototype__VolumeTechnique_P1, - "Set the VolumeTechnique prototype that nested VolumeTile should clone if they haven't already been assigned a volume rendering technique. ", - ""); - I_Method0(osgVolume::VolumeTechnique *, getVolumeTechniquePrototype, - Properties::NON_VIRTUAL, - __VolumeTechnique_P1__getVolumeTechniquePrototype, - "Get the VolumeTechnique prototype. ", - ""); - I_Method0(const osgVolume::VolumeTechnique *, getVolumeTechniquePrototype, - Properties::NON_VIRTUAL, - __C5_VolumeTechnique_P1__getVolumeTechniquePrototype, - "Get the const VolumeTechnique prototype. ", - ""); - I_ProtectedMethod0(void, dirtyRegisteredVolumeTiles, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__dirtyRegisteredVolumeTiles, - "", - ""); - I_ProtectedMethod1(void, registerVolumeTile, IN, osgVolume::VolumeTile *, tile, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__registerVolumeTile__VolumeTile_P1, - "", - ""); - I_ProtectedMethod1(void, unregisterVolumeTile, IN, osgVolume::VolumeTile *, tile, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__unregisterVolumeTile__VolumeTile_P1, - "", - ""); - I_SimpleProperty(osgVolume::VolumeTechnique *, VolumeTechniquePrototype, - __VolumeTechnique_P1__getVolumeTechniquePrototype, - __void__setVolumeTechniquePrototype__VolumeTechnique_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgVolume/VolumeTechnique.cpp b/src/osgWrappers/introspection/osgVolume/VolumeTechnique.cpp deleted file mode 100644 index a3e7b3a8a..000000000 --- a/src/osgWrappers/introspection/osgVolume/VolumeTechnique.cpp +++ /dev/null @@ -1,111 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgVolume::VolumeTechnique) - I_DeclaringFile("osgVolume/VolumeTechnique"); - I_BaseType(osg::Object); - I_Constructor0(____VolumeTechnique, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::VolumeTechnique &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____VolumeTechnique__C5_VolumeTechnique_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(osgVolume::VolumeTile *, getVolumeTile, - Properties::NON_VIRTUAL, - __VolumeTile_P1__getVolumeTile, - "", - ""); - I_Method0(const osgVolume::VolumeTile *, getVolumeTile, - Properties::NON_VIRTUAL, - __C5_VolumeTile_P1__getVolumeTile, - "", - ""); - I_Method0(void, init, - Properties::VIRTUAL, - __void__init, - "", - ""); - I_Method1(void, update, IN, osgUtil::UpdateVisitor *, nv, - Properties::VIRTUAL, - __void__update__osgUtil_UpdateVisitor_P1, - "", - ""); - I_Method1(void, cull, IN, osgUtil::CullVisitor *, nv, - Properties::VIRTUAL, - __void__cull__osgUtil_CullVisitor_P1, - "", - ""); - I_Method0(void, cleanSceneGraph, - Properties::VIRTUAL, - __void__cleanSceneGraph, - "Clean scene graph from any terrain technique specific nodes. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse the terrain subgraph. ", - ""); - I_ProtectedMethod1(void, setDirty, IN, bool, dirty, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setDirty__bool, - "", - ""); - I_SimpleProperty(osgVolume::VolumeTile *, VolumeTile, - __VolumeTile_P1__getVolumeTile, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgVolume/VolumeTile.cpp b/src/osgWrappers/introspection/osgVolume/VolumeTile.cpp deleted file mode 100644 index 2b23a6504..000000000 --- a/src/osgWrappers/introspection/osgVolume/VolumeTile.cpp +++ /dev/null @@ -1,207 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgVolume::TileID) - I_DeclaringFile("osgVolume/VolumeTile"); - I_Constructor0(____TileID, - "", - ""); - I_Constructor4(IN, int, in_level, IN, int, in_x, IN, int, in_y, IN, int, in_z, - ____TileID__int__int__int__int, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_PublicMemberProperty(int, level); - I_PublicMemberProperty(int, x); - I_PublicMemberProperty(int, y); - I_PublicMemberProperty(int, z); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgVolume::VolumeTile) - I_DeclaringFile("osgVolume/VolumeTile"); - I_BaseType(osg::Group); - I_Constructor0(____VolumeTile, - "", - ""); - I_ConstructorWithDefaults2(IN, const osgVolume::VolumeTile &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____VolumeTile__C5_VolumeTile_R1__C5_osg_CopyOp_R1, - "Copy constructor using CopyOp to manage deep vs shallow copy. ", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method1(void, accept, IN, osg::NodeVisitor &, nv, - Properties::VIRTUAL, - __void__accept__osg_NodeVisitor_R1, - "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", - ""); - I_Method1(void, traverse, IN, osg::NodeVisitor &, x, - Properties::VIRTUAL, - __void__traverse__osg_NodeVisitor_R1, - "Traverse downwards : calls children's accept method with NodeVisitor. ", - ""); - I_Method0(void, init, - Properties::NON_VIRTUAL, - __void__init, - "Call init on any attached TerrainTechnique. ", - ""); - I_Method1(void, setVolume, IN, osgVolume::Volume *, ts, - Properties::NON_VIRTUAL, - __void__setVolume__Volume_P1, - "Set the Volume that this Volume tile is a member of. ", - ""); - I_Method0(osgVolume::Volume *, getVolume, - Properties::NON_VIRTUAL, - __Volume_P1__getVolume, - "Get the Volume that this Volume tile is a member of. ", - ""); - I_Method0(const osgVolume::Volume *, getVolume, - Properties::NON_VIRTUAL, - __C5_Volume_P1__getVolume, - "Get the const Volume that this Volume tile is a member of. ", - ""); - I_Method1(void, setTileID, IN, const osgVolume::TileID &, tileID, - Properties::NON_VIRTUAL, - __void__setTileID__C5_TileID_R1, - "Set the TileID (layer, x,y,z) of the VolumeTile. ", - "The TileID is used so it can be located by its neighbours via the enclosing Volume node that manages a map of TileID to VolumeTiles. "); - I_Method0(const osgVolume::TileID &, getTileID, - Properties::NON_VIRTUAL, - __C5_TileID_R1__getTileID, - "Get the TileID (layer, x,y,z) of the VolumeTile. ", - ""); - I_Method1(void, setLocator, IN, osgVolume::Locator *, locator, - Properties::NON_VIRTUAL, - __void__setLocator__Locator_P1, - "", - ""); - I_Method0(osgVolume::Locator *, getLocator, - Properties::NON_VIRTUAL, - __Locator_P1__getLocator, - "", - ""); - I_Method0(const osgVolume::Locator *, getLocator, - Properties::NON_VIRTUAL, - __C5_Locator_P1__getLocator, - "", - ""); - I_Method1(void, setLayer, IN, osgVolume::Layer *, layer, - Properties::NON_VIRTUAL, - __void__setLayer__Layer_P1, - "", - ""); - I_Method0(osgVolume::Layer *, getLayer, - Properties::NON_VIRTUAL, - __Layer_P1__getLayer, - "", - ""); - I_Method0(const osgVolume::Layer *, getLayer, - Properties::NON_VIRTUAL, - __C5_Layer_P1__getLayer, - "", - ""); - I_Method1(void, setVolumeTechnique, IN, osgVolume::VolumeTechnique *, VolumeTechnique, - Properties::NON_VIRTUAL, - __void__setVolumeTechnique__VolumeTechnique_P1, - "Set the VolumeTechnique that will be used to render this tile. ", - ""); - I_Method0(osgVolume::VolumeTechnique *, getVolumeTechnique, - Properties::NON_VIRTUAL, - __VolumeTechnique_P1__getVolumeTechnique, - "Get the VolumeTechnique that will be used to render this tile. ", - ""); - I_Method0(const osgVolume::VolumeTechnique *, getVolumeTechnique, - Properties::NON_VIRTUAL, - __C5_VolumeTechnique_P1__getVolumeTechnique, - "Get the const VolumeTechnique that will be used to render this tile. ", - ""); - I_Method1(void, setDirty, IN, bool, dirty, - Properties::NON_VIRTUAL, - __void__setDirty__bool, - "Set the dirty flag on/off. ", - ""); - I_Method0(bool, getDirty, - Properties::NON_VIRTUAL, - __bool__getDirty, - "return true if the tile is dirty and needs to be updated, ", - ""); - I_Method0(osg::BoundingSphere, computeBound, - Properties::VIRTUAL, - __osg_BoundingSphere__computeBound, - "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(). "); - I_SimpleProperty(bool, Dirty, - __bool__getDirty, - __void__setDirty__bool); - I_SimpleProperty(osgVolume::Layer *, Layer, - __Layer_P1__getLayer, - __void__setLayer__Layer_P1); - I_SimpleProperty(osgVolume::Locator *, Locator, - __Locator_P1__getLocator, - __void__setLocator__Locator_P1); - I_SimpleProperty(const osgVolume::TileID &, TileID, - __C5_TileID_R1__getTileID, - __void__setTileID__C5_TileID_R1); - I_SimpleProperty(osgVolume::Volume *, Volume, - __Volume_P1__getVolume, - __void__setVolume__Volume_P1); - I_SimpleProperty(osgVolume::VolumeTechnique *, VolumeTechnique, - __VolumeTechnique_P1__getVolumeTechnique, - __void__setVolumeTechnique__VolumeTechnique_P1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/Box.cpp b/src/osgWrappers/introspection/osgWidget/Box.cpp deleted file mode 100644 index 0e7d40f40..000000000 --- a/src/osgWrappers/introspection/osgWidget/Box.cpp +++ /dev/null @@ -1,88 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgWidget::Box::BoxType) - I_DeclaringFile("osgWidget/Box"); - I_EnumLabel(osgWidget::Box::VERTICAL); - I_EnumLabel(osgWidget::Box::HORIZONTAL); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::Box) - I_DeclaringFile("osgWidget/Box"); - I_BaseType(osgWidget::Window); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_ConstructorWithDefaults3(IN, const std::string &, x, "", IN, osgWidget::Box::BoxType, x, osgWidget::Box::HORIZONTAL, IN, bool, x, false, - ____Box__C5_std_string_R1__BoxType__bool, - "The main constructor; takes the string name, the BoxType orientation, and a boolean indicating whether or not all of the Box regions should be uniformly sized. ", - ""); - I_Constructor2(IN, const osgWidget::Box &, x, IN, const osg::CopyOp &, x, - ____Box__C5_Box_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ProtectedMethod2(void, _resizeImplementation, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, - Properties::VIRTUAL, - Properties::NON_CONST, - __void___resizeImplementation__point_type__point_type, - "", - ""); - I_ProtectedMethod0(osgWidget::Window::Sizes, _getWidthImplementation, - Properties::VIRTUAL, - Properties::CONST, - __Sizes___getWidthImplementation, - "", - ""); - I_ProtectedMethod0(osgWidget::Window::Sizes, _getHeightImplementation, - Properties::VIRTUAL, - Properties::CONST, - __Sizes___getHeightImplementation, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/Browser.cpp b/src/osgWrappers/introspection/osgWidget/Browser.cpp deleted file mode 100644 index 4885ff6ba..000000000 --- a/src/osgWrappers/introspection/osgWidget/Browser.cpp +++ /dev/null @@ -1,179 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::Browser) - I_DeclaringFile("osgWidget/Browser"); - I_BaseType(osg::Geode); - I_Constructor0(____Browser, - "", - ""); - I_ConstructorWithDefaults2(IN, const std::string &, url, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(), - ____Browser__C5_std_string_R1__C5_GeometryHints_R1, - "", - ""); - I_MethodWithDefaults2(bool, assign, IN, osgWidget::BrowserImage *, browserImage, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(), - Properties::NON_VIRTUAL, - __bool__assign__BrowserImage_P1__C5_GeometryHints_R1, - "", - ""); - I_MethodWithDefaults2(bool, open, IN, const std::string &, url, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(), - Properties::NON_VIRTUAL, - __bool__open__C5_std_string_R1__C5_GeometryHints_R1, - "", - ""); - I_Method1(void, navigateTo, IN, const std::string &, url, - Properties::NON_VIRTUAL, - __void__navigateTo__C5_std_string_R1, - "", - ""); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::BrowserImage) - I_DeclaringFile("osgWidget/Browser"); - I_BaseType(osg::Image); - I_Constructor0(____BrowserImage, - "", - ""); - I_Method1(void, navigateTo, IN, const std::string &, url, - Properties::PURE_VIRTUAL, - __void__navigateTo__C5_std_string_R1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::BrowserManager) - I_DeclaringFile("osgWidget/Browser"); - I_BaseType(osg::Object); - I_StaticMethod0(osg::ref_ptr< osgWidget::BrowserManager > &, instance, - __osg_ref_ptrT1_BrowserManager__R1__instance_S, - "", - ""); - I_Method1(void, init, IN, const std::string &, application, - Properties::VIRTUAL, - __void__init__C5_std_string_R1, - "", - ""); - I_Method1(void, setApplication, IN, const std::string &, application, - Properties::NON_VIRTUAL, - __void__setApplication__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getApplication, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getApplication, - "", - ""); - I_Method3(osgWidget::BrowserImage *, createBrowserImage, IN, const std::string &, url, IN, int, width, IN, int, height, - Properties::VIRTUAL, - __BrowserImage_P1__createBrowserImage__C5_std_string_R1__int__int, - "", - ""); - I_ProtectedConstructor0(____BrowserManager, - "", - ""); - I_ProtectedConstructorWithDefaults2(IN, const osgWidget::BrowserManager &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____BrowserManager__C5_BrowserManager_R1__C5_osg_CopyOp_R1, - "", - ""); - I_ProtectedMethod0(osg::Object *, cloneType, - Properties::VIRTUAL, - Properties::CONST, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_ProtectedMethod1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - Properties::CONST, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_ProtectedMethod1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - Properties::CONST, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_ProtectedMethod0(const char *, libraryName, - Properties::VIRTUAL, - Properties::CONST, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_ProtectedMethod0(const char *, className, - Properties::VIRTUAL, - Properties::CONST, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_SimpleProperty(const std::string &, Application, - __C5_std_string_R1__getApplication, - __void__setApplication__C5_std_string_R1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgWidget::BrowserManager >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgWidget::BrowserManager *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgWidget::BrowserManager > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgWidget::BrowserManager > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgWidget::BrowserManager *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgWidget::BrowserManager *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgWidget::BrowserManager > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgWidget::BrowserManager *, , - __T_P1__get, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/Canvas.cpp b/src/osgWrappers/introspection/osgWidget/Canvas.cpp deleted file mode 100644 index e61e9c33e..000000000 --- a/src/osgWrappers/introspection/osgWidget/Canvas.cpp +++ /dev/null @@ -1,78 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::Canvas) - I_DeclaringFile("osgWidget/Canvas"); - I_BaseType(osgWidget::Window); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_ConstructorWithDefaults1(IN, const std::string &, x, "", - Properties::NON_EXPLICIT, - ____Canvas__C5_std_string_R1, - "", - ""); - I_Constructor2(IN, const osgWidget::Canvas &, x, IN, const osg::CopyOp &, x, - ____Canvas__C5_Canvas_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method3(bool, addWidget, IN, osgWidget::Widget *, x, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, - Properties::VIRTUAL, - __bool__addWidget__Widget_P1__point_type__point_type, - "Adds a Widget at the given XY coordinate. ", - ""); - I_ProtectedMethod2(void, _resizeImplementation, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, - Properties::VIRTUAL, - Properties::NON_CONST, - __void___resizeImplementation__point_type__point_type, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/EventInterface.cpp b/src/osgWrappers/introspection/osgWidget/EventInterface.cpp deleted file mode 100644 index 55e2082df..000000000 --- a/src/osgWrappers/introspection/osgWidget/EventInterface.cpp +++ /dev/null @@ -1,354 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::Callback) - I_DeclaringFile("osgWidget/EventInterface"); - I_BaseType(osg::Referenced); - I_Constructor0(____Callback, - "", - ""); - I_Constructor1(IN, const osgWidget::Callback &, rhs, - Properties::NON_EXPLICIT, - ____Callback__C5_Callback_R1, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "", - ""); - I_ConstructorWithDefaults2(IN, osgWidget::EventType, type, , IN, void *, data, 0, - ____Callback__EventType__void_P1, - "", - ""); - I_Method0(osgWidget::EventType, getType, - Properties::NON_VIRTUAL, - __EventType__getType, - "", - ""); - I_Method0(void *, getData, - Properties::NON_VIRTUAL, - __void_P1__getData, - "", - ""); - I_Method0(const void *, getData, - Properties::NON_VIRTUAL, - __C5_void_P1__getData, - "", - ""); - I_SimpleProperty(void *, Data, - __void_P1__getData, - 0); - I_SimpleProperty(osgWidget::EventType, Type, - __EventType__getType, - 0); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::CallbackInterface) - I_DeclaringFile("osgWidget/EventInterface"); - I_BaseType(osg::Referenced); - I_Constructor0(____CallbackInterface, - "", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "", - ""); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgWidget::Event) - I_DeclaringFile("osgWidget/EventInterface"); - I_ConstructorWithDefaults2(IN, osgWidget::WindowManager *, wm, , IN, osgWidget::EventType, _type, osgWidget::EVENT_NONE, - ____Event__WindowManager_P1__EventType, - "", - ""); - I_Method1(osgWidget::Event &, makeType, IN, osgWidget::EventType, _type, - Properties::NON_VIRTUAL, - __Event_R1__makeType__EventType, - "", - ""); - I_MethodWithDefaults3(osgWidget::Event &, makeMouse, IN, double, _x, , IN, double, _y, , IN, osgWidget::EventType, _type, osgWidget::EVENT_NONE, - Properties::NON_VIRTUAL, - __Event_R1__makeMouse__double__double__EventType, - "", - ""); - I_MethodWithDefaults3(osgWidget::Event &, makeKey, IN, int, _key, , IN, int, _keyMask, , IN, osgWidget::EventType, _type, osgWidget::EVENT_NONE, - Properties::NON_VIRTUAL, - __Event_R1__makeKey__int__int__EventType, - "", - ""); - I_Method0(osgWidget::WindowManager *, getWindowManager, - Properties::NON_VIRTUAL, - __WindowManager_P1__getWindowManager, - "", - ""); - I_Method0(const osgWidget::WindowManager *, getWindowManager, - Properties::NON_VIRTUAL, - __C5_WindowManager_P1__getWindowManager, - "", - ""); - I_Method0(osgWidget::Window *, getWindow, - Properties::NON_VIRTUAL, - __Window_P1__getWindow, - "", - ""); - I_Method0(const osgWidget::Window *, getWindow, - Properties::NON_VIRTUAL, - __C5_Window_P1__getWindow, - "", - ""); - I_Method0(osgWidget::Widget *, getWidget, - Properties::NON_VIRTUAL, - __Widget_P1__getWidget, - "", - ""); - I_Method0(const osgWidget::Widget *, getWidget, - Properties::NON_VIRTUAL, - __C5_Widget_P1__getWidget, - "", - ""); - I_Method0(void *, getData, - Properties::NON_VIRTUAL, - __void_P1__getData, - "", - ""); - I_Method0(const void *, getData, - Properties::NON_VIRTUAL, - __C5_void_P1__getData, - "", - ""); - I_Method1(void, setData, IN, void *, data, - Properties::NON_VIRTUAL, - __void__setData__void_P1, - "", - ""); - I_SimpleProperty(void *, Data, - __void_P1__getData, - __void__setData__void_P1); - I_SimpleProperty(osgWidget::Widget *, Widget, - __Widget_P1__getWidget, - 0); - I_SimpleProperty(osgWidget::Window *, Window, - __Window_P1__getWindow, - 0); - I_SimpleProperty(osgWidget::WindowManager *, WindowManager, - __WindowManager_P1__getWindowManager, - 0); - I_PublicMemberProperty(osgWidget::EventType, type); - I_PublicMemberProperty(double, x); - I_PublicMemberProperty(double, y); - I_PublicMemberProperty(int, key); - I_PublicMemberProperty(int, keyMask); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgWidget::EventInterface) - I_DeclaringFile("osgWidget/EventInterface"); - I_Constructor0(____EventInterface, - "", - ""); - I_Constructor1(IN, const osgWidget::EventInterface &, ei, - Properties::NON_EXPLICIT, - ____EventInterface__C5_EventInterface_R1, - "", - ""); - I_Method1(bool, focus, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__focus__C5_WindowManager_P1, - "", - ""); - I_Method1(bool, unfocus, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__unfocus__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseEnter, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseEnter__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseOver, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseOver__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseLeave, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseLeave__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseDrag, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseDrag__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mousePush, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mousePush__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseRelease, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseRelease__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseScroll, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseScroll__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, keyDown, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__keyDown__int__int__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, keyUp, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__keyUp__int__int__C5_WindowManager_P1, - "", - ""); - I_Method1(void, setEventMask, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__setEventMask__unsigned_int, - "", - ""); - I_Method1(void, addEventMask, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__addEventMask__unsigned_int, - "", - ""); - I_Method1(void, removeEventMask, IN, unsigned int, mask, - Properties::NON_VIRTUAL, - __void__removeEventMask__unsigned_int, - "", - ""); - I_Method0(unsigned int, getEventMask, - Properties::NON_VIRTUAL, - __unsigned_int__getEventMask, - "", - ""); - I_Method1(void, addCallback, IN, osgWidget::Callback *, cb, - Properties::NON_VIRTUAL, - __void__addCallback__Callback_P1, - "", - ""); - I_Method1(bool, callCallbacks, IN, osgWidget::Event &, ev, - Properties::NON_VIRTUAL, - __bool__callCallbacks__Event_R1, - "", - ""); - I_Method1(bool, callMethodAndCallbacks, IN, osgWidget::Event &, ev, - Properties::NON_VIRTUAL, - __bool__callMethodAndCallbacks__Event_R1, - "", - ""); - I_Method0(bool, canFocus, - Properties::NON_VIRTUAL, - __bool__canFocus, - "", - ""); - I_Method0(bool, canUnfocus, - Properties::NON_VIRTUAL, - __bool__canUnfocus, - "", - ""); - I_Method0(bool, canMouseEnter, - Properties::NON_VIRTUAL, - __bool__canMouseEnter, - "", - ""); - I_Method0(bool, canMouseOver, - Properties::NON_VIRTUAL, - __bool__canMouseOver, - "", - ""); - I_Method0(bool, canMouseLeave, - Properties::NON_VIRTUAL, - __bool__canMouseLeave, - "", - ""); - I_Method0(bool, canMouseDrag, - Properties::NON_VIRTUAL, - __bool__canMouseDrag, - "", - ""); - I_Method0(bool, canMousePush, - Properties::NON_VIRTUAL, - __bool__canMousePush, - "", - ""); - I_Method0(bool, canMouseRelease, - Properties::NON_VIRTUAL, - __bool__canMouseRelease, - "", - ""); - I_Method0(bool, canMouseScroll, - Properties::NON_VIRTUAL, - __bool__canMouseScroll, - "", - ""); - I_Method0(bool, canKeyDown, - Properties::NON_VIRTUAL, - __bool__canKeyDown, - "", - ""); - I_Method0(bool, canKeyUp, - Properties::NON_VIRTUAL, - __bool__canKeyUp, - "", - ""); - I_SimpleProperty(unsigned int, EventMask, - __unsigned_int__getEventMask, - __void__setEventMask__unsigned_int); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::EventType) - I_DeclaringFile("osgWidget/EventInterface"); - I_EnumLabel(osgWidget::EVENT_NONE); - I_EnumLabel(osgWidget::EVENT_FOCUS); - I_EnumLabel(osgWidget::EVENT_UNFOCUS); - I_EnumLabel(osgWidget::EVENT_MOUSE_ENTER); - I_EnumLabel(osgWidget::EVENT_MOUSE_OVER); - I_EnumLabel(osgWidget::EVENT_MOUSE_LEAVE); - I_EnumLabel(osgWidget::EVENT_MOUSE_DRAG); - I_EnumLabel(osgWidget::EVENT_MOUSE_PUSH); - I_EnumLabel(osgWidget::EVENT_MOUSE_RELEASE); - I_EnumLabel(osgWidget::EVENT_MOUSE_SCROLL); - I_EnumLabel(osgWidget::EVENT_KEY_DOWN); - I_EnumLabel(osgWidget::EVENT_KEY_UP); - I_EnumLabel(osgWidget::EVENT_ALL); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::EventMask) - I_DeclaringFile("osgWidget/EventInterface"); - I_EnumLabel(osgWidget::EVENT_MASK_FOCUS); - I_EnumLabel(osgWidget::EVENT_MASK_MOUSE_MOVE); - I_EnumLabel(osgWidget::EVENT_MASK_MOUSE_CLICK); - I_EnumLabel(osgWidget::EVENT_MASK_MOUSE_DRAG); - I_EnumLabel(osgWidget::EVENT_MASK_KEY); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/Frame.cpp b/src/osgWrappers/introspection/osgWidget/Frame.cpp deleted file mode 100644 index 8eba9f3e1..000000000 --- a/src/osgWrappers/introspection/osgWidget/Frame.cpp +++ /dev/null @@ -1,351 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgWidget::Frame::CornerType) - I_DeclaringFile("osgWidget/Frame"); - I_EnumLabel(osgWidget::Frame::CORNER_LOWER_LEFT); - I_EnumLabel(osgWidget::Frame::CORNER_LOWER_RIGHT); - I_EnumLabel(osgWidget::Frame::CORNER_UPPER_LEFT); - I_EnumLabel(osgWidget::Frame::CORNER_UPPER_RIGHT); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::Frame::BorderType) - I_DeclaringFile("osgWidget/Frame"); - I_EnumLabel(osgWidget::Frame::BORDER_LEFT); - I_EnumLabel(osgWidget::Frame::BORDER_RIGHT); - I_EnumLabel(osgWidget::Frame::BORDER_TOP); - I_EnumLabel(osgWidget::Frame::BORDER_BOTTOM); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::Frame::FrameOptions) - I_DeclaringFile("osgWidget/Frame"); - I_EnumLabel(osgWidget::Frame::FRAME_RESIZE); - I_EnumLabel(osgWidget::Frame::FRAME_MOVE); - I_EnumLabel(osgWidget::Frame::FRAME_TEXTURE); - I_EnumLabel(osgWidget::Frame::FRAME_ALL); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::Frame) - I_DeclaringFile("osgWidget/Frame"); - I_BaseType(osgWidget::Table); - I_StaticMethod1(std::string, cornerTypeToString, IN, osgWidget::Frame::CornerType, x, - __std_string__cornerTypeToString__CornerType_S, - "", - ""); - I_StaticMethod1(std::string, borderTypeToString, IN, osgWidget::Frame::BorderType, x, - __std_string__borderTypeToString__BorderType_S, - "", - ""); - I_StaticMethodWithDefaults7(osgWidget::Frame *, createSimpleFrame, IN, const std::string &, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, unsigned, int, 0, IN, osgWidget::Frame *, x, 0, - __Frame_P1__createSimpleFrame__C5_std_string_R1__point_type__point_type__point_type__point_type__unsigned__Frame_P1_S, - "", - ""); - I_StaticMethodWithDefaults6(osgWidget::Frame *, createSimpleFrameWithSingleTexture, IN, const std::string &, x, , IN, osg::Image *, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, unsigned, int, 0, IN, osgWidget::Frame *, x, 0, - __Frame_P1__createSimpleFrameWithSingleTexture__C5_std_string_R1__osg_Image_P1__point_type__point_type__unsigned__Frame_P1_S, - "", - ""); - I_StaticMethodWithDefaults6(osgWidget::Frame *, createSimpleFrameFromTheme, IN, const std::string &, x, , IN, osg::Image *, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, unsigned, int, 0, IN, osgWidget::Frame *, x, 0, - __Frame_P1__createSimpleFrameFromTheme__C5_std_string_R1__osg_Image_P1__point_type__point_type__unsigned__Frame_P1_S, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_ConstructorWithDefaults2(IN, const std::string &, x, "", IN, unsigned, int, 0, - ____Frame__C5_std_string_R1__unsigned, - "", - ""); - I_Constructor2(IN, const osgWidget::Frame &, x, IN, const osg::CopyOp &, x, - ____Frame__C5_Frame_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method4(void, createSimpleFrame, IN, osgWidget::point_type, cw, IN, osgWidget::point_type, ch, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h, - Properties::NON_VIRTUAL, - __void__createSimpleFrame__point_type__point_type__point_type__point_type, - "", - ""); - I_Method3(void, createSimpleFrameWithSingleTexture, IN, osg::Image *, image, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h, - Properties::NON_VIRTUAL, - __void__createSimpleFrameWithSingleTexture__osg_Image_P1__point_type__point_type, - "", - ""); - I_Method1(bool, setWindow, IN, osgWidget::Window *, x, - Properties::NON_VIRTUAL, - __bool__setWindow__Window_P1, - "", - ""); - I_Method0(osgWidget::Window::EmbeddedWindow *, getEmbeddedWindow, - Properties::NON_VIRTUAL, - __EmbeddedWindow_P1__getEmbeddedWindow, - "", - ""); - I_Method0(const osgWidget::Window::EmbeddedWindow *, getEmbeddedWindow, - Properties::NON_VIRTUAL, - __C5_EmbeddedWindow_P1__getEmbeddedWindow, - "", - ""); - I_Method1(osgWidget::Frame::Corner *, getCorner, IN, osgWidget::Frame::CornerType, c, - Properties::NON_VIRTUAL, - __Corner_P1__getCorner__CornerType, - "", - ""); - I_Method1(const osgWidget::Frame::Corner *, getCorner, IN, osgWidget::Frame::CornerType, c, - Properties::NON_VIRTUAL, - __C5_Corner_P1__getCorner__CornerType, - "", - ""); - I_Method1(osgWidget::Frame::Border *, getBorder, IN, osgWidget::Frame::BorderType, b, - Properties::NON_VIRTUAL, - __Border_P1__getBorder__BorderType, - "", - ""); - I_Method1(const osgWidget::Frame::Border *, getBorder, IN, osgWidget::Frame::BorderType, b, - Properties::NON_VIRTUAL, - __C5_Border_P1__getBorder__BorderType, - "", - ""); - I_Method2(bool, resizeFrame, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __bool__resizeFrame__point_type__point_type, - "", - ""); - I_Method0(unsigned int, getFlags, - Properties::NON_VIRTUAL, - __unsigned_int__getFlags, - "", - ""); - I_Method1(void, setFlags, IN, unsigned int, flags, - Properties::NON_VIRTUAL, - __void__setFlags__unsigned_int, - "", - ""); - I_Method0(bool, canResize, - Properties::NON_VIRTUAL, - __bool__canResize, - "", - ""); - I_Method0(bool, canMove, - Properties::NON_VIRTUAL, - __bool__canMove, - "", - ""); - I_Method0(bool, canTexture, - Properties::NON_VIRTUAL, - __bool__canTexture, - "", - ""); - I_ProtectedMethod1(osgWidget::Widget *, _getCorner, IN, osgWidget::Frame::CornerType, x, - Properties::NON_VIRTUAL, - Properties::CONST, - __Widget_P1___getCorner__CornerType, - "", - ""); - I_ProtectedMethod1(osgWidget::Widget *, _getBorder, IN, osgWidget::Frame::BorderType, x, - Properties::NON_VIRTUAL, - Properties::CONST, - __Widget_P1___getBorder__BorderType, - "", - ""); - I_SimpleProperty(osgWidget::Window::EmbeddedWindow *, EmbeddedWindow, - __EmbeddedWindow_P1__getEmbeddedWindow, - 0); - I_SimpleProperty(unsigned int, Flags, - __unsigned_int__getFlags, - __void__setFlags__unsigned_int); - I_SimpleProperty(osgWidget::Window *, Window, - 0, - __bool__setWindow__Window_P1); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::Frame::Border) - I_DeclaringFile("osgWidget/Frame"); - I_BaseType(osgWidget::Widget); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults3(IN, osgWidget::Frame::BorderType, x, osgWidget::Frame::BORDER_LEFT, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f, - ____Border__BorderType__point_type__point_type, - "", - ""); - I_Constructor2(IN, const osgWidget::Frame::Border &, x, IN, const osg::CopyOp &, x, - ____Border__C5_Border_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(void, parented, IN, osgWidget::Window *, x, - Properties::VIRTUAL, - __void__parented__Window_P1, - "", - ""); - I_Method0(void, positioned, - Properties::VIRTUAL, - __void__positioned, - "", - ""); - I_Method3(bool, mouseDrag, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseDrag__double__double__C5_WindowManager_P1, - "", - ""); - I_Method0(osgWidget::Frame::BorderType, getBorderType, - Properties::NON_VIRTUAL, - __BorderType__getBorderType, - "", - ""); - I_Method1(void, setBorderType, IN, osgWidget::Frame::BorderType, border, - Properties::NON_VIRTUAL, - __void__setBorderType__BorderType, - "", - ""); - I_Method1(void, setBorderTypeAndName, IN, osgWidget::Frame::BorderType, border, - Properties::NON_VIRTUAL, - __void__setBorderTypeAndName__BorderType, - "", - ""); - I_SimpleProperty(osgWidget::Frame::BorderType, BorderType, - __BorderType__getBorderType, - __void__setBorderType__BorderType); - I_SimpleProperty(osgWidget::Frame::BorderType, BorderTypeAndName, - 0, - __void__setBorderTypeAndName__BorderType); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::Frame::Corner) - I_DeclaringFile("osgWidget/Frame"); - I_BaseType(osgWidget::Widget); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults3(IN, osgWidget::Frame::CornerType, x, osgWidget::Frame::CORNER_LOWER_LEFT, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f, - ____Corner__CornerType__point_type__point_type, - "", - ""); - I_Constructor2(IN, const osgWidget::Frame::Corner &, x, IN, const osg::CopyOp &, x, - ____Corner__C5_Corner_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(void, parented, IN, osgWidget::Window *, x, - Properties::VIRTUAL, - __void__parented__Window_P1, - "", - ""); - I_Method3(bool, mouseDrag, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseDrag__double__double__C5_WindowManager_P1, - "", - ""); - I_Method0(osgWidget::Frame::CornerType, getCornerType, - Properties::NON_VIRTUAL, - __CornerType__getCornerType, - "", - ""); - I_Method1(void, setCornerType, IN, osgWidget::Frame::CornerType, corner, - Properties::NON_VIRTUAL, - __void__setCornerType__CornerType, - "", - ""); - I_Method1(void, setCornerTypeAndName, IN, osgWidget::Frame::CornerType, corner, - Properties::NON_VIRTUAL, - __void__setCornerTypeAndName__CornerType, - "", - ""); - I_SimpleProperty(osgWidget::Frame::CornerType, CornerType, - __CornerType__getCornerType, - __void__setCornerType__CornerType); - I_SimpleProperty(osgWidget::Frame::CornerType, CornerTypeAndName, - 0, - __void__setCornerTypeAndName__CornerType); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/Input.cpp b/src/osgWrappers/introspection/osgWidget/Input.cpp deleted file mode 100644 index ffe518ad8..000000000 --- a/src/osgWrappers/introspection/osgWidget/Input.cpp +++ /dev/null @@ -1,152 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::Input) - I_DeclaringFile("osgWidget/Input"); - I_BaseType(osgWidget::Label); - I_ConstructorWithDefaults3(IN, const std::string &, x, "", IN, const std::string &, x, "", IN, unsigned, int, 20, - ____Input__C5_std_string_R1__C5_std_string_R1__unsigned, - "", - ""); - I_Method1(void, parented, IN, osgWidget::Window *, x, - Properties::VIRTUAL, - __void__parented__Window_P1, - "", - ""); - I_Method0(void, positioned, - Properties::VIRTUAL, - __void__positioned, - "", - ""); - I_Method1(bool, focus, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__focus__C5_WindowManager_P1, - "", - ""); - I_Method1(bool, unfocus, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__unfocus__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, keyUp, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__keyUp__int__int__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, keyDown, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__keyDown__int__int__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseDrag, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseDrag__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mousePush, IN, double, x, IN, double, y, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mousePush__double__double__C5_WindowManager_P1, - "", - ""); - I_Method1(void, setCursor, IN, osgWidget::Widget *, x, - Properties::NON_VIRTUAL, - __void__setCursor__Widget_P1, - "", - ""); - I_MethodWithDefaults1(unsigned int, calculateBestYOffset, IN, const std::string &, x, "qgl", - Properties::NON_VIRTUAL, - __unsigned_int__calculateBestYOffset__C5_std_string_R1, - "", - ""); - I_Method1(void, setXOffset, IN, osgWidget::point_type, xo, - Properties::NON_VIRTUAL, - __void__setXOffset__point_type, - "", - ""); - I_Method1(void, setYOffset, IN, osgWidget::point_type, yo, - Properties::NON_VIRTUAL, - __void__setYOffset__point_type, - "", - ""); - I_Method2(void, setXYOffset, IN, osgWidget::point_type, xo, IN, osgWidget::point_type, yo, - Properties::NON_VIRTUAL, - __void__setXYOffset__point_type__point_type, - "", - ""); - I_Method0(osg::Drawable *, getCursor, - Properties::NON_VIRTUAL, - __osg_Drawable_P1__getCursor, - "", - ""); - I_Method0(const osg::Drawable *, getCursor, - Properties::NON_VIRTUAL, - __C5_osg_Drawable_P1__getCursor, - "", - ""); - I_Method0(osgWidget::point_type, getXOffset, - Properties::NON_VIRTUAL, - __point_type__getXOffset, - "", - ""); - I_Method0(osgWidget::point_type, getYOffset, - Properties::NON_VIRTUAL, - __point_type__getYOffset, - "", - ""); - I_Method0(osgWidget::XYCoord, getXYOffset, - Properties::NON_VIRTUAL, - __XYCoord__getXYOffset, - "", - ""); - I_ProtectedMethod1(void, _calculateSize, IN, const osgWidget::XYCoord &, x, - Properties::VIRTUAL, - Properties::NON_CONST, - __void___calculateSize__C5_XYCoord_R1, - "", - ""); - I_ProtectedMethod0(void, _calculateCursorOffsets, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___calculateCursorOffsets, - "", - ""); - I_SimpleProperty(osg::Drawable *, Cursor, - __osg_Drawable_P1__getCursor, - 0); - I_SimpleProperty(osgWidget::point_type, XOffset, - __point_type__getXOffset, - __void__setXOffset__point_type); - I_SimpleProperty(osgWidget::XYCoord, XYOffset, - __XYCoord__getXYOffset, - 0); - I_SimpleProperty(osgWidget::point_type, YOffset, - __point_type__getYOffset, - __void__setYOffset__point_type); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/Label.cpp b/src/osgWrappers/introspection/osgWidget/Label.cpp deleted file mode 100644 index 10fa06b14..000000000 --- a/src/osgWrappers/introspection/osgWidget/Label.cpp +++ /dev/null @@ -1,165 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::Label) - I_DeclaringFile("osgWidget/Label"); - I_BaseType(osgWidget::Widget); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults2(IN, const std::string &, x, "", IN, const std::string &, x, "", - ____Label__C5_std_string_R1__C5_std_string_R1, - "", - ""); - I_Constructor2(IN, const osgWidget::Label &, x, IN, const osg::CopyOp &, x, - ____Label__C5_Label_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(void, parented, IN, osgWidget::Window *, x, - Properties::VIRTUAL, - __void__parented__Window_P1, - "", - ""); - I_Method1(void, unparented, IN, osgWidget::Window *, x, - Properties::VIRTUAL, - __void__unparented__Window_P1, - "", - ""); - I_Method0(void, positioned, - Properties::VIRTUAL, - __void__positioned, - "", - ""); - I_Method1(void, setLabel, IN, const std::string &, x, - Properties::NON_VIRTUAL, - __void__setLabel__C5_std_string_R1, - "", - ""); - I_Method1(void, setLabel, IN, const osgText::String &, x, - Properties::NON_VIRTUAL, - __void__setLabel__C5_osgText_String_R1, - "", - ""); - I_Method1(void, setFont, IN, const std::string &, x, - Properties::NON_VIRTUAL, - __void__setFont__C5_std_string_R1, - "", - ""); - I_Method1(void, setFontSize, IN, unsigned, int, - Properties::NON_VIRTUAL, - __void__setFontSize__unsigned, - "", - ""); - I_Method1(void, setFontColor, IN, const osgWidget::Color &, x, - Properties::NON_VIRTUAL, - __void__setFontColor__C5_Color_R1, - "", - ""); - I_Method1(void, setShadow, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__setShadow__point_type, - "", - ""); - I_Method0(osgWidget::XYCoord, getTextSize, - Properties::NON_VIRTUAL, - __XYCoord__getTextSize, - "", - ""); - I_Method0(std::string, getLabel, - Properties::NON_VIRTUAL, - __std_string__getLabel, - "", - ""); - I_Method4(void, setFontColor, IN, osgWidget::point_type, r, IN, osgWidget::point_type, g, IN, osgWidget::point_type, b, IN, osgWidget::point_type, a, - Properties::NON_VIRTUAL, - __void__setFontColor__point_type__point_type__point_type__point_type, - "", - ""); - I_Method0(osgText::Text *, getText, - Properties::NON_VIRTUAL, - __osgText_Text_P1__getText, - "", - ""); - I_Method0(const osgText::Text *, getText, - Properties::NON_VIRTUAL, - __C5_osgText_Text_P1__getText, - "", - ""); - I_ProtectedMethod1(void, _calculateSize, IN, const osgWidget::XYCoord &, x, - Properties::VIRTUAL, - Properties::NON_CONST, - __void___calculateSize__C5_XYCoord_R1, - "", - ""); - I_SimpleProperty(const std::string &, Font, - 0, - __void__setFont__C5_std_string_R1); - I_SimpleProperty(const osgWidget::Color &, FontColor, - 0, - __void__setFontColor__C5_Color_R1); - I_SimpleProperty(unsigned, FontSize, - 0, - __void__setFontSize__unsigned); - I_SimpleProperty(std::string, Label, - __std_string__getLabel, - __void__setLabel__C5_std_string_R1); - I_SimpleProperty(osgWidget::point_type, Shadow, - 0, - __void__setShadow__point_type); - I_SimpleProperty(osgText::Text *, Text, - __osgText_Text_P1__getText, - 0); - I_SimpleProperty(osgWidget::XYCoord, TextSize, - __XYCoord__getTextSize, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/Lua.cpp b/src/osgWrappers/introspection/osgWidget/Lua.cpp deleted file mode 100644 index 65f1d70d6..000000000 --- a/src/osgWrappers/introspection/osgWidget/Lua.cpp +++ /dev/null @@ -1,55 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::LuaEngine) - I_DeclaringFile("osgWidget/Lua"); - I_BaseType(osgWidget::ScriptEngine); - I_ConstructorWithDefaults1(IN, osgWidget::WindowManager *, x, 0, - Properties::NON_EXPLICIT, - ____LuaEngine__WindowManager_P1, - "", - ""); - I_Method0(bool, initialize, - Properties::VIRTUAL, - __bool__initialize, - "", - ""); - I_Method0(bool, close, - Properties::VIRTUAL, - __bool__close, - "", - ""); - I_Method1(bool, eval, IN, const std::string &, x, - Properties::VIRTUAL, - __bool__eval__C5_std_string_R1, - "", - ""); - I_Method1(bool, runFile, IN, const std::string &, x, - Properties::VIRTUAL, - __bool__runFile__C5_std_string_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/PdfReader.cpp b/src/osgWrappers/introspection/osgWidget/PdfReader.cpp deleted file mode 100644 index 6d711d3a9..000000000 --- a/src/osgWrappers/introspection/osgWidget/PdfReader.cpp +++ /dev/null @@ -1,163 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgWidget::GeometryHints::AspectRatioPolicy) - I_DeclaringFile("osgWidget/PdfReader"); - I_EnumLabel(osgWidget::GeometryHints::RESIZE_HEIGHT_TO_MAINTAINCE_ASPECT_RATIO); - I_EnumLabel(osgWidget::GeometryHints::RESIZE_WIDTH_TO_MAINTAINCE_ASPECT_RATIO); - I_EnumLabel(osgWidget::GeometryHints::IGNORE_DOCUMENT_ASPECT_RATIO); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgWidget::GeometryHints) - I_DeclaringFile("osgWidget/PdfReader"); - I_Constructor0(____GeometryHints, - "", - ""); - I_ConstructorWithDefaults7(IN, const osg::Vec3 &, pos, , IN, const osg::Vec3 &, wVec, , IN, const osg::Vec3 &, hVec, , IN, const osg::Vec4 &, bColor, , IN, osgWidget::GeometryHints::AspectRatioPolicy, asp, osgWidget::GeometryHints::RESIZE_HEIGHT_TO_MAINTAINCE_ASPECT_RATIO, IN, unsigned int, wRes, 1024, IN, unsigned int, hRes, 1024, - ____GeometryHints__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec4_R1__AspectRatioPolicy__unsigned_int__unsigned_int, - "", - ""); - I_PublicMemberProperty(osg::Vec3, position); - I_PublicMemberProperty(osg::Vec3, widthVec); - I_PublicMemberProperty(osg::Vec3, heightVec); - I_PublicMemberProperty(osg::Vec4, backgroundColor); - I_PublicMemberProperty(osgWidget::GeometryHints::AspectRatioPolicy, aspectRatioPolicy); - I_PublicMemberProperty(unsigned int, widthResolution); - I_PublicMemberProperty(unsigned int, heightResolution); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::PdfImage) - I_DeclaringFile("osgWidget/PdfReader"); - I_BaseType(osg::Image); - I_Constructor0(____PdfImage, - "", - ""); - I_Method1(void, setBackgroundColor, IN, const osg::Vec4 &, backgroundColor, - Properties::NON_VIRTUAL, - __void__setBackgroundColor__C5_osg_Vec4_R1, - "", - ""); - I_Method0(const osg::Vec4 &, getBackgroundColor, - Properties::NON_VIRTUAL, - __C5_osg_Vec4_R1__getBackgroundColor, - "", - ""); - I_Method0(int, getPageNum, - Properties::NON_VIRTUAL, - __int__getPageNum, - "", - ""); - I_Method0(int, getNumOfPages, - Properties::PURE_VIRTUAL, - __int__getNumOfPages, - "", - ""); - I_Method1(bool, page, IN, int, pageNum, - Properties::PURE_VIRTUAL, - __bool__page__int, - "", - ""); - I_Method0(bool, previous, - Properties::NON_VIRTUAL, - __bool__previous, - "", - ""); - I_Method0(bool, next, - Properties::NON_VIRTUAL, - __bool__next, - "", - ""); - I_Method1(void, setNextPageKeyEvent, IN, int, key, - Properties::NON_VIRTUAL, - __void__setNextPageKeyEvent__int, - "", - ""); - I_Method0(int, getNextPageKeyEvent, - Properties::NON_VIRTUAL, - __int__getNextPageKeyEvent, - "", - ""); - I_Method1(void, setPreviousPageKeyEvent, IN, int, key, - Properties::NON_VIRTUAL, - __void__setPreviousPageKeyEvent__int, - "", - ""); - I_Method0(int, getPreviousPageKeyEvent, - Properties::NON_VIRTUAL, - __int__getPreviousPageKeyEvent, - "", - ""); - I_SimpleProperty(const osg::Vec4 &, BackgroundColor, - __C5_osg_Vec4_R1__getBackgroundColor, - __void__setBackgroundColor__C5_osg_Vec4_R1); - I_SimpleProperty(int, NextPageKeyEvent, - __int__getNextPageKeyEvent, - __void__setNextPageKeyEvent__int); - I_SimpleProperty(int, PageNum, - __int__getPageNum, - 0); - I_SimpleProperty(int, PreviousPageKeyEvent, - __int__getPreviousPageKeyEvent, - __void__setPreviousPageKeyEvent__int); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::PdfReader) - I_DeclaringFile("osgWidget/PdfReader"); - I_BaseType(osg::Geode); - I_Constructor0(____PdfReader, - "", - ""); - I_ConstructorWithDefaults2(IN, const std::string &, filename, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(), - ____PdfReader__C5_std_string_R1__C5_GeometryHints_R1, - "", - ""); - I_MethodWithDefaults2(bool, assign, IN, osgWidget::PdfImage *, pdfImage, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(), - Properties::NON_VIRTUAL, - __bool__assign__PdfImage_P1__C5_GeometryHints_R1, - "", - ""); - I_MethodWithDefaults2(bool, open, IN, const std::string &, filename, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(), - Properties::NON_VIRTUAL, - __bool__open__C5_std_string_R1__C5_GeometryHints_R1, - "", - ""); - I_Method1(bool, page, IN, int, pageNum, - Properties::NON_VIRTUAL, - __bool__page__int, - "", - ""); - I_Method0(bool, previous, - Properties::NON_VIRTUAL, - __bool__previous, - "", - ""); - I_Method0(bool, next, - Properties::NON_VIRTUAL, - __bool__next, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/Python.cpp b/src/osgWrappers/introspection/osgWidget/Python.cpp deleted file mode 100644 index 66e514e25..000000000 --- a/src/osgWrappers/introspection/osgWidget/Python.cpp +++ /dev/null @@ -1,55 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::PythonEngine) - I_DeclaringFile("osgWidget/Python"); - I_BaseType(osgWidget::ScriptEngine); - I_ConstructorWithDefaults1(IN, osgWidget::WindowManager *, x, 0, - Properties::NON_EXPLICIT, - ____PythonEngine__WindowManager_P1, - "", - ""); - I_Method0(bool, initialize, - Properties::VIRTUAL, - __bool__initialize, - "", - ""); - I_Method0(bool, close, - Properties::VIRTUAL, - __bool__close, - "", - ""); - I_Method1(bool, eval, IN, const std::string &, x, - Properties::VIRTUAL, - __bool__eval__C5_std_string_R1, - "", - ""); - I_Method1(bool, runFile, IN, const std::string &, x, - Properties::VIRTUAL, - __bool__runFile__C5_std_string_R1, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/ScriptEngine.cpp b/src/osgWrappers/introspection/osgWidget/ScriptEngine.cpp deleted file mode 100644 index 329d288c3..000000000 --- a/src/osgWrappers/introspection/osgWidget/ScriptEngine.cpp +++ /dev/null @@ -1,60 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::ScriptEngine) - I_DeclaringFile("osgWidget/ScriptEngine"); - I_BaseType(osg::Referenced); - I_Constructor0(____ScriptEngine, - "", - ""); - I_Method0(bool, initialize, - Properties::VIRTUAL, - __bool__initialize, - "", - ""); - I_Method0(bool, close, - Properties::VIRTUAL, - __bool__close, - "", - ""); - I_Method1(bool, eval, IN, const std::string &, x, - Properties::VIRTUAL, - __bool__eval__C5_std_string_R1, - "", - ""); - I_Method1(bool, runFile, IN, const std::string &, x, - Properties::VIRTUAL, - __bool__runFile__C5_std_string_R1, - "", - ""); - I_Method0(const std::string &, getLastErrorText, - Properties::VIRTUAL, - __C5_std_string_R1__getLastErrorText, - "", - ""); - I_SimpleProperty(const std::string &, LastErrorText, - __C5_std_string_R1__getLastErrorText, - 0); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/StyleInterface.cpp b/src/osgWrappers/introspection/osgWidget/StyleInterface.cpp deleted file mode 100644 index a29c4d376..000000000 --- a/src/osgWrappers/introspection/osgWidget/StyleInterface.cpp +++ /dev/null @@ -1,54 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_VALUE_REFLECTOR(osgWidget::StyleInterface) - I_DeclaringFile("osgWidget/StyleInterface"); - I_Constructor0(____StyleInterface, - "", - ""); - I_Constructor1(IN, const osgWidget::StyleInterface &, si, - Properties::NON_EXPLICIT, - ____StyleInterface__C5_StyleInterface_R1, - "", - ""); - I_Method1(void, setStyle, IN, const std::string &, style, - Properties::NON_VIRTUAL, - __void__setStyle__C5_std_string_R1, - "", - ""); - I_Method0(std::string &, getStyle, - Properties::NON_VIRTUAL, - __std_string_R1__getStyle, - "", - ""); - I_Method0(const std::string &, getStyle, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getStyle, - "", - ""); - I_SimpleProperty(const std::string &, Style, - __C5_std_string_R1__getStyle, - __void__setStyle__C5_std_string_R1); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/StyleManager.cpp b/src/osgWrappers/introspection/osgWidget/StyleManager.cpp deleted file mode 100644 index b4dd99223..000000000 --- a/src/osgWrappers/introspection/osgWidget/StyleManager.cpp +++ /dev/null @@ -1,267 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::Style) - I_DeclaringFile("osgWidget/StyleManager"); - I_BaseType(osg::Object); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults2(IN, const std::string &, x, "", IN, const std::string &, x, "", - ____Style__C5_std_string_R1__C5_std_string_R1, - "", - ""); - I_Constructor2(IN, const osgWidget::Style &, x, IN, const osg::CopyOp &, x, - ____Style__C5_Style_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method2(bool, applyStyle, IN, osgWidget::Widget *, x, IN, osgWidget::Reader, x, - Properties::VIRTUAL, - __bool__applyStyle__Widget_P1__Reader, - "", - ""); - I_Method2(bool, applyStyle, IN, osgWidget::Label *, x, IN, osgWidget::Reader, x, - Properties::VIRTUAL, - __bool__applyStyle__Label_P1__Reader, - "", - ""); - I_Method2(bool, applyStyle, IN, osgWidget::Input *, x, IN, osgWidget::Reader, x, - Properties::VIRTUAL, - __bool__applyStyle__Input_P1__Reader, - "", - ""); - I_Method2(bool, applyStyle, IN, osgWidget::Window *, x, IN, osgWidget::Reader, x, - Properties::VIRTUAL, - __bool__applyStyle__Window_P1__Reader, - "", - ""); - I_Method2(bool, applyStyle, IN, osgWidget::Window::EmbeddedWindow *, x, IN, osgWidget::Reader, x, - Properties::VIRTUAL, - __bool__applyStyle__Window_EmbeddedWindow_P1__Reader, - "", - ""); - I_Method2(bool, applyStyle, IN, osgWidget::Box *, x, IN, osgWidget::Reader, x, - Properties::VIRTUAL, - __bool__applyStyle__Box_P1__Reader, - "", - ""); - I_Method2(bool, applyStyle, IN, osgWidget::Frame::Corner *, x, IN, osgWidget::Reader, x, - Properties::VIRTUAL, - __bool__applyStyle__Frame_Corner_P1__Reader, - "", - ""); - I_Method2(bool, applyStyle, IN, osgWidget::Frame::Border *, x, IN, osgWidget::Reader, x, - Properties::VIRTUAL, - __bool__applyStyle__Frame_Border_P1__Reader, - "", - ""); - I_Method2(bool, applyStyle, IN, osgWidget::Canvas *, x, IN, osgWidget::Reader, x, - Properties::VIRTUAL, - __bool__applyStyle__Canvas_P1__Reader, - "", - ""); - I_Method1(void, setStyle, IN, const std::string &, style, - Properties::NON_VIRTUAL, - __void__setStyle__C5_std_string_R1, - "", - ""); - I_Method0(std::string &, getStyle, - Properties::NON_VIRTUAL, - __std_string_R1__getStyle, - "", - ""); - I_Method0(const std::string &, getStyle, - Properties::NON_VIRTUAL, - __C5_std_string_R1__getStyle, - "", - ""); - I_StaticMethod1(osgWidget::Widget::Layer, strToLayer, IN, const std::string &, x, - __Widget_Layer__strToLayer__C5_std_string_R1_S, - "", - ""); - I_StaticMethod1(osgWidget::Widget::VerticalAlignment, strToVAlign, IN, const std::string &, x, - __Widget_VerticalAlignment__strToVAlign__C5_std_string_R1_S, - "", - ""); - I_StaticMethod1(osgWidget::Widget::HorizontalAlignment, strToHAlign, IN, const std::string &, x, - __Widget_HorizontalAlignment__strToHAlign__C5_std_string_R1_S, - "", - ""); - I_StaticMethod1(osgWidget::Widget::CoordinateMode, strToCoordMode, IN, const std::string &, x, - __Widget_CoordinateMode__strToCoordMode__C5_std_string_R1_S, - "", - ""); - I_StaticMethod1(bool, strToFill, IN, const std::string &, x, - __bool__strToFill__C5_std_string_R1_S, - "", - ""); - I_ProtectedMethod2(bool, _match, IN, const char *, seq, IN, osgWidget::Reader, r, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool___match__C5_char_P1__Reader, - "", - ""); - I_SimpleProperty(const std::string &, Style, - __C5_std_string_R1__getStyle, - __void__setStyle__C5_std_string_R1); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ref_ptr< osgWidget::Style > >, osgWidget::StyleManager::Styles) - -TYPE_NAME_ALIAS(osgWidget::StyleManager::Styles::iterator, osgWidget::StyleManager::Iterator) - -TYPE_NAME_ALIAS(osgWidget::StyleManager::Styles::const_iterator, osgWidget::StyleManager::ConstIterator) - -BEGIN_OBJECT_REFLECTOR(osgWidget::StyleManager) - I_DeclaringFile("osgWidget/StyleManager"); - I_BaseType(osg::Object); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Constructor0(____StyleManager, - "", - ""); - I_Constructor2(IN, const osgWidget::StyleManager &, x, IN, const osg::CopyOp &, x, - ____StyleManager__C5_StyleManager_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(bool, addStyle, IN, osgWidget::Style *, x, - Properties::NON_VIRTUAL, - __bool__addStyle__Style_P1, - "", - ""); - I_Method1(bool, applyStyles, IN, osgWidget::Widget *, widget, - Properties::NON_VIRTUAL, - __bool__applyStyles__Widget_P1, - "", - ""); - I_Method1(bool, applyStyles, IN, osgWidget::Window *, window, - Properties::NON_VIRTUAL, - __bool__applyStyles__Window_P1, - "", - ""); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgDB::FieldReaderIterator &, osgWidget::Reader) - -BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgWidget::Style >) - I_DeclaringFile("osg/ref_ptr"); - I_Constructor0(____ref_ptr, - "", - ""); - I_Constructor1(IN, osgWidget::Style *, ptr, - Properties::NON_EXPLICIT, - ____ref_ptr__T_P1, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgWidget::Style > &, rp, - Properties::NON_EXPLICIT, - ____ref_ptr__C5_ref_ptr_R1, - "", - ""); - I_Constructor1(IN, osg::observer_ptr< osgWidget::Style > &, optr, - Properties::NON_EXPLICIT, - ____ref_ptr__observer_ptrT1_T__R1, - "", - ""); - I_Method0(osgWidget::Style *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_Method0(osgWidget::Style *, release, - Properties::NON_VIRTUAL, - __T_P1__release, - "", - ""); - I_Method1(void, swap, IN, osg::ref_ptr< osgWidget::Style > &, rp, - Properties::NON_VIRTUAL, - __void__swap__ref_ptr_R1, - "", - ""); - I_SimpleProperty(osgWidget::Style *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ref_ptr< osgWidget::Style > >) - diff --git a/src/osgWrappers/introspection/osgWidget/Table.cpp b/src/osgWrappers/introspection/osgWidget/Table.cpp deleted file mode 100644 index 6189d9de1..000000000 --- a/src/osgWrappers/introspection/osgWidget/Table.cpp +++ /dev/null @@ -1,166 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(std::vector< osgWidget::point_type >, osgWidget::Table::CellSizes) - -BEGIN_OBJECT_REFLECTOR(osgWidget::Table) - I_DeclaringFile("osgWidget/Table"); - I_BaseType(osgWidget::Window); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_ConstructorWithDefaults3(IN, const std::string &, x, "", IN, unsigned, int, 0, IN, unsigned, int, 0, - ____Table__C5_std_string_R1__unsigned__unsigned, - "", - ""); - I_Constructor2(IN, const osgWidget::Table &, x, IN, const osg::CopyOp &, x, - ____Table__C5_Table_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(bool, addWidget, IN, osgWidget::Widget *, x, - Properties::VIRTUAL, - __bool__addWidget__Widget_P1, - "", - ""); - I_Method3(bool, addWidget, IN, osgWidget::Widget *, x, IN, unsigned, int, IN, unsigned, int, - Properties::VIRTUAL, - __bool__addWidget__Widget_P1__unsigned__unsigned, - "", - ""); - I_Method1(void, getRowHeights, IN, osgWidget::Table::CellSizes &, x, - Properties::NON_VIRTUAL, - __void__getRowHeights__CellSizes_R1, - "", - ""); - I_Method1(void, getRowMinHeights, IN, osgWidget::Table::CellSizes &, x, - Properties::NON_VIRTUAL, - __void__getRowMinHeights__CellSizes_R1, - "", - ""); - I_Method1(void, getColumnWidths, IN, osgWidget::Table::CellSizes &, x, - Properties::NON_VIRTUAL, - __void__getColumnWidths__CellSizes_R1, - "", - ""); - I_Method1(void, getColumnMinWidths, IN, osgWidget::Table::CellSizes &, x, - Properties::NON_VIRTUAL, - __void__getColumnMinWidths__CellSizes_R1, - "", - ""); - I_Method2(void, addHeightToRow, IN, unsigned, int, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__addHeightToRow__unsigned__point_type, - "", - ""); - I_Method2(void, addWidthToColumn, IN, unsigned, int, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__addWidthToColumn__unsigned__point_type, - "", - ""); - I_Method1(bool, isRowVerticallyFillable, IN, unsigned, int, - Properties::NON_VIRTUAL, - __bool__isRowVerticallyFillable__unsigned, - "", - ""); - I_Method1(bool, isColumnHorizontallyFillable, IN, unsigned, int, - Properties::NON_VIRTUAL, - __bool__isColumnHorizontallyFillable__unsigned, - "", - ""); - I_Method2(osgWidget::Widget *, getByRowCol, IN, unsigned int, row, IN, unsigned int, col, - Properties::NON_VIRTUAL, - __Widget_P1__getByRowCol__unsigned_int__unsigned_int, - "", - ""); - I_Method2(const osgWidget::Widget *, getByRowCol, IN, unsigned int, row, IN, unsigned int, col, - Properties::NON_VIRTUAL, - __C5_Widget_P1__getByRowCol__unsigned_int__unsigned_int, - "", - ""); - I_ProtectedMethod2(unsigned int, _calculateIndex, IN, unsigned, int, IN, unsigned, int, - Properties::NON_VIRTUAL, - Properties::CONST, - __unsigned_int___calculateIndex__unsigned__unsigned, - "", - ""); - I_ProtectedMethod2(void, _getRows, IN, osgWidget::Table::CellSizes &, x, IN, osgWidget::Window::Getter, x, - Properties::NON_VIRTUAL, - Properties::CONST, - __void___getRows__CellSizes_R1__Getter, - "", - ""); - I_ProtectedMethod2(void, _getColumns, IN, osgWidget::Table::CellSizes &, x, IN, osgWidget::Window::Getter, x, - Properties::NON_VIRTUAL, - Properties::CONST, - __void___getColumns__CellSizes_R1__Getter, - "", - ""); - I_ProtectedMethod2(void, _resizeImplementation, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, - Properties::VIRTUAL, - Properties::NON_CONST, - __void___resizeImplementation__point_type__point_type, - "", - ""); - I_ProtectedMethod0(osgWidget::Window::Sizes, _getWidthImplementation, - Properties::VIRTUAL, - Properties::CONST, - __Sizes___getWidthImplementation, - "", - ""); - I_ProtectedMethod0(osgWidget::Window::Sizes, _getHeightImplementation, - Properties::VIRTUAL, - Properties::CONST, - __Sizes___getHeightImplementation, - "", - ""); -END_REFLECTOR - -STD_VECTOR_REFLECTOR(std::vector< osgWidget::point_type >) - diff --git a/src/osgWrappers/introspection/osgWidget/Types.cpp b/src/osgWrappers/introspection/osgWidget/Types.cpp deleted file mode 100644 index 38e7ea37f..000000000 --- a/src/osgWrappers/introspection/osgWidget/Types.cpp +++ /dev/null @@ -1,48 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -TYPE_NAME_ALIAS(osg::Vec2Array, osgWidget::TexCoordArray) - -TYPE_NAME_ALIAS(osg::Vec3Array, osgWidget::PointArray) - -TYPE_NAME_ALIAS(osg::Vec4Array, osgWidget::ColorArray) - -TYPE_NAME_ALIAS(osgWidget::TexCoordArray::value_type, osgWidget::TexCoord) - -TYPE_NAME_ALIAS(osgWidget::PointArray::value_type, osgWidget::Point) - -TYPE_NAME_ALIAS(osgWidget::ColorArray::value_type, osgWidget::Color) - -TYPE_NAME_ALIAS(osgWidget::TexCoord::value_type, osgWidget::texcoord_type) - -TYPE_NAME_ALIAS(osgWidget::Point::value_type, osgWidget::point_type) - -TYPE_NAME_ALIAS(osgWidget::Color::value_type, osgWidget::color_type) - -TYPE_NAME_ALIAS(osg::Vec2, osgWidget::XYCoord) - -TYPE_NAME_ALIAS(osg::Vec4, osgWidget::Quad) - -TYPE_NAME_ALIAS(osg::Matrix::value_type, osgWidget::matrix_type) - diff --git a/src/osgWrappers/introspection/osgWidget/ViewerEventHandlers.cpp b/src/osgWrappers/introspection/osgWidget/ViewerEventHandlers.cpp deleted file mode 100644 index 58fdb1b69..000000000 --- a/src/osgWrappers/introspection/osgWidget/ViewerEventHandlers.cpp +++ /dev/null @@ -1,138 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::CameraSwitchHandler) - I_DeclaringFile("osgWidget/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_Constructor2(IN, osgWidget::WindowManager *, x, IN, osg::Camera *, x, - ____CameraSwitchHandler__WindowManager_P1__osg_Camera_P1, - "", - ""); - I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, - "Handle events, return true if handled, false otherwise. ", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::KeyboardHandler) - I_DeclaringFile("osgWidget/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_Constructor1(IN, osgWidget::WindowManager *, x, - Properties::NON_EXPLICIT, - ____KeyboardHandler__WindowManager_P1, - "", - ""); - I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, - "Handle events, return true if handled, false otherwise. ", - ""); -END_REFLECTOR - - - -BEGIN_OBJECT_REFLECTOR(osgWidget::MouseHandler) - I_DeclaringFile("osgWidget/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_Constructor1(IN, osgWidget::WindowManager *, x, - Properties::NON_EXPLICIT, - ____MouseHandler__WindowManager_P1, - "", - ""); - I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, - "Handle events, return true if handled, false otherwise. ", - ""); - I_ProtectedMethod3(bool, _handleMousePush, IN, float, x, IN, float, x, IN, int, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool___handleMousePush__float__float__int, - "", - ""); - I_ProtectedMethod3(bool, _handleMouseRelease, IN, float, x, IN, float, x, IN, int, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool___handleMouseRelease__float__float__int, - "", - ""); - I_ProtectedMethod3(bool, _handleMouseDoubleClick, IN, float, x, IN, float, x, IN, int, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool___handleMouseDoubleClick__float__float__int, - "", - ""); - I_ProtectedMethod3(bool, _handleMouseDrag, IN, float, x, IN, float, x, IN, int, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool___handleMouseDrag__float__float__int, - "", - ""); - I_ProtectedMethod3(bool, _handleMouseMove, IN, float, x, IN, float, x, IN, int, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool___handleMouseMove__float__float__int, - "", - ""); - I_ProtectedMethod3(bool, _handleMouseScroll, IN, float, x, IN, float, x, IN, int, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool___handleMouseScroll__float__float__int, - "", - ""); - I_ProtectedMethod1(osgWidget::MouseHandler::MouseAction, _isMouseEvent, IN, osgGA::GUIEventAdapter::EventType, x, - Properties::NON_VIRTUAL, - Properties::CONST, - __MouseAction___isMouseEvent__osgGA_GUIEventAdapter_EventType, - "", - ""); - I_ProtectedMethod3(bool, _doMouseEvent, IN, float, x, IN, float, x, IN, osgWidget::MouseHandler::MouseEvent, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool___doMouseEvent__float__float__MouseEvent, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::ResizeHandler) - I_DeclaringFile("osgWidget/ViewerEventHandlers"); - I_BaseType(osgGA::GUIEventHandler); - I_ConstructorWithDefaults2(IN, osgWidget::WindowManager *, x, , IN, osg::Camera *, x, 0, - ____ResizeHandler__WindowManager_P1__osg_Camera_P1, - "", - ""); - I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, - "Handle events, return true if handled, false otherwise. ", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/VncClient.cpp b/src/osgWrappers/introspection/osgWidget/VncClient.cpp deleted file mode 100644 index fe6ec1f59..000000000 --- a/src/osgWrappers/introspection/osgWidget/VncClient.cpp +++ /dev/null @@ -1,70 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::VncClient) - I_DeclaringFile("osgWidget/VncClient"); - I_BaseType(osg::Geode); - I_Constructor0(____VncClient, - "", - ""); - I_ConstructorWithDefaults2(IN, const std::string &, hostname, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(), - ____VncClient__C5_std_string_R1__C5_GeometryHints_R1, - "", - ""); - I_MethodWithDefaults2(bool, assign, IN, osgWidget::VncImage *, vncImage, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(), - Properties::NON_VIRTUAL, - __bool__assign__VncImage_P1__C5_GeometryHints_R1, - "", - ""); - I_MethodWithDefaults2(bool, connect, IN, const std::string &, hostname, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(), - Properties::NON_VIRTUAL, - __bool__connect__C5_std_string_R1__C5_GeometryHints_R1, - "", - ""); - I_Method0(void, close, - Properties::NON_VIRTUAL, - __void__close, - "", - ""); -END_REFLECTOR - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::VncImage) - I_DeclaringFile("osgWidget/VncClient"); - I_BaseType(osg::Image); - I_Constructor0(____VncImage, - "", - ""); - I_Method1(bool, connect, IN, const std::string &, hostname, - Properties::PURE_VIRTUAL, - __bool__connect__C5_std_string_R1, - "", - ""); - I_Method0(void, close, - Properties::PURE_VIRTUAL, - __void__close, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/introspection/osgWidget/Widget.cpp b/src/osgWrappers/introspection/osgWidget/Widget.cpp deleted file mode 100644 index 0262e3860..000000000 --- a/src/osgWrappers/introspection/osgWidget/Widget.cpp +++ /dev/null @@ -1,995 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_OBJECT_REFLECTOR(osgWidget::NotifyWidget) - I_DeclaringFile("osgWidget/Widget"); - I_BaseType(osgWidget::Widget); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults3(IN, const std::string &, n, "", IN, osgWidget::point_type, w, 0.0f, IN, osgWidget::point_type, h, 0.0f, - ____NotifyWidget__C5_std_string_R1__point_type__point_type, - "", - ""); - I_Constructor2(IN, const osgWidget::NotifyWidget &, widget, IN, const osg::CopyOp &, co, - ____NotifyWidget__C5_NotifyWidget_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(bool, focus, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__focus__C5_WindowManager_P1, - "", - ""); - I_Method1(bool, unfocus, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__unfocus__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseEnter, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseEnter__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseOver, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseOver__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseLeave, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseLeave__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseDrag, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseDrag__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mousePush, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mousePush__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseRelease, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseRelease__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseScroll, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseScroll__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, keyPress, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x, - Properties::NON_VIRTUAL, - __bool__keyPress__int__int__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, keyRelease, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x, - Properties::NON_VIRTUAL, - __bool__keyRelease__int__int__C5_WindowManager_P1, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::NullWidget) - I_DeclaringFile("osgWidget/Widget"); - I_BaseType(osgWidget::Widget); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults3(IN, const std::string &, n, "", IN, osgWidget::point_type, w, 0.0f, IN, osgWidget::point_type, h, 0.0f, - ____NullWidget__C5_std_string_R1__point_type__point_type, - "", - ""); - I_Constructor2(IN, const osgWidget::NullWidget &, widget, IN, const osg::CopyOp &, co, - ____NullWidget__C5_NullWidget_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(bool, focus, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__focus__C5_WindowManager_P1, - "", - ""); - I_Method1(bool, unfocus, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__unfocus__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseEnter, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseEnter__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseOver, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseOver__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseLeave, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseLeave__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseDrag, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseDrag__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mousePush, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mousePush__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseRelease, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseRelease__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, mouseScroll, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __bool__mouseScroll__double__double__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, keyPress, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x, - Properties::NON_VIRTUAL, - __bool__keyPress__int__int__C5_WindowManager_P1, - "", - ""); - I_Method3(bool, keyRelease, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x, - Properties::NON_VIRTUAL, - __bool__keyRelease__int__int__C5_WindowManager_P1, - "", - ""); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::Widget::Corner) - I_DeclaringFile("osgWidget/Widget"); - I_EnumLabel(osgWidget::Widget::LOWER_LEFT); - I_EnumLabel(osgWidget::Widget::LOWER_RIGHT); - I_EnumLabel(osgWidget::Widget::UPPER_RIGHT); - I_EnumLabel(osgWidget::Widget::UPPER_LEFT); - I_EnumLabel(osgWidget::Widget::LL); - I_EnumLabel(osgWidget::Widget::LR); - I_EnumLabel(osgWidget::Widget::UR); - I_EnumLabel(osgWidget::Widget::UL); - I_EnumLabel(osgWidget::Widget::ALL_CORNERS); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::Widget::Layer) - I_DeclaringFile("osgWidget/Widget"); - I_EnumLabel(osgWidget::Widget::LAYER_TOP); - I_EnumLabel(osgWidget::Widget::LAYER_HIGH); - I_EnumLabel(osgWidget::Widget::LAYER_MIDDLE); - I_EnumLabel(osgWidget::Widget::LAYER_LOW); - I_EnumLabel(osgWidget::Widget::LAYER_BG); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::Widget::VerticalAlignment) - I_DeclaringFile("osgWidget/Widget"); - I_EnumLabel(osgWidget::Widget::VA_CENTER); - I_EnumLabel(osgWidget::Widget::VA_TOP); - I_EnumLabel(osgWidget::Widget::VA_BOTTOM); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::Widget::HorizontalAlignment) - I_DeclaringFile("osgWidget/Widget"); - I_EnumLabel(osgWidget::Widget::HA_CENTER); - I_EnumLabel(osgWidget::Widget::HA_LEFT); - I_EnumLabel(osgWidget::Widget::HA_RIGHT); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::Widget::CoordinateMode) - I_DeclaringFile("osgWidget/Widget"); - I_EnumLabel(osgWidget::Widget::CM_ABSOLUTE); - I_EnumLabel(osgWidget::Widget::CM_RELATIVE); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::Widget) - I_DeclaringFile("osgWidget/Widget"); - I_BaseType(osg::Geometry); - I_BaseType(osgWidget::EventInterface); - I_BaseType(osgWidget::StyleInterface); - I_ConstructorWithDefaults3(IN, const std::string &, x, "", IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f, - ____Widget__C5_std_string_R1__point_type__point_type, - "", - ""); - I_Constructor2(IN, const osgWidget::Widget &, x, IN, const osg::CopyOp &, x, - ____Widget__C5_Widget_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, parented, IN, osgWidget::Window *, x, - Properties::VIRTUAL, - __void__parented__Window_P1, - "", - ""); - I_Method1(void, unparented, IN, osgWidget::Window *, x, - Properties::VIRTUAL, - __void__unparented__Window_P1, - "", - ""); - I_Method1(void, managed, IN, osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __void__managed__WindowManager_P1, - "", - ""); - I_Method1(void, unmanaged, IN, osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __void__unmanaged__WindowManager_P1, - "", - ""); - I_Method0(void, positioned, - Properties::VIRTUAL, - __void__positioned, - "", - ""); - I_MethodWithDefaults5(void, setDimensions, IN, osgWidget::point_type, x, -1.0f, IN, osgWidget::point_type, x, -1.0f, IN, osgWidget::point_type, x, -1.0f, IN, osgWidget::point_type, x, -1.0f, IN, osgWidget::point_type, x, -1.0f, - Properties::NON_VIRTUAL, - __void__setDimensions__point_type__point_type__point_type__point_type__point_type, - "", - ""); - I_Method1(void, setPadding, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__setPadding__point_type, - "", - ""); - I_MethodWithDefaults5(void, setColor, IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS, - Properties::NON_VIRTUAL, - __void__setColor__color_type__color_type__color_type__color_type__Corner, - "", - ""); - I_MethodWithDefaults5(void, addColor, IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS, - Properties::NON_VIRTUAL, - __void__addColor__color_type__color_type__color_type__color_type__Corner, - "", - ""); - I_MethodWithDefaults3(void, setTexCoord, IN, osgWidget::texcoord_type, x, , IN, osgWidget::texcoord_type, x, , IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS, - Properties::NON_VIRTUAL, - __void__setTexCoord__texcoord_type__texcoord_type__Corner, - "", - ""); - I_MethodWithDefaults2(void, setLayer, IN, osgWidget::Widget::Layer, l, , IN, unsigned int, offset, 0, - Properties::NON_VIRTUAL, - __void__setLayer__Layer__unsigned_int, - "", - ""); - I_Method4(void, setTexCoordRegion, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__setTexCoordRegion__point_type__point_type__point_type__point_type, - "", - ""); - I_Method0(void, setTexCoordWrapHorizontal, - Properties::NON_VIRTUAL, - __void__setTexCoordWrapHorizontal, - "", - ""); - I_Method0(void, setTexCoordWrapVertical, - Properties::NON_VIRTUAL, - __void__setTexCoordWrapVertical, - "", - ""); - I_MethodWithDefaults3(bool, setImage, IN, osg::Image *, x, , IN, bool, x, false, IN, bool, x, false, - Properties::NON_VIRTUAL, - __bool__setImage__osg_Image_P1__bool__bool, - "", - ""); - I_MethodWithDefaults3(bool, setImage, IN, const std::string &, x, , IN, bool, x, false, IN, bool, x, false, - Properties::NON_VIRTUAL, - __bool__setImage__C5_std_string_R1__bool__bool, - "", - ""); - I_MethodWithDefaults3(bool, setTexture, IN, osg::Texture *, x, , IN, bool, x, false, IN, bool, x, false, - Properties::NON_VIRTUAL, - __bool__setTexture__osg_Texture_P1__bool__bool, - "", - ""); - I_Method1(void, addX, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__addX__point_type, - "", - ""); - I_Method1(void, addY, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__addY__point_type, - "", - ""); - I_Method1(void, addWidth, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__addWidth__point_type, - "", - ""); - I_Method1(void, addHeight, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__addHeight__point_type, - "", - ""); - I_Method2(void, addOrigin, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__addOrigin__point_type__point_type, - "", - ""); - I_Method2(void, addSize, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__addSize__point_type__point_type, - "", - ""); - I_Method0(osgWidget::point_type, getWidth, - Properties::NON_VIRTUAL, - __point_type__getWidth, - "", - ""); - I_Method0(osgWidget::point_type, getHeight, - Properties::NON_VIRTUAL, - __point_type__getHeight, - "", - ""); - I_Method0(osgWidget::point_type, getX, - Properties::NON_VIRTUAL, - __point_type__getX, - "", - ""); - I_Method0(osgWidget::point_type, getY, - Properties::NON_VIRTUAL, - __point_type__getY, - "", - ""); - I_Method0(osgWidget::point_type, getZ, - Properties::NON_VIRTUAL, - __point_type__getZ, - "", - ""); - I_Method0(osgWidget::point_type, getPadHorizontal, - Properties::NON_VIRTUAL, - __point_type__getPadHorizontal, - "", - ""); - I_Method0(osgWidget::point_type, getPadVertical, - Properties::NON_VIRTUAL, - __point_type__getPadVertical, - "", - ""); - I_MethodWithDefaults1(const osgWidget::Point &, getPoint, IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS, - Properties::NON_VIRTUAL, - __C5_Point_R1__getPoint__Corner, - "", - ""); - I_MethodWithDefaults1(const osgWidget::Color &, getColor, IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS, - Properties::NON_VIRTUAL, - __C5_Color_R1__getColor__Corner, - "", - ""); - I_MethodWithDefaults1(const osgWidget::TexCoord &, getTexCoord, IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS, - Properties::NON_VIRTUAL, - __C5_TexCoord_R1__getTexCoord__Corner, - "", - ""); - I_Method2(osgWidget::Color, getImageColorAtXY, IN, osgWidget::point_type, x, IN, osgWidget::point_type, y, - Properties::NON_VIRTUAL, - __Color__getImageColorAtXY__point_type__point_type, - "", - ""); - I_Method2(osgWidget::XYCoord, localXY, IN, double, x, IN, double, x, - Properties::NON_VIRTUAL, - __XYCoord__localXY__double__double, - "", - ""); - I_Method0(bool, isPaddingUniform, - Properties::NON_VIRTUAL, - __bool__isPaddingUniform, - "", - ""); - I_Method0(bool, isManaged, - Properties::NON_VIRTUAL, - __bool__isManaged, - "", - ""); - I_Method0(bool, isStyled, - Properties::NON_VIRTUAL, - __bool__isStyled, - "", - ""); - I_MethodWithDefaults2(void, setDimensions, IN, const osgWidget::Quad &, q, , IN, osgWidget::point_type, z, -1.0f, - Properties::NON_VIRTUAL, - __void__setDimensions__C5_Quad_R1__point_type, - "", - ""); - I_Method1(void, setX, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - __void__setX__point_type, - "", - ""); - I_Method1(void, setY, IN, osgWidget::point_type, y, - Properties::NON_VIRTUAL, - __void__setY__point_type, - "", - ""); - I_Method1(void, setZ, IN, osgWidget::point_type, z, - Properties::NON_VIRTUAL, - __void__setZ__point_type, - "", - ""); - I_Method1(void, setWidth, IN, osgWidget::point_type, w, - Properties::NON_VIRTUAL, - __void__setWidth__point_type, - "", - ""); - I_Method1(void, setHeight, IN, osgWidget::point_type, h, - Properties::NON_VIRTUAL, - __void__setHeight__point_type, - "", - ""); - I_Method2(void, setOrigin, IN, osgWidget::point_type, x, IN, osgWidget::point_type, y, - Properties::NON_VIRTUAL, - __void__setOrigin__point_type__point_type, - "", - ""); - I_Method1(void, setOrigin, IN, const osgWidget::XYCoord &, xy, - Properties::NON_VIRTUAL, - __void__setOrigin__C5_XYCoord_R1, - "", - ""); - I_Method2(void, setSize, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h, - Properties::NON_VIRTUAL, - __void__setSize__point_type__point_type, - "", - ""); - I_Method1(void, setSize, IN, const osgWidget::XYCoord &, xy, - Properties::NON_VIRTUAL, - __void__setSize__C5_XYCoord_R1, - "", - ""); - I_MethodWithDefaults2(void, setColor, IN, const osgWidget::Color &, col, , IN, osgWidget::Widget::Corner, p, osgWidget::Widget::ALL_CORNERS, - Properties::NON_VIRTUAL, - __void__setColor__C5_Color_R1__Corner, - "", - ""); - I_MethodWithDefaults2(void, setTexCoord, IN, const osgWidget::XYCoord &, xy, , IN, osgWidget::Widget::Corner, p, osgWidget::Widget::ALL_CORNERS, - Properties::NON_VIRTUAL, - __void__setTexCoord__C5_XYCoord_R1__Corner, - "", - ""); - I_Method3(void, setTexCoordRegion, IN, const osgWidget::XYCoord &, xy, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h, - Properties::NON_VIRTUAL, - __void__setTexCoordRegion__C5_XYCoord_R1__point_type__point_type, - "", - ""); - I_Method3(void, setTexCoordRegion, IN, osgWidget::point_type, x, IN, osgWidget::point_type, y, IN, const osgWidget::XYCoord &, wh, - Properties::NON_VIRTUAL, - __void__setTexCoordRegion__point_type__point_type__C5_XYCoord_R1, - "", - ""); - I_Method2(void, setTexCoordRegion, IN, const osgWidget::XYCoord &, xy, IN, const osgWidget::XYCoord &, wh, - Properties::NON_VIRTUAL, - __void__setTexCoordRegion__C5_XYCoord_R1__C5_XYCoord_R1, - "", - ""); - I_MethodWithDefaults2(void, addColor, IN, const osgWidget::Color &, col, , IN, osgWidget::Widget::Corner, p, osgWidget::Widget::ALL_CORNERS, - Properties::NON_VIRTUAL, - __void__addColor__C5_Color_R1__Corner, - "", - ""); - I_Method1(void, addOrigin, IN, const osgWidget::XYCoord &, xy, - Properties::NON_VIRTUAL, - __void__addOrigin__C5_XYCoord_R1, - "", - ""); - I_Method1(void, addSize, IN, const osgWidget::XYCoord &, xy, - Properties::NON_VIRTUAL, - __void__addSize__C5_XYCoord_R1, - "", - ""); - I_Method2(void, setMinimumSize, IN, osgWidget::point_type, width, IN, osgWidget::point_type, height, - Properties::NON_VIRTUAL, - __void__setMinimumSize__point_type__point_type, - "", - ""); - I_Method1(void, setMinimumSize, IN, const osgWidget::XYCoord &, xy, - Properties::NON_VIRTUAL, - __void__setMinimumSize__C5_XYCoord_R1, - "", - ""); - I_Method1(void, setPadLeft, IN, osgWidget::point_type, p, - Properties::NON_VIRTUAL, - __void__setPadLeft__point_type, - "", - ""); - I_Method1(void, setPadRight, IN, osgWidget::point_type, p, - Properties::NON_VIRTUAL, - __void__setPadRight__point_type, - "", - ""); - I_Method1(void, setPadTop, IN, osgWidget::point_type, p, - Properties::NON_VIRTUAL, - __void__setPadTop__point_type, - "", - ""); - I_Method1(void, setPadBottom, IN, osgWidget::point_type, p, - Properties::NON_VIRTUAL, - __void__setPadBottom__point_type, - "", - ""); - I_Method1(void, setAlignHorizontal, IN, osgWidget::Widget::HorizontalAlignment, h, - Properties::NON_VIRTUAL, - __void__setAlignHorizontal__HorizontalAlignment, - "", - ""); - I_Method1(void, setAlignVertical, IN, osgWidget::Widget::VerticalAlignment, v, - Properties::NON_VIRTUAL, - __void__setAlignVertical__VerticalAlignment, - "", - ""); - I_Method1(void, setCoordinateMode, IN, osgWidget::Widget::CoordinateMode, cm, - Properties::NON_VIRTUAL, - __void__setCoordinateMode__CoordinateMode, - "", - ""); - I_Method1(void, setCanFill, IN, bool, f, - Properties::NON_VIRTUAL, - __void__setCanFill__bool, - "", - ""); - I_Method1(void, setCanClone, IN, bool, c, - Properties::NON_VIRTUAL, - __void__setCanClone__bool, - "", - ""); - I_Method0(osgWidget::WindowManager *, getWindowManager, - Properties::NON_VIRTUAL, - __WindowManager_P1__getWindowManager, - "", - ""); - I_Method0(const osgWidget::WindowManager *, getWindowManager, - Properties::NON_VIRTUAL, - __C5_WindowManager_P1__getWindowManager, - "", - ""); - I_Method0(osgWidget::Window *, getParent, - Properties::NON_VIRTUAL, - __Window_P1__getParent, - "", - ""); - I_Method0(const osgWidget::Window *, getParent, - Properties::NON_VIRTUAL, - __C5_Window_P1__getParent, - "", - ""); - I_Method0(unsigned int, getIndex, - Properties::NON_VIRTUAL, - __unsigned_int__getIndex, - "", - ""); - I_Method0(osgWidget::XYCoord, getOrigin, - Properties::NON_VIRTUAL, - __XYCoord__getOrigin, - "", - ""); - I_Method1(osgWidget::Color, getImageColorAtXY, IN, const osgWidget::XYCoord &, xy, - Properties::NON_VIRTUAL, - __Color__getImageColorAtXY__C5_XYCoord_R1, - "", - ""); - I_Method2(osgWidget::Color, getImageColorAtPointerXY, IN, double, x, IN, double, y, - Properties::NON_VIRTUAL, - __Color__getImageColorAtPointerXY__double__double, - "", - ""); - I_Method0(osgWidget::Point, getPosition, - Properties::NON_VIRTUAL, - __Point__getPosition, - "", - ""); - I_Method0(osgWidget::XYCoord, getSize, - Properties::NON_VIRTUAL, - __XYCoord__getSize, - "", - ""); - I_Method0(osgWidget::Quad, getDimensions, - Properties::NON_VIRTUAL, - __Quad__getDimensions, - "", - ""); - I_Method0(osgWidget::point_type, getPadLeft, - Properties::NON_VIRTUAL, - __point_type__getPadLeft, - "", - ""); - I_Method0(osgWidget::point_type, getPadRight, - Properties::NON_VIRTUAL, - __point_type__getPadRight, - "", - ""); - I_Method0(osgWidget::point_type, getPadTop, - Properties::NON_VIRTUAL, - __point_type__getPadTop, - "", - ""); - I_Method0(osgWidget::point_type, getPadBottom, - Properties::NON_VIRTUAL, - __point_type__getPadBottom, - "", - ""); - I_Method0(osgWidget::Widget::HorizontalAlignment, getAlignHorizontal, - Properties::NON_VIRTUAL, - __HorizontalAlignment__getAlignHorizontal, - "", - ""); - I_Method0(osgWidget::Widget::VerticalAlignment, getAlignVertical, - Properties::NON_VIRTUAL, - __VerticalAlignment__getAlignVertical, - "", - ""); - I_Method0(osgWidget::Widget::CoordinateMode, getCoordinateMode, - Properties::NON_VIRTUAL, - __CoordinateMode__getCoordinateMode, - "", - ""); - I_Method0(bool, canFill, - Properties::NON_VIRTUAL, - __bool__canFill, - "", - ""); - I_Method0(bool, canClone, - Properties::NON_VIRTUAL, - __bool__canClone, - "", - ""); - I_Method0(osgWidget::point_type, getFillAsNumeric, - Properties::NON_VIRTUAL, - __point_type__getFillAsNumeric, - "", - ""); - I_Method0(osgWidget::point_type, getWidthTotal, - Properties::NON_VIRTUAL, - __point_type__getWidthTotal, - "", - ""); - I_Method0(osgWidget::point_type, getHeightTotal, - Properties::NON_VIRTUAL, - __point_type__getHeightTotal, - "", - ""); - I_Method0(osgWidget::point_type, getMinWidth, - Properties::NON_VIRTUAL, - __point_type__getMinWidth, - "", - ""); - I_Method0(osgWidget::point_type, getMinHeight, - Properties::NON_VIRTUAL, - __point_type__getMinHeight, - "", - ""); - I_Method0(osgWidget::point_type, getMinWidthTotal, - Properties::NON_VIRTUAL, - __point_type__getMinWidthTotal, - "", - ""); - I_Method0(osgWidget::point_type, getMinHeightTotal, - Properties::NON_VIRTUAL, - __point_type__getMinHeightTotal, - "", - ""); - I_Method0(unsigned int, getLayer, - Properties::NON_VIRTUAL, - __unsigned_int__getLayer, - "", - ""); - I_ProtectedMethod1(osgWidget::point_type, _calculateZ, IN, unsigned, int, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___calculateZ__unsigned, - "", - ""); - I_ProtectedMethod0(osgWidget::PointArray *, _verts, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __PointArray_P1___verts, - "", - ""); - I_ProtectedMethod0(const osgWidget::PointArray *, _verts, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_PointArray_P1___verts, - "", - ""); - I_ProtectedMethod0(osgWidget::ColorArray *, _cols, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __ColorArray_P1___cols, - "", - ""); - I_ProtectedMethod0(const osgWidget::ColorArray *, _cols, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_ColorArray_P1___cols, - "", - ""); - I_ProtectedMethod0(osgWidget::TexCoordArray *, _texs, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __TexCoordArray_P1___texs, - "", - ""); - I_ProtectedMethod0(const osgWidget::TexCoordArray *, _texs, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_TexCoordArray_P1___texs, - "", - ""); - I_ProtectedMethod0(osg::Texture *, _texture, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Texture_P1___texture, - "", - ""); - I_ProtectedMethod0(const osg::Texture *, _texture, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_osg_Texture_P1___texture, - "", - ""); - I_ProtectedMethod0(osg::Image *, _image, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Image_P1___image, - "", - ""); - I_ProtectedMethod0(const osg::Image *, _image, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_osg_Image_P1___image, - "", - ""); - I_ProtectedMethod0(osgWidget::WindowManager *, _getWindowManager, - Properties::NON_VIRTUAL, - Properties::CONST, - __WindowManager_P1___getWindowManager, - "", - ""); - I_ProtectedMethod0(osg::Image *, _getImage, - Properties::NON_VIRTUAL, - Properties::CONST, - __osg_Image_P1___getImage, - "", - ""); - I_SimpleProperty(osgWidget::Widget::HorizontalAlignment, AlignHorizontal, - __HorizontalAlignment__getAlignHorizontal, - __void__setAlignHorizontal__HorizontalAlignment); - I_SimpleProperty(osgWidget::Widget::VerticalAlignment, AlignVertical, - __VerticalAlignment__getAlignVertical, - __void__setAlignVertical__VerticalAlignment); - I_SimpleProperty(bool, CanClone, - 0, - __void__setCanClone__bool); - I_SimpleProperty(bool, CanFill, - 0, - __void__setCanFill__bool); - I_SimpleProperty(osgWidget::Widget::CoordinateMode, CoordinateMode, - __CoordinateMode__getCoordinateMode, - __void__setCoordinateMode__CoordinateMode); - I_SimpleProperty(osgWidget::Quad, Dimensions, - __Quad__getDimensions, - 0); - I_SimpleProperty(osgWidget::point_type, FillAsNumeric, - __point_type__getFillAsNumeric, - 0); - I_SimpleProperty(osgWidget::point_type, Height, - __point_type__getHeight, - __void__setHeight__point_type); - I_SimpleProperty(osgWidget::point_type, HeightTotal, - __point_type__getHeightTotal, - 0); - I_SimpleProperty(unsigned int, Index, - __unsigned_int__getIndex, - 0); - I_SimpleProperty(unsigned int, Layer, - __unsigned_int__getLayer, - 0); - I_SimpleProperty(osgWidget::point_type, MinHeight, - __point_type__getMinHeight, - 0); - I_SimpleProperty(osgWidget::point_type, MinHeightTotal, - __point_type__getMinHeightTotal, - 0); - I_SimpleProperty(osgWidget::point_type, MinWidth, - __point_type__getMinWidth, - 0); - I_SimpleProperty(osgWidget::point_type, MinWidthTotal, - __point_type__getMinWidthTotal, - 0); - I_SimpleProperty(const osgWidget::XYCoord &, MinimumSize, - 0, - __void__setMinimumSize__C5_XYCoord_R1); - I_SimpleProperty(osgWidget::XYCoord, Origin, - __XYCoord__getOrigin, - __void__setOrigin__C5_XYCoord_R1); - I_SimpleProperty(osgWidget::point_type, PadBottom, - __point_type__getPadBottom, - __void__setPadBottom__point_type); - I_SimpleProperty(osgWidget::point_type, PadHorizontal, - __point_type__getPadHorizontal, - 0); - I_SimpleProperty(osgWidget::point_type, PadLeft, - __point_type__getPadLeft, - __void__setPadLeft__point_type); - I_SimpleProperty(osgWidget::point_type, PadRight, - __point_type__getPadRight, - __void__setPadRight__point_type); - I_SimpleProperty(osgWidget::point_type, PadTop, - __point_type__getPadTop, - __void__setPadTop__point_type); - I_SimpleProperty(osgWidget::point_type, PadVertical, - __point_type__getPadVertical, - 0); - I_SimpleProperty(osgWidget::point_type, Padding, - 0, - __void__setPadding__point_type); - I_SimpleProperty(osgWidget::Window *, Parent, - __Window_P1__getParent, - 0); - I_SimpleProperty(osgWidget::Point, Position, - __Point__getPosition, - 0); - I_SimpleProperty(osgWidget::XYCoord, Size, - __XYCoord__getSize, - __void__setSize__C5_XYCoord_R1); - I_SimpleProperty(osgWidget::point_type, Width, - __point_type__getWidth, - __void__setWidth__point_type); - I_SimpleProperty(osgWidget::point_type, WidthTotal, - __point_type__getWidthTotal, - 0); - I_SimpleProperty(osgWidget::WindowManager *, WindowManager, - __WindowManager_P1__getWindowManager, - 0); - I_SimpleProperty(osgWidget::point_type, X, - __point_type__getX, - __void__setX__point_type); - I_SimpleProperty(osgWidget::point_type, Y, - __point_type__getY, - __void__setY__point_type); - I_SimpleProperty(osgWidget::point_type, Z, - __point_type__getZ, - __void__setZ__point_type); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::list< osg::observer_ptr< osgWidget::Widget > >, osgWidget::WidgetList) - -BEGIN_OBJECT_REFLECTOR(osg::observer_ptr< osgWidget::Widget >) - I_DeclaringFile("osg/observer_ptr"); - I_Constructor0(____observer_ptr, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgWidget::Widget > &, rp, - Properties::NON_EXPLICIT, - ____observer_ptr__C5_ref_ptrT1_T__R1, - "Create a observer_ptr from a ref_ptr. ", - ""); - I_Constructor1(IN, osgWidget::Widget *, rp, - Properties::NON_EXPLICIT, - ____observer_ptr__T_P1, - "Create a observer_ptr from a raw pointer. ", - "For compatibility; the result might not be lockable. "); - I_Constructor1(IN, const osg::observer_ptr< osgWidget::Widget > &, wp, - Properties::NON_EXPLICIT, - ____observer_ptr__C5_observer_ptr_R1, - "", - ""); - I_Method1(bool, lock, IN, osg::ref_ptr< osgWidget::Widget > &, rptr, - Properties::NON_VIRTUAL, - __bool__lock__ref_ptrT1_T__R1, - "Assign the observer_ptr to a ref_ptr. ", - "The ref_ptr will be valid if the referenced object hasn't been deleted and has a ref count > 0. "); - I_Method0(osgWidget::Widget *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_SimpleProperty(osgWidget::Widget *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::observer_ptr< osgWidget::Widget > >) - diff --git a/src/osgWrappers/introspection/osgWidget/Window.cpp b/src/osgWrappers/introspection/osgWidget/Window.cpp deleted file mode 100644 index d19c65384..000000000 --- a/src/osgWrappers/introspection/osgWidget/Window.cpp +++ /dev/null @@ -1,997 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgWidget::Window::Strata) - I_DeclaringFile("osgWidget/Window"); - I_EnumLabel(osgWidget::Window::STRATA_NONE); - I_EnumLabel(osgWidget::Window::STRATA_BACKGROUND); - I_EnumLabel(osgWidget::Window::STRATA_FOREGROUND); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::Window::VisibilityMode) - I_DeclaringFile("osgWidget/Window"); - I_EnumLabel(osgWidget::Window::VM_FULL); - I_EnumLabel(osgWidget::Window::VM_PARTIAL); - I_EnumLabel(osgWidget::Window::VM_ENTIRE); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::Window::VerticalAnchor) - I_DeclaringFile("osgWidget/Window"); - I_EnumLabel(osgWidget::Window::VA_NONE); - I_EnumLabel(osgWidget::Window::VA_CENTER); - I_EnumLabel(osgWidget::Window::VA_TOP); - I_EnumLabel(osgWidget::Window::VA_BOTTOM); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::Window::HorizontalAnchor) - I_DeclaringFile("osgWidget/Window"); - I_EnumLabel(osgWidget::Window::HA_NONE); - I_EnumLabel(osgWidget::Window::HA_CENTER); - I_EnumLabel(osgWidget::Window::HA_LEFT); - I_EnumLabel(osgWidget::Window::HA_RIGHT); -END_REFLECTOR - -TYPE_NAME_ALIAS(std::list< osg::observer_ptr< osgWidget::Window > >, osgWidget::Window::WindowList) - - -BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::Window) - I_DeclaringFile("osgWidget/Window"); - I_BaseType(osg::MatrixTransform); - I_BaseType(osgWidget::EventInterface); - I_BaseType(osgWidget::StyleInterface); - I_ConstructorWithDefaults1(IN, const std::string &, x, "", - Properties::NON_EXPLICIT, - ____Window__C5_std_string_R1, - "", - ""); - I_Constructor2(IN, const osgWidget::Window &, x, IN, const osg::CopyOp &, x, - ____Window__C5_Window_R1__C5_osg_CopyOp_R1, - "", - ""); - I_MethodWithDefaults2(bool, resize, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f, - Properties::NON_VIRTUAL, - __bool__resize__point_type__point_type, - "", - ""); - I_MethodWithDefaults2(bool, resizeAdd, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f, - Properties::NON_VIRTUAL, - __bool__resizeAdd__point_type__point_type, - "", - ""); - I_MethodWithDefaults2(bool, resizePercent, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f, - Properties::NON_VIRTUAL, - __bool__resizePercent__point_type__point_type, - "", - ""); - I_Method0(void, update, - Properties::VIRTUAL, - __void__update, - "", - ""); - I_Method1(void, managed, IN, osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __void__managed__WindowManager_P1, - "", - ""); - I_Method1(void, unmanaged, IN, osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __void__unmanaged__WindowManager_P1, - "", - ""); - I_Method1(bool, addWidget, IN, osgWidget::Widget *, x, - Properties::VIRTUAL, - __bool__addWidget__Widget_P1, - "", - ""); - I_Method2(bool, insertWidget, IN, osgWidget::Widget *, x, IN, unsigned, int, - Properties::VIRTUAL, - __bool__insertWidget__Widget_P1__unsigned, - "", - ""); - I_Method1(bool, removeWidget, IN, osgWidget::Widget *, x, - Properties::VIRTUAL, - __bool__removeWidget__Widget_P1, - "", - ""); - I_Method2(bool, replaceWidget, IN, osgWidget::Widget *, x, IN, osgWidget::Widget *, x, - Properties::VIRTUAL, - __bool__replaceWidget__Widget_P1__Widget_P1, - "", - ""); - I_Method1(unsigned int, addDrawableAndGetIndex, IN, osg::Drawable *, x, - Properties::NON_VIRTUAL, - __unsigned_int__addDrawableAndGetIndex__osg_Drawable_P1, - "", - ""); - I_Method1(unsigned int, addChildAndGetIndex, IN, osg::Node *, x, - Properties::NON_VIRTUAL, - __unsigned_int__addChildAndGetIndex__osg_Node_P1, - "", - ""); - I_Method0(bool, isVisible, - Properties::NON_VIRTUAL, - __bool__isVisible, - "", - ""); - I_Method2(bool, isXYWithinVisible, IN, float, x, IN, float, x, - Properties::NON_VIRTUAL, - __bool__isXYWithinVisible__float__float, - "", - ""); - I_MethodWithDefaults4(void, setVisibleArea, IN, int, x, 0, IN, int, x, 0, IN, int, x, 0, IN, int, x, 0, - Properties::NON_VIRTUAL, - __void__setVisibleArea__int__int__int__int, - "", - ""); - I_MethodWithDefaults4(void, addVisibleArea, IN, int, x, 0, IN, int, x, 0, IN, int, x, 0, IN, int, x, 0, - Properties::NON_VIRTUAL, - __void__addVisibleArea__int__int__int__int, - "", - ""); - I_Method1(bool, setFocused, IN, const osgWidget::Widget *, x, - Properties::NON_VIRTUAL, - __bool__setFocused__C5_Widget_P1, - "", - ""); - I_Method1(bool, setFocused, IN, const std::string &, x, - Properties::NON_VIRTUAL, - __bool__setFocused__C5_std_string_R1, - "", - ""); - I_Method0(bool, grabFocus, - Properties::NON_VIRTUAL, - __bool__grabFocus, - "", - ""); - I_Method0(bool, setFirstFocusable, - Properties::NON_VIRTUAL, - __bool__setFirstFocusable, - "", - ""); - I_Method0(bool, setNextFocusable, - Properties::NON_VIRTUAL, - __bool__setNextFocusable, - "", - ""); - I_Method1(bool, getFocusList, IN, osgWidget::WidgetList &, x, - Properties::NON_VIRTUAL, - __bool__getFocusList__WidgetList_R1, - "", - ""); - I_Method1(bool, getEmbeddedList, IN, osgWidget::Window::WindowList &, x, - Properties::NON_VIRTUAL, - __bool__getEmbeddedList__WindowList_R1, - "", - ""); - I_Method1(void, getParentList, IN, osgWidget::Window::WindowList &, x, - Properties::NON_VIRTUAL, - __void__getParentList__WindowList_R1, - "", - ""); - I_Method2(osgWidget::XYCoord, localXY, IN, double, x, IN, double, x, - Properties::NON_VIRTUAL, - __XYCoord__localXY__double__double, - "", - ""); - I_Method0(osgWidget::XYCoord, getAbsoluteOrigin, - Properties::NON_VIRTUAL, - __XYCoord__getAbsoluteOrigin, - "", - ""); - I_MethodWithDefaults3(osgWidget::Window::EmbeddedWindow *, embed, IN, const std::string &, x, "", IN, osgWidget::Widget::Layer, x, osgWidget::Widget::LAYER_MIDDLE, IN, unsigned, int, 0, - Properties::NON_VIRTUAL, - __EmbeddedWindow_P1__embed__C5_std_string_R1__Widget_Layer__unsigned, - "", - ""); - I_Method0(osgWidget::Widget *, getFocused, - Properties::NON_VIRTUAL, - __Widget_P1__getFocused, - "", - ""); - I_Method0(const osgWidget::Widget *, getFocused, - Properties::NON_VIRTUAL, - __C5_Widget_P1__getFocused, - "", - ""); - I_Method0(bool, show, - Properties::NON_VIRTUAL, - __bool__show, - "", - ""); - I_Method0(bool, hide, - Properties::NON_VIRTUAL, - __bool__hide, - "", - ""); - I_Method2(bool, isPointerXYWithinVisible, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - __bool__isPointerXYWithinVisible__float__float, - "", - ""); - I_Method0(osg::Geode *, getGeode, - Properties::NON_VIRTUAL, - __osg_Geode_P1__getGeode, - "", - ""); - I_Method0(const osg::Geode *, getGeode, - Properties::NON_VIRTUAL, - __C5_osg_Geode_P1__getGeode, - "", - ""); - I_Method0(osgWidget::Widget *, getBackground, - Properties::NON_VIRTUAL, - __Widget_P1__getBackground, - "", - ""); - I_Method0(const osgWidget::Widget *, getBackground, - Properties::NON_VIRTUAL, - __C5_Widget_P1__getBackground, - "", - ""); - I_Method0(osgWidget::WindowManager *, getWindowManager, - Properties::NON_VIRTUAL, - __WindowManager_P1__getWindowManager, - "", - ""); - I_Method0(const osgWidget::WindowManager *, getWindowManager, - Properties::NON_VIRTUAL, - __C5_WindowManager_P1__getWindowManager, - "", - ""); - I_Method0(osgWidget::Window *, getParent, - Properties::NON_VIRTUAL, - __Window_P1__getParent, - "", - ""); - I_Method0(const osgWidget::Window *, getParent, - Properties::NON_VIRTUAL, - __C5_Window_P1__getParent, - "", - ""); - I_Method0(osgWidget::Window *, getTopmostParent, - Properties::NON_VIRTUAL, - __Window_P1__getTopmostParent, - "", - ""); - I_Method0(const osgWidget::Window *, getTopmostParent, - Properties::NON_VIRTUAL, - __C5_Window_P1__getTopmostParent, - "", - ""); - I_Method0(unsigned int, getIndex, - Properties::NON_VIRTUAL, - __unsigned_int__getIndex, - "", - ""); - I_Method0(osgWidget::matrix_type, getX, - Properties::NON_VIRTUAL, - __matrix_type__getX, - "", - ""); - I_Method0(osgWidget::matrix_type, getY, - Properties::NON_VIRTUAL, - __matrix_type__getY, - "", - ""); - I_Method0(osgWidget::matrix_type, getZ, - Properties::NON_VIRTUAL, - __matrix_type__getZ, - "", - ""); - I_Method0(osgWidget::point_type, getWidth, - Properties::NON_VIRTUAL, - __point_type__getWidth, - "", - ""); - I_Method0(osgWidget::point_type, getHeight, - Properties::NON_VIRTUAL, - __point_type__getHeight, - "", - ""); - I_Method0(osgWidget::point_type, getMinWidth, - Properties::NON_VIRTUAL, - __point_type__getMinWidth, - "", - ""); - I_Method0(osgWidget::point_type, getMinHeight, - Properties::NON_VIRTUAL, - __point_type__getMinHeight, - "", - ""); - I_Method0(osgWidget::Window::VerticalAnchor, getAnchorVertical, - Properties::NON_VIRTUAL, - __VerticalAnchor__getAnchorVertical, - "", - ""); - I_Method0(osgWidget::Window::HorizontalAnchor, getAnchorHorizontal, - Properties::NON_VIRTUAL, - __HorizontalAnchor__getAnchorHorizontal, - "", - ""); - I_Method0(osgWidget::XYCoord, getOrigin, - Properties::NON_VIRTUAL, - __XYCoord__getOrigin, - "", - ""); - I_Method0(osgWidget::XYCoord, getSize, - Properties::NON_VIRTUAL, - __XYCoord__getSize, - "", - ""); - I_Method0(osgWidget::XYCoord, getMinSize, - Properties::NON_VIRTUAL, - __XYCoord__getMinSize, - "", - ""); - I_Method0(osgWidget::matrix_type, getZRange, - Properties::NON_VIRTUAL, - __matrix_type__getZRange, - "", - ""); - I_Method0(osgWidget::Window::Strata, getStrata, - Properties::NON_VIRTUAL, - __Strata__getStrata, - "", - ""); - I_Method0(const osgWidget::Quad &, getVisibleArea, - Properties::NON_VIRTUAL, - __C5_Quad_R1__getVisibleArea, - "", - ""); - I_Method0(osgWidget::Window::VisibilityMode, getVisibilityMode, - Properties::NON_VIRTUAL, - __VisibilityMode__getVisibilityMode, - "", - ""); - I_Method0(osgWidget::Point, getPosition, - Properties::NON_VIRTUAL, - __Point__getPosition, - "", - ""); - I_Method0(osgWidget::matrix_type, getRotate, - Properties::NON_VIRTUAL, - __matrix_type__getRotate, - "", - ""); - I_Method0(osgWidget::matrix_type, getScale, - Properties::NON_VIRTUAL, - __matrix_type__getScale, - "", - ""); - I_Method0(osgWidget::matrix_type, getScaleDenominator, - Properties::NON_VIRTUAL, - __matrix_type__getScaleDenominator, - "", - ""); - I_Method1(void, setX, IN, osgWidget::matrix_type, x, - Properties::NON_VIRTUAL, - __void__setX__matrix_type, - "", - ""); - I_Method1(void, setY, IN, osgWidget::matrix_type, y, - Properties::NON_VIRTUAL, - __void__setY__matrix_type, - "", - ""); - I_Method1(void, setZ, IN, osgWidget::matrix_type, z, - Properties::NON_VIRTUAL, - __void__setZ__matrix_type, - "", - ""); - I_Method1(void, setZRange, IN, osgWidget::matrix_type, zRange, - Properties::NON_VIRTUAL, - __void__setZRange__matrix_type, - "", - ""); - I_Method3(void, setPosition, IN, osgWidget::matrix_type, x, IN, osgWidget::matrix_type, y, IN, osgWidget::matrix_type, z, - Properties::NON_VIRTUAL, - __void__setPosition__matrix_type__matrix_type__matrix_type, - "", - ""); - I_Method1(void, setPosition, IN, const osgWidget::Point &, p, - Properties::NON_VIRTUAL, - __void__setPosition__C5_Point_R1, - "", - ""); - I_Method2(void, setOrigin, IN, osgWidget::matrix_type, x, IN, osgWidget::matrix_type, y, - Properties::NON_VIRTUAL, - __void__setOrigin__matrix_type__matrix_type, - "", - ""); - I_Method1(void, setOrigin, IN, const osgWidget::XYCoord &, xy, - Properties::NON_VIRTUAL, - __void__setOrigin__C5_XYCoord_R1, - "", - ""); - I_Method1(void, setRotate, IN, osgWidget::matrix_type, r, - Properties::NON_VIRTUAL, - __void__setRotate__matrix_type, - "", - ""); - I_Method1(void, setScale, IN, osgWidget::matrix_type, s, - Properties::NON_VIRTUAL, - __void__setScale__matrix_type, - "", - ""); - I_Method1(void, setScaleDenominator, IN, osgWidget::matrix_type, sd, - Properties::NON_VIRTUAL, - __void__setScaleDenominator__matrix_type, - "", - ""); - I_Method1(void, setAnchorVertical, IN, osgWidget::Window::VerticalAnchor, va, - Properties::NON_VIRTUAL, - __void__setAnchorVertical__VerticalAnchor, - "", - ""); - I_Method1(void, setAnchorHorizontal, IN, osgWidget::Window::HorizontalAnchor, ha, - Properties::NON_VIRTUAL, - __void__setAnchorHorizontal__HorizontalAnchor, - "", - ""); - I_Method1(void, setStrata, IN, osgWidget::Window::Strata, s, - Properties::NON_VIRTUAL, - __void__setStrata__Strata, - "", - ""); - I_Method1(void, setVisibilityMode, IN, osgWidget::Window::VisibilityMode, v, - Properties::NON_VIRTUAL, - __void__setVisibilityMode__VisibilityMode, - "", - ""); - I_Method1(void, addX, IN, osgWidget::matrix_type, x, - Properties::NON_VIRTUAL, - __void__addX__matrix_type, - "", - ""); - I_Method1(void, addY, IN, osgWidget::matrix_type, y, - Properties::NON_VIRTUAL, - __void__addY__matrix_type, - "", - ""); - I_Method1(void, addZ, IN, osgWidget::matrix_type, z, - Properties::NON_VIRTUAL, - __void__addZ__matrix_type, - "", - ""); - I_Method1(void, addRotate, IN, osgWidget::matrix_type, r, - Properties::NON_VIRTUAL, - __void__addRotate__matrix_type, - "", - ""); - I_Method1(void, addScale, IN, osgWidget::matrix_type, s, - Properties::NON_VIRTUAL, - __void__addScale__matrix_type, - "", - ""); - I_Method2(void, addOrigin, IN, osgWidget::matrix_type, x, IN, osgWidget::matrix_type, y, - Properties::NON_VIRTUAL, - __void__addOrigin__matrix_type__matrix_type, - "", - ""); - I_Method0(void, attachMoveCallback, - Properties::NON_VIRTUAL, - __void__attachMoveCallback, - "", - ""); - I_Method0(void, attachRotateCallback, - Properties::NON_VIRTUAL, - __void__attachRotateCallback, - "", - ""); - I_Method0(void, attachScaleCallback, - Properties::NON_VIRTUAL, - __void__attachScaleCallback, - "", - ""); - I_Method0(void, attachTabFocusCallback, - Properties::NON_VIRTUAL, - __void__attachTabFocusCallback, - "", - ""); - I_ProtectedMethod2(void, _setWidthAndHeightUnknownSizeError, IN, const std::string &, x, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___setWidthAndHeightUnknownSizeError__C5_std_string_R1__point_type, - "", - ""); - I_ProtectedMethod2(void, _setWidthAndHeightNotPAError, IN, const std::string &, x, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___setWidthAndHeightNotPAError__C5_std_string_R1__point_type, - "", - ""); - I_ProtectedMethod0(void, _setWidthAndHeight, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___setWidthAndHeight, - "", - ""); - I_ProtectedMethod1(void, _removeFromGeode, IN, osgWidget::Widget *, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___removeFromGeode__Widget_P1, - "", - ""); - I_ProtectedMethod0(osgWidget::Widget *, _getBackground, - Properties::NON_VIRTUAL, - Properties::CONST, - __Widget_P1___getBackground, - "", - ""); - I_ProtectedMethod0(osgWidget::Window *, _getTopmostParent, - Properties::NON_VIRTUAL, - Properties::CONST, - __Window_P1___getTopmostParent, - "", - ""); - I_ProtectedMethod0(osg::Geode *, _geode, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geode_P1___geode, - "", - ""); - I_ProtectedMethod0(const osg::Geode *, _geode, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_osg_Geode_P1___geode, - "", - ""); - I_ProtectedMethod0(osgWidget::Widget *, _bg, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __Widget_P1___bg, - "", - ""); - I_ProtectedMethod0(const osgWidget::Widget *, _bg, - Properties::NON_VIRTUAL, - Properties::CONST, - __C5_Widget_P1___bg, - "", - ""); - I_ProtectedMethod0(osg::Scissor *, _scissor, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Scissor_P1___scissor, - "", - ""); - I_ProtectedMethodWithDefaults2(bool, _setWidget, IN, osgWidget::Widget *, x, , IN, int, x, -1, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool___setWidget__Widget_P1__int, - "", - ""); - I_ProtectedMethod1(bool, _setVisible, IN, bool, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __bool___setVisible__bool, - "", - ""); - I_ProtectedMethod1(void, _setFocused, IN, osgWidget::Widget *, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___setFocused__Widget_P1, - "", - ""); - I_ProtectedMethod1(void, _setStyled, IN, osgWidget::Widget *, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___setStyled__Widget_P1, - "", - ""); - I_ProtectedMethodWithDefaults2(void, _setParented, IN, osgWidget::Widget *, x, , IN, bool, x, false, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___setParented__Widget_P1__bool, - "", - ""); - I_ProtectedMethodWithDefaults2(void, _setManaged, IN, osgWidget::Widget *, x, , IN, bool, x, false, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___setManaged__Widget_P1__bool, - "", - ""); - I_ProtectedMethod3(void, _positionWidget, IN, osgWidget::Widget *, x, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void___positionWidget__Widget_P1__point_type__point_type, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetWidth, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMinWidgetWidth__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetHeight, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMinWidgetHeight__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetWidth, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMaxWidgetWidth__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetHeight, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMaxWidgetHeight__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetMinWidth, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMinWidgetMinWidth__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetMinHeight, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMinWidgetMinHeight__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetMinWidth, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMaxWidgetMinWidth__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetMinHeight, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMaxWidgetMinHeight__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetWidthTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMinWidgetWidthTotal__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetHeightTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMinWidgetHeightTotal__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetWidthTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMaxWidgetWidthTotal__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetHeightTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMaxWidgetHeightTotal__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetMinWidthTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMinWidgetMinWidthTotal__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetMinHeightTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMinWidgetMinHeightTotal__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetMinWidthTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMaxWidgetMinWidthTotal__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetMinHeightTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMaxWidgetMinHeightTotal__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetPadHorizontal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMinWidgetPadHorizontal__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetPadVertical, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMinWidgetPadVertical__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetPadHorizontal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMaxWidgetPadHorizontal__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetPadVertical, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getMaxWidgetPadVertical__int__int__int, - "", - ""); - I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getNumFill, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1, - Properties::NON_VIRTUAL, - Properties::CONST, - __point_type___getNumFill__int__int__int, - "", - ""); - I_ProtectedMethod2(void, _resizeImplementation, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, - Properties::PURE_VIRTUAL, - Properties::NON_CONST, - __void___resizeImplementation__point_type__point_type, - "", - ""); - I_ProtectedMethod0(osgWidget::Window::Sizes, _getWidthImplementation, - Properties::VIRTUAL, - Properties::CONST, - __Sizes___getWidthImplementation, - "", - ""); - I_ProtectedMethod0(osgWidget::Window::Sizes, _getHeightImplementation, - Properties::VIRTUAL, - Properties::CONST, - __Sizes___getHeightImplementation, - "", - ""); - I_SimpleProperty(osgWidget::XYCoord, AbsoluteOrigin, - __XYCoord__getAbsoluteOrigin, - 0); - I_SimpleProperty(osgWidget::Window::HorizontalAnchor, AnchorHorizontal, - __HorizontalAnchor__getAnchorHorizontal, - __void__setAnchorHorizontal__HorizontalAnchor); - I_SimpleProperty(osgWidget::Window::VerticalAnchor, AnchorVertical, - __VerticalAnchor__getAnchorVertical, - __void__setAnchorVertical__VerticalAnchor); - I_SimpleProperty(osgWidget::Widget *, Background, - __Widget_P1__getBackground, - 0); - I_SimpleProperty(const osgWidget::Widget *, Focused, - __C5_Widget_P1__getFocused, - __bool__setFocused__C5_Widget_P1); - I_SimpleProperty(osg::Geode *, Geode, - __osg_Geode_P1__getGeode, - 0); - I_SimpleProperty(osgWidget::point_type, Height, - __point_type__getHeight, - 0); - I_SimpleProperty(unsigned int, Index, - __unsigned_int__getIndex, - 0); - I_SimpleProperty(osgWidget::point_type, MinHeight, - __point_type__getMinHeight, - 0); - I_SimpleProperty(osgWidget::XYCoord, MinSize, - __XYCoord__getMinSize, - 0); - I_SimpleProperty(osgWidget::point_type, MinWidth, - __point_type__getMinWidth, - 0); - I_SimpleProperty(osgWidget::XYCoord, Origin, - __XYCoord__getOrigin, - __void__setOrigin__C5_XYCoord_R1); - I_SimpleProperty(osgWidget::Window *, Parent, - __Window_P1__getParent, - 0); - I_SimpleProperty(osgWidget::Point, Position, - __Point__getPosition, - __void__setPosition__C5_Point_R1); - I_SimpleProperty(osgWidget::matrix_type, Rotate, - __matrix_type__getRotate, - __void__setRotate__matrix_type); - I_SimpleProperty(osgWidget::matrix_type, Scale, - __matrix_type__getScale, - __void__setScale__matrix_type); - I_SimpleProperty(osgWidget::matrix_type, ScaleDenominator, - __matrix_type__getScaleDenominator, - __void__setScaleDenominator__matrix_type); - I_SimpleProperty(osgWidget::XYCoord, Size, - __XYCoord__getSize, - 0); - I_SimpleProperty(osgWidget::Window::Strata, Strata, - __Strata__getStrata, - __void__setStrata__Strata); - I_SimpleProperty(osgWidget::Window *, TopmostParent, - __Window_P1__getTopmostParent, - 0); - I_SimpleProperty(osgWidget::Window::VisibilityMode, VisibilityMode, - __VisibilityMode__getVisibilityMode, - __void__setVisibilityMode__VisibilityMode); - I_SimpleProperty(const osgWidget::Quad &, VisibleArea, - __C5_Quad_R1__getVisibleArea, - 0); - I_SimpleProperty(osgWidget::point_type, Width, - __point_type__getWidth, - 0); - I_SimpleProperty(osgWidget::WindowManager *, WindowManager, - __WindowManager_P1__getWindowManager, - 0); - I_SimpleProperty(osgWidget::matrix_type, X, - __matrix_type__getX, - __void__setX__matrix_type); - I_SimpleProperty(osgWidget::matrix_type, Y, - __matrix_type__getY, - __void__setY__matrix_type); - I_SimpleProperty(osgWidget::matrix_type, Z, - __matrix_type__getZ, - __void__setZ__matrix_type); - I_SimpleProperty(osgWidget::matrix_type, ZRange, - __matrix_type__getZRange, - __void__setZRange__matrix_type); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::Window::EmbeddedWindow) - I_DeclaringFile("osgWidget/Window"); - I_BaseType(osgWidget::Widget); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_ConstructorWithDefaults3(IN, const std::string &, x, "", IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f, - ____EmbeddedWindow__C5_std_string_R1__point_type__point_type, - "", - ""); - I_Constructor2(IN, const osgWidget::Window::EmbeddedWindow &, x, IN, const osg::CopyOp &, x, - ____EmbeddedWindow__C5_EmbeddedWindow_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method1(void, parented, IN, osgWidget::Window *, x, - Properties::VIRTUAL, - __void__parented__Window_P1, - "", - ""); - I_Method1(void, unparented, IN, osgWidget::Window *, x, - Properties::VIRTUAL, - __void__unparented__Window_P1, - "", - ""); - I_Method1(void, managed, IN, osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __void__managed__WindowManager_P1, - "", - ""); - I_Method1(void, unmanaged, IN, osgWidget::WindowManager *, x, - Properties::VIRTUAL, - __void__unmanaged__WindowManager_P1, - "", - ""); - I_Method0(void, positioned, - Properties::VIRTUAL, - __void__positioned, - "", - ""); - I_Method1(bool, setWindow, IN, osgWidget::Window *, x, - Properties::NON_VIRTUAL, - __bool__setWindow__Window_P1, - "", - ""); - I_Method0(void, updateSizeFromWindow, - Properties::NON_VIRTUAL, - __void__updateSizeFromWindow, - "", - ""); - I_Method0(osgWidget::Window *, getWindow, - Properties::NON_VIRTUAL, - __Window_P1__getWindow, - "", - ""); - I_Method0(const osgWidget::Window *, getWindow, - Properties::NON_VIRTUAL, - __C5_Window_P1__getWindow, - "", - ""); - I_SimpleProperty(osgWidget::Window *, Window, - __Window_P1__getWindow, - __bool__setWindow__Window_P1); -END_REFLECTOR - -BEGIN_VALUE_REFLECTOR(osgWidget::Window::Sizes) - I_DeclaringFile("osgWidget/Window"); - I_ConstructorWithDefaults2(IN, osgWidget::point_type, c, -1.0f, IN, osgWidget::point_type, m, -1.0f, - ____Sizes__point_type__point_type, - "", - ""); - I_PublicMemberProperty(osgWidget::point_type, current); - I_PublicMemberProperty(osgWidget::point_type, minimum); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgWidget::Window::WindowList, osgWidget::WindowList) - -BEGIN_OBJECT_REFLECTOR(osg::observer_ptr< osgWidget::Window >) - I_DeclaringFile("osg/observer_ptr"); - I_Constructor0(____observer_ptr, - "", - ""); - I_Constructor1(IN, const osg::ref_ptr< osgWidget::Window > &, rp, - Properties::NON_EXPLICIT, - ____observer_ptr__C5_ref_ptrT1_T__R1, - "Create a observer_ptr from a ref_ptr. ", - ""); - I_Constructor1(IN, osgWidget::Window *, rp, - Properties::NON_EXPLICIT, - ____observer_ptr__T_P1, - "Create a observer_ptr from a raw pointer. ", - "For compatibility; the result might not be lockable. "); - I_Constructor1(IN, const osg::observer_ptr< osgWidget::Window > &, wp, - Properties::NON_EXPLICIT, - ____observer_ptr__C5_observer_ptr_R1, - "", - ""); - I_Method1(bool, lock, IN, osg::ref_ptr< osgWidget::Window > &, rptr, - Properties::NON_VIRTUAL, - __bool__lock__ref_ptrT1_T__R1, - "Assign the observer_ptr to a ref_ptr. ", - "The ref_ptr will be valid if the referenced object hasn't been deleted and has a ref count > 0. "); - I_Method0(osgWidget::Window *, get, - Properties::NON_VIRTUAL, - __T_P1__get, - "", - ""); - I_Method0(bool, valid, - Properties::NON_VIRTUAL, - __bool__valid, - "", - ""); - I_SimpleProperty(osgWidget::Window *, , - __T_P1__get, - 0); -END_REFLECTOR - -STD_LIST_REFLECTOR(std::list< osg::observer_ptr< osgWidget::Window > >) - diff --git a/src/osgWrappers/introspection/osgWidget/WindowManager.cpp b/src/osgWrappers/introspection/osgWidget/WindowManager.cpp deleted file mode 100644 index f962f9522..000000000 --- a/src/osgWrappers/introspection/osgWidget/WindowManager.cpp +++ /dev/null @@ -1,428 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -#include - -BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::WmFlags) - I_DeclaringFile("osgWidget/WindowManager"); - I_EnumLabel(osgWidget::WindowManager::WM_USE_LUA); - I_EnumLabel(osgWidget::WindowManager::WM_USE_PYTHON); - I_EnumLabel(osgWidget::WindowManager::WM_USE_RENDERBINS); - I_EnumLabel(osgWidget::WindowManager::WM_PICK_DEBUG); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::PointerDirection) - I_DeclaringFile("osgWidget/WindowManager"); - I_EnumLabel(osgWidget::WindowManager::PD_NONE); - I_EnumLabel(osgWidget::WindowManager::PD_LEFT); - I_EnumLabel(osgWidget::WindowManager::PD_RIGHT); - I_EnumLabel(osgWidget::WindowManager::PD_UP); - I_EnumLabel(osgWidget::WindowManager::PD_DOWN); -END_REFLECTOR - -BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::PointerFocusMode) - I_DeclaringFile("osgWidget/WindowManager"); - I_EnumLabel(osgWidget::WindowManager::PFM_FOCUS); - I_EnumLabel(osgWidget::WindowManager::PFM_UNFOCUS); - I_EnumLabel(osgWidget::WindowManager::PFM_SLOPPY); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgWidget::WindowManager) - I_DeclaringFile("osgWidget/WindowManager"); - I_BaseType(osg::Switch); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __osg_Object_P1__cloneType, - "clone an object of the same type as the node. ", - ""); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __osg_Object_P1__clone__C5_osg_CopyOp_R1, - "return a clone of a node, with Object* return type. ", - ""); - I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_osg_Object_P1, - "return true if this and obj are of the same kind of object. ", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the node's library. ", - ""); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the node's class type. ", - ""); - I_ConstructorWithDefaults5(IN, osgViewer::View *, x, 0, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f, IN, unsigned, int, 0, IN, unsigned, int, 0, - ____WindowManager__osgViewer_View_P1__point_type__point_type__unsigned__unsigned, - "", - ""); - I_Constructor2(IN, const osgWidget::WindowManager &, x, IN, const osg::CopyOp &, x, - ____WindowManager__C5_WindowManager_R1__C5_osg_CopyOp_R1, - "", - ""); - I_Method3(bool, pickAtXY, IN, float, x, IN, float, x, IN, osgWidget::WidgetList &, x, - Properties::NON_VIRTUAL, - __bool__pickAtXY__float__float__WidgetList_R1, - "", - ""); - I_Method1(bool, setFocused, IN, osgWidget::Window *, x, - Properties::NON_VIRTUAL, - __bool__setFocused__Window_P1, - "", - ""); - I_Method2(void, setPointerXY, IN, float, x, IN, float, x, - Properties::NON_VIRTUAL, - __void__setPointerXY__float__float, - "", - ""); - I_Method1(void, setStyleManager, IN, osgWidget::StyleManager *, x, - Properties::NON_VIRTUAL, - __void__setStyleManager__StyleManager_P1, - "", - ""); - I_MethodWithDefaults1(void, resizeAllWindows, IN, bool, x, true, - Properties::NON_VIRTUAL, - __void__resizeAllWindows__bool, - "", - ""); - I_Method2(osgWidget::XYCoord, windowXY, IN, double, x, IN, double, x, - Properties::NON_VIRTUAL, - __XYCoord__windowXY__double__double, - "", - ""); - I_Method2(osgWidget::XYCoord, localXY, IN, double, x, IN, double, x, - Properties::NON_VIRTUAL, - __XYCoord__localXY__double__double, - "", - ""); - I_Method2(bool, pointerMove, IN, float, x, IN, float, x, - Properties::NON_VIRTUAL, - __bool__pointerMove__float__float, - "", - ""); - I_Method2(bool, pointerDrag, IN, float, x, IN, float, x, - Properties::NON_VIRTUAL, - __bool__pointerDrag__float__float, - "", - ""); - I_Method2(bool, mouseScroll, IN, float, x, IN, float, x, - Properties::NON_VIRTUAL, - __bool__mouseScroll__float__float, - "", - ""); - I_Method0(osg::Camera *, createParentOrthoCamera, - Properties::NON_VIRTUAL, - __osg_Camera_P1__createParentOrthoCamera, - "", - ""); - I_Method0(unsigned int, getNodeMask, - Properties::NON_VIRTUAL, - __unsigned_int__getNodeMask, - "Get the node Mask. ", - ""); - I_Method0(osgWidget::point_type, getWidth, - Properties::NON_VIRTUAL, - __point_type__getWidth, - "", - ""); - I_Method0(osgWidget::point_type, getHeight, - Properties::NON_VIRTUAL, - __point_type__getHeight, - "", - ""); - I_Method0(bool, isUsingLua, - Properties::NON_VIRTUAL, - __bool__isUsingLua, - "", - ""); - I_Method0(bool, isUsingPython, - Properties::NON_VIRTUAL, - __bool__isUsingPython, - "", - ""); - I_Method0(bool, isUsingRenderBins, - Properties::NON_VIRTUAL, - __bool__isUsingRenderBins, - "", - ""); - I_Method0(int, getMouseKeysDown, - Properties::NON_VIRTUAL, - __int__getMouseKeysDown, - "", - ""); - I_Method0(osgWidget::ScriptEngine *, getLuaEngine, - Properties::NON_VIRTUAL, - __ScriptEngine_P1__getLuaEngine, - "", - ""); - I_Method0(const osgWidget::ScriptEngine *, getLuaEngine, - Properties::NON_VIRTUAL, - __C5_ScriptEngine_P1__getLuaEngine, - "", - ""); - I_Method0(osgWidget::ScriptEngine *, getPythonEngine, - Properties::NON_VIRTUAL, - __ScriptEngine_P1__getPythonEngine, - "", - ""); - I_Method0(const osgWidget::ScriptEngine *, getPythonEngine, - Properties::NON_VIRTUAL, - __C5_ScriptEngine_P1__getPythonEngine, - "", - ""); - I_Method0(osgWidget::StyleManager *, getStyleManager, - Properties::NON_VIRTUAL, - __StyleManager_P1__getStyleManager, - "", - ""); - I_Method0(const osgWidget::StyleManager *, getStyleManager, - Properties::NON_VIRTUAL, - __C5_StyleManager_P1__getStyleManager, - "", - ""); - I_Method0(osgWidget::WindowManager::PointerDirection, getPointerVerticalDirection, - Properties::NON_VIRTUAL, - __PointerDirection__getPointerVerticalDirection, - "", - ""); - I_Method0(osgWidget::WindowManager::PointerDirection, getPointerHorizontalDirection, - Properties::NON_VIRTUAL, - __PointerDirection__getPointerHorizontalDirection, - "", - ""); - I_Method0(osgWidget::WindowManager::PointerFocusMode, getPointerFocusMode, - Properties::NON_VIRTUAL, - __PointerFocusMode__getPointerFocusMode, - "", - ""); - I_Method0(int, getPointerDirectionVector, - Properties::NON_VIRTUAL, - __int__getPointerDirectionVector, - "", - ""); - I_Method0(bool, isPointerMovingUp, - Properties::NON_VIRTUAL, - __bool__isPointerMovingUp, - "", - ""); - I_Method0(bool, isPointerMovingDown, - Properties::NON_VIRTUAL, - __bool__isPointerMovingDown, - "", - ""); - I_Method0(bool, isPointerMovingLeft, - Properties::NON_VIRTUAL, - __bool__isPointerMovingLeft, - "", - ""); - I_Method0(bool, isPointerMovingRight, - Properties::NON_VIRTUAL, - __bool__isPointerMovingRight, - "", - ""); - I_Method0(bool, isPointerMovingVertically, - Properties::NON_VIRTUAL, - __bool__isPointerMovingVertically, - "", - ""); - I_Method0(bool, isPointerMovingHorizontally, - Properties::NON_VIRTUAL, - __bool__isPointerMovingHorizontally, - "", - ""); - I_Method0(bool, isLeftMouseButtonDown, - Properties::NON_VIRTUAL, - __bool__isLeftMouseButtonDown, - "", - ""); - I_Method0(bool, isMiddleMouseButtonDown, - Properties::NON_VIRTUAL, - __bool__isMiddleMouseButtonDown, - "", - ""); - I_Method0(bool, isRightMouseButtonDown, - Properties::NON_VIRTUAL, - __bool__isRightMouseButtonDown, - "", - ""); - I_Method0(bool, isMouseScrollingUp, - Properties::NON_VIRTUAL, - __bool__isMouseScrollingUp, - "", - ""); - I_Method0(bool, isMouseScrollingDown, - Properties::NON_VIRTUAL, - __bool__isMouseScrollingDown, - "", - ""); - I_Method1(bool, setFocusedByName, IN, const std::string &, name, - Properties::NON_VIRTUAL, - __bool__setFocusedByName__C5_std_string_R1, - "", - ""); - I_Method1(void, setScrollingMotion, IN, osgGA::GUIEventAdapter::ScrollingMotion, sm, - Properties::NON_VIRTUAL, - __void__setScrollingMotion__osgGA_GUIEventAdapter_ScrollingMotion, - "", - ""); - I_Method1(void, setPointerFocusMode, IN, osgWidget::WindowManager::PointerFocusMode, pfm, - Properties::NON_VIRTUAL, - __void__setPointerFocusMode__PointerFocusMode, - "", - ""); - I_Method1(void, setWidth, IN, osgWidget::point_type, w, - Properties::NON_VIRTUAL, - __void__setWidth__point_type, - "", - ""); - I_Method1(void, setHeight, IN, osgWidget::point_type, h, - Properties::NON_VIRTUAL, - __void__setHeight__point_type, - "", - ""); - I_Method2(void, setSize, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h, - Properties::NON_VIRTUAL, - __void__setSize__point_type__point_type, - "", - ""); - I_Method2(void, setWindowSize, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h, - Properties::NON_VIRTUAL, - __void__setWindowSize__point_type__point_type, - "", - ""); - I_Method2(bool, mousePushedLeft, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - __bool__mousePushedLeft__float__float, - "", - ""); - I_Method2(bool, mousePushedMiddle, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - __bool__mousePushedMiddle__float__float, - "", - ""); - I_Method2(bool, mousePushedRight, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - __bool__mousePushedRight__float__float, - "", - ""); - I_Method2(bool, mouseReleasedLeft, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - __bool__mouseReleasedLeft__float__float, - "", - ""); - I_Method2(bool, mouseReleasedMiddle, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - __bool__mouseReleasedMiddle__float__float, - "", - ""); - I_Method2(bool, mouseReleasedRight, IN, float, x, IN, float, y, - Properties::NON_VIRTUAL, - __bool__mouseReleasedRight__float__float, - "", - ""); - I_Method2(bool, keyDown, IN, int, x, IN, int, x, - Properties::NON_VIRTUAL, - __bool__keyDown__int__int, - "", - ""); - I_Method2(bool, keyUp, IN, int, x, IN, int, x, - Properties::NON_VIRTUAL, - __bool__keyUp__int__int, - "", - ""); - I_Method0(osgViewer::View *, getView, - Properties::NON_VIRTUAL, - __osgViewer_View_P1__getView, - "", - ""); - I_Method0(const osgViewer::View *, getView, - Properties::NON_VIRTUAL, - __C5_osgViewer_View_P1__getView, - "", - ""); - I_StaticMethod2(void, setEventFromInterface, IN, osgWidget::Event &, x, IN, osgWidget::EventInterface *, x, - __void__setEventFromInterface__Event_R1__EventInterface_P1_S, - "", - ""); - I_SimpleProperty(osgWidget::Window *, Focused, - 0, - __bool__setFocused__Window_P1); - I_SimpleProperty(const std::string &, FocusedByName, - 0, - __bool__setFocusedByName__C5_std_string_R1); - I_SimpleProperty(osgWidget::point_type, Height, - __point_type__getHeight, - __void__setHeight__point_type); - I_SimpleProperty(osgWidget::ScriptEngine *, LuaEngine, - __ScriptEngine_P1__getLuaEngine, - 0); - I_SimpleProperty(int, MouseKeysDown, - __int__getMouseKeysDown, - 0); - I_SimpleProperty(unsigned int, NodeMask, - __unsigned_int__getNodeMask, - 0); - I_SimpleProperty(int, PointerDirectionVector, - __int__getPointerDirectionVector, - 0); - I_SimpleProperty(osgWidget::WindowManager::PointerFocusMode, PointerFocusMode, - __PointerFocusMode__getPointerFocusMode, - __void__setPointerFocusMode__PointerFocusMode); - I_SimpleProperty(osgWidget::WindowManager::PointerDirection, PointerHorizontalDirection, - __PointerDirection__getPointerHorizontalDirection, - 0); - I_SimpleProperty(osgWidget::WindowManager::PointerDirection, PointerVerticalDirection, - __PointerDirection__getPointerVerticalDirection, - 0); - I_SimpleProperty(osgWidget::ScriptEngine *, PythonEngine, - __ScriptEngine_P1__getPythonEngine, - 0); - I_SimpleProperty(osgGA::GUIEventAdapter::ScrollingMotion, ScrollingMotion, - 0, - __void__setScrollingMotion__osgGA_GUIEventAdapter_ScrollingMotion); - I_SimpleProperty(osgWidget::StyleManager *, StyleManager, - __StyleManager_P1__getStyleManager, - __void__setStyleManager__StyleManager_P1); - I_SimpleProperty(osgViewer::View *, View, - __osgViewer_View_P1__getView, - 0); - I_SimpleProperty(osgWidget::point_type, Width, - __point_type__getWidth, - __void__setWidth__point_type); -END_REFLECTOR - -TYPE_NAME_ALIAS(osgUtil::LineSegmentIntersector::Intersections, osgWidget::Intersections) - diff --git a/src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp b/src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp index 6c78a16a5..9aef51d16 100644 --- a/src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp +++ b/src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp @@ -32,11 +32,12 @@ static bool checkColorLayers( const osgTerrain::TerrainTile& tile ) static bool readColorLayers( osgDB::InputStream& is, osgTerrain::TerrainTile& tile ) { - unsigned int size = 0; is >> size >> osgDB::BEGIN_BRACKET; - for ( unsigned int i=0; i> numValidLayers >> osgDB::BEGIN_BRACKET; + for ( unsigned int i=0; i> osgDB::PROPERTY("Layer") >> layerNum; osgTerrain::Layer* layer = dynamic_cast( is.readObject() ); - if ( layer ) tile.setColorLayer( i, layer ); + if ( layer ) tile.setColorLayer( layerNum, layer ); } is >> osgDB::END_BRACKET; return true; @@ -44,11 +45,16 @@ static bool readColorLayers( osgDB::InputStream& is, osgTerrain::TerrainTile& ti static bool writeColorLayers( osgDB::OutputStream& os, const osgTerrain::TerrainTile& tile ) { - unsigned int size = tile.getNumColorLayers(); - os << size << osgDB::BEGIN_BRACKET << std::endl; - for ( unsigned int i=0; i