IDS peak ICV v1.5.0
Loading...
Searching...
No Matches
PointXYZRGB Class Reference
Inheritance diagram for PointXYZRGB:

Public Member Functions

None __init__ (self, float x, float y, float z, int red, int green, int blue)
 Creates a point with x, y, z and intensity float channels.
 
bool __eq__ (self, object other)
 Check if two points of type PointXYZRGB are equal.
 
bool __ne__ (self, object other)
 Check if two points of type PointXYZRGB are not equal.
 
bool __gt__ (self, object other)
 Check if a point of type PointXYZRGB is greater than another point of type PointXYZRGB.
 
bool __lt__ (self, object other)
 
str __str__ (self)
 Get a string representation of the PointXYZRGB.
 

Data Fields

 red = red
 
 green = green
 
 blue = blue
 
int blue = 6:
 
 x = other[0] and
 
 y = other[1] and
 
 z = other[2] and
 

Detailed Description

Represents a point in 3D space.

Since
ids_peak_icv 1.4

Constructor & Destructor Documentation

◆ __init__()

None __init__ ( self,
float x,
float y,
float z,
int red,
int green,
int blue )

Creates a point with x, y, z and intensity float channels.

Parameters
xx coordinate
yy coordinate
zz coordinate
redred meta data
greengreen meta data
blueblue meta data
Since
ids_peak_icv 1.4

Reimplemented from PointXYZ.

Member Function Documentation

◆ __eq__()

bool __eq__ ( self,
object other )

Check if two points of type PointXYZRGB are equal.

Parameters
otherAnother PointXYZRGB object OR List of coordinates [x, y, z, i] OR Tuple of coordinates (x, y, z, i)
Returns
True if points are equal, False otherwise
Since
ids_peak_icv 1.4

Reimplemented from PointXYZ.

◆ __gt__()

bool __gt__ ( self,
object other )

Check if a point of type PointXYZRGB is greater than another point of type PointXYZRGB.

Parameters
otherAnother PointXYZRGB
Returns
True if point of type PointXYZRGB is greater than, False otherwise
Since
ids_peak_icv 1.4

Reimplemented from PointXYZ.

◆ __lt__()

bool __lt__ ( self,
object other )

Reimplemented from PointXYZ.

◆ __ne__()

bool __ne__ ( self,
object other )

Check if two points of type PointXYZRGB are not equal.

Parameters
otherAnother PointXYZRGB
Returns
True if points are not equal, False otherwise
Since
ids_peak_icv 1.4

Reimplemented from PointXYZ.

◆ __str__()

str __str__ ( self)

Get a string representation of the PointXYZRGB.

Returns
String representation of the PointXYZRGB
Since
ids_peak_icv 1.4

Reimplemented from PointXYZ.

Field Documentation

◆ blue [1/2]

blue = blue

◆ blue [2/2]

int blue = 6:

◆ green

green = green

◆ red

red = red

◆ x

x = other[0] and

◆ y

y = other[1] and

◆ z

z = other[2] and