| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
A collection of point cloud attributes. More...
#include <qgspointcloudattribute.h>
Public Member Functions | |
| QgsPointCloudAttributeCollection () | |
| QgsPointCloudAttributeCollection (const QVector< QgsPointCloudAttribute > &attributes) | |
| Ctor with given attributes.   | |
| const QgsPointCloudAttribute & | at (int index) const | 
| Returns the attribute at the specified index.   | |
| QVector< QgsPointCloudAttribute > | attributes () const | 
| Returns all attributes.   | |
| int | count () const | 
| Returns the number of attributes present in the collection.   | |
| void | extend (const QgsPointCloudAttributeCollection &otherCollection, const QSet< QString > &matchingNames) | 
| Adds specific missing attributes from another QgsPointCloudAttributeCollection.   | |
| const QgsPointCloudAttribute * | find (const QString &attributeName, int &offset) const | 
| Finds the attribute with the name.   | |
| int | indexOf (const QString &name) const | 
| Returns the index of the attribute with the specified name.   | |
| int | pointRecordSize () const | 
| Returns total size of record.   | |
| void | push_back (const QgsPointCloudAttribute &attribute) | 
| Adds extra attribute.   | |
| QgsFields | toFields () const | 
| Converts the attribute collection to an equivalent QgsFields collection.   | |
A collection of point cloud attributes.
Definition at line 140 of file qgspointcloudattribute.h.
      
  | 
  default | 
| QgsPointCloudAttributeCollection::QgsPointCloudAttributeCollection | ( | const QVector< QgsPointCloudAttribute > & | attributes | ) | 
Ctor with given attributes.
Definition at line 133 of file qgspointcloudattribute.cpp.
      
  | 
  inline | 
Returns the attribute at the specified index.
Definition at line 169 of file qgspointcloudattribute.h.
| QVector< QgsPointCloudAttribute > QgsPointCloudAttributeCollection::attributes | ( | ) | const | 
Returns all attributes.
Definition at line 163 of file qgspointcloudattribute.cpp.
      
  | 
  inline | 
Returns the number of attributes present in the collection.
Definition at line 164 of file qgspointcloudattribute.h.
| void QgsPointCloudAttributeCollection::extend | ( | const QgsPointCloudAttributeCollection & | otherCollection, | 
| const QSet< QString > & | matchingNames | ||
| ) | 
Adds specific missing attributes from another QgsPointCloudAttributeCollection.
| otherCollection | a QgsPointCloudAttributeCollection with more attributes | 
| matchingNames | the names of the attributes to be added | 
Definition at line 149 of file qgspointcloudattribute.cpp.
| const QgsPointCloudAttribute * QgsPointCloudAttributeCollection::find | ( | const QString & | attributeName, | 
| int & | offset | ||
| ) | const | 
Finds the attribute with the name.
Returns nullptr if not found. 
Definition at line 168 of file qgspointcloudattribute.cpp.
| int QgsPointCloudAttributeCollection::indexOf | ( | const QString & | name | ) | const | 
Returns the index of the attribute with the specified name.
Returns -1 if a matching attribute was not found.
Definition at line 181 of file qgspointcloudattribute.cpp.
      
  | 
  inline | 
Returns total size of record.
Definition at line 186 of file qgspointcloudattribute.h.
| void QgsPointCloudAttributeCollection::push_back | ( | const QgsPointCloudAttribute & | attribute | ) | 
Adds extra attribute.
Definition at line 142 of file qgspointcloudattribute.cpp.
| QgsFields QgsPointCloudAttributeCollection::toFields | ( | ) | const | 
Converts the attribute collection to an equivalent QgsFields collection.
Definition at line 193 of file qgspointcloudattribute.cpp.