Class: QgsPointCloudAttribute¶
Attribute for point cloud data pair of name and size in bytes
Added in version 3.18.
Methods
Returns the type to use when displaying this field.  | 
|
Returns name of the attribute  | 
|
Returns size of the attribute in bytes  | 
|
Returns the data type  | 
|
Returns the most suitable equivalent QVariant data type to this attribute type.  | 
Static Methods
Returns   | 
Attributes
- class qgis.core.QgsPointCloudAttribute[source]¶
 Bases:
object- __init__()
 
- __init__(name: str | None, type: QgsPointCloudAttribute.DataType)
 Ctor
- Parameters:
 name (Optional[str])
- __init__(a0: QgsPointCloudAttribute)
 - Parameters:
 
- Char = 0¶
 
- class DataType¶
 Bases:
int
- Double = 9¶
 
- Float = 8¶
 
- Int32 = 4¶
 
- Int64 = 6¶
 
- Short = 2¶
 
- UChar = 1¶
 
- UInt32 = 5¶
 
- UInt64 = 7¶
 
- UShort = 3¶
 
- displayType(self) str[source]¶
 Returns the type to use when displaying this field.
This will be used when the full datatype with details has to displayed to the user.
See also
- Return type:
 str
- static isNumeric(type: QgsPointCloudAttribute.DataType) bool[source]¶
 Returns
Trueif the specified datatypeis numeric.- Parameters:
 - Return type:
 bool
- type(self) QgsPointCloudAttribute.DataType[source]¶
 Returns the data type
See also
- Return type: