Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Public Attributes
pcl::gpu::PtrStep< T > Struct Template Reference

#include </__w/1/s/gpu/containers/include/pcl/gpu/containers/kernel_containers.h>

+ Inheritance diagram for pcl::gpu::PtrStep< T >:

Public Member Functions

__PCL_GPU_HOST_DEVICE__ PtrStep ()
 
__PCL_GPU_HOST_DEVICE__ PtrStep (T *data_arg, size_t step_arg)
 
__PCL_GPU_HOST_DEVICE__ T * ptr (int y=0)
 
__PCL_GPU_HOST_DEVICE__ const T * ptr (int y=0) const
 
__PCL_GPU_HOST_DEVICE__ T & operator() (int y, int x)
 
__PCL_GPU_HOST_DEVICE__ const T & operator() (int y, int x) const
 
- Public Member Functions inherited from pcl::gpu::DevPtr< T >
__PCL_GPU_HOST_DEVICE__ DevPtr ()
 
__PCL_GPU_HOST_DEVICE__ DevPtr (T *data_arg)
 
__PCL_GPU_HOST_DEVICE__ size_t elemSize () const
 
__PCL_GPU_HOST_DEVICE__ operator T * ()
 
__PCL_GPU_HOST_DEVICE__ operator const T * () const
 

Public Attributes

size_t step
 stride between two consecutive rows in bytes. More...
 
- Public Attributes inherited from pcl::gpu::DevPtr< T >
T * data
 

Additional Inherited Members

- Public Types inherited from pcl::gpu::DevPtr< T >
typedef T elem_type
 
- Static Public Attributes inherited from pcl::gpu::DevPtr< T >
static const size_t elem_size = sizeof(elem_type)
 

Detailed Description

template<typename T>
struct pcl::gpu::PtrStep< T >

Definition at line 74 of file kernel_containers.h.

Constructor & Destructor Documentation

template<typename T>
__PCL_GPU_HOST_DEVICE__ pcl::gpu::PtrStep< T >::PtrStep ( )
inline

Definition at line 76 of file kernel_containers.h.

template<typename T>
__PCL_GPU_HOST_DEVICE__ pcl::gpu::PtrStep< T >::PtrStep ( T *  data_arg,
size_t  step_arg 
)
inline

Definition at line 77 of file kernel_containers.h.

Member Function Documentation

template<typename T>
__PCL_GPU_HOST_DEVICE__ T& pcl::gpu::PtrStep< T >::operator() ( int  y,
int  x 
)
inline

Definition at line 85 of file kernel_containers.h.

template<typename T>
__PCL_GPU_HOST_DEVICE__ const T& pcl::gpu::PtrStep< T >::operator() ( int  y,
int  x 
) const
inline

Definition at line 86 of file kernel_containers.h.

template<typename T>
__PCL_GPU_HOST_DEVICE__ T* pcl::gpu::PtrStep< T >::ptr ( int  y = 0)
inline
template<typename T>
__PCL_GPU_HOST_DEVICE__ const T* pcl::gpu::PtrStep< T >::ptr ( int  y = 0) const
inline

Definition at line 83 of file kernel_containers.h.

Member Data Documentation

template<typename T>
size_t pcl::gpu::PtrStep< T >::step

stride between two consecutive rows in bytes.

Step is stored always and everywhere in bytes!!!

Definition at line 80 of file kernel_containers.h.

Referenced by pcl::gpu::DeviceMemory2D::ptr(), and pcl::gpu::TextureBinder::TextureBinder().


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