10.10. point

class itom.point([type, [xyz, [intensity, ][rgba, ][normal, ][curvature]]) → creates new point used for class 'pointCloud'.
Parameters:

type : {int}

the desired type of this point (default: point.PointInvalid). Depending on the type, some of the following parameters must be given:

xyz : {seq}, all types besides PointInvalid

sequence with three floating point elements (x,y,z)

intensity : {float}, only PointXYZI or PointXYZINormal

is a floating point value for the intensity

rgba, {seq. of uint8, three or four values}, only PointXYZRGBA or PointXYZRGBNormal :

a uint8-sequence with either three or four values (r,g,b,a). If alpha value is not given, 255 is assumed

normal : {seq}, only PointXYZNormal, PointXYZINormal and PointXYZRGBNormal

is a sequence with three floating point elements (nx, ny, nz)

curvature : {float}, only PointXYZNormal, PointXYZINormal and PointXYZRGBNormal

is the curvature value for the normal (float)

name()
PointInvalid = 0
PointXYZ = 1
PointXYZI = 2
PointXYZINormal = 16
PointXYZNormal = 8
PointXYZRGBA = 4
PointXYZRGBNormal = 32
curvature

gets or sets curvature value

Notes

{float} : ReadWrite

intensity

gets or sets intensity

Notes

{float} : ReadWrite

normal

gets or sets normal vector (nx,ny,nz)

Notes

{float-list} : ReadWrite

rgb

gets or sets rgb-values (r,g,b)

Notes

{uint8-list} : ReadWrite

rgba

gets or sets rgba-values (r,g,b,a)

Notes

{uint8-list} : ReadWrite

type

returns type-object for this point

xyz

gets or sets x,y,z-values (x,y,z)

Notes

{float-list} : ReadWrite