BalancedBrickResolutionCalculator Class Reference
This class calculates balanced resolutions for the bricks. More...
#include <balancedbrickresolutioncalculator.h>
Public Member Functions | |
| BalancedBrickResolutionCalculator (BrickingInformation &brickingInformation) | |
| virtual void | calculateBrickResolutions () |
| Calculates the available brick resolutions a BrickLodSelector can assign to the VolumeBricks. | |
Detailed Description
This class calculates balanced resolutions for the bricks.
That means that one of two resolutions next to each other are chosen for every brick, so that there are only small differences between the resolutions. So all blocks have either resolution 4 or 5 for example. As a result, depending on the graphics hardware, there might be no blocks of highest resolution at all.
Definition at line 43 of file balancedbrickresolutioncalculator.h.
Member Function Documentation
| void calculateBrickResolutions | ( | ) | [virtual] |
Calculates the available brick resolutions a BrickLodSelector can assign to the VolumeBricks.
The available resolutions are stored in the brickingInformation_ struct.
Implements BrickResolutionCalculator.
Definition at line 39 of file balancedbrickresolutioncalculator.cpp.