VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
osgEarth::CustomModelCompiler Class Reference

Compiles a collection of features against a style.

Public Member Functions

 CustomModelCompiler ()
 
 CustomModelCompiler (const CustomModelCompilerOptions &options)
 
virtual ~CustomModelCompiler ()
 
const CustomModelCompilerOptionsoptions () const
 
CustomModelCompilerOptionsoptions ()
 
osg::Node * compile (FeatureCursor *input, const Style &style, const FilterContext &context)
 
osg::Node * compile (Feature *input, const Style &style, const FilterContext &context)
 
osg::Node * compile (FeatureList &mungeableInput, const Style &style, const FilterContext &context)
 

Protected Member Functions

virtual
SubstituteCustomModelFilter
createModelFilter (const Style &style) const
 

Protected Attributes

CustomModelCompilerOptions _options
 

Constructor & Destructor Documentation

osgEarth::CustomModelCompiler::CustomModelCompiler ( )

Constructs a new geometry compiler with default options.

osgEarth::CustomModelCompiler::CustomModelCompiler ( const CustomModelCompilerOptions options)

Constructs a new compiler with preconfigured options.

virtual osgEarth::CustomModelCompiler::~CustomModelCompiler ( )
inlinevirtual

Member Function Documentation

const CustomModelCompilerOptions& osgEarth::CustomModelCompiler::options ( ) const
inline

Access the options read-only.

CustomModelCompilerOptions& osgEarth::CustomModelCompiler::options ( )
inline

Access the options for editing.

osg::Node* osgEarth::CustomModelCompiler::compile ( FeatureCursor *  input,
const Style &  style,
const FilterContext &  context 
)

Compiles a collection of features into an OSG scene graph.

osg::Node* osgEarth::CustomModelCompiler::compile ( Feature input,
const Style &  style,
const FilterContext &  context 
)
osg::Node* osgEarth::CustomModelCompiler::compile ( FeatureList &  mungeableInput,
const Style &  style,
const FilterContext &  context 
)
virtual SubstituteCustomModelFilter* osgEarth::CustomModelCompiler::createModelFilter ( const Style &  style) const
protectedvirtual

Allows VRF to substitute model filter.

Member Data Documentation

CustomModelCompilerOptions osgEarth::CustomModelCompiler::_options
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)