LuciadCPillar 2026.0.05
Loading...
Searching...
No Matches
luciad::IRasterModel Class Referenceabstract

Marker interface for raster models. More...

#include <luciad/models/rasters/IRasterModel.h>

Inheritance diagram for luciad::IRasterModel:
luciad::Model

Public Member Functions

 ~IRasterModel () override=default
virtual bool canInvalidate ()=0
 Returns whether the model supports invalidation of the raster data.
virtual RasterModelType getRasterType () const =0
 Returns the type of data contained by this raster model.
virtual void invalidate ()=0
 This method indicates that the content of the raster model has changed.
Public Member Functions inherited from luciad::Model
virtual ~Model ()=default
virtual ModelMetadata getModelMetadata () const =0
 Returns the meta data for this model.
virtual std::shared_ptr< BoundsqueryBounds () const =0
 Returns the bounds of this model, if available.

Detailed Description

Marker interface for raster models.

You can create a raster model in one of the the following ways:

  • Use a model decoder to decode raster data encoded in a certain format
  • Use a raster model builder to provide your own data

This article provides more information on how to create a raster model.

Constructor & Destructor Documentation

◆ ~IRasterModel()

luciad::IRasterModel::~IRasterModel ( )
overridedefault

Member Function Documentation

◆ canInvalidate()

virtual bool luciad::IRasterModel::canInvalidate ( )
pure virtual

Returns whether the model supports invalidation of the raster data.

Returns
whether the model supports invalidation of the raster data.
Since
2022.1

◆ getRasterType()

virtual RasterModelType luciad::IRasterModel::getRasterType ( ) const
pure virtual

Returns the type of data contained by this raster model.

This method can be called from any thread.

Returns
the type of data contained by this raster model.
Since
2025.0

◆ invalidate()

virtual void luciad::IRasterModel::invalidate ( )
pure virtual

This method indicates that the content of the raster model has changed.

Data needs to be re-fetched from the model.

This method can be called from any thread.

Since
2022.1