23 #ifndef __CUDA_DRAW_H__ 24 #define __CUDA_DRAW_H__ 36 int cx,
int cy,
float radius,
const float4&
color );
43 cudaError_t
cudaDrawCircle( T* input, T* output,
size_t width,
size_t height,
44 int cx,
int cy,
float radius,
const float4&
color )
46 return cudaDrawCircle(input, output, width, height, imageFormatFromType<T>(), cx, cy, radius, color);
54 int cx,
int cy,
float radius,
const float4&
color )
56 return cudaDrawCircle(image, image, width, height, format, cx, cy, radius, color);
65 int cx,
int cy,
float radius,
const float4&
color )
67 return cudaDrawCircle(image, width, height, imageFormatFromType<T>(), cx, cy, radius, color);
76 int x1,
int y1,
int x2,
int y2,
const float4&
color,
float line_width=1.0 );
83 cudaError_t
cudaDrawLine( T* input, T* output,
size_t width,
size_t height,
84 int x1,
int y1,
int x2,
int y2,
const float4&
color,
float line_width=1.0 )
86 return cudaDrawLine(input, output, width, height, imageFormatFromType<T>(), x1, y1, x2, y2, color, line_width);
94 int x1,
int y1,
int x2,
int y2,
const float4&
color,
float line_width=1.0 )
96 return cudaDrawLine(image, image, width, height, format, x1, y1, x2, y2, color, line_width);
105 int x1,
int y1,
int x2,
int y2,
const float4&
color,
float line_width=1.0 )
107 return cudaDrawLine(image, width, height, imageFormatFromType<T>(), x1, y1, x2, y2, color, line_width);
116 int left,
int top,
int right,
int bottom,
const float4&
color );
123 cudaError_t
cudaDrawRect( T* input, T* output,
size_t width,
size_t height,
124 int left,
int top,
int right,
int bottom,
const float4&
color )
126 return cudaDrawRect(input, output, width, height, imageFormatFromType<T>(), left, top, right, bottom, color);
134 int left,
int top,
int right,
int bottom,
const float4&
color )
136 return cudaDrawRect(image, image, width, height, format, left, top, right, bottom, color);
145 int left,
int top,
int right,
int bottom,
const float4&
color )
147 return cudaDrawRect(image, image, width, height, imageFormatFromType<T>(), left, top, right, bottom, color);
cudaError_t cudaDrawLine(void *input, void *output, size_t width, size_t height, imageFormat format, int x1, int y1, int x2, int y2, const float4 &color, float line_width=1.0)
cudaDrawLine
cudaError_t cudaDrawRect(void *input, void *output, size_t width, size_t height, imageFormat format, int left, int top, int right, int bottom, const float4 &color)
cudaDrawRect
cudaError_t cudaDrawCircle(void *input, void *output, size_t width, size_t height, imageFormat format, int cx, int cy, float radius, const float4 &color)
cudaDrawCircle
uchar3 color
The RGB color of the point.
Definition: cudaPointCloud.h:91