class OSGTERRAIN_EXPORT osgTerrain::DataSet


Inheritance:


Public Classes

[more]struct SpatialProperties
[more]struct DestinationData: public osg::Referenced, SpatialProperties
[more]struct SourceData: public osg::Referenced, public SpatialProperties
class Source: public osg::Referenced, public SpatialProperties
[more]enum CompositeType
class CompositeSource: public osg::Referenced, public SpatialProperties
class DestinationTile: public osg::Referenced, public SpatialProperties
class CompositeDestination: public osg::Referenced, public SpatialProperties
[more]enum DatabaseType
[more]enum GeometryType
[more]enum TextureType
[more]enum MipMappingMode

Public Methods

[more]void insertTileToQuadMap(CompositeDestination* tile)
[more]DestinationTile* getTile(unsigned int level, unsigned int X, unsigned int Y)
[more]CompositeDestination* getComposite(unsigned int level, unsigned int X, unsigned int Y)
[more]Row& getRow(unsigned int level, unsigned int Y)
[more] DataSet()
[more]void addSource(Source* source)
[more]void addSource(CompositeSource* composite)
[more]void loadSources()
[more]void setMaximumTileImageSize(unsigned int size)
[more]unsigned int getMaximumTileImageSize() const
[more]void setMaximumTileTerrainSize(unsigned int size)
[more]unsigned int getMaximumTileTerrainSize() const
[more]void setMaximumVisibleDistanceOfTopLevel(float d)
[more]float getMaximumVisibleDistanceOfTopLevel() const
[more]void setRadiusToMaxVisibleDistanceRatio(float ratio)
[more]float getRadiusToMaxVisibleDistanceRatio() const
[more]void setVerticalScale(float verticalScale)
[more]float getVerticalScale() const
[more]void setSkirtRatio(float skirtRatio)
[more]float getSkirtRatio() const
[more]void setDefaultColor(const osg::Vec4& defaultColor)
[more]const osg::Vec4& getDefaultColor() const
[more]void setDestinationCoordinateSystem(const std::string& wellKnownText)
[more]void setDestinationCoordinateSystem(osg::CoordinateSystemNode* cs)
[more]osg::CoordinateSystemNode* getDestinationCoordinateSystem()
[more]void setIntermediateCoordinateSystem(const std::string& wellKnownText)
[more]void setIntermediateCoordinateSystem(osg::CoordinateSystemNode* cs)
[more]osg::CoordinateSystemNode* getIntermediateCoordinateSystem()
[more]void setConvertFromGeographicToGeocentric(bool flag)
[more]bool getConvertFromGeographicToGeocentric() const
[more]void setEllipsoidModel(osg::EllipsoidModel* et)
[more]osg::EllipsoidModel* getEllipsoidModel()
[more]void setDestinationExtents(const osg::BoundingBox& extents)
[more]void setDestinationGeoTransform(const osg::Matrixd& geoTransform)
[more]void setDestinationTileBaseName(const std::string& basename)
[more]const std::string& getDestinationTileBaseName() const
[more]void setDestinationTileExtension(const std::string& extension)
[more]const std::string& getDestinationTileExtension() const
[more]void setDatabaseType(DatabaseType type)
[more]DatabaseType getDatabaseType() const
[more]void setGeometryType(GeometryType type)
[more]GeometryType getGeometryType() const
[more]void setTextureType(TextureType type)
[more]TextureType getTextureType() const
[more]void setMaxAnisotropy(float d)
[more]float getMaxAnisotropy() const
[more]void setMipMappingMode(MipMappingMode mipMappingMode)
[more]MipMappingMode getMipMappingMode() const
[more]void setUseLocalTileTransform(bool flag)
[more]bool getUseLocalTileTransform() const
[more]void setDecorateGeneratedSceneGraphWithCoordinateSystemNode(bool flag)
[more]bool getDecorateGeneratedSceneGraphWithCoordinateSystemNode() const
[more]void setCommentString(const std::string& comment)
[more]const std::string& getCommentString() const
[more]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)
[more]void computeDestinationGraphFromSources(unsigned int numLevels)
[more]void updateSourcesForDestinationGraphNeeds()
[more]void populateDestinationGraphFromSources()
[more]void createDestination(unsigned int numLevels)
[more]void writeDestination()
[more]osg::Node* getDestinationRootNode()

Public

[more]typedef std::map<unsigned int,CompositeDestination*> Row
[more]typedef std::map<unsigned int,Row> Level
[more]typedef std::map<unsigned int,Level> QuadMap

Protected Fields

[more]osg::ref_ptr<CompositeSource> _sourceGraph
[more]osg::ref_ptr<CompositeDestination> _destinationGraph
[more]QuadMap _quadMap
[more]unsigned int _maximumTileImageSize
[more]unsigned int _maximumTileTerrainSize
[more]float _maximumVisiableDistanceOfTopLevel
[more]float _radiusToMaxVisibleDistanceRatio
[more]float _verticalScale
[more]float _skirtRatio
[more]osg::ref_ptr<osg::CoordinateSystemNode> _destinationCoordinateSystem
[more]osg::ref_ptr<osg::CoordinateSystemNode> _intermediateCoordinateSystem
[more]bool _convertFromGeographicToGeocentric
[more]osg::ref_ptr<osg::EllipsoidModel> _ellipsoidModel
[more]osg::Matrixd _geoTransform
[more]osg::BoundingBox _extents
[more]std::string _tileBasename
[more]std::string _tileExtension
[more]osg::Vec4 _defaultColor
[more]DatabaseType _databaseType
[more]GeometryType _geometryType
[more]TextureType _textureType
[more]float _maxAnisotropy
[more]MipMappingMode _mipMappingMode
[more]bool _useLocalTileTransform
[more]bool _decorateWithCoordinateSystemNode
[more]std::string _comment
[more]osg::ref_ptr<osg::Node> _rootNode

Protected Methods

[more]virtual ~DataSet()
[more]void _readRow(Row& row)
[more]void _equalizeRow(Row& row)
[more]void _writeRow(Row& row)
[more]osg::Node* decorateWithCoordinateSystemNode(osg::Node* subgraph)
[more]void init()


Documentation

ostruct SpatialProperties

o SpatialProperties()

o SpatialProperties(const SpatialProperties& sp)

o SpatialProperties(osg::CoordinateSystemNode* cs, const osg::BoundingBox& extents)

oinline SpatialProperties& assignSpatialProperties(const SpatialProperties& sp)

ovoid computeExtents()

oosg::ref_ptr<osg::CoordinateSystemNode> _cs

oosg::Matrixd _geoTransform

oosg::BoundingBox _extents

ounsigned int _numValuesX

ounsigned int _numValuesY

ounsigned int _numValuesZ

ostruct DestinationData: public osg::Referenced, SpatialProperties

o DestinationData(DataSet* dataSet)

otypedef std::vector< osg::ref_ptr<osg::Node> > ModelList

oDataSet* _dataSet

ofloat _minDistance

ofloat _maxDistance

oosg::ref_ptr<osg::Image> _image

oosg::ref_ptr<osg::HeightField> _heightField

oModelList _models

ostruct SourceData: public osg::Referenced, public SpatialProperties

o SourceData(Source* source=0)

ovirtual ~SourceData()

ostatic SourceData* readData(Source* source)

oosg::BoundingBox getExtents(const osg::CoordinateSystemNode* cs) const

oconst SpatialProperties& computeSpatialProperties(const osg::CoordinateSystemNode* cs) const

obool intersects(const SpatialProperties& sp) const

ovoid read(DestinationData& destination)

ovoid readImage(DestinationData& destination)

ovoid readHeightField(DestinationData& destination)

ovoid readModels(DestinationData& destination)

oSource* _source

obool _hasGCPs

oosg::ref_ptr<osg::Node> _model

oGDALDataset* _gdalDataSet

otypedef std::map<const osg::CoordinateSystemNode*,SpatialProperties> SpatialPropertiesMap

omutable SpatialPropertiesMap _spatialPropertiesMap

oenum CompositeType

o GROUP

o LOD

o PAGED_LOD

otypedef std::map<unsigned int,CompositeDestination*> Row

otypedef std::map<unsigned int,Row> Level

otypedef std::map<unsigned int,Level> QuadMap

ovoid insertTileToQuadMap(CompositeDestination* tile)

oDestinationTile* getTile(unsigned int level, unsigned int X, unsigned int Y)

oCompositeDestination* getComposite(unsigned int level, unsigned int X, unsigned int Y)

oRow& getRow(unsigned int level, unsigned int Y)

o DataSet()

ovoid addSource(Source* source)

ovoid addSource(CompositeSource* composite)

ovoid loadSources()

ovoid setMaximumTileImageSize(unsigned int size)

ounsigned int getMaximumTileImageSize() const

ovoid setMaximumTileTerrainSize(unsigned int size)

ounsigned int getMaximumTileTerrainSize() const

ovoid setMaximumVisibleDistanceOfTopLevel(float d)

ofloat getMaximumVisibleDistanceOfTopLevel() const

ovoid setRadiusToMaxVisibleDistanceRatio(float ratio)

ofloat getRadiusToMaxVisibleDistanceRatio() const

ovoid setVerticalScale(float verticalScale)

ofloat getVerticalScale() const

ovoid setSkirtRatio(float skirtRatio)

ofloat getSkirtRatio() const

ovoid setDefaultColor(const osg::Vec4& defaultColor)

oconst osg::Vec4& getDefaultColor() const

ovoid setDestinationCoordinateSystem(const std::string& wellKnownText)

ovoid setDestinationCoordinateSystem(osg::CoordinateSystemNode* cs)

oosg::CoordinateSystemNode* getDestinationCoordinateSystem()

ovoid setIntermediateCoordinateSystem(const std::string& wellKnownText)

ovoid setIntermediateCoordinateSystem(osg::CoordinateSystemNode* cs)

oosg::CoordinateSystemNode* getIntermediateCoordinateSystem()

ovoid setConvertFromGeographicToGeocentric(bool flag)

obool getConvertFromGeographicToGeocentric() const

ovoid setEllipsoidModel(osg::EllipsoidModel* et)

oosg::EllipsoidModel* getEllipsoidModel()

ovoid setDestinationExtents(const osg::BoundingBox& extents)

ovoid setDestinationGeoTransform(const osg::Matrixd& geoTransform)

ovoid setDestinationTileBaseName(const std::string& basename)

oconst std::string& getDestinationTileBaseName() const

ovoid setDestinationTileExtension(const std::string& extension)

oconst std::string& getDestinationTileExtension() const

oenum DatabaseType

o LOD_DATABASE

o PagedLOD_DATABASE

ovoid setDatabaseType(DatabaseType type)

oDatabaseType getDatabaseType() const

oenum GeometryType

o HEIGHT_FIELD

o POLYGONAL

ovoid setGeometryType(GeometryType type)

oGeometryType getGeometryType() const

oenum TextureType

o RGB_24_BIT

o RGB_16_BIT

o COMPRESSED_TEXTURE

ovoid setTextureType(TextureType type)

oTextureType getTextureType() const

ovoid setMaxAnisotropy(float d)

ofloat getMaxAnisotropy() const

oenum MipMappingMode

o NO_MIP_MAPPING

o MIP_MAPPING_HARDWARE
disable mip mapping - use LINEAR, LINEAR filters

o MIP_MAPPING_IMAGERY
use mip mapping, dynamically compute them in hardware if supported

ovoid setMipMappingMode(MipMappingMode mipMappingMode)

oMipMappingMode getMipMappingMode() const

ovoid setUseLocalTileTransform(bool flag)

obool getUseLocalTileTransform() const

ovoid setDecorateGeneratedSceneGraphWithCoordinateSystemNode(bool flag)

obool getDecorateGeneratedSceneGraphWithCoordinateSystemNode() const

ovoid setCommentString(const std::string& comment)

oconst std::string& getCommentString() const

oCompositeDestination* 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)

ovoid computeDestinationGraphFromSources(unsigned int numLevels)

ovoid updateSourcesForDestinationGraphNeeds()

ovoid populateDestinationGraphFromSources()

ovoid createDestination(unsigned int numLevels)

ovoid writeDestination()

oosg::Node* getDestinationRootNode()

ovirtual ~DataSet()

ovoid _readRow(Row& row)

ovoid _equalizeRow(Row& row)

ovoid _writeRow(Row& row)

oosg::Node* decorateWithCoordinateSystemNode(osg::Node* subgraph)

ovoid init()

oosg::ref_ptr<CompositeSource> _sourceGraph

oosg::ref_ptr<CompositeDestination> _destinationGraph

oQuadMap _quadMap

ounsigned int _maximumTileImageSize

ounsigned int _maximumTileTerrainSize

ofloat _maximumVisiableDistanceOfTopLevel

ofloat _radiusToMaxVisibleDistanceRatio

ofloat _verticalScale

ofloat _skirtRatio

oosg::ref_ptr<osg::CoordinateSystemNode> _destinationCoordinateSystem

oosg::ref_ptr<osg::CoordinateSystemNode> _intermediateCoordinateSystem

obool _convertFromGeographicToGeocentric

oosg::ref_ptr<osg::EllipsoidModel> _ellipsoidModel

oosg::Matrixd _geoTransform

oosg::BoundingBox _extents

ostd::string _tileBasename

ostd::string _tileExtension

oosg::Vec4 _defaultColor

oDatabaseType _databaseType

oGeometryType _geometryType

oTextureType _textureType

ofloat _maxAnisotropy

oMipMappingMode _mipMappingMode

obool _useLocalTileTransform

obool _decorateWithCoordinateSystemNode

ostd::string _comment

oosg::ref_ptr<osg::Node> _rootNode


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.