add Scatter3D graphicMeshSmooth
This commit is contained in:
@@ -44,6 +44,7 @@ class QAD_GRAPHIC3D_EXPORT Scatter3D: public QWidget {
|
||||
Q_PROPERTY(float graphicPointSize READ graphicPointSize WRITE setGraphicPointSize)
|
||||
Q_PROPERTY(Mesh graphicMesh READ graphicMesh WRITE setGraphicMesh)
|
||||
Q_PROPERTY(bool labelAutoRotation READ labelAutoRotation WRITE setLabelAutoRotation)
|
||||
Q_PROPERTY(bool graphicMeshSmooth READ graphicMeshSmooth WRITE setGraphicMeshSmooth)
|
||||
|
||||
public:
|
||||
explicit Scatter3D(QWidget * parent = nullptr);
|
||||
@@ -68,7 +69,9 @@ public slots:
|
||||
void setGraphicPointSize(float sz) { setGraphicPointSize(sz, curGraphic); }
|
||||
void setGraphicMesh(Mesh mesh, int index);
|
||||
void setGraphicMesh(Mesh mesh) { setGraphicMesh(mesh, curGraphic); }
|
||||
void addGraphic(const QColor & color = Qt::darkBlue, float pointSize = 1.f, Mesh mesh = Mesh::MeshSphere);
|
||||
void setGraphicMeshSmooth(bool smooth, int index);
|
||||
void setGraphicMeshSmooth(bool smooth) { setGraphicMeshSmooth(smooth, curGraphic); }
|
||||
void addGraphic(const QColor & color = Qt::darkBlue, float pointSize = 1.f, Mesh mesh = Mesh::MeshSphere, bool meshSmooth = true);
|
||||
void clear() { setGraphicsCount(0); }
|
||||
void setLabelAutoRotation(bool on);
|
||||
void setGraphicData(const QVector<QVector3D> & points, int index);
|
||||
|
||||
Reference in New Issue
Block a user