16 #ifndef QGSMESH3DSYMBOL_H
17 #define QGSMESH3DSYMBOL_H
27 #include <Qt3DRender/QCullFace>
77 QString
type()
const override {
return "mesh"; }
88 bool isEnabled() const;
95 void setEnabled(
bool enabled );
98 Qgs3DTypes::AltitudeClamping altitudeClamping()
const {
return mAltClamping; }
127 bool smoothedTriangles()
const;
134 void setSmoothedTriangles(
bool smoothTriangles );
141 bool wireframeEnabled()
const;
148 void setWireframeEnabled(
bool wireframeEnabled );
155 double wireframeLineWidth()
const;
162 void setWireframeLineWidth(
double wireframeLineWidth );
169 QColor wireframeLineColor()
const;
176 void setWireframeLineColor(
const QColor &wireframeLineColor );
183 double verticalScale()
const;
190 void setVerticalScale(
double verticalScale );
211 QColor singleMeshColor()
const;
218 void setSingleMeshColor(
const QColor &singleMeshColor );
239 int verticalDatasetGroupIndex()
const;
246 void setVerticalDatasetGroupIndex(
int verticalDatasetGroupIndex );
253 bool isVerticalMagnitudeRelative()
const;
260 void setIsVerticalMagnitudeRelative(
bool isVerticalMagnitudeRelative );
267 bool arrowsEnabled()
const;
274 void setArrowsEnabled(
bool arrowsEnabled );
281 double arrowsSpacing()
const;
288 void setArrowsSpacing(
double arrowsSpacing );
297 int maximumTextureSize()
const;
306 void setMaximumTextureSize(
int maximumTextureSize );
313 bool arrowsFixedSize()
const;
320 void setArrowsFixedSize(
bool arrowsFixedSize );
326 float mHeight = 0.0f;
328 bool mAddBackFaces =
false;
330 bool mEnabled =
true;
333 bool mSmoothedTriangles =
false;
334 bool mWireframeEnabled =
false;
335 double mWireframeLineWidth = 1.0;
336 QColor mWireframeLineColor = Qt::darkGray;
339 double mVerticalScale = 1.0;
340 int mVerticalDatasetGroupIndex = -1;
341 bool mIsVerticalMagnitudeRelative =
false;
346 QColor mSingleColor = Qt::darkGreen;
349 bool mArrowsEnabled =
false;
350 double mArrowsSpacing = 25;
351 bool mArrowsFixedSize =
false;
352 QColor mArrowsColor = Qt::yellow;
353 int mMaximumTextureSize = 1024;
356 #endif // QGSMESH3DSYMBOL_H