A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-modelscenesymbol.html below:

ModelSceneSymbol Class | ArcGIS Maps SDK for Qt

Used to display point or multipoint geoelements in a scene using a 3D model. More...

Detailed Description

By default, the symbol will be positioned using the centroid of the model object. Note that this may not be the same as the center of its bounding extent. Model scene symbols cannot be used with a static graphics rendering mode (GraphicsRenderingMode::Static).

The supported model file types are:

Depending on the model's default orientation, you may have to change the heading, pitch, and roll of the symbol to display the model in the desired orientation.

Example:

Create a ModelSceneSymbol from a *.dae file:

constexpr float scale = 5.0f;
ModelSceneSymbol* mms = new ModelSceneSymbol(QUrl(dataPath), scale, this);
mms->setHeading(180);

Relevant samples:

Member Function Documentation [explicit] ModelSceneSymbol::ModelSceneSymbol(const QUrl &url, QObject *parent = nullptr)

Creates a model scene symbol from a URL to a 3D model file.

ModelSceneSymbol::ModelSceneSymbol(const QUrl &url, float scale, QObject *parent = nullptr)

Creates a model scene symbol from a URL to a 3D model file along with a scale.

[override virtual noexcept] ModelSceneSymbol::~ModelSceneSymbol()

Destructor.

[override virtual] void ModelSceneSymbol::cancelLoad()

Reimplements: Loadable::cancelLoad().

See Loadable.

[signal] void ModelSceneSymbol::doneLoading(const Esri::ArcGISRuntime::Error &loadError)

Signal emitted when this object is done loading.

Note: If there is a load error it will also be emitted on the errorOccurred signal.

See also Loadable and Object.

[override virtual] void ModelSceneSymbol::load()

Reimplements: Loadable::load().

Loads the metadata for the object asynchronously.

[override virtual] Esri::ArcGISRuntime::Error ModelSceneSymbol::loadError() const

Reimplements: Loadable::loadError() const.

See Loadable.

[override virtual] Esri::ArcGISRuntime::LoadStatus ModelSceneSymbol::loadStatus() const

Reimplements: Loadable::loadStatus() const.

Returns the load status.

See also LoadStatus.

[signal] void ModelSceneSymbol::loadStatusChanged(Esri::ArcGISRuntime::LoadStatus loadStatus)

Signal emitted when the load status changes for this object.

See also Loadable.

[override virtual] void ModelSceneSymbol::retryLoad()

Reimplements: Loadable::retryLoad().

Loads or retries loading metadata for the object asynchronously.

Will retry loading the metadata if the object is failed to load. Will load the object if it is not loaded. Will not retry to load the object if the object is loaded. Will always call the done loading if this is called.

float ModelSceneSymbol::scale() const

Returns the scale factor of the symbol.

[since Esri::ArcGISRuntime 100.5] void ModelSceneSymbol::setSymbolSizeUnits(Esri::ArcGISRuntime::SymbolSizeUnits sizeUnits)

Sets the symbol size units of the model symbol using the specified sizeUnits.

Default is SymbolSizeUnits::Meters

Renders the symbol by interpreting the size values as DIPs or Meters.

This function was introduced in Esri::ArcGISRuntime 100.5.

See also symbolSizeUnits().

[since Esri::ArcGISRuntime 100.5] Esri::ArcGISRuntime::SymbolSizeUnits ModelSceneSymbol::symbolSizeUnits() const

Returns the symbol size units of the model symbol.

The default value is SymbolSizeUnits::Meters.

This function was introduced in Esri::ArcGISRuntime 100.5.

See also setSymbolSizeUnits().

[override virtual] QUrl ModelSceneSymbol::url() const

Reimplements: RemoteResource::url() const.

Returns the url of the symbol.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4