CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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
 

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 51 of file OdRcsPointDataIterator.h.

Constructor & Destructor Documentation

◆ ~OdRcsPointDataIterator()

virtual OdRcsPointDataIterator::~OdRcsPointDataIterator ( )
inlinevirtual

Default destructor for objects of the OdRcsPointDataIterator class.

Definition at line 58 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
True if the traversal by this iterator object is complete; false otherwise.

◆ getPoints() [1/3]

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

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

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

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: