CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdRcsPointDataIterator Class Referenceabstract

#include <OdRcsPointDataIterator.h>

Public Member Functions

virtual ~OdRcsPointDataIterator ()
 
virtual void start ()=0
 
virtual bool done () const =0
 
virtual OdUInt32 getPoints (OdGePoint3dArray &coordinates, OdCmEntityColorArray &colors, OdUInt32 requiredNumberOfPoints)=0
 
virtual OdUInt32 getPoints (OdGePoint3dArray &coordinates, OdCmEntityColorArray &colors, OdGeVector3dArray &normals, OdUInt32 requiredNumberOfPoints)=0
 
virtual OdUInt32 getPoints (OdGePoint3dArray &coordinates, OdCmEntityColorArray &colors, OdUInt16Array &normalIndexes, OdUInt8Array &intensities, OdUInt32 requiredNumberOfPoints)=0
 
virtual OdUInt32 getPoints (OdRcsPointDataReceiver &receiver, OdUInt32 requiredNumberOfPoints)=0
 

Detailed Description

<group OdRcs_Classes>

This class is an interface class for the points data iterator that enables getting points from a voxel.

Remarks
Corresponding C++ library: RcsFileServices.

Definition at line 91 of file OdRcsPointDataIterator.h.

Constructor & Destructor Documentation

◆ ~OdRcsPointDataIterator()

virtual OdRcsPointDataIterator::~OdRcsPointDataIterator ( )
inlinevirtual

Destructor for objects of the OdRcsPointDataIterator class.

Definition at line 98 of file OdRcsPointDataIterator.h.

Member Function Documentation

◆ done()

virtual bool OdRcsPointDataIterator::done ( ) const
pure virtual

Returns true if and only if the traversal by this iterator object is complete.

Returns
The true value if the traversal by this iterator object is complete; false otherwise.

◆ getPoints() [1/4]

virtual OdUInt32 OdRcsPointDataIterator::getPoints ( OdGePoint3dArray & coordinates,
OdCmEntityColorArray & colors,
OdGeVector3dArray & normals,
OdUInt32 requiredNumberOfPoints )
pure virtual

Fills arrays of coordinates, colors and normals. The iterator object steps forward.

Parameters
coordinates[out] Points coordinates array to be filled.
colors[out] Points color array to be filled.
normals[out] Points normals array to be filled.
requiredNumberOfPoints[in] Required number of points to obtain.
Returns
Returns the actual number of points obtained.

◆ getPoints() [2/4]

virtual OdUInt32 OdRcsPointDataIterator::getPoints ( OdGePoint3dArray & coordinates,
OdCmEntityColorArray & colors,
OdUInt16Array & normalIndexes,
OdUInt8Array & intensities,
OdUInt32 requiredNumberOfPoints )
pure virtual

Fills arrays of coordinates, colors, normal indexes and intensities. The iterator object steps forward.

Parameters
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.
requiredNumberOfPoints[in] Required number of points to obtain.
Returns
Returns the actual number of points obtained.

◆ getPoints() [3/4]

virtual OdUInt32 OdRcsPointDataIterator::getPoints ( OdGePoint3dArray & coordinates,
OdCmEntityColorArray & colors,
OdUInt32 requiredNumberOfPoints )
pure virtual

Fills the coordinates and color arrays. The iterator object steps forward.

Parameters
coordinates[out] Points coordinates array to be filled.
colors[out] Points color array to be filled.
requiredNumberOfPoints[in] Required number of points to obtain.
Returns
Returns the actual number of points obtained.

◆ getPoints() [4/4]

virtual OdUInt32 OdRcsPointDataIterator::getPoints ( OdRcsPointDataReceiver & receiver,
OdUInt32 requiredNumberOfPoints )
pure virtual

Fills the point data using the given receiver object. The iterator object steps forward.

Parameters
receiver[out] Points coordinates array to be filled.
requiredNumberOfPoints[in] Required number of points to obtain.
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: