Point Cloud Library (PCL)  1.14.0-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>

+ Collaboration diagram for pcl::cuda::PointXYZRGB:

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

◆ PointXYZRGB() [1/2]

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

Definition at line 50 of file point_types.h.

◆ PointXYZRGB() [2/2]

__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

◆ operator float3()

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

Definition at line 73 of file point_types.h.

References xyz.

◆ operator*=()

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

Definition at line 102 of file point_types.h.

References rgb, and xyz.

◆ operator+=()

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

Definition at line 88 of file point_types.h.

References rgb, and xyz.

◆ operator-()

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

Definition at line 78 of file point_types.h.

◆ operator-=()

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

Definition at line 95 of file point_types.h.

References rgb, and xyz.

◆ operator/=()

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

Definition at line 109 of file point_types.h.

References rgb, and xyz.

◆ operator==()

__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.

Member Data Documentation

◆ 

union { ... }

◆ rgb

RGB pcl::cuda::PointXYZRGB::rgb

◆ x

float pcl::cuda::PointXYZRGB::x

Definition at line 60 of file point_types.h.

Referenced by pcl::cuda::isNaNPoint::operator()(), and operator==().

◆ xyz

float3 pcl::cuda::PointXYZRGB::xyz

Definition at line 57 of file point_types.h.

Referenced by operator float3(), operator*=(), operator+=(), operator-=(), and operator/=().

◆ y

float pcl::cuda::PointXYZRGB::y

Definition at line 61 of file point_types.h.

Referenced by pcl::cuda::isNaNPoint::operator()(), and operator==().

◆ z

float pcl::cuda::PointXYZRGB::z

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