#include <Txq2dPoints.h>
Inheritance diagram for Txq2dPoints::

Public Methods | |
| Txq2dPoints () | |
| This constructor is default. More... | |
| Txq2dPoints (const std::vector< TxqDoublePoint > &p) | |
| Construct with points in the real-world coordinate system. More... | |
| Txq2dPoints (const std::vector< double > &x, const std::vector< double > &y) | |
| Construct with points in the real-world coordinate system. More... | |
| Txq2dPoints (const std::vector< int > &x, const std::vector< int > &y) | |
| Construct with points in the real-world coordinate system. More... | |
| Txq2dPoints (const std::vector< QPoint > &p) | |
| Construct with points in the real-world coordinate system. More... | |
| virtual | ~Txq2dPoints () |
| The destructor. More... | |
| void | addPoint (TxqDoublePoint point) |
| add a point to the point vector. More... | |
| void | addPoint (int x, int y) |
| add a point to the point vector. More... | |
| void | addPoint (double x, double y) |
| add a point to the point vector. More... | |
| void | erasePoints () |
| erase the vector of points. More... | |
| void | setPoints (const std::vector< TxqDoublePoint > &p) |
| Set the points in the real-world coordinate system. More... | |
| void | setPoints (const std::vector< double > &x, const std::vector< double > &y) |
| Set the point in the real-world coordinate system. More... | |
| void | setPoints (const std::vector< int > &x, const std::vector< int > &y) |
| Set the point in the real-world coordinate system. More... | |
| void | setPoints (const std::vector< QPoint > &p) |
| Set the point in the real-world coordinate system. More... | |
| std::vector<TxqDoublePoint> | getPoints () |
| Returns the point in the real-world coordinate system. More... | |
| void | setLocation (int x, int y) |
| Overloaded to make sure the point is translated with moves to new locations. More... | |
| void | setColor (QColor c, bool add) |
| Set the color of all the points. More... | |
| void | setColor (QColor c) |
| Overloaded to set the color of all the points. More... | |
| void | setPrintColor (QColor c) |
| Overloaded to set the print color of all the points. More... | |
| void | paint (QPainter *g) |
| Paints the points. More... | |
Protected Methods | |
| virtual void | initialize () |
| Initialize the class variables. More... | |
| void | dump (QTextStream *ts) |
| Dump the object contents to the text stream ts. More... | |
Private Attributes | |
| std::vector<QColor> | colors |
| Tthe color vector. More... | |
Copyright 2000 by Tech-X Corporation
Definition at line 34 of file Txq2dPoints.h.
|
|
This constructor is default.
|
|
|
Construct with points in the real-world coordinate system.
|
|
|
Construct with points in the real-world coordinate system.
|
|
|
Construct with points in the real-world coordinate system.
|
|
|
Construct with points in the real-world coordinate system.
|
|
|
The destructor.
Definition at line 72 of file Txq2dPoints.h. |
|
|
add a point to the point vector.
|
|
|
add a point to the point vector.
|
|
|
add a point to the point vector.
|
|
|
Dump the object contents to the text stream ts.
Reimplemented from Txq2dPoint. |
|
|
erase the vector of points.
|
|
|
Returns the point in the real-world coordinate system.
|
|
|
Initialize the class variables.
Reimplemented from Txq2dPoint. |
|
|
Paints the points.
Reimplemented from Txq2dPoint. |
|
|
Overloaded to set the color of all the points.
Reimplemented from TxqDrawable. |
|
|
Set the color of all the points.
|
|
|
Overloaded to make sure the point is translated with moves to new locations.
Reimplemented from Txq2dPoint. |
|
|
Set the point in the real-world coordinate system.
|
|
|
Set the point in the real-world coordinate system.
|
|
|
Set the point in the real-world coordinate system.
|
|
|
Set the points in the real-world coordinate system.
|
|
|
Overloaded to set the print color of all the points.
Reimplemented from TxqDrawable. |
|
|
Tthe color vector.
Definition at line 185 of file Txq2dPoints.h. |
Copyright Tech-X Corporation, all rights reserved.