pfcrender
1.0.1
|
The BboxParse class Iterates through the model string, calculating a bounding box from min- and max coordinates. More...
#include <BboxParse.h>
Public Member Functions | |
BboxParse (const QString &mdl) | |
BboxParse (const QString &mdl) | |
Static Public Member Functions | |
static QRectF | getBbox (const QString &mdl) |
static QRectF | getBbox (const QString &mdl) |
Public Attributes | |
QPointF | min |
QPointF | max |
Private Member Functions | |
void | parsing_preamble () |
LSYS_STRING_PARSE_FUNC_DECL void | add_segment () |
void | next_color () |
void | prev_color () |
void | incAngle () |
void | decAngle () |
void | stackPush () |
void | stackPop () |
void | parsing_preamble () |
LSYS_STRING_PARSE_FUNC_DECL void | add_segment () |
void | next_color () |
void | prev_color () |
void | incAngle () |
void | decAngle () |
void | stackPush () |
void | stackPop () |
Private Attributes | |
double | seglen |
double | angle |
double | initial_angle |
util::PolarVector2D | pos |
QStack< util::PolarVector2D > | stack {} |
int | cur_color_idx = 0 |
QPointF | coord_last_drawn |
QPointF | coord_final |
The BboxParse class Iterates through the model string, calculating a bounding box from min- and max coordinates.
|
explicit |
|
explicit |
|
inlineprivate |
References max, min, util::PolarVector2D::next(), pos, and util::PolarVector2D::start.
|
private |
|
private |
|
inlineprivate |
References util::PolarVector2D::addToAngle(), angle, and pos.
|
static |
|
static |
Referenced by Plugins::Export::PDF::PDF::printPDF().
|
inlineprivate |
References util::PolarVector2D::addToAngle(), angle, and pos.
|
private |
|
inlineprivate |
|
private |
|
private |
References angle.
|
private |
|
private |
|
inlineprivate |
|
private |
|
private |
|
private |
Referenced by decAngle(), incAngle(), and parsing_preamble().
|
private |
|
private |
|
private |
|
private |
QPointF Plugins::Export::BboxParse::max |
Referenced by add_segment(), and getBbox().
QPointF Plugins::Export::BboxParse::min |
Referenced by add_segment(), and getBbox().
|
private |
Referenced by add_segment(), decAngle(), incAngle(), stackPop(), and stackPush().
|
private |
|
private |
Referenced by stackPop(), and stackPush().