osgEarth 2.1.1
Public Member Functions | Private Attributes | Friends

osgEarth::MaskSource Class Reference

Inheritance diagram for osgEarth::MaskSource:
Collaboration diagram for osgEarth::MaskSource:

List of all members.

Public Member Functions

 MaskSource (const MaskSourceOptions &options=MaskSourceOptions())
virtual osg::Vec3dArray * createBoundary (const SpatialReference *srs, ProgressCallback *progress=0L)=0
virtual void initialize (const std::string &referenceURI, const Map *map)
const MaskSourceOptionsgetOptions () const
virtual osg::Object * cloneType () const
virtual osg::Object * clone (const osg::CopyOp &) const
virtual bool isSameKindAs (const osg::Object *obj) const
virtual const char * className () const
virtual const char * libraryName () const

Private Attributes

const MaskSourceOptions _options

Friends

class Map
class MaskSourceFactory

Detailed Description

MaskSource is a plugin object that generates a masking goemetry

Definition at line 58 of file MaskSource.


Constructor & Destructor Documentation

MaskSource::MaskSource ( const MaskSourceOptions options = MaskSourceOptions())

Definition at line 50 of file MaskSource.cpp.

                                                         :
_options( options )
{
    //TODO: is this really necessary?
    this->setThreadSafeRefUnref( true );
}

Member Function Documentation

virtual const char* osgEarth::MaskSource::className ( ) const [inline, virtual]

Definition at line 78 of file MaskSource.

{ return "MaskSource"; }
virtual osg::Object* osgEarth::MaskSource::clone ( const osg::CopyOp &  ) const [inline, virtual]

Definition at line 76 of file MaskSource.

{ return 0; } // clone() not appropriate
virtual osg::Object* osgEarth::MaskSource::cloneType ( ) const [inline, virtual]

Definition at line 75 of file MaskSource.

{ return 0; } // cloneType() not appropriate
virtual osg::Vec3dArray* osgEarth::MaskSource::createBoundary ( const SpatialReference srs,
ProgressCallback progress = 0L 
) [pure virtual]

Subclass implements this method to create the boundary geometry.

Implemented in FeatureMaskSource.

const MaskSourceOptions& osgEarth::MaskSource::getOptions ( ) const [inline]

Reimplemented in FeatureMaskSource.

Definition at line 71 of file MaskSource.

{ return _options; }
virtual void osgEarth::MaskSource::initialize ( const std::string &  referenceURI,
const Map map 
) [inline, virtual]

Reimplemented in FeatureMaskSource.

Definition at line 69 of file MaskSource.

{ }

Here is the caller graph for this function:

virtual bool osgEarth::MaskSource::isSameKindAs ( const osg::Object *  obj) const [inline, virtual]

Definition at line 77 of file MaskSource.

{ return dynamic_cast<const MaskSource*>(obj)!=NULL; }
virtual const char* osgEarth::MaskSource::libraryName ( ) const [inline, virtual]

Definition at line 79 of file MaskSource.

{ return "osgEarth"; }

Friends And Related Function Documentation

friend class Map [friend]

Definition at line 84 of file MaskSource.

friend class MaskSourceFactory [friend]

Definition at line 85 of file MaskSource.


Member Data Documentation

Reimplemented in FeatureMaskSource.

Definition at line 82 of file MaskSource.


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