| 1 | ############################################################################# |
|---|
| 2 | # # |
|---|
| 3 | # GenWrapper Configuration File # |
|---|
| 4 | # # |
|---|
| 5 | ############################################################################# |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | configure library "osgFX" |
|---|
| 9 | dependency unix "-losgUtil -losgDB" |
|---|
| 10 | end |
|---|
| 11 | |
|---|
| 12 | configure library "osgParticle" |
|---|
| 13 | dependency unix "-losgUtil -losgDB" |
|---|
| 14 | end |
|---|
| 15 | |
|---|
| 16 | configure library "osgGA" |
|---|
| 17 | dependency unix "-losgUtil" |
|---|
| 18 | end |
|---|
| 19 | |
|---|
| 20 | configure library "osgSim" |
|---|
| 21 | dependency unix "-losgUtil -losgText -losgDB" |
|---|
| 22 | end |
|---|
| 23 | |
|---|
| 24 | configure library "osgTerrain" |
|---|
| 25 | dependency win32-debug "gdal_iD.lib" |
|---|
| 26 | dependency win32-release "gdal_i.lib" |
|---|
| 27 | dependency unix "-losgDB -losgUtil -losgFX" |
|---|
| 28 | end |
|---|
| 29 | |
|---|
| 30 | configure library "osgText" |
|---|
| 31 | dependency unix "-losgDB" |
|---|
| 32 | end |
|---|
| 33 | |
|---|
| 34 | configure library "osgVolume" |
|---|
| 35 | dependency unix "-losgUtil -losgDB -losgGA" |
|---|
| 36 | end |
|---|
| 37 | |
|---|
| 38 | configure library "osgViewer" |
|---|
| 39 | dependency unix "-losgUtil -losgDB -losgGA -losgText" |
|---|
| 40 | end |
|---|
| 41 | |
|---|
| 42 | ############################################################################# |
|---|
| 43 | |
|---|
| 44 | ignore file "osgDB/fstream" |
|---|
| 45 | |
|---|
| 46 | ignore file "osgUtil/PrintVisitor" |
|---|
| 47 | ignore file "osgUtil/OperationArrayFunctor" |
|---|
| 48 | |
|---|
| 49 | ignore file "osgViewer/api/X11/GraphicsWindowX11" |
|---|
| 50 | ignore file "osgViewer/api/Win32/GraphicsWindowWin32" |
|---|
| 51 | ignore file "osgViewer/api/Cocoa/GraphicsWindowCocoa" |
|---|
| 52 | |
|---|
| 53 | suppress reflector "osgUtil::AddRangeFunctor" |
|---|
| 54 | suppress reflector "osgUtil::MultiplyRangeFunctor" |
|---|
| 55 | |
|---|
| 56 | suppress reflector "CPluginFunction" |
|---|
| 57 | suppress reflector "PluginFunctionProxy" |
|---|
| 58 | |
|---|
| 59 | suppress reflector "osgWidget::UIObjectParent" |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | ############################################################################# |
|---|
| 63 | |
|---|
| 64 | suppress reflector "osgShadow::ProjectionShadowMap" |
|---|
| 65 | |
|---|
| 66 | suppress reflector "osgShadow::DebugShadowMap::ViewData" |
|---|
| 67 | suppress reflector "osgShadow::DebugShadowMap::ViewData::PolytopeGeometry" |
|---|
| 68 | suppress reflector "osgShadow::ViewDependentShadowTechnique::ViewData" |
|---|
| 69 | |
|---|
| 70 | suppress reflector "osgShadow::MinimalDrawBoundsShadowMap::META_ViewDependentShadowTechniqueData" |
|---|
| 71 | suppress reflector "osgShadow::DebugShadowMap::META_ViewDependentShadowTechniqueData" |
|---|
| 72 | suppress reflector "osgShadow::MinimalCullBoundsShadowMap::META_ViewDependentShadowTechniqueData" |
|---|
| 73 | suppress reflector "osgShadow::MinimalShadowMap::META_ViewDependentShadowTechniqueData" |
|---|
| 74 | suppress reflector "osgShadow::ProjectionShadowMap::META_ViewDependentShadowTechniqueData" |
|---|
| 75 | suppress reflector "osgShadow::StandardShadowMap::META_ViewDependentShadowTechniqueData" |
|---|
| 76 | suppress reflector "osgShadow::ViewDependentShadowTechnique::META_ViewDependentShadowTechniqueData" |
|---|
| 77 | |
|---|
| 78 | |
|---|
| 79 | suppress reflector "osgShadow::ViewDependentShadowTechnique::getViewDependentData" |
|---|
| 80 | suppress reflector "osgShadow::ViewDependentShadowTechnique::setViewDependentData" |
|---|
| 81 | |
|---|
| 82 | ############################################################################# |
|---|
| 83 | |
|---|
| 84 | configure file /osg\/GraphicsContext/ |
|---|
| 85 | emit before "#include <osg/Camera> |
|---|
| 86 | " |
|---|
| 87 | end |
|---|
| 88 | |
|---|
| 89 | configure file /osgViewer\/ViewerBase/ |
|---|
| 90 | emit before "#include <osgViewer/View> |
|---|
| 91 | " |
|---|
| 92 | end |
|---|
| 93 | |
|---|
| 94 | configure file /osg\/BoundingBox/ |
|---|
| 95 | emit before "#include <osg/BoundingSphere> |
|---|
| 96 | " |
|---|
| 97 | end |
|---|
| 98 | |
|---|
| 99 | configure file /osg\/BoundingSphere/ |
|---|
| 100 | emit before "#include <osg/BoundingBox> |
|---|
| 101 | " |
|---|
| 102 | end |
|---|
| 103 | |
|---|
| 104 | configure file /osgDB\/ReaderWriter/ |
|---|
| 105 | emit before "#include <osgDB/Options> |
|---|
| 106 | " |
|---|
| 107 | end |
|---|
| 108 | |
|---|
| 109 | ############################################################################# |
|---|
| 110 | |
|---|
| 111 | # add <io_utils> header to Plane, Quat and Vec* files |
|---|
| 112 | |
|---|
| 113 | configure file /osg\/(Plane|Quat|(Vec(2|3|4)(f|d|b|ub)))/ |
|---|
| 114 | emit before "#include <osg/io_utils> |
|---|
| 115 | " |
|---|
| 116 | end |
|---|
| 117 | |
|---|
| 118 | # add ReaderWriter and Comparator objects to Vec*, Quat and Plane classes |
|---|
| 119 | |
|---|
| 120 | configure reflector /osg::(Plane|Quat|(Vec(2|3|4)(f|d|b|ub)))/ |
|---|
| 121 | readerwriter "osgIntrospection::StdReaderWriter<reflected_type>" |
|---|
| 122 | comparator "osgIntrospection::PartialOrderComparator<reflected_type>" |
|---|
| 123 | end |
|---|
| 124 | |
|---|
| 125 | |
|---|
| 126 | # add StateGraph includes in RenderLeaf.cpp |
|---|
| 127 | |
|---|
| 128 | configure file /osgUtil\/RenderLeaf/ |
|---|
| 129 | emit before "#include <osgUtil/StateGraph> |
|---|
| 130 | " |
|---|
| 131 | end |
|---|
| 132 | |
|---|
| 133 | ############################################################################# |
|---|
| 134 | |
|---|
| 135 | # Doxygen fails to detect that std::vector<T> is a base class for |
|---|
| 136 | # osg::Vector*, so we need to specify that manually |
|---|
| 137 | |
|---|
| 138 | configure reflector "osgText::VectorUInt" |
|---|
| 139 | add base "std::vector<unsigned int>" |
|---|
| 140 | end |
|---|
| 141 | |
|---|
| 142 | |
|---|
| 143 | ############################################################################# |
|---|
| 144 | |
|---|
| 145 | # Doxygen/genwrapper is not coping with the new MixinVector so disable associated wrappers |
|---|
| 146 | |
|---|
| 147 | suppress reflector /osg::TemplateIndexArray< GLbyte.*/ |
|---|
| 148 | suppress reflector /osg::TemplateIndexArray< GLubyte.*/ |
|---|
| 149 | suppress reflector /osg::TemplateIndexArray< GLshort.*/ |
|---|
| 150 | suppress reflector /osg::TemplateIndexArray< GLushort.*/ |
|---|
| 151 | suppress reflector /osg::TemplateIndexArray< GLint.*/ |
|---|
| 152 | suppress reflector /osg::TemplateIndexArray< GLuint.*/ |
|---|
| 153 | suppress reflector /osg::TemplateArray< GLfloat.*/ |
|---|
| 154 | suppress reflector /osg::TemplateArray< GLdouble.*/ |
|---|
| 155 | suppress reflector /osg::TemplateArray< osg::Vec2\s*\,.*/ |
|---|
| 156 | suppress reflector /osg::TemplateArray< osg::Vec3\s*\,.*/ |
|---|
| 157 | suppress reflector /osg::TemplateArray< osg::Vec4\s*\,.*/ |
|---|
| 158 | suppress reflector /osg::TemplateArray< osg::Vec2d\s*\,.*/ |
|---|
| 159 | suppress reflector /osg::TemplateArray< osg::Vec3d\s*\,.*/ |
|---|
| 160 | suppress reflector /osg::TemplateArray< osg::Vec4d\s*\,.*/ |
|---|
| 161 | suppress reflector /osg::TemplateArray< osg::Vec2b\s*\,.*/ |
|---|
| 162 | suppress reflector /osg::TemplateArray< osg::Vec3b\s*\,.*/ |
|---|
| 163 | suppress reflector /osg::TemplateArray< osg::Vec4b\s*\,.*/ |
|---|
| 164 | suppress reflector /osg::TemplateArray< osg::Vec2s\s*\,.*/ |
|---|
| 165 | suppress reflector /osg::TemplateArray< osg::Vec3s\s*\,.*/ |
|---|
| 166 | suppress reflector /osg::TemplateArray< osg::Vec4s\s*\,.*/ |
|---|
| 167 | suppress reflector /osg::TemplateArray< osg::Vec4ub\s*\,.*/ |
|---|
| 168 | |
|---|
| 169 | |
|---|
| 170 | suppress reflector "osg::DrawArrayLengths" |
|---|
| 171 | suppress reflector "osg::DrawElementsUByte" |
|---|
| 172 | suppress reflector "osg::DrawElementsUShort" |
|---|
| 173 | suppress reflector "osg::DrawElementsUInt" |
|---|
| 174 | |
|---|
| 175 | suppress reflector "osg::VectorGLsizei" |
|---|
| 176 | suppress reflector "osg::VectorGLubyte" |
|---|
| 177 | suppress reflector "osg::VectorGLushort" |
|---|
| 178 | suppress reflector "osg::VectorGLuint" |
|---|
| 179 | |
|---|
| 180 | suppress reflector "osg::MixinVector< GLsizei >" |
|---|
| 181 | suppress reflector "osg::MixinVector< GLubyte >" |
|---|
| 182 | suppress reflector "osg::MixinVector< GLushort >" |
|---|
| 183 | suppress reflector "osg::MixinVector< GLuint >" |
|---|
| 184 | |
|---|
| 185 | suppress reflector "OpenThreads::Atomic" |
|---|
| 186 | suppress reflector "OpenThreads::AtomicPtr" |
|---|
| 187 | |
|---|
| 188 | suppress reflector "osg::BoundingBoxImpl< osg::Vec3f >" |
|---|
| 189 | suppress reflector "osg::BoundingBoxImpl< osg::Vec3d >" |
|---|
| 190 | |
|---|
| 191 | suppress reflector "osg::BoundingSphereImpl< osg::Vec3f >" |
|---|
| 192 | suppress reflector "osg::BoundingSphereImpl< osg::Vec3d >" |
|---|
| 193 | |
|---|
| 194 | suppress reflector "osgAnimation::TemplateTarget< osg::Quat >" |
|---|
| 195 | suppress reflector "osgAnimation::TemplateTarget< osg::Vec3 >" |
|---|
| 196 | suppress reflector "osgAnimation::TemplateTarget< osg::Vec4 >" |
|---|
| 197 | suppress reflector "osgAnimation::TemplateTarget< osg::Vec2 >" |
|---|
| 198 | suppress reflector "osgAnimation::TemplateTarget< float >" |
|---|
| 199 | suppress reflector "osgAnimation::TemplateTarget< double >" |
|---|
| 200 | |
|---|
| 201 | suppress reflector "osgAnimation::TemplateLinearInterpolator< double, double >" |
|---|
| 202 | suppress reflector "osgAnimation::TemplateLinearInterpolator< float, float >" |
|---|
| 203 | suppress reflector "osgAnimation::TemplateLinearInterpolator< osg::Vec2, osg::Vec2 >" |
|---|
| 204 | suppress reflector "osgAnimation::TemplateLinearInterpolator< osg::Vec3, osg::Vec3 >" |
|---|
| 205 | suppress reflector "osgAnimation::TemplateLinearInterpolator< osg::Vec3, osgAnimation::Vec3Packed >" |
|---|
| 206 | suppress reflector "osgAnimation::TemplateLinearInterpolator< osg::Vec4, osg::Vec4 >" |
|---|
| 207 | suppress reflector "osgAnimation::TemplateSphericalLinearInterpolator< osg::Quat, osg::Quat >" |
|---|
| 208 | |
|---|
| 209 | suppress reflector "osgAnimation::TemplateStepInterpolator< double, double >" |
|---|
| 210 | suppress reflector "osgAnimation::TemplateStepInterpolator< float, float >" |
|---|
| 211 | suppress reflector "osgAnimation::TemplateStepInterpolator< osg::Vec2, osg::Vec2 >" |
|---|
| 212 | suppress reflector "osgAnimation::TemplateStepInterpolator< osg::Vec3, osg::Vec3 >" |
|---|
| 213 | suppress reflector "osgAnimation::TemplateStepInterpolator< osg::Vec3, osgAnimation::Vec3Packed >" |
|---|
| 214 | suppress reflector "osgAnimation::TemplateStepInterpolator< osg::Vec4, osg::Vec4 >" |
|---|
| 215 | suppress reflector "osgAnimation::TemplateStepInterpolator< osg::Quat, osg::Quat >" |
|---|
| 216 | |
|---|
| 217 | suppress reflector "osgAnimation::TemplateCubicBezierInterpolator< float, osgAnimation::FloatCubicBezier >" |
|---|
| 218 | suppress reflector "osgAnimation::TemplateCubicBezierInterpolator< double, osgAnimation::DoubleCubicBezier >" |
|---|
| 219 | suppress reflector "osgAnimation::TemplateCubicBezierInterpolator< osg::Vec2, osgAnimation::Vec2CubicBezier >" |
|---|
| 220 | suppress reflector "osgAnimation::TemplateCubicBezierInterpolator< osg::Vec3, osgAnimation::Vec3CubicBezier >" |
|---|
| 221 | suppress reflector "osgAnimation::TemplateCubicBezierInterpolator< osg::Vec4, osgAnimation::Vec4CubicBezier >" |
|---|
| 222 | |
|---|
| 223 | suppress reflector "osgAnimation::TemplateKeyframe< float >" |
|---|
| 224 | suppress reflector "osgAnimation::TemplateKeyframeContainer< float >" |
|---|
| 225 | |
|---|
| 226 | suppress reflector "osgAnimation::TemplateKeyframe< double >" |
|---|
| 227 | suppress reflector "osgAnimation::TemplateKeyframeContainer< double >" |
|---|
| 228 | |
|---|
| 229 | suppress reflector "osgAnimation::TemplateKeyframe< osg::Vec2 >" |
|---|
| 230 | suppress reflector "osgAnimation::TemplateKeyframeContainer< osg::Vec2 >" |
|---|
| 231 | |
|---|
| 232 | suppress reflector "osgAnimation::TemplateKeyframe< osg::Vec3 >" |
|---|
| 233 | suppress reflector "osgAnimation::TemplateKeyframeContainer< osg::Vec3 >" |
|---|
| 234 | |
|---|
| 235 | suppress reflector "osgAnimation::TemplateKeyframe< osg::Vec4 >" |
|---|
| 236 | suppress reflector "osgAnimation::TemplateKeyframeContainer< osg::Vec4 >" |
|---|
| 237 | |
|---|
| 238 | suppress reflector "osgAnimation::TemplateKeyframe< osg::Quat >" |
|---|
| 239 | suppress reflector "osgAnimation::TemplateKeyframeContainer< osg::Quat >" |
|---|
| 240 | |
|---|
| 241 | suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::Vec3Packed >" |
|---|
| 242 | suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3Packed >" |
|---|
| 243 | |
|---|
| 244 | suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::FloatCubicBezier >" |
|---|
| 245 | suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::FloatCubicBezier >" |
|---|
| 246 | |
|---|
| 247 | suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::DoubleCubicBezier >" |
|---|
| 248 | suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::DoubleCubicBezier >" |
|---|
| 249 | |
|---|
| 250 | suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::Vec2CubicBezier >" |
|---|
| 251 | suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec2CubicBezier >" |
|---|
| 252 | |
|---|
| 253 | suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::Vec3CubicBezier >" |
|---|
| 254 | suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3CubicBezier >" |
|---|
| 255 | |
|---|
| 256 | suppress reflector "osgAnimation::TemplateKeyframe< osgAnimation::Vec4CubicBezier >" |
|---|
| 257 | suppress reflector "osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec4CubicBezier >" |
|---|
| 258 | |
|---|
| 259 | suppress reflector "osgAnimation::TemplateCubicBezier< float >" |
|---|
| 260 | suppress reflector "osgAnimation::TemplateCubicBezier< double >" |
|---|
| 261 | suppress reflector "osgAnimation::TemplateCubicBezier< osg::Vec2 >" |
|---|
| 262 | suppress reflector "osgAnimation::TemplateCubicBezier< osg::Vec3 >" |
|---|
| 263 | suppress reflector "osgAnimation::TemplateCubicBezier< osg::Vec4 >" |
|---|
| 264 | |
|---|
| 265 | |
|---|
| 266 | suppress reflector "osgAnimation::std::vector< osg::ref_ptr< osgAnimation::Channel > >" |
|---|
| 267 | |
|---|
| 268 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::DoubleStepSampler >" |
|---|
| 269 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::FloatStepSampler >" |
|---|
| 270 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec2StepSampler >" |
|---|
| 271 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec3StepSampler >" |
|---|
| 272 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec4StepSampler >" |
|---|
| 273 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::QuatStepSampler >" |
|---|
| 274 | |
|---|
| 275 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::DoubleLinearSampler >" |
|---|
| 276 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::FloatLinearSampler >" |
|---|
| 277 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec2LinearSampler >" |
|---|
| 278 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec3LinearSampler >" |
|---|
| 279 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec4LinearSampler >" |
|---|
| 280 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::QuatSphericalLinearSampler >" |
|---|
| 281 | |
|---|
| 282 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::FloatCubicBezierSampler >" |
|---|
| 283 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::DoubleCubicBezierSampler >" |
|---|
| 284 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec2CubicBezierSampler >" |
|---|
| 285 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec3CubicBezierSampler >" |
|---|
| 286 | suppress reflector "osgAnimation::TemplateChannel< osgAnimation::Vec4CubicBezierSampler >" |
|---|
| 287 | |
|---|
| 288 | suppress reflector "osgAnimation::AnimationUpdateCallback" |
|---|
| 289 | |
|---|
| 290 | ############################################################################# |
|---|
| 291 | |
|---|
| 292 | # StateSet and related types need some advanced tweaking |
|---|
| 293 | |
|---|
| 294 | configure reflector "std::map< osg::StateAttribute::GLMode, osg::StateAttribute::GLModeValue >" |
|---|
| 295 | replace with "STD_MAP_REFLECTOR_WITH_TYPES(std::map< osg::StateAttribute::GLMode COMMA osg::StateAttribute::GLModeValue >, osg::StateAttribute::GLMode, osg::StateAttribute::Values)" |
|---|
| 296 | end |
|---|
| 297 | |
|---|
| 298 | configure reflector "osg::StateSet" |
|---|
| 299 | |
|---|
| 300 | # remove indexed property "Mode" because its index would not belong to a |
|---|
| 301 | # finite set of values |
|---|
| 302 | |
|---|
| 303 | configure property "Mode" |
|---|
| 304 | replace with "" |
|---|
| 305 | end |
|---|
| 306 | |
|---|
| 307 | end |
|---|
| 308 | |
|---|
| 309 | configure reflector "osg::Geometry" |
|---|
| 310 | |
|---|
| 311 | # define the count method for some Property |
|---|
| 312 | |
|---|
| 313 | |
|---|
| 314 | configure property "TexCoordData" |
|---|
| 315 | count_method "__unsigned_int__getNumTexCoordArrays" |
|---|
| 316 | end |
|---|
| 317 | |
|---|
| 318 | configure property "TexCoordIndices" |
|---|
| 319 | count_method "__unsigned_int__getNumTexCoordArrays" |
|---|
| 320 | end |
|---|
| 321 | |
|---|
| 322 | configure property "VertexAttribBinding" |
|---|
| 323 | count_method "__unsigned_int__getNumVertexAttribArrays" |
|---|
| 324 | end |
|---|
| 325 | |
|---|
| 326 | configure property "VertexAttribData" |
|---|
| 327 | count_method "__unsigned_int__getNumVertexAttribArrays" |
|---|
| 328 | end |
|---|
| 329 | |
|---|
| 330 | configure property "VertexAttribIndices" |
|---|
| 331 | count_method "__unsigned_int__getNumVertexAttribArrays" |
|---|
| 332 | end |
|---|
| 333 | |
|---|
| 334 | configure property "VertexAttribNormalize" |
|---|
| 335 | count_method "__unsigned_int__getNumVertexAttribArrays" |
|---|
| 336 | end |
|---|
| 337 | |
|---|
| 338 | end |
|---|
| 339 | |
|---|
| 340 | ############################################################################# |
|---|
| 341 | |
|---|
| 342 | # Doxygen fails to detect that /osg::Texture(1D|2D|3D|Rectangle)/ and |
|---|
| 343 | # osgText::Font::GlyphTexture are not-abstract class, so we need |
|---|
| 344 | # to specify that manually |
|---|
| 345 | |
|---|
| 346 | configure reflector /osg::Texture(1D|2D|3D|Rectangle)/ |
|---|
| 347 | object-type |
|---|
| 348 | end |
|---|
| 349 | |
|---|
| 350 | configure reflector "osgText::Font::GlyphTexture" |
|---|
| 351 | object-type |
|---|
| 352 | end |
|---|
| 353 | |
|---|
| 354 | ############################################################################# |
|---|
| 355 | |
|---|
| 356 | # must suppress reflector for osgDB::Output because some of its methods |
|---|
| 357 | # are not supported by osgIntrospection (they return non-const references) |
|---|
| 358 | |
|---|
| 359 | suppress reflector "osgDB::Output" |
|---|
| 360 | |
|---|
| 361 | ############################################################################# |
|---|
| 362 | |
|---|
| 363 | # some types are incorrectly detected as value type or object type. Here we |
|---|
| 364 | # specify the type kind explicitly |
|---|
| 365 | |
|---|
| 366 | configure reflector "OpenThreads::Mutex" |
|---|
| 367 | object-type |
|---|
| 368 | end |
|---|
| 369 | |
|---|
| 370 | configure reflector "OpenThreads::Condition" |
|---|
| 371 | object-type |
|---|
| 372 | end |
|---|
| 373 | |
|---|
| 374 | configure reflector "OpenThreads::Block" |
|---|
| 375 | object-type |
|---|
| 376 | end |
|---|
| 377 | |
|---|
| 378 | configure reflector "OpenThreads::BlockCount" |
|---|
| 379 | object-type |
|---|
| 380 | end |
|---|
| 381 | |
|---|
| 382 | configure reflector "OpenThreads::Barrier" |
|---|
| 383 | object-type |
|---|
| 384 | end |
|---|
| 385 | |
|---|
| 386 | configure reflector "OpenThreads::ReentrantMutex" |
|---|
| 387 | object-type |
|---|
| 388 | end |
|---|
| 389 | |
|---|
| 390 | configure reflector "OpenThreads::ReadWriteMutex" |
|---|
| 391 | object-type |
|---|
| 392 | end |
|---|
| 393 | |
|---|
| 394 | configure reflector "osg::DeleteHandler" |
|---|
| 395 | object-type |
|---|
| 396 | end |
|---|
| 397 | |
|---|
| 398 | configure reflector "osg::GraphicsContext" |
|---|
| 399 | abstract-object-type |
|---|
| 400 | end |
|---|
| 401 | |
|---|
| 402 | ############################################################################# |
|---|
| 403 | |
|---|
| 404 | # Suppress scoped lock template |
|---|
| 405 | |
|---|
| 406 | suppress reflector "OpenThreads::ScopedLock< OpenThreads::Mutex >" |
|---|
| 407 | |
|---|
| 408 | ############################################################################# |
|---|
| 409 | |
|---|
| 410 | # Suppress nested nested class method |
|---|
| 411 | |
|---|
| 412 | configure reflector "osgShadow::OccluderGeometry" |
|---|
| 413 | configure method /.*_Edge_.*/ |
|---|
| 414 | replace with "" |
|---|
| 415 | end |
|---|
| 416 | end |
|---|
| 417 | |
|---|
| 418 | ############################################################################# |
|---|
| 419 | |
|---|
| 420 | # Doxygen doesn't parse ReadFunc and WriteFunc correctly... |
|---|
| 421 | |
|---|
| 422 | configure reflector "osgDB::DotOsgWrapper::ReadFunc" |
|---|
| 423 | replace with "TYPE_NAME_ALIAS(bool (*)(osg::Object&,osgDB::Input&), osgDB::DotOsgWrapper::ReadFunc) |
|---|
| 424 | " |
|---|
| 425 | end |
|---|
| 426 | |
|---|
| 427 | configure reflector "osgDB::DotOsgWrapper::WriteFunc" |
|---|
| 428 | replace with "TYPE_NAME_ALIAS(bool (*)(const osg::Object&,osgDB::Output&), osgDB::DotOsgWrapper::WriteFunc) |
|---|
| 429 | " |
|---|
| 430 | end |
|---|
| 431 | |
|---|
| 432 | ############################################################################# |
|---|
| 433 | |
|---|
| 434 | # temporary workaround for problems related to ambiguous name resolution |
|---|
| 435 | |
|---|
| 436 | suppress reflector "osg::ref_ptr< const osg::StateAttribute >" |
|---|
| 437 | suppress reflector "osg::ref_ptr< const osgFX::Effect >" |
|---|
| 438 | |
|---|
| 439 | ############################################################################# |
|---|
| 440 | |
|---|
| 441 | # Doxygen incorrectly parses function typedefs as methods |
|---|
| 442 | |
|---|
| 443 | suppress reflector "osg::VertexProgram::Extensions" |
|---|
| 444 | suppress reflector "osg::StencilTwoSided::Extensions" |
|---|
| 445 | suppress reflector "osg::Texture3D::Extensions" |
|---|
| 446 | suppress reflector "osg::GL2Extensions" |
|---|
| 447 | suppress reflector "osg::GLBufferObject::Extensions" |
|---|
| 448 | suppress reflector "osg::FBOExtensions" |
|---|
| 449 | suppress reflector "osg::BlendColor::Extensions" |
|---|
| 450 | suppress reflector "osg::BlendEquation::Extensions" |
|---|
| 451 | suppress reflector "osg::BlendFunc::Extensions" |
|---|
| 452 | suppress reflector "osg::FragmentProgram::Extensions" |
|---|
| 453 | suppress reflector "osg::Multisample::Extensions" |
|---|
| 454 | suppress reflector "osg::Point::Extensions" |
|---|
| 455 | suppress reflector "osg::ClampColor::Extensions" |
|---|
| 456 | suppress reflector "osg::Texture::Extensions" |
|---|
| 457 | suppress reflector "osg::Texture2DArray::Extensions" |
|---|
| 458 | suppress reflector "osgSim::ShapeAttribute" |
|---|
| 459 | suppress reflector "osg::Drawable::Extensions" |
|---|
| 460 | |
|---|
| 461 | configure reflector "osg::State" |
|---|
| 462 | configure method "__typedef__void__APIENTRY_P1" |
|---|
| 463 | replace with "" |
|---|
| 464 | end |
|---|
| 465 | end |
|---|
| 466 | |
|---|
| 467 | configure reflector "osgWidget::Window::Getter" |
|---|
| 468 | replace with "" |
|---|
| 469 | end |
|---|
| 470 | |
|---|
| 471 | configure reflector "osgWidget::MouseHandler::MouseAction" |
|---|
| 472 | replace with "" |
|---|
| 473 | end |
|---|
| 474 | |
|---|
| 475 | configure reflector "osgWidget::MouseHandler::MouseEvent" |
|---|
| 476 | replace with "" |
|---|
| 477 | end |
|---|
| 478 | |
|---|
| 479 | |
|---|
| 480 | |
|---|
| 481 | ############################################################################# |
|---|
| 482 | |
|---|
| 483 | # avoid functions that use protected types, since those are not handled |
|---|
| 484 | # currently |
|---|
| 485 | |
|---|
| 486 | configure reflector "osgSim::OverlayNode" |
|---|
| 487 | configure method /.*getOverlayData.*/ |
|---|
| 488 | replace with "" |
|---|
| 489 | end |
|---|
| 490 | end |
|---|
| 491 | |
|---|
| 492 | configure reflector "osg::Shader" |
|---|
| 493 | configure method /.*_PerContextShader_.*/ |
|---|
| 494 | replace with "" |
|---|
| 495 | end |
|---|
| 496 | end |
|---|
| 497 | |
|---|
| 498 | configure reflector "osg::State" |
|---|
| 499 | configure method /.*_(ModeStack|AttributeStack|ModeMap|AttributeMap|UniformMap)_.*/ |
|---|
| 500 | replace with "" |
|---|
| 501 | end |
|---|
| 502 | end |
|---|
| 503 | |
|---|
| 504 | configure reflector "osgUtil::Optimizer::TextureAtlasBuilder" |
|---|
| 505 | configure method /.*_Source_.*/ |
|---|
| 506 | replace with "" |
|---|
| 507 | end |
|---|
| 508 | end |
|---|
| 509 | |
|---|
| 510 | configure reflector "osgUtil::Tessellator" |
|---|
| 511 | configure method /.*_VertexPtrToIndexMap_.*/ |
|---|
| 512 | replace with "" |
|---|
| 513 | end |
|---|
| 514 | end |
|---|
| 515 | |
|---|
| 516 | configure reflector "osgDB::Registry" |
|---|
| 517 | configure method /.*_(DynamicLibraryList_iterator|DotOsgWrapperMap)_.*/ |
|---|
| 518 | replace with "" |
|---|
| 519 | end |
|---|
| 520 | end |
|---|
| 521 | |
|---|
| 522 | configure reflector "osgText::FadeText" |
|---|
| 523 | configure method /.*_ViewBlendColou?rMap_.*/ |
|---|
| 524 | replace with "" |
|---|
| 525 | end |
|---|
| 526 | end |
|---|
| 527 | |
|---|
| 528 | configure reflector "osgParticle::PrecipitationEffect" |
|---|
| 529 | configure method /.*_PrecipitationDrawableSet_.*/ |
|---|
| 530 | replace with "" |
|---|
| 531 | end |
|---|
| 532 | end |
|---|
| 533 | |
|---|
| 534 | configure reflector "osgManipulator::MotionCommand" |
|---|
| 535 | configure method /.*_SelectionList_.*/ |
|---|
| 536 | replace with "" |
|---|
| 537 | end |
|---|
| 538 | end |
|---|