Public Member Functions |
void | addCloud (int id, const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &cloud, const std::vector< pcl::Vertices > &polygons, const rtabmap::Transform &pose, const cv::Mat &image=cv::Mat()) |
void | clear () |
void | DeleteResources () |
std::set< int > | getAddedClouds () const |
rtabmap::Transform | GetCameraPose () const |
rtabmap::Transform | GetOpenGLCameraPose (float *fov) const |
bool | hasCloud (int id) const |
void | InitGLContent () |
void | OnTouchEvent (int touch_count, tango_gl::GestureCamera::TouchEvent event, float x0, float y0, float x1, float y1) |
int | Render () |
| Scene () |
void | SetCameraPose (const rtabmap::Transform &pose) |
void | SetCameraType (tango_gl::GestureCamera::CameraType camera_type) |
void | setCloudPose (int id, const rtabmap::Transform &pose) |
void | setCloudVisible (int id, bool visible) |
void | setGraphVisible (bool visible) |
void | setMapRendering (bool enabled) |
void | setMeshRendering (bool enabled) |
void | setPointSize (float size) |
void | setTraceVisible (bool visible) |
void | SetupViewPort (int w, int h) |
void | updateGraph (const std::map< int, rtabmap::Transform > &poses, const std::multimap< int, rtabmap::Link > &links) |
| ~Scene () |
Private Attributes |
tango_gl::Axis * | axis_ |
GLuint | cloud_shader_program_ |
rtabmap::Transform * | currentPose_ |
tango_gl::Frustum * | frustum_ |
tango_gl::GestureCamera * | gesture_camera_ |
GraphDrawable * | graph_ |
GLuint | graph_shader_program_ |
bool | graphVisible_ |
tango_gl::Grid * | grid_ |
bool | mapRendering_ |
bool | meshRendering_ |
std::map< int,
PointCloudDrawable * > | pointClouds_ |
float | pointSize_ |
GLuint | texture_mesh_shader_program_ |
tango_gl::Trace * | trace_ |
bool | traceVisible_ |
Definition at line 45 of file scene.h.