17 #ifndef TANGO_POINT_CLOUD_SCENE_H_ 18 #define TANGO_POINT_CLOUD_SCENE_H_ 43 #include <pcl/point_cloud.h> 44 #include <pcl/point_types.h> 98 float x0,
float y0,
float x1,
float y1);
101 const std::map<int, rtabmap::Transform> & poses,
102 const std::multimap<int, rtabmap::Link> & links);
117 const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & cloud,
118 const pcl::IndicesPtr & indices,
124 bool createWireframe =
false);
134 void updateGains(
int id,
float gainR,
float gainG,
float gainB);
214 #endif // TANGO_POINT_CLOUD_SCENE_H_
int getViewPortWidth() const
void addMesh(int id, const rtabmap::Mesh &mesh, const rtabmap::Transform &pose, bool createWireframe=false)
void setGridVisible(bool visible)
BoundingBoxDrawable * box_
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
std::set< int > getAddedMarkers() 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)
void setScreenRotation(rtabmap::ScreenRotation colorCameraToDisplayRotation)
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
BackgroundRenderer * background_renderer_
bool hasCloud(int id) const
bool meshRenderingTexture_
void setMeshRendering(bool enabled, bool withTexture)
tango_gl::Frustum * frustum_
void removeMarker(int id)
void setLighting(bool enabled)
void setOrthoCropFactor(float value)
void updateGains(int id, float gainR, float gainG, float gainB)
std::map< int, tango_gl::Axis * > markers_
void SetCameraPose(const rtabmap::Transform &pose)
bool hasMarker(int id) const
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
cv::Point2f doubleTapPos_
rtabmap::ScreenRotation color_camera_to_display_rotation_
void addMarker(int id, const rtabmap::Transform &pose)
void setFrustumVisible(bool visible)
int Render(const float *uvsTransformed=0, glm::mat4 arViewMatrix=glm::mat4(0), glm::mat4 arProjectionMatrix=glm::mat4(0), const rtabmap::Mesh &occlusionMesh=rtabmap::Mesh())
void setTraceVisible(bool visible)
void SetCameraType(tango_gl::GestureCamera::CameraType camera_type)
rtabmap::Transform GetCameraPose() const
tango_gl::GestureCamera::CameraType GetCameraType() const
rtabmap::ScreenRotation getScreenRotation() const
void updateMesh(int id, const rtabmap::Mesh &mesh)
void setGraphVisible(bool visible)
void setMarkerPose(int id, const rtabmap::Transform &pose)
bool boundingBoxRendering_
CameraType GetCameraType() const
void setGridRotation(float angleDeg)
tango_gl::GestureCamera * gesture_camera_
rtabmap::Transform * currentPose_
GLuint graph_shader_program_