16 #ifndef QGSPOINT3DSYMBOL_H
17 #define QGSPOINT3DSYMBOL_H
46 QString
type()
const override {
return "point"; }
77 static Shape shapeFromString(
const QString &shape );
79 static QString shapeToString(
Shape shape );
82 Shape shape()
const {
return mShape; }
84 void setShape(
Shape shape ) { mShape = shape; }
87 QVariantMap shapeProperties()
const {
return mShapeProperties; }
89 void setShapeProperties(
const QVariantMap &properties ) { mShapeProperties = properties; }
92 QgsMarkerSymbol *billboardSymbol()
const {
return mBillboardSymbol.get(); }
94 void setBillboardSymbol(
QgsMarkerSymbol *symbol ) { mBillboardSymbol.reset( symbol ); }
97 QMatrix4x4 transform()
const {
return mTransform; }
99 void setTransform(
const QMatrix4x4 &transform ) { mTransform = transform; }
102 QMatrix4x4 billboardTransform()
const;
109 Shape mShape = Cylinder;
110 QVariantMap mShapeProperties;
111 QMatrix4x4 mTransform;
112 std::unique_ptr<QgsMarkerSymbol> mBillboardSymbol;
121 #endif // QGSPOINT3DSYMBOL_H