LuciadCPillar 2023.1.03
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. More...
 
virtual void invalidate ()=0
 This method indicates that the content of the raster model has changed. More...
 
- Public Member Functions inherited from luciad::Model
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

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

◆ 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