BrickingRegionManager Class Reference
This class manages the BrickingRegions. More...
#include <brickingregionmanager.h>
Public Member Functions | |
| BrickingRegionManager (BrickingInformation &brickingInformation) | |
| void | addRegion (BrickingRegion *region) |
| Adds a BrickingRegion to the BrickingRegionManagers control. | |
| void | deleteRegion (BrickingRegion *region) |
| Removes a region from the BrickingRegionManager. | |
| void | deleteRegions (int priority) |
| Remives all regions with the given priority from the BrickingRegionManager. | |
| std::vector< BrickingRegion * > | getBrickingRegions () |
| Returns all BrickingRegions. | |
| std::vector< Brick * > | getBricksWithoutRegion () |
| Returns all bricks that are not inside any region. | |
Protected Member Functions | |
| void | removeBricksFromVector (BrickingRegion *region) |
| Removes all bricks in the region from the vector that stores the bricks that don't have a region. | |
Protected Attributes | |
| std::vector< BrickingRegion * > | brickingRegions_ |
| Vector holding all regions together with their priorities. | |
| BrickingInformation & | brickingInformation_ |
| Struct holding all the information necessary for bricking. | |
| std::vector< Brick * > | bricksWithoutRegion_ |
| Vector holding all bricks that are not inside any region. | |
Detailed Description
This class manages the BrickingRegions.
Definition at line 38 of file brickingregionmanager.h.
Constructor & Destructor Documentation
| BrickingRegionManager | ( | BrickingInformation & | brickingInformation | ) |
- Parameters:
-
brickingInformation Struct containing all the necessary information about bricking.
Definition at line 32 of file brickingregionmanager.cpp.