Class that represents one digitized point. The screen-to-graph coordinate transformation is always external to this class.
More...
|
| | Point () |
| | Default constructor so this class can be used inside a container.
|
| |
| | Point (const QString &curveName, const QPointF &posScreen) |
| | Constructor for Checker temporary points, before real point gets added.
|
| |
| | Point (const QString &curveName, const QPointF &posScreen, const QPointF &posGraph, bool isXOnly) |
| | Constructor for temporary point used to pre-check transformation points, before real point gets added.
|
| |
| | Point (const QString &curveName, const QString &identifier, const QPointF &posScreen, const QPointF &posGraph, double ordinal, bool isXOnly) |
| | Constructor for axis points with identifier (after redo). The position, in screen coordinates, applies to the center of the Point.
|
| |
| | Point (const QString &curveName, const QPointF &posScreen, const QPointF &posGraph, double ordinal, bool isXOnly) |
| | Constructor for axis points without identifier (after redo). The position, in screen coordinates, applies to the center of the Point.
|
| |
| | Point (const QString &curveName, const QString &identifier, const QPointF &posScreen, double ordinal) |
| | Constructor for graph points with identifier (after redo)
|
| |
| | Point (const QString &curveName, const QPointF &posScreen, double ordinal) |
| | Constructor for graph points without identifier (after redo)
|
| |
| | Point (QXmlStreamReader &reader) |
| | Constructor when loading from serialized xml.
|
| |
| Point & | operator= (const Point &point) |
| | Assignment constructor.
|
| |
| | Point (const Point &point) |
| | Copy constructor.
|
| |
| bool | hasOrdinal () const |
| | True if ordinal is defined.
|
| |
| bool | hasPosGraph () const |
| | True if graph position is defined.
|
| |
| QString | identifier () const |
| | Unique identifier for a specific Point.
|
| |
| bool | isXOnly () const |
| | In DOCUMENT_AXES_POINTS_REQUIRED_4 modes, this is true/false if y/x coordinate is undefined.
|
| |
| bool | isAxisPoint () const |
| | True if point is an axis point. This is used only for sanity checks.
|
| |
| double | ordinal (ApplyHasCheck applyHasCheck=KEEP_HAS_CHECK) const |
| | Get method for ordinal. Skip check if copying one instance to another.
|
| |
| QPointF | posGraph (ApplyHasCheck applyHasCheck=KEEP_HAS_CHECK) const |
| | Accessor for graph position. Skip check if copying one instance to another.
|
| |
| QPointF | posScreen () const |
| | Accessor for screen position.
|
| |
| void | printStream (QString indentation, QTextStream &str) const |
| | Debugging method that supports print method of this class and printStream method of some other class(es)
|
| |
| void | saveXml (QXmlStreamWriter &writer) const |
| | Serialize to stream.
|
| |
| void | setCurveName (const QString &curveName) |
| | Update the point identifer to match the specified curve name.
|
| |
| void | setOrdinal (double ordinal) |
| | Set the ordinal used for ordering Points.
|
| |
| void | setPosGraph (const QPointF &posGraph) |
| | Set method for position in graph coordinates.
|
| |
| void | setPosScreen (const QPointF &posScreen) |
| | Set method for position in screen coordinates.
|
| |
Class that represents one digitized point. The screen-to-graph coordinate transformation is always external to this class.
Definition at line 23 of file Point.h.