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

Public Methods | |
| Txq2dPointArray () | |
| This constructor is default. More... | |
| Txq2dPointArray (const std::vector< TxqDoublePoint > &p) | |
| Construct with points in the real-world coordinate system. More... | |
| Txq2dPointArray (const std::vector< double > &x, const std::vector< double > &y) | |
| Construct with points in the real-world coordinate system. More... | |
| Txq2dPointArray (const std::vector< int > &x, const std::vector< int > &y) | |
| Construct with points in the real-world coordinate system. More... | |
| Txq2dPointArray (const std::vector< QPoint > &p) | |
| Construct with points in the real-world coordinate system. More... | |
| virtual | ~Txq2dPointArray () |
| 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) |
| Overrided to make sure the point is translated with moves to new locations. More... | |
| void | paint (QPainter *g) |
| Paints the point. More... | |
Protected Methods | |
| void | initialize () |
| Initialize the class variables. More... | |
| void | dump (QTextStream *ts) |
| dump the obect contents to the text stream ts. More... | |
Private Attributes | |
| std::vector<QColor> | colors |
| the color vector. More... | |
| std::vector<int> | colors_index |
| the color index vector. More... | |
This class is optimized for speed.
Copyright 2000 by Tech-X Corporation
Definition at line 36 of file Txq2dPointArray.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 74 of file Txq2dPointArray.h. |
|
|
add a point to the point vector.
|
|
|
add a point to the point vector.
|
|
|
add a point to the point vector.
|
|
|
dump the obect 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 point.
Reimplemented from Txq2dPoint. |
|
|
Overrided 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.
|
|
|
the color vector.
Definition at line 163 of file Txq2dPointArray.h. |
|
|
the color index vector.
Definition at line 168 of file Txq2dPointArray.h. |
Copyright Tech-X Corporation, all rights reserved.