#include <OdRcsPointDataIterator.h>
<group OdRcs_Classes>
This class is an interface class for the points data iterator that enables getting points from a voxel.
Definition at line 51 of file OdRcsPointDataIterator.h.
◆ ~OdRcsPointDataIterator()
virtual OdRcsPointDataIterator::~OdRcsPointDataIterator |
( |
| ) |
|
|
inlinevirtual |
◆ done()
virtual bool OdRcsPointDataIterator::done |
( |
| ) |
const |
|
pure virtual |
Returns true if and only if the traversal by this iterator object is complete.
- Returns
- True if the traversal by this iterator object is complete; false otherwise.
◆ getPoints() [1/3]
Fills arrays of coordinates, colors and normals. The iterator object steps forward.
- Parameters
-
requiredNumberOfPoints | [in] Required number of points to obtain. |
coordinates | [out] Points coordinates array to be filled. |
colors | [out] Points color array to be filled. |
normals | [out] Points normals array to be filled. |
- Returns
- Returns the actual number of points obtained.
◆ getPoints() [2/3]
Fills arrays of coordinates, colors, normal indexes and intensities. The iterator object steps forward.
- Parameters
-
requiredNumberOfPoints | [in] Required number of points to obtain. |
coordinates | [out] Points coordinates array to be filled. |
colors | [out] Points color array to be filled. |
normalIndexes | [out] Points normal indexes array to be filled. |
intensities | [out] Points intensities array to be filled. |
- Returns
- Returns the actual number of points obtained.
◆ getPoints() [3/3]
Fills the coordinates and color arrays. The iterator object steps forward.
- Parameters
-
requiredNumberOfPoints | [in] Required number of points to obtain. |
coordinates | [out] Points coordinates array to be filled. |
colors | [out] Points color array to be filled. |
- Returns
- Returns the actual number of points obtained.
◆ start()
virtual void OdRcsPointDataIterator::start |
( |
| ) |
|
|
pure virtual |
Moves the current position to the beginning of the points data within the current voxel.
The documentation for this class was generated from the following file: