Point Cloud Library (PCL) 1.15.1
Loading...
Searching...
No Matches
pcl::cuda::PointXYZRGB Struct Reference

Default point xyz-rgb structure. More...

#include </build/reproducible-path/pcl-1.15.1+dfsg/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

◆ PointXYZRGB() [1/2]

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

Definition at line 50 of file point_types.h.

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

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

References rgb, x, y, and z.

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 PointXYZRGB(), 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 PointXYZRGB(), 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.

References PointXYZRGB().

◆ operator-=()

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

Definition at line 95 of file point_types.h.

References PointXYZRGB(), 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 PointXYZRGB(), 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 PointXYZRGB(), rgb, x, y, and z.

Member Data Documentation

◆ [union]

union { ... } 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()(), operator==(), and PointXYZRGB().

◆ 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()(), operator==(), and PointXYZRGB().

◆ z

float pcl::cuda::PointXYZRGB::z

Definition at line 62 of file point_types.h.

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


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