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

Public Slots | |
| void | remove2dWindow (int index) |
| Remove the entry from the Txq2dWindow lists associated with this index. More... | |
| void | remove3dWindow (int index) |
| Remove the entry from the Txq3dWindow lists associated with this index. More... | |
| void | stopModel () |
| slot to stop the model. More... | |
| void | startModel () |
| slot to start the model. More... | |
Signals | |
| void | close2dSignal (int windex) |
| public signal to set the close flag upon closing a 2d window. More... | |
| void | close3dSignal (int windex) |
| public signal to set the close flag upon closing a 3d window. More... | |
| void | stopModelSignal () |
| signal to stop the model. More... | |
| void | startModelSignal () |
| signal to start the model. More... | |
Public Methods | |
| TxqPlotTrol (const QString &fileName=QString::null, const bool readFlag=false, int numWindows=0) | |
| The TxqPlotTrol constructor will construct an object to control the two and three dimensional windows. More... | |
| virtual | ~TxqPlotTrol () |
| TxqPlotTrol destructor clears all the vectors. More... | |
| virtual void | writeConfig () |
| Write the config file. More... | |
| virtual void | begin () |
| Begin the construction and placement of all the windows. More... | |
| virtual void | setFileName (const QString &name) |
| Set the config filename filename. More... | |
| virtual void | setNumberWindows (int n) |
| Set the number of windows in the list. More... | |
| virtual void | add2dWindow (int i) |
| Add the entry to the Txq2dFrame lists. More... | |
| virtual void | add3dWindow (int i) |
| Add the entry to the Txq3dFrame lists. More... | |
| virtual void | closeAll () |
| Close all the windows. More... | |
| virtual void | closeWindow (int index) |
| Close the window at this index number. More... | |
| virtual void | move (int type, int index) |
| Move the window. More... | |
Public Attributes | |
| TXSTD::vector<Txq2dFrame *> | plot2dWindows |
| plot2dWindows contains the pointers to the created TxqP2dindow. More... | |
| TXSTD::vector<int> | plotType |
| plotType contains the 2d or 3d plot type information. More... | |
| TXSTD::vector<int> | openFlag |
| openFlag determines if the window is opened. More... | |
| TXSTD::vector<int> | plotIndex |
| plotIndex is the index number into plot?dWindows must be used in conjunction with plotType. More... | |
| TXSTD::map<int,int> | plot2dIndexMap |
| The plot2dIndexMap is a map of the index number with the plot2dIndexNumber such that plot2dIndexMap[plot2dIndexNumber] will equal the index number of the window in the plotIndex vector. More... | |
| TXSTD::map<int,int> | plot3dIndexMap |
| The plot3dIndexMap is a map of the index number with the plot3dIndexNumber such that plot3dIndexMap[plot3dIndexNumber] will equal the index number of the window in the plotIndex vector. More... | |
| TXSTD::vector<TXSTD::string> | plotLabel |
| plotLabel pointer is the diagnostic name of the plot. More... | |
| TXSTD::vector<QPoint> | plotPos |
| plotPos is the plot's position within the desktop. More... | |
| TXSTD::vector<int> | plotWidth |
| plotWidth is the list of window widths. More... | |
| TXSTD::vector<int> | plotHeight |
| plotHeight is the list of window heights. More... | |
Protected Methods | |
| virtual void | remove2dWindow (int i, int wi) |
| Remove the entry from the plot2dWindow lists. More... | |
| virtual void | remove3dWindow (int i, int wi) |
| Remove the entry from the plot3dWindow lists. More... | |
| virtual void | readConfig () |
| Read the config file. More... | |
| virtual void | appendData (int index, int flag, TXSTD::string label, int type) |
| Append the data to the lists. More... | |
| virtual int | getType (int index)=0 |
| Get the window type, 2 for 2d, 3 for 3d from auxillary data given an index number. More... | |
| virtual TXSTD::string | getLabel (int index)=0 |
| Get the window label for this index from auxillary data. More... | |
| virtual int | getOpenFlag (int index)=0 |
| Get the open flag for this index from auxillary data. More... | |
| virtual int | getModelState ()=0 |
| Get the model state from a model pointer that must be defined by derived class. More... | |
| virtual void | appendAuxData (int index) |
| Append auxillary data. More... | |
| virtual Txq2dFrame* | create2dWindow (int index, int pltIndex) |
| Create the 2d window. More... | |
| virtual Txq3dFrame* | create3dWindow (int index, int pltIndex) |
| Create the 3d window. More... | |
Protected Attributes | |
| int | numberOfWindows |
| The number of open windows. More... | |
| QString | inputFileName |
| The input filename. More... | |
Private Methods | |
| int | getOption (const TxAttributeSet &config, TXSTD::string optionName) |
| Get the option from the config set if the option is a string rather than an integer. More... | |
| void | appendNewData (int index, int flag, TXSTD::string label, int type) |
| Append new data to the data vectors. More... | |
| void | updateGeometry () |
| Update the geometry vectors. More... | |
Private Attributes | |
| int | indexNumber |
| The index number into theWindowArray list. More... | |
| int | plot2dIndexNumber |
| The index number into the plot2dWindows list. More... | |
| int | plot3dIndexNumber |
| The index number into the plot3dWindows list. More... | |
| int | numberOfOpenPlotWindows |
| The number of open plot windows. More... | |
| int | sx |
| The starting position for the windows. More... | |
| int | sy |
| The starting position for the windows. More... | |
| QString | configFileName |
| The config file name. More... | |
| TxHierAttribSet* | configSet |
| The TxHierAttribSet containing the config file information. More... | |
| bool | haveConfig |
| The bool to determine if the config set is valid. More... | |
Copyright 2002 by Tech-X Corporation
Definition at line 55 of file TxqPlotTrol.h.
|
|
The TxqPlotTrol constructor will construct an object to control the two and three dimensional windows.
|
|
|
TxqPlotTrol destructor clears all the vectors.
|
|
|
Add the entry to the Txq2dFrame lists.
|
|
|
Add the entry to the Txq3dFrame lists.
|
|
|
Append auxillary data.
Definition at line 308 of file TxqPlotTrol.h. |
|
|
Append the data to the lists.
|
|
|
Append new data to the data vectors. This will be invoked if a config set is not valid or not found. The data will be set to default values. |
|
|
Begin the construction and placement of all the windows.
|
|
|
public signal to set the close flag upon closing a 2d window.
|
|
|
public signal to set the close flag upon closing a 3d window.
|
|
|
Close all the windows.
|
|
|
Close the window at this index number.
|
|
|
Create the 2d window.
|
|
|
Create the 3d window.
|
|
|
Get the window label for this index from auxillary data.
|
|
|
Get the model state from a model pointer that must be defined by derived class. This is used to start/stop a model/application. |
|
|
Get the open flag for this index from auxillary data.
|
|
|
Get the option from the config set if the option is a string rather than an integer. This method is needed because some compilers when reading the TxAttributeSet will not set the option parameters as strings.
|
|
|
Get the window type, 2 for 2d, 3 for 3d from auxillary data given an index number. This method must be defined by derived classes.
|
|
|
Move the window.
|
|
|
Read the config file.
|
|
|
Remove the entry from the plot2dWindow lists.
|
|
|
Remove the entry from the Txq2dWindow lists associated with this index.
|
|
|
Remove the entry from the plot3dWindow lists.
|
|
|
Remove the entry from the Txq3dWindow lists associated with this index.
|
|
|
Set the config filename filename.
|
|
|
Set the number of windows in the list.
Definition at line 102 of file TxqPlotTrol.h. |
|
|
slot to start the model.
|
|
|
signal to start the model.
|
|
|
slot to stop the model.
|
|
|
signal to stop the model.
|
|
|
Update the geometry vectors.
|
|
|
Write the config file.
|
|
|
The config file name.
Definition at line 386 of file TxqPlotTrol.h. |
|
|
The TxHierAttribSet containing the config file information.
Definition at line 391 of file TxqPlotTrol.h. |
|
|
The bool to determine if the config set is valid.
Definition at line 396 of file TxqPlotTrol.h. |
|
|
The index number into theWindowArray list.
Definition at line 361 of file TxqPlotTrol.h. |
|
|
The input filename.
Definition at line 332 of file TxqPlotTrol.h. |
|
|
The number of open plot windows.
Definition at line 376 of file TxqPlotTrol.h. |
|
|
The number of open windows.
Definition at line 327 of file TxqPlotTrol.h. |
|
|
openFlag determines if the window is opened.
Definition at line 156 of file TxqPlotTrol.h. |
|
|
The plot2dIndexMap is a map of the index number with the plot2dIndexNumber such that plot2dIndexMap[plot2dIndexNumber] will equal the index number of the window in the plotIndex vector.
Definition at line 169 of file TxqPlotTrol.h. |
|
|
The index number into the plot2dWindows list.
Definition at line 366 of file TxqPlotTrol.h. |
|
|
plot2dWindows contains the pointers to the created TxqP2dindow.
Definition at line 137 of file TxqPlotTrol.h. |
|
|
The plot3dIndexMap is a map of the index number with the plot3dIndexNumber such that plot3dIndexMap[plot3dIndexNumber] will equal the index number of the window in the plotIndex vector.
Definition at line 176 of file TxqPlotTrol.h. |
|
|
The index number into the plot3dWindows list.
Definition at line 371 of file TxqPlotTrol.h. |
|
|
plotHeight is the list of window heights.
Definition at line 196 of file TxqPlotTrol.h. |
|
|
plotIndex is the index number into plot?dWindows must be used in conjunction with plotType.
Definition at line 162 of file TxqPlotTrol.h. |
|
|
plotLabel pointer is the diagnostic name of the plot.
Definition at line 181 of file TxqPlotTrol.h. |
|
|
plotPos is the plot's position within the desktop.
Definition at line 186 of file TxqPlotTrol.h. |
|
|
plotType contains the 2d or 3d plot type information.
Definition at line 151 of file TxqPlotTrol.h. |
|
|
plotWidth is the list of window widths.
Definition at line 191 of file TxqPlotTrol.h. |
|
|
The starting position for the windows.
Definition at line 381 of file TxqPlotTrol.h. |
|
|
The starting position for the windows.
Definition at line 381 of file TxqPlotTrol.h. |
Copyright Tech-X Corporation, all rights reserved.