#include <point_cloud_drawable.h>
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_ |
Definition at line 42 of file point_cloud_drawable.h.
| 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.
| PointCloudDrawable::~PointCloudDrawable | ( | ) | [virtual] |
Definition at line 158 of file point_cloud_drawable.cpp.
| rtabmap::Transform PointCloudDrawable::getPose | ( | ) | const [inline] |
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.
| void PointCloudDrawable::setPose | ( | const rtabmap::Transform & | pose | ) |
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.
Definition at line 74 of file point_cloud_drawable.h.
int PointCloudDrawable::nPoints_ [private] |
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.
glm::mat4 PointCloudDrawable::pose_ [private] |
Definition at line 71 of file point_cloud_drawable.h.
Definition at line 75 of file point_cloud_drawable.h.
GLuint PointCloudDrawable::textures_ [private] |
Definition at line 68 of file point_cloud_drawable.h.
GLuint PointCloudDrawable::vertex_buffers_ [private] |
Definition at line 67 of file point_cloud_drawable.h.
bool PointCloudDrawable::visible_ [private] |
Definition at line 72 of file point_cloud_drawable.h.