pchandler.constants

Pre-defined name constants for common point-cloud field accessors.

Exports RGB_NAMES, NORMAL_NAMES, XYZ_NAMES, INTENSITY_NAMES, REFLECTANCE_NAMES, COMMON_FIELD_NAMES, and COMMON_FIELD_BASES — each backed by either _NameConstantsSingle or _NameConstantsTriplet so the same field can be reached via short, long, or triplet-style names (e.g. rgb, red / green / blue, r / g / b).

Constants

XYZ_NAMES

Pre-defined names for XYZ coordinate access

RGB_NAMES

Pre-defined names for RGB field access

NORMAL_NAMES

Pre-defined names for Normals field access

INTENSITY_NAMES

Pre-defined names for Intensity field access

REFLECTANCE_NAMES

Pre-defined names for Reflectance field access

pchandler.constants.RGB_NAMES: _NameConstantsTriplet = ('rgb', ('r', 'g', 'b'), ('colour', 'colours', 'color', 'colors'), ('red', 'green', 'blue'), ('rf', 'gf', 'bf'), 'bgr')

Pre-defined names for RGB field access

pchandler.constants.NORMAL_NAMES: _NameConstantsTriplet = ('normals', ('nx', 'ny', 'nz'), ('normal', 'normal_fields', 'nxnynz'), ('normalx', 'normaly', 'normalz'), ('', '', ''), 'nznynx')

Pre-defined names for Normals field access

pchandler.constants.XYZ_NAMES: _NameConstantsTriplet = ('xyz', ('x', 'y', 'z'), ('cartesian', 'cartesians', 'coordinates', 'coordinate'), ('', '', ''), ('', '', ''), 'zyx')

Pre-defined names for XYZ coordinate access

pchandler.constants.INTENSITY_NAMES: _NameConstantsSingle = ('intensity', 'i', ('intensities',))

Pre-defined names for Intensity field access

pchandler.constants.REFLECTANCE_NAMES: _NameConstantsSingle = ('reflectance', None, ())

Pre-defined names for Reflectance field access