A base class for 3D marker scene symbols used to display graphics and features (collectively referred to as geoelements) that have points or multipoint geometry. More...
Header: | #include <MarkerSceneSymbol.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Inherits: | Esri::ArcGISRuntime::Symbol |
Inherited By: | Esri::ArcGISRuntime::ModelSceneSymbol and Esri::ArcGISRuntime::SimpleMarkerSceneSymbol |
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 scene. Different symbols are used with different geometry types. Marker scene symbols are used to display 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 (SimpleMarkerSceneSymbol) or 3D models (ModelSceneSymbol).
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
[explicit 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 simple marker scene symbol.
The anchor position of the simple marker scene symbol SceneSymbolAnchorPosition.
See also setAnchorPosition().
QColor MarkerSceneSymbol::color() const
Returns the symbol color of the simple marker scene symbol.
See also setColor().
double MarkerSceneSymbol::depth() const
Returns the depth (in meters) of the simple marker scene symbol.
See also setDepth().
float MarkerSceneSymbol::heading() const
Returns the heading (in degrees) of the scene marker symbol.
See also setHeading().
double MarkerSceneSymbol::height() const
Returns the height (in meters) of the simple marker scene symbol.
See also setHeight().
float MarkerSceneSymbol::pitch() const
Returns the pitch (in degrees) of the scene marker symbol.
See also setPitch().
float MarkerSceneSymbol::roll() const
Returns the roll (in degrees) of the scene marker symbol.
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 (in meters) of the simple marker scene symbol.
See also setWidth().