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

Default point xyz-rgb structure. More...

#include </__w/1/s/cuda/common/include/pcl/cuda/point_types.h>

Public Member Functions

__host__ __device__ PointXYZRGB ()
 
__host__ __device__ PointXYZRGB (float _x, float _y, float _z, int _rgb)
 
__host__ __device__ bool operator== (const PointXYZRGB &rhs)
 
__host__ __device__ operator float3 () const
 
const __host__ __device__ PointXYZRGB operator- (const PointXYZRGB &rhs) const
 
__host__ __device__ PointXYZRGBoperator+= (const PointXYZRGB &rhs)
 
__host__ __device__ PointXYZRGBoperator-= (const PointXYZRGB &rhs)
 
__host__ __device__ PointXYZRGBoperator*= (const PointXYZRGB &rhs)
 
__host__ __device__ PointXYZRGBoperator/= (const PointXYZRGB &rhs)
 

Public Attributes

union {
   float3   xyz
 
   struct {
      float   x
 
      float   y
 
      float   z
 
   } 
 
}; 
 
RGB rgb
 

Detailed Description

Default point xyz-rgb structure.

Definition at line 48 of file point_types.h.

Constructor & Destructor Documentation

__host__ __device__ pcl::cuda::PointXYZRGB::PointXYZRGB ( )
inline

Definition at line 50 of file point_types.h.

__host__ __device__ pcl::cuda::PointXYZRGB::PointXYZRGB ( float  _x,
float  _y,
float  _z,
int  _rgb 
)
inline

Definition at line 51 of file point_types.h.

Member Function Documentation

__host__ __device__ pcl::cuda::PointXYZRGB::operator float3 ( ) const
inline

Definition at line 73 of file point_types.h.

References xyz.

__host__ __device__ PointXYZRGB& pcl::cuda::PointXYZRGB::operator*= ( const PointXYZRGB rhs)
inline

Definition at line 102 of file point_types.h.

References rgb, and xyz.

Referenced by pcl::cuda::__align__().

__host__ __device__ PointXYZRGB& pcl::cuda::PointXYZRGB::operator+= ( const PointXYZRGB rhs)
inline

Definition at line 88 of file point_types.h.

References rgb, and xyz.

Referenced by pcl::cuda::__align__().

const __host__ __device__ PointXYZRGB pcl::cuda::PointXYZRGB::operator- ( const PointXYZRGB rhs) const
inline

Definition at line 78 of file point_types.h.

Referenced by pcl::cuda::__align__().

__host__ __device__ PointXYZRGB& pcl::cuda::PointXYZRGB::operator-= ( const PointXYZRGB rhs)
inline

Definition at line 95 of file point_types.h.

References rgb, and xyz.

Referenced by pcl::cuda::__align__().

__host__ __device__ PointXYZRGB& pcl::cuda::PointXYZRGB::operator/= ( const PointXYZRGB rhs)
inline

Definition at line 109 of file point_types.h.

References rgb, and xyz.

Referenced by pcl::cuda::__align__().

__host__ __device__ bool pcl::cuda::PointXYZRGB::operator== ( const PointXYZRGB rhs)
inline

Definition at line 67 of file point_types.h.

References rgb, x, y, and z.

Referenced by pcl::cuda::__align__().

Member Data Documentation

union { ... }
RGB pcl::cuda::PointXYZRGB::rgb
float pcl::cuda::PointXYZRGB::x
float3 pcl::cuda::PointXYZRGB::xyz
float pcl::cuda::PointXYZRGB::y
float pcl::cuda::PointXYZRGB::z

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