|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Features::GeomFeatureNodeFactory:
Collaboration diagram for osgEarth::Features::GeomFeatureNodeFactory:Public Member Functions | |
| GeomFeatureNodeFactory (const GeometryCompilerOptions &options=GeometryCompilerOptions()) | |
| bool | createOrUpdateNode (FeatureCursor *features, const Style &style, const FilterContext &context, osg::ref_ptr< osg::Node > &node) |
Public Attributes | |
| GeometryCompilerOptions | _options |
Definition at line 146 of file FeatureModelSource.
| GeomFeatureNodeFactory::GeomFeatureNodeFactory | ( | const GeometryCompilerOptions & | options = GeometryCompilerOptions() | ) |
Definition at line 185 of file FeatureModelSource.cpp.
: _options( options ) { }
| bool GeomFeatureNodeFactory::createOrUpdateNode | ( | FeatureCursor * | cursor, |
| const Style & | style, | ||
| const FilterContext & | context, | ||
| osg::ref_ptr< osg::Node > & | node | ||
| ) | [virtual] |
Render (or update) a list of features into a node according to the specified style.
Implements osgEarth::Features::FeatureNodeFactory.
Definition at line 190 of file FeatureModelSource.cpp.
{
GeometryCompiler compiler( _options );
node = compiler.compile( features, style, context );
return node.valid();
}
Here is the call graph for this function:Definition at line 158 of file FeatureModelSource.
1.7.3