|
Public Types |
typedef std::map< unsigned
int, CompositeDestination * > | Row |
typedef std::map< unsigned
int, Row > | Level |
typedef std::map< unsigned
int, Level > | QuadMap |
| enum | CompositeType { GROUP,
LOD,
PAGED_LOD
} |
| enum | DatabaseType { LOD_DATABASE,
PagedLOD_DATABASE
} |
| enum | GeometryType { HEIGHT_FIELD,
POLYGONAL
} |
| enum | TextureType {
RGB_24,
RGBA,
RGB_16,
RGBA_16,
COMPRESSED_TEXTURE,
COMPRESSED_RGBA_TEXTURE
} |
| enum | MipMappingMode { NO_MIP_MAPPING,
MIP_MAPPING_HARDWARE,
MIP_MAPPING_IMAGERY
} |
Public Member Functions |
| void | insertTileToQuadMap (CompositeDestination *tile) |
| DestinationTile * | getTile (unsigned int level, unsigned int X, unsigned int Y) |
| CompositeDestination * | getComposite (unsigned int level, unsigned int X, unsigned int Y) |
| Row & | getRow (unsigned int level, unsigned int Y) |
| | DataSet () |
| void | addSource (Source *source) |
| void | addSource (CompositeSource *composite) |
| void | loadSources () |
| void | setMaximumTileImageSize (unsigned int size) |
| unsigned int | getMaximumTileImageSize () const |
| void | setMaximumTileTerrainSize (unsigned int size) |
| unsigned int | getMaximumTileTerrainSize () const |
| void | setMaximumVisibleDistanceOfTopLevel (float d) |
| float | getMaximumVisibleDistanceOfTopLevel () const |
| void | setRadiusToMaxVisibleDistanceRatio (float ratio) |
| float | getRadiusToMaxVisibleDistanceRatio () const |
| void | setVerticalScale (float verticalScale) |
| float | getVerticalScale () const |
| void | setSkirtRatio (float skirtRatio) |
| float | getSkirtRatio () const |
| void | setDefaultColor (const osg::Vec4 &defaultColor) |
| const osg::Vec4 & | getDefaultColor () const |
| void | setDestinationCoordinateSystem (const std::string &wellKnownText) |
| void | setDestinationCoordinateSystem (osg::CoordinateSystemNode *cs) |
| osg::CoordinateSystemNode * | getDestinationCoordinateSystem () |
| void | setIntermediateCoordinateSystem (const std::string &wellKnownText) |
| void | setIntermediateCoordinateSystem (osg::CoordinateSystemNode *cs) |
| osg::CoordinateSystemNode * | getIntermediateCoordinateSystem () |
| void | setConvertFromGeographicToGeocentric (bool flag) |
| bool | getConvertFromGeographicToGeocentric () const |
| void | setEllipsoidModel (osg::EllipsoidModel *et) |
| osg::EllipsoidModel * | getEllipsoidModel () |
| const osg::EllipsoidModel * | getEllipsoidModel () const |
| bool | mapLatLongsToXYZ () const |
| void | setDestinationExtents (const osg::BoundingBox &extents) |
| void | setDestinationGeoTransform (const osg::Matrixd &geoTransform) |
| void | setArchiveName (const std::string &filename) |
| | Set the Archive name if one is to be used.
|
| const std::string & | getArchiveName () const |
| | Get the Archive name.
|
| void | setArchive (osgDB::Archive *archive) |
| | Set the Archive.
|
| osgDB::Archive * | getArchive () |
| | Get the Archive if one is to being used.
|
| void | setDestinationName (const std::string &filename) |
| | Set the Directory, DestinationTileBaseName and DestinationTileExtension from the passed in filename.
|
| void | setDirectory (const std::string &directory) |
| const std::string & | getDirectory () const |
| void | setDestinationTileBaseName (const std::string &basename) |
| const std::string & | getDestinationTileBaseName () const |
| void | setDestinationTileExtension (const std::string &extension) |
| const std::string & | getDestinationTileExtension () const |
| void | setDestinationImageExtension (const std::string &extension) |
| const std::string & | getDestinationImageExtension () const |
| void | setDatabaseType (DatabaseType type) |
| DatabaseType | getDatabaseType () const |
| void | setGeometryType (GeometryType type) |
| GeometryType | getGeometryType () const |
| void | setTextureType (TextureType type) |
| TextureType | getTextureType () const |
| void | setMaxAnisotropy (float d) |
| float | getMaxAnisotropy () const |
| void | setMipMappingMode (MipMappingMode mipMappingMode) |
| MipMappingMode | getMipMappingMode () const |
| void | setUseLocalTileTransform (bool flag) |
| bool | getUseLocalTileTransform () const |
| void | setDecorateGeneratedSceneGraphWithCoordinateSystemNode (bool flag) |
| bool | getDecorateGeneratedSceneGraphWithCoordinateSystemNode () const |
| void | setDecorateGeneratedSceneGraphWithMultiTextureControl (bool flag) |
| bool | getDecorateGeneratedSceneGraphWithMultiTextureControl () const |
| unsigned int | getNumOfTextureLevels () const |
| void | setCommentString (const std::string &comment) |
| const std::string & | getCommentString () const |
| void | setWriteNodeBeforeSimplification (bool flag) |
| bool | getWriteNodeBeforeSimplification () const |
| CompositeDestination * | createDestinationGraph (CompositeDestination *parent, osg::CoordinateSystemNode *cs, const osg::BoundingBox &extents, unsigned int maxImageSize, unsigned int maxTerrainSize, unsigned int currentLevel, unsigned int currentX, unsigned int currentY, unsigned int maxNumLevels) |
| void | computeDestinationGraphFromSources (unsigned int numLevels) |
| void | updateSourcesForDestinationGraphNeeds () |
| void | populateDestinationGraphFromSources () |
| void | createDestination (unsigned int numLevels) |
| void | buildDestination () |
| void | writeDestination () |
| osg::Node * | getDestinationRootNode () |
| void | _writeNodeFile (const osg::Node &node, const std::string &filename) |
| void | _writeImageFile (const osg::Image &image, const std::string &filename) |
| void | setState (osg::State *state) |
| osg::State * | getState () |
Static Public Member Functions |
| std::string | coordinateSystemStringToWTK (const std::string &coordinateSystem) |
| void | setNotifyOffset (int level) |
| int | setNotifyOffset () |
Protected Member Functions |
| virtual | ~DataSet () |
| void | _readRow (Row &row) |
| void | _equalizeRow (Row &row) |
| void | _writeRow (Row &row) |
| void | _buildDestination (bool writeToDisk) |
| void | init () |
| osg::Node * | decorateWithCoordinateSystemNode (osg::Node *subgraph) |
| osg::Node * | decorateWithMultiTextureControl (osg::Node *subgraph) |
Protected Attributes |
| osg::ref_ptr< CompositeSource > | _sourceGraph |
| osg::ref_ptr< CompositeDestination > | _destinationGraph |
| QuadMap | _quadMap |
| unsigned int | _maximumTileImageSize |
| unsigned int | _maximumTileTerrainSize |
| float | _maximumVisiableDistanceOfTopLevel |
| float | _radiusToMaxVisibleDistanceRatio |
| float | _verticalScale |
| float | _skirtRatio |
| osg::ref_ptr< osg::CoordinateSystemNode > | _destinationCoordinateSystem |
| osg::ref_ptr< osg::CoordinateSystemNode > | _intermediateCoordinateSystem |
| bool | _convertFromGeographicToGeocentric |
| osg::ref_ptr< osg::EllipsoidModel > | _ellipsoidModel |
| osg::Matrixd | _geoTransform |
| osg::BoundingBox | _extents |
| std::string | _archiveName |
| osg::ref_ptr< osgDB::Archive > | _archive |
| std::string | _directory |
| std::string | _tileBasename |
| std::string | _tileExtension |
| std::string | _imageExtension |
| osg::Vec4 | _defaultColor |
| DatabaseType | _databaseType |
| GeometryType | _geometryType |
| TextureType | _textureType |
| float | _maxAnisotropy |
| MipMappingMode | _mipMappingMode |
| unsigned int | _numTextureLevels |
| bool | _useLocalTileTransform |
| bool | _decorateWithCoordinateSystemNode |
| bool | _decorateWithMultiTextureControl |
| std::string | _comment |
| bool | _writeNodeBeforeSimplification |
| osg::ref_ptr< osg::Node > | _rootNode |
| osg::ref_ptr< osg::State > | _state |