#include <OdRcsVisibleVoxelsIterator.h>
<group OdRcs_Classes>
This is an interface class to iterate through the voxels visible in the current viewport.
Definition at line 44 of file OdRcsVisibleVoxelsIterator.h.
◆ ~OdRcsVisibleVoxelsIterator()
virtual OdRcsVisibleVoxelsIterator::~OdRcsVisibleVoxelsIterator |
( |
| ) |
|
|
inlinevirtual |
◆ done()
virtual bool OdRcsVisibleVoxelsIterator::done |
( |
| ) |
const |
|
pure virtual |
details Indicates whether the traversal by this iterator object is complete.
- Returns
- True if the traversal by this iterator object is complete; false otherwise.
◆ getNumberOfPointsByCurrentLOD()
virtual OdUInt32 OdRcsVisibleVoxelsIterator::getNumberOfPointsByCurrentLOD |
( |
| ) |
|
|
pure virtual |
Returns the number of points by current LOD calculated for the visible voxel.
- Returns
- The number of points.
◆ getVoxelBuffer()
Loads the voxel data from the voxel that is currently pointed at by the visible voxel data iterator.
- Parameters
-
coords | [out] List of loaded points coordinates for the currenly pointed voxel. |
colors | [out] List of loaded points colors for the currenly pointed voxel. |
numberOfPointsToDraw | [out] Total number of visible points to be drawn. |
voxelIndex | [out] Index of the voxel in scan database. |
- Returns
- The total number of loaded points.
◆ start()
virtual void OdRcsVisibleVoxelsIterator::start |
( |
| ) |
|
|
pure virtual |
Moves the current iterator position to the visible voxel in the current viewport that will be iterated first.
◆ step()
virtual void OdRcsVisibleVoxelsIterator::step |
( |
| ) |
|
|
pure virtual |
Pteps the current iterator position to the next visible voxel in the current viewport.
The documentation for this class was generated from the following file: