Public Member Functions | Private Attributes
PointCloudDrawable Class Reference

#include <point_cloud_drawable.h>

List of all members.

Public Member Functions

rtabmap::Transform getPose () const
bool isVisible () const
 PointCloudDrawable (GLuint cloudShaderProgram, GLuint textureShaderProgram, const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &cloud, const std::vector< pcl::Vertices > &polygons=std::vector< pcl::Vertices >(), const cv::Mat &image=cv::Mat())
void Render (const glm::mat4 &projectionMatrix, const glm::mat4 &viewMatrix, bool meshRendering=true, float pointSize=3.0f)
void setPose (const rtabmap::Transform &pose)
void setVisible (bool visible)
virtual ~PointCloudDrawable ()

Private Attributes

GLuint cloud_shader_program_
int nPoints_
std::vector< GLushort > polygons_
glm::mat4 pose_
GLuint texture_shader_program_
GLuint textures_
GLuint vertex_buffers_
bool visible_

Detailed Description

Definition at line 42 of file point_cloud_drawable.h.


Constructor & Destructor Documentation

PointCloudDrawable::PointCloudDrawable ( GLuint  cloudShaderProgram,
GLuint  textureShaderProgram,
const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &  cloud,
const std::vector< pcl::Vertices > &  polygons = std::vector<pcl::Vertices>(),
const cv::Mat &  image = cv::Mat() 
)

Definition at line 38 of file point_cloud_drawable.cpp.

Definition at line 158 of file point_cloud_drawable.cpp.


Member Function Documentation

Definition at line 54 of file point_cloud_drawable.h.

bool PointCloudDrawable::isVisible ( ) const [inline]

Definition at line 55 of file point_cloud_drawable.h.

void PointCloudDrawable::Render ( const glm::mat4 projectionMatrix,
const glm::mat4 viewMatrix,
bool  meshRendering = true,
float  pointSize = 3.0f 
)

Definition at line 183 of file point_cloud_drawable.cpp.

Definition at line 176 of file point_cloud_drawable.cpp.

void PointCloudDrawable::setVisible ( bool  visible) [inline]

Definition at line 53 of file point_cloud_drawable.h.


Member Data Documentation

Definition at line 74 of file point_cloud_drawable.h.

Definition at line 70 of file point_cloud_drawable.h.

std::vector<GLushort> PointCloudDrawable::polygons_ [private]

Definition at line 69 of file point_cloud_drawable.h.

Definition at line 71 of file point_cloud_drawable.h.

Definition at line 75 of file point_cloud_drawable.h.

Definition at line 68 of file point_cloud_drawable.h.

Definition at line 67 of file point_cloud_drawable.h.

Definition at line 72 of file point_cloud_drawable.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:31