MaximumBrickResolutionCalculator Class Reference
This class calculates maximum resolutions for the bricks. More...
#include <maximumbrickresolutioncalculator.h>
Public Member Functions | |
| MaximumBrickResolutionCalculator (BrickingInformation &brickingInformation) | |
| virtual void | calculateBrickResolutions () |
| Calculates brick resolutions in a way that produces a maximum amount of highest resolution bricks while reducing all other bricks to lowest resolution. | |
Detailed Description
This class calculates maximum resolutions for the bricks.
That means that it is tried to provide as many bricks as possible with maximum resolution. As a result of this, every other brick will have MINUMUM resolution, losing nearly all of its information.
Definition at line 42 of file maximumbrickresolutioncalculator.h.
Member Function Documentation
| void calculateBrickResolutions | ( | ) | [virtual] |
Calculates brick resolutions in a way that produces a maximum amount of highest resolution bricks while reducing all other bricks to lowest resolution.
The calculated resolutions are stored in the brickingInformation_ struct.
Implements BrickResolutionCalculator.
Definition at line 37 of file maximumbrickresolutioncalculator.cpp.