Point Cloud Library (PCL)  1.10.1-dev
List of all members | Public Member Functions | Public Attributes
pcl::PointWithViewpoint Struct Reference

A point structure representing Euclidean xyz coordinates together with the viewpoint from which it was seen. More...

#include <pcl/impl/point_types.hpp>

+ Inheritance diagram for pcl::PointWithViewpoint:

Public Member Functions

 PointWithViewpoint (const _PointWithViewpoint &p)
 
 PointWithViewpoint ()
 
Use ctor accepting all position (x, y, z) data") inline PointWithViewpoint (float _x
 

Public Attributes

Use ctor accepting all float _y
 
- Public Attributes inherited from pcl::_PointWithViewpoint
 PCL_ADD_POINT4D
 
union {
   struct {
      float   vp_x
 
      float   vp_y
 
      float   vp_z
 
   } 
 
   float   data_c [4]
 
}; 
 

Detailed Description

A point structure representing Euclidean xyz coordinates together with the viewpoint from which it was seen.

Definition at line 1150 of file point_types.hpp.

Constructor & Destructor Documentation

◆ PointWithViewpoint() [1/2]

pcl::PointWithViewpoint::PointWithViewpoint ( const _PointWithViewpoint p)
inline

◆ PointWithViewpoint() [2/2]

pcl::PointWithViewpoint::PointWithViewpoint ( )
inline

Definition at line 1158 of file point_types.hpp.

References PCL_DEPRECATED.

Member Function Documentation

◆ position()

Use ctor accepting all pcl::PointWithViewpoint::position ( ,
,
 
)

Member Data Documentation

◆ _y

Use ctor accepting all float pcl::PointWithViewpoint::_y
Initial value:
= 0.f):
PointWithViewpoint (_x, _y, 0.f) {}
12, "Use ctor accepting all viewpoint (vp_x, vp_y, vp_z) data")
inline PointWithViewpoint (float _x, float _y, float _z, float _vp_x, float _vp_y = 0.f):
PointWithViewpoint (_x, _y, _z, _vp_x, _vp_y, 0.f) {}
inline PointWithViewpoint (float _x, float _y, float _z): PointWithViewpoint (_x, _y, _z, 0.f, 0.f, 0.f) {}
inline PointWithViewpoint (float _x, float _y, float _z, float _vp_x, float _vp_y, float _vp_z)
{
x = _x; y = _y; z = _z;
data[3] = 1.0f;
vp_x = _vp_x; vp_y = _vp_y; vp_z = _vp_z;
}
friend std::ostream& operator << (std::ostream& os, const PointWithViewpoint& p)

Definition at line 1161 of file point_types.hpp.


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