Public Types |
| enum | GridRowAssignments {
SENSOR_NAME = 0,
LOWER_BAND_LIMIT,
UPPER_BAND_LIMIT,
NUM_BAND_INTERVALS,
HORIZONTAL_FOV,
VERTICAL_FOV,
HORIZONTAL_SAMPLES,
VERTICAL_SAMPLES,
SAMPLE_SCALE,
UPPER_TEMPERATURE_LIMIT,
LOWER_TEMPERATURE_LIMIT,
MAX_LIGHT_LEVEL,
USE_AUTOMATIC_RADIANCE,
USE_TRACKFILE,
TRACKFILE,
LATITUDE,
LONGITUDE,
ALTITUDE,
HEADING,
PITCH,
ROLL,
GRID_ROWS
} |
| enum | enumGridColumnAssignments { NAME = 0,
VALUE
} |
Public Member Functions |
| virtual void | OnGridCellChange (wxGridEvent &event) |
| | wxEVT_GRID_CELL_CHANGE event handler for ID_SENSORGRID
|
| virtual void | OnGridLeftDClick (wxGridEvent &event) |
| | wxEVT_GRID_CELL_LEFT_DCLICK event handler for ID_SENSORGRID
|
| void | OnOffsetSliderUpdated (wxCommandEvent &event) |
| | wxEVT_COMMAND_SLIDER_UPDATED event handler for ID_OFFSET_SLIDER
|
| virtual ciSensor | getData () |
| virtual void | setData (ciSensor sensorData) |
| virtual void | SetActive (bool isActive) |
| virtual bool | GetActive () |
| virtual bool | Create (wxWindow *parent, wxWindowID id=SYMBOL_SENSORPANEL_IDNAME, const wxPoint &pos=SYMBOL_SENSORPANEL_POSITION, const wxSize &size=SYMBOL_SENSORPANEL_SIZE, long style=SYMBOL_SENSORPANEL_STYLE) |
| virtual void | CreateControls () |
| virtual void | updateName (char *name) |
| void | runtimeSetup (bool readOnly=true) |
| virtual void | updateSensor () |
| void | setIndex (int index) |
| int | getIndex () |
| virtual void | updatePanel () |
| void | copyManipulatorCoord () |
| void | setRGBColor (int color) |
| int | getRGBColor () |
| | ciSensorPanel () |
| | construction
|
| virtual | ~ciSensorPanel () |
| | destruction
|
| | ciSensorPanel (wxWindow *parent, wxEvtHandler *appEvtHandler=NULL, wxWindowID id=SYMBOL_SENSORPANEL_IDNAME, const wxPoint &pos=SYMBOL_SENSORPANEL_POSITION, const wxSize &size=SYMBOL_SENSORPANEL_SIZE, long style=SYMBOL_SENSORPANEL_STYLE) |
| | ciPanel () |
| | Constructor.
|
| | ciPanel (wxWindow *parent, wxEvtHandler *appEvtHandler=NULL, wxWindowID id=SYMBOL_CIPANEL_IDNAME, const wxPoint &pos=SYMBOL_CIPANEL_POSITION, const wxSize &size=SYMBOL_CIPANEL_SIZE, long style=SYMBOL_CIPANEL_STYLE) |
| | Constructor.
|
| void | CreateControls (int gridColumns) |
| | Creates the controls and sizers.
|
| void | OnSize (wxSizeEvent &event) |
| | Creates the controls and sizers.
|
| void | OnGridColSize (wxGridSizeEvent &event) |
| | wxEVT_GRID_COL_SIZE event handler for ID_GRID
|
| wxBitmap | GetBitmapResource (const wxString &name) |
| | Retrieves bitmap resources.
|
| wxIcon | GetIconResource (const wxString &name) |
| | Retrieves icon resources.
|
| virtual void | RuntimeSetup (bool readOnly=true) |
Detailed Description
ciSensorPanel class declaration
Member Enumeration Documentation
- Description
- Enumerates the grid row name assignments.
- Enumerator:
| SENSOR_NAME |
|
| LOWER_BAND_LIMIT |
|
| UPPER_BAND_LIMIT |
|
| NUM_BAND_INTERVALS |
|
| HORIZONTAL_FOV |
|
| VERTICAL_FOV |
|
| HORIZONTAL_SAMPLES |
|
| VERTICAL_SAMPLES |
|
| SAMPLE_SCALE |
|
| UPPER_TEMPERATURE_LIMIT |
|
| LOWER_TEMPERATURE_LIMIT |
|
| MAX_LIGHT_LEVEL |
|
| USE_AUTOMATIC_RADIANCE |
|
| USE_TRACKFILE |
|
| TRACKFILE |
|
| LATITUDE |
|
| LONGITUDE |
|
| ALTITUDE |
|
| HEADING |
|
| PITCH |
|
| ROLL |
|
| GRID_ROWS |
|
Constructor & Destructor Documentation
| ciSensorPanel::ciSensorPanel |
( |
| ) |
|
| virtual ciSensorPanel::~ciSensorPanel |
( |
| ) |
|
|
virtual |
- Description:
- Constructor, creating a scenario panel.
- Parameters
-
| parent | - Parent window. Must not be NULL. |
| appEvtHandler | - pointer to the application's event handler. Must be defined if the panel is to talk to the app. |
| id | - Window identifier. A value of -1 indicates a default value. |
| pos | - Window position. |
| size | - Window size. If the default size (-1, -1) is specified then the window is sized appropriately. |
| style | - Window style. See wxTreeCtrl. |
Member Function Documentation
| virtual void ciSensorPanel::OnGridCellChange |
( |
wxGridEvent & |
event | ) |
|
|
virtual |
wxEVT_GRID_CELL_CHANGE event handler for ID_SENSORGRID
- Parameters
-
| virtual void ciSensorPanel::OnGridLeftDClick |
( |
wxGridEvent & |
event | ) |
|
|
virtual |
wxEVT_GRID_CELL_LEFT_DCLICK event handler for ID_SENSORGRID
- Parameters
-
| void ciSensorPanel::OnOffsetSliderUpdated |
( |
wxCommandEvent & |
event | ) |
|
wxEVT_COMMAND_SLIDER_UPDATED event handler for ID_OFFSET_SLIDER
- Parameters
-
Reimplemented from ciPanel.
| virtual ciSensor ciSensorPanel::getData |
( |
| ) |
|
|
inlinevirtual |
- Description:
- Gets the sensor data.
- Returns
- The ciSensor sensor data object in it's current state.
- See Also
- SetSensorData()
References m_sensorData.
- Description:
- Sets the sensor data.
- Parameters
-
| sensorData | - the new sensor data object. |
- See Also
- GetSensorData()
| virtual void ciSensorPanel::SetActive |
( |
bool |
isActive | ) |
|
|
virtual |
- Description:
- Sets the state (active or inactive) for the sensor object.
- Parameters
-
| isActive | - new state (active or inactive) for the sensor. |
- Returns
- void.
| virtual bool ciSensorPanel::GetActive |
( |
| ) |
|
|
virtual |
- Description:
- Gets the state (active or inactive) for the sensor object.
- Returns
- The current state (active or inactive) of the sensor object.
- Description:
- Overridden wxWidgets method. Creats a wxWidgets window.
- Parameters
-
| parent | - Parent window. Must not be NULL. |
| id | - Window identifier. A value of -1 indicates a default value. |
| pos | - Window position. |
| size | - Window size. If the default size (-1, -1) is specified then the window is sized appropriately. |
| style | - Window style. See wxTreeCtrl. |
- Returns
- true if successful.
Reimplemented from ciPanel.
| virtual void ciSensorPanel::CreateControls |
( |
| ) |
|
|
virtual |
- Description:
- Overridden wxWidgets method. Creates the grid control and sets up the initial grid values.
- Returns
- void.
| virtual void ciSensorPanel::updateName |
( |
char * |
name | ) |
|
|
virtual |
- Description:
- Forces the parent window to update the name provided to the tree control.
- Parameters
-
- Returns
- void.
Reimplemented from ciPanel.
| void ciSensorPanel::runtimeSetup |
( |
bool |
readOnly = true | ) |
|
- Description:
- Prepares the grid panel for runtime operation by making select cells in the "Value" column "read only", thus preventing accidental modification of data during a scenario run.
- Parameters
-
| readOnly | - if true, disables select cells, making them "read only". If false, enables the cells. |
- Returns
- void
| virtual void ciSensorPanel::updateSensor |
( |
| ) |
|
|
virtual |
- Description:
- Forces the parent window to update the sensor based on changed data.
- Returns
- void.
| void ciSensorPanel::setIndex |
( |
int |
index | ) |
|
|
inline |
| int ciSensorPanel::getIndex |
( |
| ) |
|
|
inline |
| virtual void ciSensorPanel::updatePanel |
( |
| ) |
|
|
virtual |
- Description:
- Updates the data values in the panel grid.
- Returns
- void
Reimplemented from ciPanel.
| void ciSensorPanel::copyManipulatorCoord |
( |
| ) |
|
- Description:
- copies the Sensor coordinates from the interface to the front panel
- Returns
- void
| void ciSensorPanel::setRGBColor |
( |
int |
color | ) |
|
|
inline |
| int ciSensorPanel::getRGBColor |
( |
| ) |
|
|
inline |
| void ciSensorPanel::hsViewerUpdate |
( |
wxCommandEvent & |
event | ) |
|
|
protected |
- Description:
- Updates the Hyperspectral Viewer mode
- Returns
- void
| virtual void ciSensorPanel::initializePanel |
( |
| ) |
|
|
protectedvirtual |
- Description:
- Initializes the content in the "Name" column and sets up custom grid controls (i.e, checkboxes and dropdown controls.
- Returns
- void
- Note
- Expects to be overridden.
Reimplemented from ciPanel.
Member Data Documentation
| const int ciSensorPanel::m_nameColWidth |
|
private |
| double ciSensorPanel::m_lowerBandLimit |
|
private |
| double ciSensorPanel::m_upperBandLimit |
|
private |
| wxSlider* ciSensorPanel::m_sliderOffset |
|
private |
The documentation for this class was generated from the following file: