osgEarth 2.1.1
|
Public Member Functions | |
LabelSource (const LabelSourceOptions &options=LabelSourceOptions()) | |
virtual osg::Node * | createNode (const FeatureList &input, const TextSymbol *symbol, const FilterContext &context)=0 |
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 |
Protected Member Functions | |
virtual | ~LabelSource () |
Plugin object that generates text label nodes.
Definition at line 62 of file LabelSource.
osgEarth::Features::LabelSource::LabelSource | ( | const LabelSourceOptions & | options = LabelSourceOptions() | ) | [inline] |
Definition at line 65 of file LabelSource.
{
//nop
}
virtual osgEarth::Features::LabelSource::~LabelSource | ( | ) | [inline, protected, virtual] |
Definition at line 88 of file LabelSource.
{ }
virtual const char* osgEarth::Features::LabelSource::className | ( | ) | const [inline, virtual] |
Definition at line 84 of file LabelSource.
{ return "LabelSource"; }
virtual osg::Object* osgEarth::Features::LabelSource::clone | ( | const osg::CopyOp & | ) | const [inline, virtual] |
Definition at line 82 of file LabelSource.
{ return 0; } // clone() not appropriate
virtual osg::Object* osgEarth::Features::LabelSource::cloneType | ( | ) | const [inline, virtual] |
Definition at line 81 of file LabelSource.
{ return 0; } // cloneType() not appropriate
virtual osg::Node* osgEarth::Features::LabelSource::createNode | ( | const FeatureList & | input, |
const TextSymbol * | symbol, | ||
const FilterContext & | context | ||
) | [pure virtual] |
Subclass implements this method to create the labeling node.
Implemented in OverlayLabelSource.
virtual bool osgEarth::Features::LabelSource::isSameKindAs | ( | const osg::Object * | obj | ) | const [inline, virtual] |
Definition at line 83 of file LabelSource.
{ return dynamic_cast<const LabelSource*>(obj)!=NULL; }
virtual const char* osgEarth::Features::LabelSource::libraryName | ( | ) | const [inline, virtual] |
Definition at line 85 of file LabelSource.
{ return "osgEarth::Features"; }