17 #ifndef TANGO_POINT_CLOUD_SCENE_H_ 18 #define TANGO_POINT_CLOUD_SCENE_H_ 24 #include <tango_client_api.h> 42 #include <pcl/point_cloud.h> 43 #include <pcl/point_types.h> 95 float x0,
float y0,
float x1,
float y1);
98 const std::map<int, rtabmap::Transform> & poses,
99 const std::multimap<int, rtabmap::Link> & links);
107 const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & cloud,
108 const pcl::IndicesPtr & indices,
114 bool createWireframe =
false);
124 void updateGains(
int id,
float gainR,
float gainG,
float gainB);
199 #endif // TANGO_POINT_CLOUD_SCENE_H_
int getViewPortWidth() const
void setGridVisible(bool visible)
BoundingBoxDrawable * box_
void setScreenRotation(TangoSupportRotation colorCameraToDisplayRotation)
bool isMeshTexturing() const
void updateCloudPolygons(int id, const std::vector< pcl::Vertices > &polygons)
void OnTouchEvent(int touch_count, tango_gl::GestureCamera::TouchEvent event, float x0, float y0, float x1, float y1)
void SetupViewPort(int w, int h)
rtabmap::Transform GetOpenGLCameraPose(float *fov=0) const
void setCloudPose(int id, const rtabmap::Transform &pose)
std::map< int, PointCloudDrawable * > pointClouds_
int getViewPortHeight() const
void setGridColor(float r, float g, float b)
void setWireframe(bool enabled)
float getPointSize() const
bool isBackfaceCulling() const
bool isMapRendering() const
bool hasMesh(int id) const
void setBackfaceCulling(bool enabled)
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
bool hasCloud(int id) const
bool meshRenderingTexture_
void setMeshRendering(bool enabled, bool withTexture)
tango_gl::Frustum * frustum_
void setLighting(bool enabled)
void setOrthoCropFactor(float value)
void updateGains(int id, float gainR, float gainG, float gainB)
void SetCameraPose(const rtabmap::Transform &pose)
void setMapRendering(bool enabled)
void setBlending(bool enabled)
void addCloud(int id, const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &cloud, const pcl::IndicesPtr &indices, const rtabmap::Transform &pose)
void setBackgroundColor(float r, float g, float b)
void setCloudVisible(int id, bool visible)
void updateGraph(const std::map< int, rtabmap::Transform > &poses, const std::multimap< int, rtabmap::Link > &links)
bool isMeshRendering() const
void setPointSize(float size)
std::set< int > getAddedClouds() const
bool hasTexture(int id) const
void updateMesh(int id, const Mesh &mesh)
cv::Point2f doubleTapPos_
void setTraceVisible(bool visible)
void SetCameraType(tango_gl::GestureCamera::CameraType camera_type)
rtabmap::Transform GetCameraPose() const
void setGraphVisible(bool visible)
void addMesh(int id, const Mesh &mesh, const rtabmap::Transform &pose, bool createWireframe=false)
bool boundingBoxRendering_
void setGridRotation(float angleDeg)
tango_gl::GestureCamera * gesture_camera_
TangoSupportRotation color_camera_to_display_rotation_
rtabmap::Transform * currentPose_
GLuint graph_shader_program_