#include <PerceptionGrid.h>
Public Member Functions | |
PerceptionGridPar () | |
the default empty constructor | |
PerceptionGridPar (ScanPar scanPar, Pose center, Decimal cellSize, int nCellX, int nCellY) | |
The contructor. | |
PerceptionGridPar (const PerceptionGridPar &g) | |
Copy constructor. | |
PerceptionGridPar & | operator= (const PerceptionGridPar &g) |
Operator =. | |
Pose | center () |
Returns the center of the grid. | |
Decimal | cellSize () |
Returns the size of a cell. | |
int | nCellX () |
Returns the number of cells on the X axis. | |
int | nCellY () |
Returns the number of cells of the Y axis. | |
Decimal | width () |
Computes and returns the width of the grid. | |
Decimal | height () |
Computes and returns the height of the grid. | |
bool | setSize (Decimal height, Decimal width, Decimal cellSize) |
Computes the new size of cell that best fits the given height, width and cellSize. | |
bool | setSize (Decimal width, int nCellX, int nCellY) |
Computes the new size of cell that best fits the given height, width and cellSize. | |
string | getObjectName () const |
Gets the name. | |
ScanPar * | scanPar () |
Gets a pointer to the paramenters of the scan. |
MipBaselib::PerceptionGridPar::PerceptionGridPar | ( | ) |
the default empty constructor
MipBaselib::PerceptionGridPar::PerceptionGridPar | ( | const PerceptionGridPar & | g | ) |
Copy constructor.
PerceptionGridPar & MipBaselib::PerceptionGridPar::operator= | ( | const PerceptionGridPar & | g | ) |
Operator =.
Pose MipBaselib::PerceptionGridPar::center | ( | ) | [inline] |
Returns the center of the grid.
Decimal MipBaselib::PerceptionGridPar::cellSize | ( | ) | [inline] |
Returns the size of a cell.
int MipBaselib::PerceptionGridPar::nCellX | ( | ) | [inline] |
Returns the number of cells on the X axis.
int MipBaselib::PerceptionGridPar::nCellY | ( | ) | [inline] |
Returns the number of cells of the Y axis.
Decimal MipBaselib::PerceptionGridPar::width | ( | ) | [inline] |
Computes and returns the width of the grid.
Decimal MipBaselib::PerceptionGridPar::height | ( | ) | [inline] |
Computes and returns the height of the grid.
Computes the new size of cell that best fits the given height, width and cellSize.
bool MipBaselib::PerceptionGridPar::setSize | ( | Decimal | width, | |
int | nCellX, | |||
int | nCellY | |||
) |
Computes the new size of cell that best fits the given height, width and cellSize.
string MipBaselib::PerceptionGridPar::getObjectName | ( | ) | const [inline, virtual] |
ScanPar * MipBaselib::PerceptionGridPar::scanPar | ( | ) | [inline] |
Gets a pointer to the paramenters of the scan.