![]() |
PandaRoot
|
A grid to group other grids or to create nested grids. More...
#include <PndDiscSensorGrid.h>
Public Member Functions | |
| MultipleGrids () | |
| virtual | ~MultipleGrids () |
| void | AddGrid (SensorGridBase *grid) |
| virtual void | EnumerateGrids (int &id, int &pixel_offset) |
| virtual bool | PositionToPixel (const double &x, const double &y, PixelInfo &pixel_info) const |
| virtual bool | PixelToPosition (PixelInfo &pixel_number, double &x, double &y) const |
Public Member Functions inherited from SensorGrid::SensorGridBase | |
| SensorGridBase () | |
| virtual | ~SensorGridBase () |
| void | SetUserColumnOffset (int ofs) |
| void | SetUserRowOffset (int ofs) |
| void | LockGrid (bool lock) |
| bool | IsLocked () |
| int | GetNumberOfPixels () |
| virtual bool | NextPixel (double &x, double &y, PixelInfo &pixel_number) const |
Protected Member Functions | |
| virtual void | LockChilds (bool lock) |
Protected Member Functions inherited from SensorGrid::SensorGridBase | |
| void | SetPixelNumberOffset (int offset) |
| void | EnumerateGridsProxy (SensorGridBase *b, int &grid_id, int &pixel_number) |
| void | LockChildsProxy (SensorGridBase *b, bool lock) |
Protected Attributes | |
| std::vector< SensorGridBase * > | grids |
Protected Attributes inherited from SensorGrid::SensorGridBase | |
| int | grid_number |
| int | pixel_number_offset |
| int | user_row_offset |
| The pixel number of the first pixel in this grid (or its childs) More... | |
| int | user_col_offset |
| user prowided offset to add to row on grid value in PixelInfo More... | |
| int | number_of_pixels |
| user prowided offset to add to column on grid value in PixelInfo More... | |
| bool | locked |
| The total number of pixels in this grid (or its childs) More... | |
A grid to group other grids or to create nested grids.
Definition at line 97 of file PndDiscSensorGrid.h.
| SensorGrid::MultipleGrids::MultipleGrids | ( | ) |
|
virtual |
| void SensorGrid::MultipleGrids::AddGrid | ( | SensorGridBase * | grid | ) |
|
virtual |
Implements SensorGrid::SensorGridBase.
|
protectedvirtual |
Reimplemented from SensorGrid::SensorGridBase.
|
virtual |
Implements SensorGrid::SensorGridBase.
|
virtual |
Implements SensorGrid::SensorGridBase.
|
protected |
Definition at line 112 of file PndDiscSensorGrid.h.