############################################################################# # # # 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 "osgViewer" dependency unix "-losgUtil -losgDB -losgGA -losgText" end ############################################################################# ignore file "osgDB/fstream" 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" ############################################################################# 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 ############################################################################# # 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 ############################################################################# # 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::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" ############################################################################# # 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 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 configure reflector "osg::VertexProgram::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::StencilTwoSided::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end end configure reflector "osg::Texture3D::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end end configure reflector "osg::GL2Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end configure method "__typedef__GLuint__APIENTRY_P1" replace with "" end end configure reflector "osg::BufferObject::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::Drawable::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::BlendColor::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::BlendEquation::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::BlendFunc::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::FragmentProgram::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::Multisample::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::Point::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::ClampColor::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::Texture::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::Texture2DArray::Extensions" configure method "__typedef__void__APIENTRY_P1" replace with "" end configure method "__typedef__GLboolean__APIENTRY_P1" replace with "" end end configure reflector "osg::State" configure method "__typedef__void__APIENTRY_P1" replace with "" end 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