CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdRcsVisibleVoxelsIterator Class Referenceabstract

#include <OdRcsVisibleVoxelsIterator.h>

Public Member Functions

virtual ~OdRcsVisibleVoxelsIterator ()
 
virtual void start ()=0
 
virtual void step ()=0
 
virtual bool done () const =0
 
virtual OdUInt32 getVoxelBuffer (OdGePoint3dArray &coords, OdCmEntityColorArray &colors, OdUInt32 &numberOfPointsToDraw, OdUInt64 &voxelIndex)=0
 
virtual OdUInt32 getNumberOfPointsByCurrentLOD ()=0
 

Detailed Description

<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.

Constructor & Destructor Documentation

◆ ~OdRcsVisibleVoxelsIterator()

virtual OdRcsVisibleVoxelsIterator::~OdRcsVisibleVoxelsIterator ( )
inlinevirtual

Default destructor for objects of the OdRcsVisibleVoxelsIterator class.

Definition at line 51 of file OdRcsVisibleVoxelsIterator.h.

Member Function Documentation

◆ 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()

virtual OdUInt32 OdRcsVisibleVoxelsIterator::getVoxelBuffer ( OdGePoint3dArray coords,
OdCmEntityColorArray colors,
OdUInt32 numberOfPointsToDraw,
OdUInt64 voxelIndex 
)
pure virtual

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: