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

Public Methods | |
| TxqColorMap () | |
| The constructor is a default constructor. More... | |
| void | setDefaultColorMap () |
| Create and set a default color map. More... | |
| void | setRandomColorMap () |
| Create and set a random color map. More... | |
| void | setRainbowColorMap () |
| Create and set a rainbow color map. More... | |
| void | setPhysicsColorMap () |
| Create and set a physics color map. More... | |
| void | setNameColorMap () |
| Create and set the Qt named color table. More... | |
| std::vector<QColor> | getColorMap () |
| Get the color map. More... | |
| int | getNumColors () |
| Get the number of colors. More... | |
| int | getCurrentColor () |
| Get the current color. More... | |
| void | bumpPenColor () |
| Switches pen to the next color in the color map. More... | |
| void | setPenColor (int i) |
| Switches pen to a new color based on the index. More... | |
| virtual | ~TxqColorMap () |
| The TxqColorMap destructor. More... | |
Private Attributes | |
| int | numColors |
| The number of colors. More... | |
| std::vector<QColor> | colors |
| The color list. More... | |
| int | currentColor |
| The index to the current color. More... | |
Copyright 2000 by Tech-X Corporation
Definition at line 36 of file TxqColorMap.h.
|
|
The constructor is a default constructor.
|
|
|
The TxqColorMap destructor.
|
|
|
Switches pen to the next color in the color map.
|
|
|
Get the color map.
Definition at line 75 of file TxqColorMap.h. |
|
|
Get the current color.
Definition at line 87 of file TxqColorMap.h. |
|
|
Get the number of colors.
Definition at line 81 of file TxqColorMap.h. |
|
|
Create and set a default color map.
|
|
|
Create and set the Qt named color table.
|
|
|
Switches pen to a new color based on the index.
|
|
|
Create and set a physics color map.
|
|
|
Create and set a rainbow color map.
|
|
|
Create and set a random color map.
|
|
|
The color list.
Definition at line 118 of file TxqColorMap.h. |
|
|
The index to the current color.
Definition at line 123 of file TxqColorMap.h. |
|
|
The number of colors.
Definition at line 113 of file TxqColorMap.h. |
Copyright Tech-X Corporation, all rights reserved.