Changeset 10007
- Timestamp:
- 04/09/09 17:55:18 (4 years ago)
- Location:
- OpenSceneGraph/trunk/src/osgWrappers
- Files:
-
- 2 modified
-
osgDB/Registry.cpp (modified) (3 diffs)
-
osgGA/TrackballManipulator.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWrappers/osgDB/Registry.cpp
r9918 r10007 101 101 "Reads a file that configures extension mappings. ", 102 102 "File is ASCII text and each line contains the parameters to the addFileExtensionAlias method. Lines can be commented out with an initial '#' character. "); 103 I_Method2(void, addMimeTypeExtensionMapping, IN, const std::string, fromMimeType, IN, const std::string, toExt, 104 Properties::NON_VIRTUAL, 105 __void__addMimeTypeExtensionMapping__C5_std_string__C5_std_string, 106 "Registers a mapping of a mime-type to an extension. ", 107 "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. "); 103 108 I_Method1(void, addDotOsgWrapper, IN, osgDB::DotOsgWrapper *, wrapper, 104 109 Properties::NON_VIRTUAL, … … 155 160 __ReaderWriter_P1__getReaderWriterForExtension__C5_std_string_R1, 156 161 "get a reader writer which handles specified extension. ", 162 ""); 163 I_Method1(osgDB::ReaderWriter *, getReaderWriterForMimeType, IN, const std::string &, mimeType, 164 Properties::NON_VIRTUAL, 165 __ReaderWriter_P1__getReaderWriterForMimeType__C5_std_string_R1, 166 "gets a reader/writer that handles the extension mapped to by one of the registered mime-types. ", 157 167 ""); 158 168 I_Method0(osgDB::Registry::ReaderWriterList &, getReaderWriterList, … … 594 604 "", 595 605 ""); 596 I_ProtectedMethod2(osgDB::ReaderWriter::ReadResult, readImplementation, IN, const osgDB::Registry::ReadFunctor &, readFunctor, IN, bool, useObjectCache,606 I_ProtectedMethod2(osgDB::ReaderWriter::ReadResult, readImplementation, IN, const osgDB::Registry::ReadFunctor &, readFunctor, IN, osgDB::ReaderWriter::Options::CacheHintOptions, cacheHint, 597 607 Properties::NON_VIRTUAL, 598 608 Properties::NON_CONST, 599 __ReaderWriter_ReadResult__readImplementation__C5_ReadFunctor_R1__ bool,609 __ReaderWriter_ReadResult__readImplementation__C5_ReadFunctor_R1__ReaderWriter_Options_CacheHintOptions, 600 610 "", 601 611 ""); -
OpenSceneGraph/trunk/src/osgWrappers/osgGA/TrackballManipulator.cpp
r9918 r10007 170 170 "Get the size of the trackball. ", 171 171 ""); 172 I_Method1(void, setAllowThrow, IN, bool, allowThrow, 173 Properties::NON_VIRTUAL, 174 __void__setAllowThrow__bool, 175 "Set the 'allow throw' flag. ", 176 "Releasing the mouse button while moving the camera results in a throw. "); 177 I_Method0(bool, getAllowThrow, 178 Properties::NON_VIRTUAL, 179 __bool__getAllowThrow, 180 "Returns true if the camera can be thrown, false otherwise. ", 181 "This defaults to true. "); 172 182 I_ProtectedMethod0(void, flushMouseEventStack, 173 183 Properties::NON_VIRTUAL, … … 212 222 "Check the speed at which the mouse is moving. ", 213 223 "If speed is below a threshold then return false, otherwise return true. "); 224 I_SimpleProperty(bool, AllowThrow, 225 __bool__getAllowThrow, 226 __void__setAllowThrow__bool); 214 227 I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix, 215 228 0,
