osgEarth 2.1.1
|
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 MaskSourceOptions & | getOptions () 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 |
MaskSource is a plugin object that generates a masking goemetry
Definition at line 58 of file MaskSource.
MaskSource::MaskSource | ( | const MaskSourceOptions & | options = MaskSourceOptions() | ) |
Definition at line 50 of file MaskSource.cpp.
: _options( options ) { //TODO: is this really necessary? this->setThreadSafeRefUnref( true ); }
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] |
virtual void osgEarth::MaskSource::initialize | ( | const std::string & | referenceURI, |
const Map * | map | ||
) | [inline, virtual] |
Reimplemented in FeatureMaskSource.
Definition at line 69 of file MaskSource.
{ }
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"; }
friend class Map [friend] |
Definition at line 84 of file MaskSource.
friend class MaskSourceFactory [friend] |
Definition at line 85 of file MaskSource.
const MaskSourceOptions osgEarth::MaskSource::_options [private] |
Reimplemented in FeatureMaskSource.
Definition at line 82 of file MaskSource.