1
// ***************************************************************************
3
// Generated automatically by genwrapper.
4
// Please DO NOT EDIT this file!
6
// ***************************************************************************
8
#include <osgIntrospection/ReflectionMacros>
9
#include <osgIntrospection/TypedMethodInfo>
10
#include <osgIntrospection/StaticMethodInfo>
11
#include <osgIntrospection/Attributes>
13
#include <osg/ArgumentParser>
14
#include <osg/Drawable>
15
#include <osg/FrameStamp>
23
#include <osg/StateAttribute>
24
#include <osg/Uniform>
25
#include <osgDB/Archive>
26
#include <osgDB/AuthenticationMap>
27
#include <osgDB/DotOsgWrapper>
28
#include <osgDB/DynamicLibrary>
29
#include <osgDB/FileCache>
30
#include <osgDB/Input>
31
#include <osgDB/Output>
32
#include <osgDB/ReaderWriter>
33
#include <osgDB/Registry>
34
#include <osgDB/SharedStateManager>
36
// Must undefine IN and OUT macros defined in Windows headers
44
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::basic_type_wrapper)
45
I_DeclaringFile("osgDB/Registry");
46
I_Constructor0(____basic_type_wrapper,
49
I_Method1(bool, matches, IN, const osg::Object *, proto,
50
Properties::PURE_VIRTUAL,
51
__bool__matches__C5_osg_Object_P1,
56
BEGIN_VALUE_REFLECTOR(osgDB::PluginFunctionProxy)
57
I_DeclaringFile("osgDB/Registry");
58
I_Constructor1(IN, CPluginFunction, function,
59
Properties::NON_EXPLICIT,
60
____PluginFunctionProxy__CPluginFunction,
65
BEGIN_VALUE_REFLECTOR(osgDB::RegisterDotOsgWrapperProxy)
66
I_DeclaringFile("osgDB/Registry");
67
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,
68
____RegisterDotOsgWrapperProxy__osg_Object_P1__C5_std_string_R1__C5_std_string_R1__DotOsgWrapper_ReadFunc__DotOsgWrapper_WriteFunc__DotOsgWrapper_ReadWriteMode,
73
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >, osgDB::Registry::ReaderWriterList)
75
BEGIN_ENUM_REFLECTOR(osgDB::Registry::LoadStatus)
76
I_DeclaringFile("osgDB/Registry");
77
I_EnumLabel(osgDB::Registry::NOT_LOADED);
78
I_EnumLabel(osgDB::Registry::PREVIOUSLY_LOADED);
79
I_EnumLabel(osgDB::Registry::LOADED);
82
BEGIN_OBJECT_REFLECTOR(osgDB::Registry)
83
I_DeclaringFile("osgDB/Registry");
84
I_BaseType(osg::Referenced);
85
I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, commandLine,
86
Properties::NON_VIRTUAL,
87
__void__readCommandLine__osg_ArgumentParser_R1,
88
"read the command line arguments. ",
90
I_Method2(void, addFileExtensionAlias, IN, const std::string, mapExt, IN, const std::string, toExt,
91
Properties::NON_VIRTUAL,
92
__void__addFileExtensionAlias__C5_std_string__C5_std_string,
93
"register an .fileextension alias to mapExt toExt, the later should the the extension name of the readerwriter plugin library. ",
94
"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. ");
95
I_Method1(bool, readPluginAliasConfigurationFile, IN, const std::string &, file,
96
Properties::NON_VIRTUAL,
97
__bool__readPluginAliasConfigurationFile__C5_std_string_R1,
98
"Reads a file that configures extension mappings. ",
99
"File is ASCII text and each line contains the parameters to the addFileExtensionAlias method. Lines can be commented out with an initial '#' character. ");
100
I_Method1(void, addDotOsgWrapper, IN, osgDB::DotOsgWrapper *, wrapper,
101
Properties::NON_VIRTUAL,
102
__void__addDotOsgWrapper__DotOsgWrapper_P1,
105
I_Method1(void, removeDotOsgWrapper, IN, osgDB::DotOsgWrapper *, wrapper,
106
Properties::NON_VIRTUAL,
107
__void__removeDotOsgWrapper__DotOsgWrapper_P1,
110
I_Method1(void, addReaderWriter, IN, osgDB::ReaderWriter *, rw,
111
Properties::NON_VIRTUAL,
112
__void__addReaderWriter__ReaderWriter_P1,
115
I_Method1(void, removeReaderWriter, IN, osgDB::ReaderWriter *, rw,
116
Properties::NON_VIRTUAL,
117
__void__removeReaderWriter__ReaderWriter_P1,
120
I_Method1(std::string, createLibraryNameForFile, IN, const std::string &, fileName,
121
Properties::NON_VIRTUAL,
122
__std_string__createLibraryNameForFile__C5_std_string_R1,
123
"create the platform specific library name associated with file. ",
125
I_Method1(std::string, createLibraryNameForExtension, IN, const std::string &, ext,
126
Properties::NON_VIRTUAL,
127
__std_string__createLibraryNameForExtension__C5_std_string_R1,
128
"create the platform specific library name associated with file extension. ",
130
I_Method1(std::string, createLibraryNameForNodeKit, IN, const std::string &, name,
131
Properties::NON_VIRTUAL,
132
__std_string__createLibraryNameForNodeKit__C5_std_string_R1,
133
"create the platform specific library name associated with nodekit library name. ",
135
I_Method1(osgDB::Registry::LoadStatus, loadLibrary, IN, const std::string &, fileName,
136
Properties::NON_VIRTUAL,
137
__LoadStatus__loadLibrary__C5_std_string_R1,
138
"find the library in the OSG_LIBRARY_PATH and load it. ",
140
I_Method1(bool, closeLibrary, IN, const std::string &, fileName,
141
Properties::NON_VIRTUAL,
142
__bool__closeLibrary__C5_std_string_R1,
143
"close the attached library with specified name. ",
145
I_Method0(void, closeAllLibraries,
146
Properties::NON_VIRTUAL,
147
__void__closeAllLibraries,
148
"close all libraries. ",
150
I_Method1(osgDB::ReaderWriter *, getReaderWriterForExtension, IN, const std::string &, ext,
151
Properties::NON_VIRTUAL,
152
__ReaderWriter_P1__getReaderWriterForExtension__C5_std_string_R1,
153
"get a reader writer which handles specified extension. ",
155
I_Method0(osgDB::Registry::ReaderWriterList &, getReaderWriterList,
156
Properties::NON_VIRTUAL,
157
__ReaderWriterList_R1__getReaderWriterList,
158
"get list of all registered ReaderWriters. ",
160
I_Method0(const osgDB::Registry::ReaderWriterList &, getReaderWriterList,
161
Properties::NON_VIRTUAL,
162
__C5_ReaderWriterList_R1__getReaderWriterList,
163
"get const list of all registered ReaderWriters. ",
165
I_Method2(osg::Object *, readObjectOfType, IN, const osg::Object &, compObj, IN, osgDB::Input &, fr,
166
Properties::NON_VIRTUAL,
167
__osg_Object_P1__readObjectOfType__C5_osg_Object_R1__Input_R1,
170
I_Method2(osg::Object *, readObjectOfType, IN, const osgDB::basic_type_wrapper &, btw, IN, osgDB::Input &, fr,
171
Properties::NON_VIRTUAL,
172
__osg_Object_P1__readObjectOfType__C5_basic_type_wrapper_R1__Input_R1,
175
I_Method1(osg::Object *, readObject, IN, osgDB::Input &, fr,
176
Properties::NON_VIRTUAL,
177
__osg_Object_P1__readObject__Input_R1,
180
I_Method1(osg::Image *, readImage, IN, osgDB::Input &, fr,
181
Properties::NON_VIRTUAL,
182
__osg_Image_P1__readImage__Input_R1,
185
I_Method1(osg::Drawable *, readDrawable, IN, osgDB::Input &, fr,
186
Properties::NON_VIRTUAL,
187
__osg_Drawable_P1__readDrawable__Input_R1,
190
I_Method1(osg::Uniform *, readUniform, IN, osgDB::Input &, fr,
191
Properties::NON_VIRTUAL,
192
__osg_Uniform_P1__readUniform__Input_R1,
195
I_Method1(osg::StateAttribute *, readStateAttribute, IN, osgDB::Input &, fr,
196
Properties::NON_VIRTUAL,
197
__osg_StateAttribute_P1__readStateAttribute__Input_R1,
200
I_Method1(osg::Node *, readNode, IN, osgDB::Input &, fr,
201
Properties::NON_VIRTUAL,
202
__osg_Node_P1__readNode__Input_R1,
205
I_Method1(osg::Shader *, readShader, IN, osgDB::Input &, fr,
206
Properties::NON_VIRTUAL,
207
__osg_Shader_P1__readShader__Input_R1,
210
I_Method2(bool, writeObject, IN, const osg::Object &, obj, IN, osgDB::Output &, fw,
211
Properties::NON_VIRTUAL,
212
__bool__writeObject__C5_osg_Object_R1__Output_R1,
215
I_Method1(void, setReadFileCallback, IN, osgDB::Registry::ReadFileCallback *, cb,
216
Properties::NON_VIRTUAL,
217
__void__setReadFileCallback__ReadFileCallback_P1,
218
"Set the Registry callback to use in place of the default readFile calls. ",
220
I_Method0(osgDB::Registry::ReadFileCallback *, getReadFileCallback,
221
Properties::NON_VIRTUAL,
222
__ReadFileCallback_P1__getReadFileCallback,
223
"Get the readFile callback. ",
225
I_Method0(const osgDB::Registry::ReadFileCallback *, getReadFileCallback,
226
Properties::NON_VIRTUAL,
227
__C5_ReadFileCallback_P1__getReadFileCallback,
228
"Get the const readFile callback. ",
230
I_Method4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, fileName, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::ReaderWriter::Options *, options,
231
Properties::NON_VIRTUAL,
232
__ReaderWriter_ReadResult__openArchive__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_ReaderWriter_Options_P1,
235
I_Method4(osgDB::ReaderWriter::ReadResult, openArchiveImplementation, IN, const std::string &, fileName, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::ReaderWriter::Options *, options,
236
Properties::NON_VIRTUAL,
237
__ReaderWriter_ReadResult__openArchiveImplementation__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_ReaderWriter_Options_P1,
240
I_MethodWithDefaults3(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, fileName, , IN, const osgDB::ReaderWriter::Options *, options, , IN, bool, buildKdTreeIfRequired, true,
241
Properties::NON_VIRTUAL,
242
__ReaderWriter_ReadResult__readObject__C5_std_string_R1__C5_ReaderWriter_Options_P1__bool,
245
I_Method2(osgDB::ReaderWriter::ReadResult, readObjectImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
246
Properties::NON_VIRTUAL,
247
__ReaderWriter_ReadResult__readObjectImplementation__C5_std_string_R1__C5_ReaderWriter_Options_P1,
250
I_Method2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
251
Properties::NON_VIRTUAL,
252
__ReaderWriter_ReadResult__readImage__C5_std_string_R1__C5_ReaderWriter_Options_P1,
255
I_Method2(osgDB::ReaderWriter::ReadResult, readImageImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
256
Properties::NON_VIRTUAL,
257
__ReaderWriter_ReadResult__readImageImplementation__C5_std_string_R1__C5_ReaderWriter_Options_P1,
260
I_Method2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
261
Properties::NON_VIRTUAL,
262
__ReaderWriter_ReadResult__readHeightField__C5_std_string_R1__C5_ReaderWriter_Options_P1,
265
I_Method2(osgDB::ReaderWriter::ReadResult, readHeightFieldImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
266
Properties::NON_VIRTUAL,
267
__ReaderWriter_ReadResult__readHeightFieldImplementation__C5_std_string_R1__C5_ReaderWriter_Options_P1,
270
I_MethodWithDefaults3(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, fileName, , IN, const osgDB::ReaderWriter::Options *, options, , IN, bool, buildKdTreeIfRequired, true,
271
Properties::NON_VIRTUAL,
272
__ReaderWriter_ReadResult__readNode__C5_std_string_R1__C5_ReaderWriter_Options_P1__bool,
275
I_Method2(osgDB::ReaderWriter::ReadResult, readNodeImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
276
Properties::NON_VIRTUAL,
277
__ReaderWriter_ReadResult__readNodeImplementation__C5_std_string_R1__C5_ReaderWriter_Options_P1,
280
I_Method2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
281
Properties::NON_VIRTUAL,
282
__ReaderWriter_ReadResult__readShader__C5_std_string_R1__C5_ReaderWriter_Options_P1,
285
I_Method2(osgDB::ReaderWriter::ReadResult, readShaderImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
286
Properties::NON_VIRTUAL,
287
__ReaderWriter_ReadResult__readShaderImplementation__C5_std_string_R1__C5_ReaderWriter_Options_P1,
290
I_Method1(void, setWriteFileCallback, IN, osgDB::Registry::WriteFileCallback *, cb,
291
Properties::NON_VIRTUAL,
292
__void__setWriteFileCallback__WriteFileCallback_P1,
293
"Set the Registry callback to use in place of the default writeFile calls. ",
295
I_Method0(osgDB::Registry::WriteFileCallback *, getWriteFileCallback,
296
Properties::NON_VIRTUAL,
297
__WriteFileCallback_P1__getWriteFileCallback,
298
"Get the writeFile callback. ",
300
I_Method0(const osgDB::Registry::WriteFileCallback *, getWriteFileCallback,
301
Properties::NON_VIRTUAL,
302
__C5_WriteFileCallback_P1__getWriteFileCallback,
303
"Get the const writeFile callback. ",
305
I_Method3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
306
Properties::NON_VIRTUAL,
307
__ReaderWriter_WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
310
I_Method3(osgDB::ReaderWriter::WriteResult, writeObjectImplementation, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
311
Properties::NON_VIRTUAL,
312
__ReaderWriter_WriteResult__writeObjectImplementation__C5_osg_Object_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
315
I_Method3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
316
Properties::NON_VIRTUAL,
317
__ReaderWriter_WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
320
I_Method3(osgDB::ReaderWriter::WriteResult, writeImageImplementation, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
321
Properties::NON_VIRTUAL,
322
__ReaderWriter_WriteResult__writeImageImplementation__C5_osg_Image_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
325
I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
326
Properties::NON_VIRTUAL,
327
__ReaderWriter_WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
330
I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightFieldImplementation, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
331
Properties::NON_VIRTUAL,
332
__ReaderWriter_WriteResult__writeHeightFieldImplementation__C5_osg_HeightField_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
335
I_Method3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, node, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
336
Properties::NON_VIRTUAL,
337
__ReaderWriter_WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
340
I_Method3(osgDB::ReaderWriter::WriteResult, writeNodeImplementation, IN, const osg::Node &, node, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
341
Properties::NON_VIRTUAL,
342
__ReaderWriter_WriteResult__writeNodeImplementation__C5_osg_Node_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
345
I_Method3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
346
Properties::NON_VIRTUAL,
347
__ReaderWriter_WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
350
I_Method3(osgDB::ReaderWriter::WriteResult, writeShaderImplementation, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
351
Properties::NON_VIRTUAL,
352
__ReaderWriter_WriteResult__writeShaderImplementation__C5_osg_Shader_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
355
I_Method2(void, _buildKdTreeIfRequired, IN, osgDB::ReaderWriter::ReadResult &, result, IN, const osgDB::ReaderWriter::Options *, options,
356
Properties::NON_VIRTUAL,
357
__void___buildKdTreeIfRequired__ReaderWriter_ReadResult_R1__C5_ReaderWriter_Options_P1,
360
I_Method1(void, setBuildKdTreesHint, IN, osgDB::ReaderWriter::Options::BuildKdTreesHint, hint,
361
Properties::NON_VIRTUAL,
362
__void__setBuildKdTreesHint__ReaderWriter_Options_BuildKdTreesHint,
363
"Set whether the KdTrees should be built for geometry in the loader model. ",
365
I_Method0(osgDB::ReaderWriter::Options::BuildKdTreesHint, getBuildKdTreesHint,
366
Properties::NON_VIRTUAL,
367
__ReaderWriter_Options_BuildKdTreesHint__getBuildKdTreesHint,
368
"Get whether the KdTrees should be built for geometry in the loader model. ",
370
I_Method1(void, setKdTreeBuilder, IN, osg::KdTreeBuilder *, builder,
371
Properties::NON_VIRTUAL,
372
__void__setKdTreeBuilder__osg_KdTreeBuilder_P1,
373
"Set the KdTreeBuilder visitor that is used to build KdTree on loaded models. ",
375
I_Method0(osg::KdTreeBuilder *, getKdTreeBuilder,
376
Properties::NON_VIRTUAL,
377
__osg_KdTreeBuilder_P1__getKdTreeBuilder,
378
"Get the KdTreeBuilder visitor that is used to build KdTree on loaded models. ",
380
I_Method1(void, setFileCache, IN, osgDB::FileCache *, fileCache,
381
Properties::NON_VIRTUAL,
382
__void__setFileCache__FileCache_P1,
383
"Set the FileCache that is used to manage local storage of files downloaded from the internet. ",
385
I_Method0(osgDB::FileCache *, getFileCache,
386
Properties::NON_VIRTUAL,
387
__FileCache_P1__getFileCache,
388
"Get the FileCache that is used to manage local storage of files downloaded from the internet. ",
390
I_Method0(const osgDB::FileCache *, getFileCache,
391
Properties::NON_VIRTUAL,
392
__C5_FileCache_P1__getFileCache,
393
"Get the const FileCache that is used to manage local storage of files downloaded from the internet. ",
395
I_Method1(void, setAuthenticationMap, IN, osgDB::AuthenticationMap *, authenticationMap,
396
Properties::NON_VIRTUAL,
397
__void__setAuthenticationMap__AuthenticationMap_P1,
398
"Set the password map to be used by plugins when access files from secure locations. ",
400
I_Method0(osgDB::AuthenticationMap *, getAuthenticationMap,
401
Properties::NON_VIRTUAL,
402
__AuthenticationMap_P1__getAuthenticationMap,
403
"Get the password map to be used by plugins when access files from secure locations. ",
405
I_Method0(const osgDB::AuthenticationMap *, getAuthenticationMap,
406
Properties::NON_VIRTUAL,
407
__C5_AuthenticationMap_P1__getAuthenticationMap,
408
"Get the password map to be used by plugins when access files from secure locations. ",
410
I_Method1(void, setCreateNodeFromImage, IN, bool, flag,
411
Properties::NON_VIRTUAL,
412
__void__setCreateNodeFromImage__bool,
415
I_Method0(bool, getCreateNodeFromImage,
416
Properties::NON_VIRTUAL,
417
__bool__getCreateNodeFromImage,
420
I_Method1(void, setOptions, IN, osgDB::ReaderWriter::Options *, opt,
421
Properties::NON_VIRTUAL,
422
__void__setOptions__ReaderWriter_Options_P1,
425
I_Method0(osgDB::ReaderWriter::Options *, getOptions,
426
Properties::NON_VIRTUAL,
427
__ReaderWriter_Options_P1__getOptions,
430
I_Method0(const osgDB::ReaderWriter::Options *, getOptions,
431
Properties::NON_VIRTUAL,
432
__C5_ReaderWriter_Options_P1__getOptions,
435
I_Method0(void, initFilePathLists,
436
Properties::NON_VIRTUAL,
437
__void__initFilePathLists,
438
"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. ",
440
I_Method0(void, initDataFilePathList,
441
Properties::NON_VIRTUAL,
442
__void__initDataFilePathList,
443
"initialize the Data FilePath by reading the OSG_FILE_PATH environmental variable. ",
445
I_Method1(void, setDataFilePathList, IN, const osgDB::FilePathList &, filepath,
446
Properties::NON_VIRTUAL,
447
__void__setDataFilePathList__C5_FilePathList_R1,
448
"Set the data file path using a list of paths stored in a FilePath, which is used when search for data files. ",
450
I_Method1(void, setDataFilePathList, IN, const std::string &, paths,
451
Properties::NON_VIRTUAL,
452
__void__setDataFilePathList__C5_std_string_R1,
453
"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. ",
455
I_Method0(osgDB::FilePathList &, getDataFilePathList,
456
Properties::NON_VIRTUAL,
457
__FilePathList_R1__getDataFilePathList,
458
"get the data file path which is used when search for data files. ",
460
I_Method0(const osgDB::FilePathList &, getDataFilePathList,
461
Properties::NON_VIRTUAL,
462
__C5_FilePathList_R1__getDataFilePathList,
463
"get the const data file path which is used when search for data files. ",
465
I_Method0(void, initLibraryFilePathList,
466
Properties::NON_VIRTUAL,
467
__void__initLibraryFilePathList,
468
"initialize the Library FilePath by reading the OSG_LIBRARY_PATH and the appropriate system environmental variables ",
470
I_Method1(void, setLibraryFilePathList, IN, const osgDB::FilePathList &, filepath,
471
Properties::NON_VIRTUAL,
472
__void__setLibraryFilePathList__C5_FilePathList_R1,
473
"Set the library file path using a list of paths stored in a FilePath, which is used when search for data files. ",
475
I_Method1(void, setLibraryFilePathList, IN, const std::string &, paths,
476
Properties::NON_VIRTUAL,
477
__void__setLibraryFilePathList__C5_std_string_R1,
478
"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. ",
480
I_Method0(osgDB::FilePathList &, getLibraryFilePathList,
481
Properties::NON_VIRTUAL,
482
__FilePathList_R1__getLibraryFilePathList,
483
"get the library file path which is used when search for library (dso/dll's) files. ",
485
I_Method0(const osgDB::FilePathList &, getLibraryFilePathList,
486
Properties::NON_VIRTUAL,
487
__C5_FilePathList_R1__getLibraryFilePathList,
488
"get the const library file path which is used when search for library (dso/dll's) files. ",
490
I_Method1(void, updateTimeStampOfObjectsInCacheWithExternalReferences, IN, const osg::FrameStamp &, frameStamp,
491
Properties::NON_VIRTUAL,
492
__void__updateTimeStampOfObjectsInCacheWithExternalReferences__C5_osg_FrameStamp_R1,
493
"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. ",
494
"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(). ");
495
I_Method1(void, removeExpiredObjectsInCache, IN, const osg::FrameStamp &, frameStamp,
496
Properties::NON_VIRTUAL,
497
__void__removeExpiredObjectsInCache__C5_osg_FrameStamp_R1,
498
"Removed object in the cache which have a time stamp at or before the specified expiry time. ",
499
"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). ");
500
I_Method1(void, setExpiryDelay, IN, double, expiryDelay,
501
Properties::NON_VIRTUAL,
502
__void__setExpiryDelay__double,
503
"set hint to viewer code calling removeExpiredObjectsInCache to specify how long it should give before expiring objects in Registry cache, ",
505
I_Method0(double, getExpiryDelay,
506
Properties::NON_VIRTUAL,
507
__double__getExpiryDelay,
510
I_Method0(void, clearObjectCache,
511
Properties::NON_VIRTUAL,
512
__void__clearObjectCache,
513
"Remove all objects in the cache regardless of having external references or expiry times. ",
515
I_MethodWithDefaults3(void, addEntryToObjectCache, IN, const std::string &, filename, , IN, osg::Object *, object, , IN, double, timestamp, 0.0,
516
Properties::NON_VIRTUAL,
517
__void__addEntryToObjectCache__C5_std_string_R1__osg_Object_P1__double,
518
"Add a filename,object,timestamp triple to the Registry::ObjectCache. ",
520
I_Method1(osg::Object *, getFromObjectCache, IN, const std::string &, fileName,
521
Properties::NON_VIRTUAL,
522
__osg_Object_P1__getFromObjectCache__C5_std_string_R1,
523
"Get an object from the object cache. ",
525
I_Method2(void, addToArchiveCache, IN, const std::string &, fileName, IN, osgDB::Archive *, archive,
526
Properties::NON_VIRTUAL,
527
__void__addToArchiveCache__C5_std_string_R1__osgDB_Archive_P1,
528
"Add archive to archive cache so that future calls reference this archive. ",
530
I_Method1(void, removeFromArchiveCache, IN, const std::string &, fileName,
531
Properties::NON_VIRTUAL,
532
__void__removeFromArchiveCache__C5_std_string_R1,
533
"Remove archive from cache. ",
535
I_Method1(osgDB::Archive *, getFromArchiveCache, IN, const std::string &, fileName,
536
Properties::NON_VIRTUAL,
537
__osgDB_Archive_P1__getFromArchiveCache__C5_std_string_R1,
538
"Get an archive from the archive cache. ",
540
I_Method0(void, clearArchiveCache,
541
Properties::NON_VIRTUAL,
542
__void__clearArchiveCache,
543
"Remove all archives from the archive cache. ",
545
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
546
Properties::NON_VIRTUAL,
547
__void__releaseGLObjects__osg_State_P1,
548
"If State is non-zero, this function releases OpenGL objects for the specified graphics context. ",
549
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
550
I_Method1(osgDB::DynamicLibrary *, getLibrary, IN, const std::string &, fileName,
551
Properties::NON_VIRTUAL,
552
__DynamicLibrary_P1__getLibrary__C5_std_string_R1,
553
"get the attached library with specified name. ",
555
I_Method1(void, setSharedStateManager, IN, osgDB::SharedStateManager *, SharedStateManager,
556
Properties::NON_VIRTUAL,
557
__void__setSharedStateManager__SharedStateManager_P1,
558
"Set the SharedStateManager. ",
560
I_Method0(osgDB::SharedStateManager *, getOrCreateSharedStateManager,
561
Properties::NON_VIRTUAL,
562
__SharedStateManager_P1__getOrCreateSharedStateManager,
563
"Get the SharedStateManager, creating one if one is not already created. ",
565
I_Method0(osgDB::SharedStateManager *, getSharedStateManager,
566
Properties::NON_VIRTUAL,
567
__SharedStateManager_P1__getSharedStateManager,
568
"Get the SharedStateManager. ",
569
"Return 0 if no SharedStateManager has been assigned. ");
570
I_Method1(void, addArchiveExtension, IN, const std::string, ext,
571
Properties::NON_VIRTUAL,
572
__void__addArchiveExtension__C5_std_string,
573
"Add an Archive extension. ",
575
I_StaticMethodWithDefaults1(osgDB::Registry *, instance, IN, bool, erase, false,
576
__Registry_P1__instance__bool_S,
579
I_ProtectedConstructor0(____Registry,
580
"constructor is private, as its a singleton, preventing construction other than via the instance() method and therefore ensuring only one copy is ever constructed ",
585
I_ProtectedMethod0(void, destruct,
586
Properties::NON_VIRTUAL,
587
Properties::NON_CONST,
591
I_ProtectedMethod1(osgDB::ReaderWriter::ReadResult, read, IN, const osgDB::Registry::ReadFunctor &, readFunctor,
592
Properties::NON_VIRTUAL,
593
Properties::NON_CONST,
594
__ReaderWriter_ReadResult__read__C5_ReadFunctor_R1,
597
I_ProtectedMethod2(osgDB::ReaderWriter::ReadResult, readImplementation, IN, const osgDB::Registry::ReadFunctor &, readFunctor, IN, bool, useObjectCache,
598
Properties::NON_VIRTUAL,
599
Properties::NON_CONST,
600
__ReaderWriter_ReadResult__readImplementation__C5_ReadFunctor_R1__bool,
603
I_SimpleProperty(osgDB::AuthenticationMap *, AuthenticationMap,
604
__AuthenticationMap_P1__getAuthenticationMap,
605
__void__setAuthenticationMap__AuthenticationMap_P1);
606
I_SimpleProperty(osgDB::ReaderWriter::Options::BuildKdTreesHint, BuildKdTreesHint,
607
__ReaderWriter_Options_BuildKdTreesHint__getBuildKdTreesHint,
608
__void__setBuildKdTreesHint__ReaderWriter_Options_BuildKdTreesHint);
609
I_SimpleProperty(bool, CreateNodeFromImage,
610
__bool__getCreateNodeFromImage,
611
__void__setCreateNodeFromImage__bool);
612
I_SimpleProperty(const osgDB::FilePathList &, DataFilePathList,
613
__C5_FilePathList_R1__getDataFilePathList,
614
__void__setDataFilePathList__C5_FilePathList_R1);
615
I_SimpleProperty(double, ExpiryDelay,
616
__double__getExpiryDelay,
617
__void__setExpiryDelay__double);
618
I_SimpleProperty(osgDB::FileCache *, FileCache,
619
__FileCache_P1__getFileCache,
620
__void__setFileCache__FileCache_P1);
621
I_SimpleProperty(osg::KdTreeBuilder *, KdTreeBuilder,
622
__osg_KdTreeBuilder_P1__getKdTreeBuilder,
623
__void__setKdTreeBuilder__osg_KdTreeBuilder_P1);
624
I_SimpleProperty(const osgDB::FilePathList &, LibraryFilePathList,
625
__C5_FilePathList_R1__getLibraryFilePathList,
626
__void__setLibraryFilePathList__C5_FilePathList_R1);
627
I_SimpleProperty(osgDB::ReaderWriter::Options *, Options,
628
__ReaderWriter_Options_P1__getOptions,
629
__void__setOptions__ReaderWriter_Options_P1);
630
I_SimpleProperty(osgDB::Registry::ReadFileCallback *, ReadFileCallback,
631
__ReadFileCallback_P1__getReadFileCallback,
632
__void__setReadFileCallback__ReadFileCallback_P1);
633
I_SimpleProperty(osgDB::Registry::ReaderWriterList &, ReaderWriterList,
634
__ReaderWriterList_R1__getReaderWriterList,
636
I_SimpleProperty(osgDB::SharedStateManager *, SharedStateManager,
637
__SharedStateManager_P1__getSharedStateManager,
638
__void__setSharedStateManager__SharedStateManager_P1);
639
I_SimpleProperty(osgDB::Registry::WriteFileCallback *, WriteFileCallback,
640
__WriteFileCallback_P1__getWriteFileCallback,
641
__void__setWriteFileCallback__WriteFileCallback_P1);
644
BEGIN_OBJECT_REFLECTOR(osgDB::Registry::ReadFileCallback)
645
I_DeclaringFile("osgDB/Registry");
646
I_VirtualBaseType(osg::Referenced);
647
I_Constructor0(____ReadFileCallback,
650
I_Method4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, filename, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::ReaderWriter::Options *, useObjectCache,
652
__ReaderWriter_ReadResult__openArchive__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_ReaderWriter_Options_P1,
655
I_Method2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options,
657
__ReaderWriter_ReadResult__readObject__C5_std_string_R1__C5_ReaderWriter_Options_P1,
660
I_Method2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options,
662
__ReaderWriter_ReadResult__readImage__C5_std_string_R1__C5_ReaderWriter_Options_P1,
665
I_Method2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options,
667
__ReaderWriter_ReadResult__readHeightField__C5_std_string_R1__C5_ReaderWriter_Options_P1,
670
I_Method2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options,
672
__ReaderWriter_ReadResult__readNode__C5_std_string_R1__C5_ReaderWriter_Options_P1,
675
I_Method2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options,
677
__ReaderWriter_ReadResult__readShader__C5_std_string_R1__C5_ReaderWriter_Options_P1,
682
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::Registry::ReadFunctor)
683
I_DeclaringFile("osgDB/Registry");
684
I_Constructor2(IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options,
685
____ReadFunctor__C5_std_string_R1__C5_ReaderWriter_Options_P1,
688
I_Method1(osgDB::ReaderWriter::ReadResult, doRead, IN, osgDB::ReaderWriter &, rw,
689
Properties::PURE_VIRTUAL,
690
__ReaderWriter_ReadResult__doRead__ReaderWriter_R1,
693
I_Method1(bool, isValid, IN, osgDB::ReaderWriter::ReadResult &, readResult,
694
Properties::PURE_VIRTUAL,
695
__bool__isValid__ReaderWriter_ReadResult_R1,
698
I_Method1(bool, isValid, IN, osg::Object *, object,
699
Properties::PURE_VIRTUAL,
700
__bool__isValid__osg_Object_P1,
703
I_PublicMemberProperty(std::string, _filename);
706
BEGIN_OBJECT_REFLECTOR(osgDB::Registry::WriteFileCallback)
707
I_DeclaringFile("osgDB/Registry");
708
I_VirtualBaseType(osg::Referenced);
709
I_Constructor0(____WriteFileCallback,
712
I_Method3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
714
__ReaderWriter_WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
717
I_Method3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
719
__ReaderWriter_WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
722
I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
724
__ReaderWriter_WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
727
I_Method3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
729
__ReaderWriter_WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
732
I_Method3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options,
734
__ReaderWriter_WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1,
739
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::ReaderWriter >)
740
I_DeclaringFile("osg/ref_ptr");
741
I_Constructor0(____ref_ptr,
744
I_Constructor1(IN, osgDB::ReaderWriter *, ptr,
745
Properties::NON_EXPLICIT,
749
I_Constructor1(IN, const osg::ref_ptr< osgDB::ReaderWriter > &, rp,
750
Properties::NON_EXPLICIT,
751
____ref_ptr__C5_ref_ptr_R1,
754
I_Method0(osgDB::ReaderWriter *, get,
755
Properties::NON_VIRTUAL,
759
I_Method0(bool, valid,
760
Properties::NON_VIRTUAL,
764
I_Method0(osgDB::ReaderWriter *, release,
765
Properties::NON_VIRTUAL,
769
I_Method1(void, swap, IN, osg::ref_ptr< osgDB::ReaderWriter > &, rp,
770
Properties::NON_VIRTUAL,
771
__void__swap__ref_ptr_R1,
774
I_SimpleProperty(osgDB::ReaderWriter *, ,
779
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >)