class osgTerrain::DataSet::Source


Inheritance:


Public Classes

[more]enum Type
[more]enum ParameterPolicy
[more]struct ResolutionPair

Public Methods

[more] Source()
[more] Source(Type type, const std::string& filename)
[more]void setSortValue(double s)
[more]double getSortValue() const
[more]void setSortValueFromSourceDataResolution()
[more]void setType(Type type)
[more]Type getType() const
[more]void setFileName(const std::string& filename)
[more]const std::string& getFileName() const
[more]void setTemporaryFile(bool temporaryFile)
[more]bool getTemporaryFile() const
[more]void setCoordinateSystemPolicy(ParameterPolicy policy)
[more]ParameterPolicy getCoordinateSystemPolicy() const
[more]void setCoordinateSystem(const std::string& wellKnownText)
[more]void setCoordinateSystem(osg::CoordinateSystemNode* cs)
[more]osg::CoordinateSystemNode* getCoordinateSystem()
[more]void setGeoTransformPolicy(ParameterPolicy policy)
[more]ParameterPolicy getGeoTransformPolicy() const
[more]void setGeoTransform(osg::Matrixd& transform)
[more]osg::Matrixd& getGeoTransform()
[more]void assignCoordinateSystemAndGeoTransformAccordingToParameterPolicy()
[more]void setMinLevel(unsigned int minLevel)
[more]void setMaxLevel(unsigned int maxLevel)
[more]void setMinMaxLevel(unsigned int minLevel, unsigned int maxLevel)
[more]unsigned int getMinLevel() const
[more]unsigned int getMaxLevel() const
[more]void setSourceData(SourceData* data)
[more]SourceData* getSourceData()
[more]bool intersects(const SpatialProperties& sp) const
[more]void loadSourceData()
[more]bool needReproject(const osg::CoordinateSystemNode* cs) const
[more]bool needReproject(const osg::CoordinateSystemNode* cs, double minResolution, double maxResolution) const
[more]Source* doReproject(const std::string& filename, osg::CoordinateSystemNode* cs, double targetResolution=0.0) const
[more]void buildOverviews()
[more]void addRequiredResolution(double resX, double resY)
[more]void setRequiredResolutions(ResolutionList& resolutions)
[more]ResolutionList& getRequiredResolutions()
[more]const ResolutionList& getRequiredResolutions() const
[more]void consolodateRequiredResolutions()

Public

[more]typedef std::vector<ResolutionPair> ResolutionList

Protected Fields

[more]Type _type
[more]double _sortValue
[more]std::string _filename
[more]bool _temporaryFile
[more]ParameterPolicy _coordinateSystemPolicy
[more]ParameterPolicy _geoTransformPolicy
[more]unsigned int _minLevel
[more]unsigned int _maxLevel
[more]osg::ref_ptr<SourceData> _sourceData
[more]ResolutionList _requiredResolutions


Documentation

oenum Type

o IMAGE

o HEIGHT_FIELD

o MODEL

oenum ParameterPolicy

o PREFER_CONFIG_SETTINGS

o PREFER_CONFIG_SETTINGS_BUT_SCALE_BY_FILE_RESOLUTION

o PREFER_FILE_SETTINGS

o Source()

o Source(Type type, const std::string& filename)

ovoid setSortValue(double s)

odouble getSortValue() const

ovoid setSortValueFromSourceDataResolution()

ovoid setType(Type type)

oType getType() const

ovoid setFileName(const std::string& filename)

oconst std::string& getFileName() const

ovoid setTemporaryFile(bool temporaryFile)

obool getTemporaryFile() const

ovoid setCoordinateSystemPolicy(ParameterPolicy policy)

oParameterPolicy getCoordinateSystemPolicy() const

ovoid setCoordinateSystem(const std::string& wellKnownText)

ovoid setCoordinateSystem(osg::CoordinateSystemNode* cs)

oosg::CoordinateSystemNode* getCoordinateSystem()

ovoid setGeoTransformPolicy(ParameterPolicy policy)

oParameterPolicy getGeoTransformPolicy() const

ovoid setGeoTransform(osg::Matrixd& transform)

oosg::Matrixd& getGeoTransform()

ovoid assignCoordinateSystemAndGeoTransformAccordingToParameterPolicy()

ovoid setMinLevel(unsigned int minLevel)

ovoid setMaxLevel(unsigned int maxLevel)

ovoid setMinMaxLevel(unsigned int minLevel, unsigned int maxLevel)

ounsigned int getMinLevel() const

ounsigned int getMaxLevel() const

ovoid setSourceData(SourceData* data)

oSourceData* getSourceData()

obool intersects(const SpatialProperties& sp) const

ovoid loadSourceData()

obool needReproject(const osg::CoordinateSystemNode* cs) const

obool needReproject(const osg::CoordinateSystemNode* cs, double minResolution, double maxResolution) const

oSource* doReproject(const std::string& filename, osg::CoordinateSystemNode* cs, double targetResolution=0.0) const

ovoid buildOverviews()

ostruct ResolutionPair

o ResolutionPair()

o ResolutionPair(double x, double y)

obool operator < (const ResolutionPair& rhs) const

odouble _resX

odouble _resY

otypedef std::vector<ResolutionPair> ResolutionList

ovoid addRequiredResolution(double resX, double resY)

ovoid setRequiredResolutions(ResolutionList& resolutions)

oResolutionList& getRequiredResolutions()

oconst ResolutionList& getRequiredResolutions() const

ovoid consolodateRequiredResolutions()

oType _type

odouble _sortValue

ostd::string _filename

obool _temporaryFile

oParameterPolicy _coordinateSystemPolicy

oParameterPolicy _geoTransformPolicy

ounsigned int _minLevel

ounsigned int _maxLevel

oosg::ref_ptr<SourceData> _sourceData

oResolutionList _requiredResolutions


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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