osgEarth 2.1.1
|
Public Member Functions | |
FeatureStencilModelSource (const ModelSourceOptions &options, int renderBinStart) | |
virtual const FeatureModelSourceOptions & | getFeatureModelOptions () const |
void | initialize (const std::string &referenceURI, const Map *map) |
FeatureNodeFactory * | createFeatureNodeFactory () |
Protected Attributes | |
int | _renderBinStart |
const FeatureStencilModelOptions | _options |
Definition at line 549 of file FeatureStencilModelSource.cpp.
anonymous_namespace{FeatureStencilModelSource.cpp}::FeatureStencilModelSource::FeatureStencilModelSource | ( | const ModelSourceOptions & | options, |
int | renderBinStart | ||
) | [inline] |
Definition at line 552 of file FeatureStencilModelSource.cpp.
: FeatureModelSource( options ), _options( options ), _renderBinStart( renderBinStart ) { // make sure we have stencil bits. Note, this only works before // a viewer gets created. You may need to allocate stencil bits // yourself if you make this object after realizing a viewer. if ( osg::DisplaySettings::instance()->getMinimumNumStencilBits() < 8 ) { osg::DisplaySettings::instance()->setMinimumNumStencilBits( 8 ); } }
FeatureNodeFactory* anonymous_namespace{FeatureStencilModelSource.cpp}::FeatureStencilModelSource::createFeatureNodeFactory | ( | ) | [inline, virtual] |
Implements osgEarth::Features::FeatureModelSource.
Definition at line 579 of file FeatureStencilModelSource.cpp.
{ return new StencilVolumeNodeFactory( _options, _renderBinStart ); }
virtual const FeatureModelSourceOptions& anonymous_namespace{FeatureStencilModelSource.cpp}::FeatureStencilModelSource::getFeatureModelOptions | ( | ) | const [inline, virtual] |
Reimplemented from osgEarth::Features::FeatureModelSource.
Definition at line 567 of file FeatureStencilModelSource.cpp.
{ return _options; }
void anonymous_namespace{FeatureStencilModelSource.cpp}::FeatureStencilModelSource::initialize | ( | const std::string & | referenceURI, |
const Map * | map | ||
) | [inline, virtual] |
Initialize the NodeSource.
Reimplemented from osgEarth::Features::FeatureModelSource.
Definition at line 573 of file FeatureStencilModelSource.cpp.
{ FeatureModelSource::initialize( referenceURI, map ); }
const FeatureStencilModelOptions anonymous_namespace{FeatureStencilModelSource.cpp}::FeatureStencilModelSource::_options [protected] |
Reimplemented from osgEarth::Features::FeatureModelSource.
Definition at line 586 of file FeatureStencilModelSource.cpp.
int anonymous_namespace{FeatureStencilModelSource.cpp}::FeatureStencilModelSource::_renderBinStart [protected] |
Definition at line 585 of file FeatureStencilModelSource.cpp.