#780 A major step towards a flexible assignment of curve appearance based on the properties of the curve data

This commit is contained in:
Jacob Støren
2016-08-08 15:14:34 +02:00
parent 5088ae90d9
commit 10d5da6ef5
6 changed files with 386 additions and 53 deletions

View File

@@ -55,6 +55,7 @@ public:
SYMBOL_CROSS,
SYMBOL_XCROSS
};
public:
RimPlotCurve();
virtual ~RimPlotCurve();
@@ -66,7 +67,11 @@ public:
QwtPlotCurve* qwtPlotCurve() const;
void setColor(const cvf::Color3f& color);
cvf::Color3f color() const { return m_curveColor; }
void setLineStyle(LineStyleEnum lineStyle);
void setSymbol(PointSymbolEnum symbolStyle);
void setLineThickness(int thickness);
bool isCurveVisible() const;
void updateCurveName();
@@ -103,7 +108,7 @@ protected:
caf::PdmField<bool> m_isUsingAutoName;
caf::PdmField<cvf::Color3f> m_curveColor;
caf::PdmField<float> m_curveThickness;
caf::PdmField<int> m_curveThickness;
caf::PdmField<float> m_symbolSkipPixelDistance;