Go to the documentation of this file.
17 #ifndef TANGO_POINT_CLOUD_SCENE_H_
18 #define TANGO_POINT_CLOUD_SCENE_H_
45 #include <pcl/point_cloud.h>
46 #include <pcl/point_types.h>
100 float x0,
float y0,
float x1,
float y1);
103 const std::map<int, rtabmap::Transform> & poses,
104 const std::multimap<int, rtabmap::Link> & links);
119 const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & cloud,
120 const pcl::IndicesPtr & indices,
126 bool createWireframe =
false);
136 void updateGains(
int id,
float gainR,
float gainG,
float gainB);
218 #endif // TANGO_POINT_CLOUD_SCENE_H_
bool hasTexture(int id) const
bool isMeshTexturing() const
rtabmap::Transform * currentPose_
void OnTouchEvent(int touch_count, tango_gl::GestureCamera::TouchEvent event, float x0, float y0, float x1, float y1)
int Render(const float *uvsTransformed=0, glm::mat4 arViewMatrix=glm::mat4(0), glm::mat4 arProjectionMatrix=glm::mat4(0), const rtabmap::Mesh &occlusionMesh=rtabmap::Mesh(), bool mapping=false)
rtabmap::ScreenRotation getScreenRotation() const
void setScreenRotation(rtabmap::ScreenRotation colorCameraToDisplayRotation)
std::map< int, PointCloudDrawable * > pointClouds_
int getViewPortWidth() const
void setGridColor(float r, float g, float b)
void setGridVisible(bool visible)
GLuint graph_shader_program_
bool isMeshRendering() const
bool isMapRendering() const
tango_gl::Frustum * frustum_
void addMesh(int id, const rtabmap::Mesh &mesh, const rtabmap::Transform &pose, bool createWireframe=false)
void setWireframe(bool enabled)
CameraType GetCameraType() const
void updateCloudPolygons(int id, const std::vector< pcl::Vertices > &polygons)
void SetupViewPort(int w, int h)
std::set< int > getAddedClouds() const
std::set< int > getAddedMarkers() const
void setBackfaceCulling(bool enabled)
void setMeshRendering(bool enabled, bool withTexture)
void removeMarker(int id)
int getViewPortHeight() const
void updateGains(int id, float gainR, float gainG, float gainB)
bool meshRenderingTexture_
BackgroundRenderer * background_renderer_
bool isBackfaceCulling() const
void setMapRendering(bool enabled)
std::map< int, tango_gl::Axis * > markers_
rtabmap::Transform GetCameraPose() const
void addMarker(int id, const rtabmap::Transform &pose)
void setLighting(bool enabled)
void setOrthoCropFactor(float value)
void setBlending(bool enabled)
cv::Point2f doubleTapPos_
void setBackgroundColor(float r, float g, float b)
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
void addCloud(int id, const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &cloud, const pcl::IndicesPtr &indices, const rtabmap::Transform &pose)
void setCloudVisible(int id, bool visible)
void setPointSize(float size)
void SetCameraPose(const rtabmap::Transform &pose)
bool hasCloud(int id) const
void SetCameraType(tango_gl::GestureCamera::CameraType camera_type)
void updateGraph(const std::map< int, rtabmap::Transform > &poses, const std::multimap< int, rtabmap::Link > &links)
void updateMesh(int id, const rtabmap::Mesh &mesh)
rtabmap::ScreenRotation color_camera_to_display_rotation_
void setMarkerPose(int id, const rtabmap::Transform &pose)
void setTraceVisible(bool visible)
void setFrustumVisible(bool visible)
void setGridRotation(float angleDeg)
float getPointSize() const
void setGraphVisible(bool visible)
tango_gl::GestureCamera * gesture_camera_
bool hasMesh(int id) const
rtabmap::Transform GetOpenGLCameraPose(float *fov=0) const
BoundingBoxDrawable * box_
bool boundingBoxRendering_
tango_gl::GestureCamera::CameraType GetCameraType() const
bool hasMarker(int id) const
void setCloudPose(int id, const rtabmap::Transform &pose)
rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:15