osgEarth 2.1.1
Public Member Functions | Protected Attributes

osgEarth::Features::FeatureProfile Class Reference

Inheritance diagram for osgEarth::Features::FeatureProfile:
Collaboration diagram for osgEarth::Features::FeatureProfile:

List of all members.

Public Member Functions

 FeatureProfile (const GeoExtent &extent)
const GeoExtentgetExtent () const
const SpatialReferencegetSRS () const
bool getTiled () const
void setTiled (bool tiled)
int getFirstLevel () const
void setFirstLevel (int firstLevel)
int getMaxLevel () const
void setMaxLevel (int maxLevel)
const osgEarth::ProfilegetProfile () const
void setProfile (const osgEarth::Profile *profile)

Protected Attributes

osg::ref_ptr< const
osgEarth::Profile
_profile
GeoExtent _extent
bool _tiled
int _firstLevel
int _maxLevel

Detailed Description

Metadata and schema information for feature data.

Definition at line 39 of file Feature.


Constructor & Destructor Documentation

FeatureProfile::FeatureProfile ( const GeoExtent extent)

Definition at line 31 of file Feature.cpp.

                                                        :
_extent( extent ),
_firstLevel(0),
_maxLevel(-1),
_tiled(false)
{
    //nop
}

Member Function Documentation

const GeoExtent& osgEarth::Features::FeatureProfile::getExtent ( ) const [inline]

Gets the spatial extents of the features in this profile.

Definition at line 45 of file Feature.

                                           {
            return _extent; }

Here is the caller graph for this function:

int FeatureProfile::getFirstLevel ( ) const

Definition at line 53 of file Feature.cpp.

{
    return _firstLevel;
}
int FeatureProfile::getMaxLevel ( ) const

Definition at line 65 of file Feature.cpp.

{
    return _maxLevel;
}
const osgEarth::Profile * FeatureProfile::getProfile ( ) const

Definition at line 77 of file Feature.cpp.

{
    return _profile.get();
}
const SpatialReference* osgEarth::Features::FeatureProfile::getSRS ( ) const [inline]

Gets the spatial reference system of feature shapes in this class.

Definition at line 49 of file Feature.

                                               {
            return _extent.getSRS(); }

Here is the caller graph for this function:

bool FeatureProfile::getTiled ( ) const

Definition at line 41 of file Feature.cpp.

{
    return _tiled;
}
void FeatureProfile::setFirstLevel ( int  firstLevel)

Definition at line 59 of file Feature.cpp.

{
    _firstLevel = firstLevel;
}

Here is the caller graph for this function:

void FeatureProfile::setMaxLevel ( int  maxLevel)

Definition at line 71 of file Feature.cpp.

{
    _maxLevel = maxLevel;
}

Here is the caller graph for this function:

void FeatureProfile::setProfile ( const osgEarth::Profile profile)

Definition at line 83 of file Feature.cpp.

{
    _profile = profile;
}

Here is the caller graph for this function:

void FeatureProfile::setTiled ( bool  tiled)

Definition at line 47 of file Feature.cpp.

{
    _tiled = true;
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 66 of file Feature.

Definition at line 68 of file Feature.

Definition at line 69 of file Feature.

Definition at line 65 of file Feature.

Definition at line 67 of file Feature.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines