MarkerSceneSymbol Class

  • MarkerSceneSymbol
  • class Esri::ArcGISRuntime::MarkerSceneSymbol

    Base class for 3D marker scene symbols. More...

    Header: #include <MarkerSceneSymbol.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::Symbol
    Inherited By:

    Esri::ArcGISRuntime::ModelSceneSymbol and Esri::ArcGISRuntime::SimpleMarkerSceneSymbol

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    virtual ~MarkerSceneSymbol() override
    Esri::ArcGISRuntime::SceneSymbolAnchorPosition anchorPosition() const
    QColor color() const
    double depth() const
    float heading() const
    double height() const
    float pitch() const
    float roll() const
    void setAnchorPosition(Esri::ArcGISRuntime::SceneSymbolAnchorPosition anchorPosition)
    void setColor(const QColor &color)
    void setDepth(double depth)
    void setHeading(float heading)
    void setHeight(double height)
    void setPitch(float pitch)
    void setRoll(float roll)
    void setWidth(double width)
    double width() const

    Protected Functions

    MarkerSceneSymbol(QObject *parent = nullptr)

    Detailed Description

    Symbols describe how graphics and features look on a map. Different symbols are used with different geometry types. Marker symbols are used to display those graphics and features that are based on point or multipoint geometries on a 3D surface (a Scene). Subclasses of this class represent specific types of marker scene symbols, such as simple symbols or 3D models.

    Measurement and units

    • The ENU (East-North-Up) ground reference frame is used.
    • Heading is expressed in degrees of rotation around its Z axis, clockwise from North.
    • Pitch is expressed in degrees of rotation around the Y axis, from 0 to 360: 0 looking straight down, 90 looking ahead perpendicular to the surface, and 180 looking straight up.
    • Roll is expressed in degrees of rotation around the X axis, from 0 to 360, with 0 being horizontal to the surface.
    • Linear sizes are expressed in meters.

    Member Function Documentation

    [protected] MarkerSceneSymbol::MarkerSceneSymbol(QObject *parent = nullptr)

    Default constructor with an optional parent.

    [override virtual] MarkerSceneSymbol::~MarkerSceneSymbol()

    Destructor.

    Esri::ArcGISRuntime::SceneSymbolAnchorPosition MarkerSceneSymbol::anchorPosition() const

    Returns the anchor position of the symbol.

    See also setAnchorPosition().

    QColor MarkerSceneSymbol::color() const

    Returns the color of the symbol.

    See also setColor().

    double MarkerSceneSymbol::depth() const

    Returns the depth of the symbol in meters.

    See also setDepth().

    float MarkerSceneSymbol::heading() const

    Returns the heading of the symbol in degrees.

    See also setHeading().

    double MarkerSceneSymbol::height() const

    Returns the height of the symbol in meters.

    See also setHeight().

    float MarkerSceneSymbol::pitch() const

    Returns the pitch of the symbol in degrees.

    See also setPitch().

    float MarkerSceneSymbol::roll() const

    Returns the roll of the symbol in degrees.

    See also setRoll().

    void MarkerSceneSymbol::setAnchorPosition(Esri::ArcGISRuntime::SceneSymbolAnchorPosition anchorPosition)

    Sets the anchorPosition of the symbol.

    See also anchorPosition().

    void MarkerSceneSymbol::setColor(const QColor &color)

    Sets the color of the symbol.

    See also color().

    void MarkerSceneSymbol::setDepth(double depth)

    Sets the depth of the symbol to depth meters.

    See also depth().

    void MarkerSceneSymbol::setHeading(float heading)

    Sets the heading of the symbol to heading degrees.

    See also heading().

    void MarkerSceneSymbol::setHeight(double height)

    Sets the height of the symbol to height meters.

    See also height().

    void MarkerSceneSymbol::setPitch(float pitch)

    Sets the pitch of the symbol to pitch degrees.

    See also pitch().

    void MarkerSceneSymbol::setRoll(float roll)

    Sets the roll of the symbol to roll degrees.

    See also roll().

    void MarkerSceneSymbol::setWidth(double width)

    Sets the width of the symbol to width meters.

    See also width().

    double MarkerSceneSymbol::width() const

    Returns the width of the symbol in meters.

    See also setWidth().

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.