StandardBrickResolutionCalculator Class Reference
This class calculates the brick resolutions so that at all bricks have either one of two resolutions, and that at least half of the bricks have the higher one of those two resolutions. More...
#include <standardbrickresolutioncalculator.h>
Public Member Functions | |
| StandardBrickResolutionCalculator (BrickingInformation &brickingInformation) | |
| virtual void | calculateBrickResolutions () |
| Calculates the available brick resolutions a BrickLodSelector can assign to the VolumeBricks. | |
Detailed Description
This class calculates the brick resolutions so that at all bricks have either one of two resolutions, and that at least half of the bricks have the higher one of those two resolutions.
The lower resolution will usually be 64 voxels to guarantee at least some degree of accuracy for those bricks.
Definition at line 41 of file standardbrickresolutioncalculator.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 38 of file standardbrickresolutioncalculator.cpp.