107 mColor = vectorColor;
117 mFilterMin = vectorFilterMin;
127 mFilterMax = vectorFilterMax;
132 return mShaftLengthMethod;
137 mShaftLengthMethod = shaftLengthMethod;
142 return mMinShaftLength;
147 mMinShaftLength = minShaftLength;
152 return mMaxShaftLength;
157 mMaxShaftLength = maxShaftLength;
167 mScaleFactor = scaleFactor;
172 return mFixedShaftLength;
177 mFixedShaftLength = fixedShaftLength;
182 return mArrowHeadWidthRatio;
187 mArrowHeadWidthRatio = vectorHeadWidthRatio;
192 return mArrowHeadLengthRatio;
197 mArrowHeadLengthRatio = vectorHeadLengthRatio;
void setFilterMax(double filterMax)
Sets filter value for vector magnitudes.
void setLineWidth(double lineWidth)
Sets line width used for rendering (in millimeters)
void setMaxShaftLength(double maxShaftLength)
Sets maximum shaft length (in millimeters)
double minShaftLength() const
Returns mininimum shaft length (in millimeters)
double maxValue() const
Returns max scalar value that represents maxColor()
void setArrowHeadWidthRatio(double arrowHeadWidthRatio)
Sets ratio of the head width of the arrow (range 0-1)
double fixedShaftLength() const
Returns fixed arrow length (in millimeters)
QColor minColor() const
Returns color representing minimum scalar value in the dataset.
void setFilterMin(double filterMin)
Sets filter value for vector magnitudes.
bool isEnabled() const
Returns whether mesh structure rendering is enabled.
double arrowHeadLengthRatio() const
Returns ratio of the head length of the arrow (range 0-1)
QgsMeshRendererVectorSettings::ArrowScalingMethod shaftLengthMethod() const
Returns method used for drawing arrows.
void setMinShaftLength(double minShaftLength)
Sets mininimum shaft length (in millimeters)
double filterMin() const
Returns filter value for vector magnitudes.
double lineWidth() const
Returns line width used for rendering (in millimeters)
QColor maxColor() const
Returns color representing maximum scalar value in the dataset.
void setMinValue(double minValue)
Sets min scalar value that represents minColor()
void setColor(const QColor &color)
Sets color used for drawing arrows.
QColor color() const
Returns color used for drawing arrows.
double minValue() const
Returns min scalar value that represents minColor()
void setShaftLengthMethod(ArrowScalingMethod shaftLengthMethod)
Sets method used for drawing arrows.
void setMaxColor(const QColor &maxColor)
Sets color representing maximum scalar value in the dataset.
double filterMax() const
Returns filter value for vector magnitudes.
void setArrowHeadLengthRatio(double arrowHeadLengthRatio)
Sets ratio of the head length of the arrow (range 0-1)
double arrowHeadWidthRatio() const
Returns ratio of the head width of the arrow (range 0-1)
void setEnabled(bool enabled)
Sets whether mesh structure rendering is enabled.
void setLineWidth(double lineWidth)
Sets line width of the arrow in pixels (in millimeters)
double maxShaftLength() const
Returns maximum shaft length (in millimeters)
void setScaleFactor(double scaleFactor)
Sets scale factor.
void setFixedShaftLength(double fixedShaftLength)
Sets fixed length (in millimeters)
QColor color() const
Returns color used for rendering.
void setMinColor(const QColor &minColor)
Sets color representing maximum scalar value in the dataset.
double scaleFactor() const
Returns scale factor.
double lineWidth() const
Returns line width of the arrow (in millimeters)
ArrowScalingMethod
Algorithm how to transform vector magnitude to length of arrow on the device in pixels.
void setColor(const QColor &color)
Sets color used for rendering of the mesh.
void setMaxValue(double maxValue)
Sets min scalar value that represents minColor()