osgEarth 2.1.1
|
Public Member Functions | |
FeatureStencilModelSourceDriver () | |
virtual const char * | className () |
FeatureStencilModelSource * | create (const Options *options) |
virtual ReadResult | readObject (const std::string &file_name, const Options *options) const |
Protected Attributes | |
Mutex | _createMutex |
int | _renderBinStart |
Definition at line 591 of file FeatureStencilModelSource.cpp.
FeatureStencilModelSourceDriver::FeatureStencilModelSourceDriver | ( | ) | [inline] |
Definition at line 594 of file FeatureStencilModelSource.cpp.
: _renderBinStart( RENDER_BIN_START ) { supportsExtension( "osgearth_model_feature_stencil", "osgEarth feature stencil plugin" ); }
virtual const char* FeatureStencilModelSourceDriver::className | ( | ) | [inline, virtual] |
Definition at line 600 of file FeatureStencilModelSource.cpp.
{ return "osgEarth Feature Stencil Model Plugin"; }
FeatureStencilModelSource* FeatureStencilModelSourceDriver::create | ( | const Options * | options | ) | [inline] |
Definition at line 605 of file FeatureStencilModelSource.cpp.
{ ScopedLock<Mutex> lock( _createMutex ); FeatureStencilModelSource* obj = new FeatureStencilModelSource( getModelSourceOptions(options), _renderBinStart ); _renderBinStart += MAX_NUM_STYLES*4; return obj; }
virtual ReadResult FeatureStencilModelSourceDriver::readObject | ( | const std::string & | file_name, |
const Options * | options | ||
) | const [inline, virtual] |
Definition at line 618 of file FeatureStencilModelSource.cpp.
{ if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name ))) return ReadResult::FILE_NOT_HANDLED; FeatureStencilModelSourceDriver* nonConstThis = const_cast<FeatureStencilModelSourceDriver*>(this); return nonConstThis->create( options ); }
Mutex FeatureStencilModelSourceDriver::_createMutex [protected] |
Definition at line 628 of file FeatureStencilModelSource.cpp.
int FeatureStencilModelSourceDriver::_renderBinStart [protected] |
Definition at line 629 of file FeatureStencilModelSource.cpp.