CloudRawRGB Struct Reference

Takes a pcl::PointCloud and turns it into raw pointers for opengl rendering. More...

List of all members.

Public Types

typedef pcl::PointCloud< PointCloud
typedef pcl::PointXYZRGB Point
typedef unsigned char UByte

Public Member Functions

void bind () const
 CloudRawRGB (const Cloud &cloud)
 CloudRawRGB ()
void loadIntoGLBuffer ()

Static Public Member Functions

static const UByteGetColors (const Cloud &cloud)
static const float * GetVerts (const Cloud &cloud)

Public Attributes

const UBytecolors
 the color pointer colors[i*STEP_C] should give the R channel of each color.
GLuint glbuffer
bool loaded
size_t n
 number of points
const float * verts
 the vertice pointer verts[i*STEP_V] should give the X of each vertice.

Static Public Attributes

static const size_t PER_C = 3
static const size_t PER_V = 3
static const size_t STEP_C = sizeof(Point) / sizeof(UByte)
static const size_t STEP_V = sizeof(Point) / sizeof(UByte)

Detailed Description

Takes a pcl::PointCloud and turns it into raw pointers for opengl rendering.

Definition at line 146 of file gl_code.cpp.


Member Typedef Documentation

typedef pcl::PointCloud<Point> CloudRawRGB::Cloud

Definition at line 149 of file gl_code.cpp.

typedef pcl::PointXYZRGB CloudRawRGB::Point

Definition at line 148 of file gl_code.cpp.

typedef unsigned char CloudRawRGB::UByte

Definition at line 151 of file gl_code.cpp.


Constructor & Destructor Documentation

CloudRawRGB::CloudRawRGB (  )  [inline]

Definition at line 160 of file gl_code.cpp.

CloudRawRGB::CloudRawRGB ( const Cloud cloud  )  [inline]

Definition at line 163 of file gl_code.cpp.


Member Function Documentation

void CloudRawRGB::bind (  )  const [inline]

Definition at line 169 of file gl_code.cpp.

static const UByte* CloudRawRGB::GetColors ( const Cloud cloud  )  [inline, static]

Definition at line 192 of file gl_code.cpp.

static const float* CloudRawRGB::GetVerts ( const Cloud cloud  )  [inline, static]

Definition at line 187 of file gl_code.cpp.

void CloudRawRGB::loadIntoGLBuffer (  )  [inline]

Definition at line 173 of file gl_code.cpp.


Member Data Documentation

the color pointer colors[i*STEP_C] should give the R channel of each color.

Definition at line 157 of file gl_code.cpp.

Definition at line 200 of file gl_code.cpp.

Definition at line 201 of file gl_code.cpp.

number of points

Definition at line 158 of file gl_code.cpp.

const size_t CloudRawRGB::PER_C = 3 [static]

Definition at line 155 of file gl_code.cpp.

const size_t CloudRawRGB::PER_V = 3 [static]

Definition at line 153 of file gl_code.cpp.

const size_t CloudRawRGB::STEP_C = sizeof(Point) / sizeof(UByte) [static]

Definition at line 154 of file gl_code.cpp.

const size_t CloudRawRGB::STEP_V = sizeof(Point) / sizeof(UByte) [static]

Definition at line 152 of file gl_code.cpp.

const float* CloudRawRGB::verts

the vertice pointer verts[i*STEP_V] should give the X of each vertice.

Definition at line 156 of file gl_code.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines


pcl_android
Author(s): Maintained by Ethan Rublee
autogenerated on Fri Jan 11 09:53:21 2013