Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
pcl::PointXY32i Class Reference

2D point with integer x- and y-coordinates. More...

#include <pcl/ml/point_xy_32i.h>

Public Member Functions

 PointXY32i ()
 Constructor. More...
 
virtual ~PointXY32i ()
 Destructor. More...
 
void serialize (std::ostream &stream) const
 Serializes the point to the specified stream. More...
 
void deserialize (std::istream &stream)
 Deserializes the point from the specified stream. More...
 

Static Public Member Functions

static PointXY32i randomPoint (const int min_x, const int max_x, const int min_y, const int max_y)
 Creates a random point within the specified window. More...
 

Public Attributes

int x
 The x-coordinate of the point. More...
 
int y
 The y-coordinate of the point. More...
 

Detailed Description

2D point with integer x- and y-coordinates.

Definition at line 49 of file point_xy_32i.h.

Constructor & Destructor Documentation

pcl::PointXY32i::PointXY32i ( )
inline

Constructor.

Definition at line 53 of file point_xy_32i.h.

virtual pcl::PointXY32i::~PointXY32i ( )
inlinevirtual

Destructor.

Definition at line 55 of file point_xy_32i.h.

Member Function Documentation

void pcl::PointXY32i::deserialize ( std::istream &  stream)
inline

Deserializes the point from the specified stream.

Parameters
[in]streamThe source for the deserialization.

Definition at line 71 of file point_xy_32i.h.

static PointXY32i pcl::PointXY32i::randomPoint ( const int  min_x,
const int  max_x,
const int  min_y,
const int  max_y 
)
static

Creates a random point within the specified window.

Parameters
[in]min_xThe minimum value for the x-coordinate of the point.
[in]max_xThe maximum value for the x-coordinate of the point.
[in]min_yThe minimum value for the y-coordinate of the point.
[in]max_yThe maximum value for the y-coordinate of the point.

Referenced by pcl::MultiChannel2DComparisonFeatureHandler< DATA_TYPE, NUM_OF_CHANNELS >::createRandomFeatures().

void pcl::PointXY32i::serialize ( std::ostream &  stream) const
inline

Serializes the point to the specified stream.

Parameters
[out]streamThe destination for the serialization.

Definition at line 61 of file point_xy_32i.h.

Member Data Documentation

int pcl::PointXY32i::x

The x-coordinate of the point.

Definition at line 88 of file point_xy_32i.h.

int pcl::PointXY32i::y

The y-coordinate of the point.

Definition at line 90 of file point_xy_32i.h.


The documentation for this class was generated from the following file: