LuciadCPillar 2023.1.04
luciad::Model Class Referenceabstract

Interface for models. More...

#include <luciad/models/Model.h>

Inheritance diagram for luciad::Model:
luciad::IFeatureModel luciad::IRasterModel luciad::ITileSet3DModel

Public Member Functions

virtual ~Model ()=default
 
virtual ModelMetadata getModelMetadata () const =0
 Returns the meta data for this model. More...
 
virtual std::shared_ptr< BoundsqueryBounds () const =0
 Returns the bounds of this model, if available. More...
 

Detailed Description

Interface for models.

This interface should not be implemented directly, but rather its sub-interfaces, like IFeatureModel.

Constructor & Destructor Documentation

◆ ~Model()

virtual luciad::Model::~Model ( )
virtualdefault

Member Function Documentation

◆ getModelMetadata()

virtual ModelMetadata luciad::Model::getModelMetadata ( ) const
pure virtual

Returns the meta data for this model.

Returns
the meta data for this model.

◆ queryBounds()

virtual std::shared_ptr< Bounds > luciad::Model::queryBounds ( ) const
pure virtual

Returns the bounds of this model, if available.

When the bounds of this model are not known, or if they are too expensive to calculate, this method may return no bounds.

Returns
the bounds of this model, if available.