This Mix-In class provides setter/getter methods, storage and other facilities for a line-graph compression algorithm.
More...
#include <jkqtpgraphsbasestylingmixins.h>
This Mix-In class provides setter/getter methods, storage and other facilities for a line-graph compression algorithm.
supported properties:
- activate compression (improves plotting speed, but decreases detail level)
- level of retained details
◆ JKQTPGraphLinesCompressionMixin()
JKQTPGraphLinesCompressionMixin::JKQTPGraphLinesCompressionMixin |
( |
| ) |
|
◆ ~JKQTPGraphLinesCompressionMixin()
virtual JKQTPGraphLinesCompressionMixin::~JKQTPGraphLinesCompressionMixin |
( |
| ) |
|
|
virtual |
◆ getNonvisibleLineCompressionAgressiveness()
double JKQTPGraphLinesCompressionMixin::getNonvisibleLineCompressionAgressiveness |
( |
| ) |
const |
◆ getUseNonvisibleLineCompression()
bool JKQTPGraphLinesCompressionMixin::getUseNonvisibleLineCompression |
( |
| ) |
const |
◆ setNonvisibleLineCompressionAgressiveness()
void JKQTPGraphLinesCompressionMixin::setNonvisibleLineCompressionAgressiveness |
( |
double |
Agressiveness | ) |
|
◆ setUseNonvisibleLineCompression()
void JKQTPGraphLinesCompressionMixin::setUseNonvisibleLineCompression |
( |
bool |
_useNonvisibleLineCompression | ) |
|
◆ m_nonvisibleLineCompressionAgressiveness
double JKQTPGraphLinesCompressionMixin::m_nonvisibleLineCompressionAgressiveness |
|
private |
this sets the agressiveness of the option useNonvisibleLineCompression
Basically the compressed groups will have a size of nonvisibleLineCompressionAgressiveness*pen.linewidth
The default setting is 1.0
, larger settings will lead to better compression (and faster plotting), but less detailed plots, whereas smaller settings will increase the detail-level, but also increase plotting time.
- Note
- This option is designed to not alter the plot representation significantly, but of course it may ...
- See also
- JKQTPSimplifyPolyLines() setUseNonvisibleLineCompression(), getUseNonvisibleLineCompression()
◆ m_useNonvisibleLineCompression
bool JKQTPGraphLinesCompressionMixin::m_useNonvisibleLineCompression |
|
private |
◆ nonvisibleLineCompressionAgressiveness
double JKQTPGraphLinesCompressionMixin::nonvisibleLineCompressionAgressiveness |
|
readwrite |
◆ useNonvisibleLineCompression
bool JKQTPGraphLinesCompressionMixin::useNonvisibleLineCompression |
|
readwrite |
The documentation for this class was generated from the following file: