45 : m_d(new
Private(useSavedSmoothing))
57 return m_d->smoothingType;
64 m_d->writeCompressor.start();
69 return m_d->smoothnessDistanceMin;
76 m_d->writeCompressor.start();
81 return m_d->smoothnessDistanceMax;
87 m_d->writeCompressor.start();
92 return m_d->smoothnessDistanceKeepAspectRatio;
97 m_d->smoothnessDistanceKeepAspectRatio =
value;
98 m_d->writeCompressor.start();
103 return m_d->tailAggressiveness;
109 m_d->writeCompressor.start();
114 return m_d->smoothPressure;
120 m_d->writeCompressor.start();
135 m_d->writeCompressor.start();
140 return m_d->delayDistance;
146 m_d->writeCompressor.start();
151 return m_d->useDelayDistance;
157 m_d->writeCompressor.start();
163 m_d->writeCompressor.start();
168 return m_d->finishStabilizedCurve;
174 m_d->writeCompressor.start();
179 return m_d->stabilizeSensors;
float value(const T *src, size_t ch)
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
qreal lineSmoothingDistanceMin(bool defaultValue=false) const
qreal lineSmoothingTailAggressiveness(bool defaultValue=false) const
void setLineSmoothingTailAggressiveness(qreal value)
int lineSmoothingType(bool defaultValue=false) const
void setLineSmoothingUseDelayDistance(bool value)
void setLineSmoothingDistanceKeepAspectRatio(bool value)
bool lineSmoothingScalableDistance(bool defaultValue=false) const
bool lineSmoothingFinishStabilizedCurve(bool defaultValue=false) const
void setLineSmoothingFinishStabilizedCurve(bool value)
void setLineSmoothingDistanceMin(qreal value)
void setLineSmoothingDelayDistance(qreal value)
bool lineSmoothingDistanceKeepAspectRatio(bool defaultValue=false) const
void setLineSmoothingSmoothPressure(bool value)
void setLineSmoothingType(int value)
void setLineSmoothingStabilizeSensors(bool value)
qreal lineSmoothingDelayDistance(bool defaultValue=false) const
bool lineSmoothingSmoothPressure(bool defaultValue=false) const
qreal lineSmoothingDistanceMax(bool defaultValue=false) const
bool lineSmoothingUseDelayDistance(bool defaultValue=false) const
void setLineSmoothingScalableDistance(bool value)
void setLineSmoothingDistanceMax(qreal value)
bool lineSmoothingStabilizeSensors(bool defaultValue=false) const
void setSmoothPressure(bool value)
void sigSmoothingTypeChanged()
void setSmoothnessDistanceKeepAspectRatio(bool value)
void setSmoothingType(SmoothingType value)
bool stabilizeSensors() const
qreal smoothnessDistanceMin() const
const QScopedPointer< Private > m_d
void setTailAggressiveness(qreal value)
void setUseDelayDistance(bool value)
void setDelayDistance(qreal value)
KisSmoothingOptions(bool useSavedSmoothing=true)
void setFinishStabilizedCurve(bool value)
~KisSmoothingOptions() override
qreal smoothnessDistanceMax() const
bool useScalableDistance() const
void setStabilizeSensors(bool value)
qreal tailAggressiveness() const
void setSmoothnessDistanceMax(qreal value)
SmoothingType smoothingType() const
bool smoothnessDistanceKeepAspectRatio() const
void setUseScalableDistance(bool value)
void setSmoothnessDistanceMin(qreal value)
qreal delayDistance() const
bool finishStabilizedCurve() const
bool useDelayDistance() const
bool smoothPressure() const
#define KIS_SAFE_ASSERT_RECOVER_RETURN(cond)
bool smoothnessDistanceKeepAspectRatio
qreal smoothnessDistanceMax
qreal smoothnessDistanceMin
KisSignalCompressor writeCompressor
bool finishStabilizedCurve
Private(bool useSavedSmoothing)
SmoothingType smoothingType