|
LuciadCPillar 2026.1.02
|
Marker interface for 3D tile set models. More...
#include <luciad/models/tileset3d/ITileSet3DModel.h>
Public Member Functions | |
| ~ITileSet3DModel () override=default | |
| virtual std::optional< GeoLocation > | getGeoLocation () const =0 |
| Returns the geolocation of the model. | |
| virtual std::shared_ptr< CoordinateReference > | getReference () const =0 |
| Returns the model's reference. | |
| virtual void | setGeoLocation (GeoLocation geoLocation)=0 |
| Sets the geolocation of the model. | |
| 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< Bounds > | queryBounds () const =0 |
| Returns the bounds of this model, if available. | |
Marker interface for 3D tile set models.
You can create a layer for this model using luciad::TileSet3DLayer.
|
overridedefault |
|
pure virtual |
Returns the geolocation of the model.
This is always std::nullopt if the model reference is not Cartesian.
|
pure virtual |
Returns the model's reference.
If the model is geolocated, the geolocation's target reference is returned.
|
pure virtual |
Sets the geolocation of the model.
Calling this method is only allowed if this model can be (re-)geolocated. A model can be (re-)geolocated if one of these conditions applies:
reference is CartesianAfter geolocation, getReference will return the geolocation's target reference. queryBounds will return geolocated, transformed bounds, which can be used to fit the camera to the new position of the dataset.
A change of the geolocation of this model will also be reflected in any layers created with this model. The dataset will move to its new geolocated position in the visualization.
If the geolocation's target reference matches the map reference, this change is instantly reflected in the visualization. Otherwise, the dataset may briefly disappear before being shown in the new position.
See this article on why geolocation is sometimes needed.
| geoLocation | the geolocation. |
| LogicException | if the model cannot be (re-)geolocated. |