#include <CloudViewer.h>
Public Slots | |
virtual void | clear () |
void | setBackgroundColor (const QColor &color) |
void | setCloudColorIndex (const std::string &id, int index) |
void | setCloudOpacity (const std::string &id, double opacity=1.0) |
void | setCloudPointSize (const std::string &id, int size) |
void | setCloudVisibility (const std::string &id, bool isVisible) |
void | setDefaultBackgroundColor (const QColor &color) |
Signals | |
void | configChanged () |
Public Member Functions | |
bool | addCloud (const std::string &id, const pcl::PCLPointCloud2Ptr &binaryCloud, const Transform &pose, bool rgb, bool hasNormals, bool hasIntensity, const QColor &color=QColor(), int viewport=1) |
bool | addCloud (const std::string &id, const pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr &cloud, const Transform &pose=Transform::getIdentity(), const QColor &color=QColor()) |
bool | addCloud (const std::string &id, const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &cloud, const Transform &pose=Transform::getIdentity(), const QColor &color=QColor()) |
bool | addCloud (const std::string &id, const pcl::PointCloud< pcl::PointXYZINormal >::Ptr &cloud, const Transform &pose=Transform::getIdentity(), const QColor &color=QColor()) |
bool | addCloud (const std::string &id, const pcl::PointCloud< pcl::PointXYZI >::Ptr &cloud, const Transform &pose=Transform::getIdentity(), const QColor &color=QColor()) |
bool | addCloud (const std::string &id, const pcl::PointCloud< pcl::PointNormal >::Ptr &cloud, const Transform &pose=Transform::getIdentity(), const QColor &color=QColor()) |
bool | addCloud (const std::string &id, const pcl::PointCloud< pcl::PointXYZ >::Ptr &cloud, const Transform &pose=Transform::getIdentity(), const QColor &color=QColor()) |
bool | addCloudMesh (const std::string &id, const pcl::PointCloud< pcl::PointXYZ >::Ptr &cloud, const std::vector< pcl::Vertices > &polygons, const Transform &pose=Transform::getIdentity()) |
bool | addCloudMesh (const std::string &id, const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &cloud, const std::vector< pcl::Vertices > &polygons, const Transform &pose=Transform::getIdentity()) |
bool | addCloudMesh (const std::string &id, const pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr &cloud, const std::vector< pcl::Vertices > &polygons, const Transform &pose=Transform::getIdentity()) |
bool | addCloudMesh (const std::string &id, const pcl::PolygonMesh::Ptr &mesh, const Transform &pose=Transform::getIdentity()) |
bool | addCloudTextureMesh (const std::string &id, const pcl::TextureMesh::Ptr &textureMesh, const cv::Mat &texture, const Transform &pose=Transform::getIdentity()) |
bool | addOccupancyGridMap (const cv::Mat &map8U, float resolution, float xMin, float yMin, float opacity) |
bool | addOctomap (const OctoMap *octomap, unsigned int treeDepth=0, bool volumeRepresentation=true) |
void | addOrUpdateCoordinate (const std::string &id, const Transform &transform, double scale, bool foreground=false) |
void | addOrUpdateCube (const std::string &id, const Transform &pose, float width, float height, float depth, const QColor &color, bool wireframe=false, bool foreground=false) |
void | addOrUpdateFrustum (const std::string &id, const Transform &pose, const Transform &localTransform, double scale, const QColor &color=QColor(), float fovX=1.1, float fovY=0.85) |
void | addOrUpdateGraph (const std::string &id, const pcl::PointCloud< pcl::PointXYZ >::Ptr &graph, const QColor &color=Qt::gray) |
void | addOrUpdateLine (const std::string &id, const Transform &from, const Transform &to, const QColor &color, bool arrow=false, bool foreground=false) |
void | addOrUpdateQuad (const std::string &id, const Transform &pose, float width, float height, const QColor &color, bool foreground=false) |
void | addOrUpdateQuad (const std::string &id, const Transform &pose, float widthLeft, float widthRight, float heightBottom, float heightTop, const QColor &color, bool foreground=false) |
void | addOrUpdateSphere (const std::string &id, const Transform &pose, float radius, const QColor &color, bool foreground=false) |
void | addOrUpdateText (const std::string &id, const std::string &text, const Transform &position, double scale, const QColor &color, bool foreground=true) |
bool | addTextureMesh (const pcl::TextureMesh &mesh, const cv::Mat &texture, const std::string &id="texture", int viewport=0) |
void | buildPickingLocator (bool enable) |
void | clearTrajectory () |
CloudViewer (QWidget *parent=0, CloudViewerInteractorStyle *style=CloudViewerInteractorStyle::New()) | |
const QMap< std::string, Transform > & | getAddedClouds () const |
const std::set< std::string > & | getAddedCoordinates () const |
const std::set< std::string > & | getAddedCubes () const |
const QMap< std::string, Transform > & | getAddedFrustums () const |
const std::set< std::string > & | getAddedLines () const |
const std::set< std::string > & | getAddedQuads () const |
const std::set< std::string > & | getAddedSpheres () const |
const std::set< std::string > & | getAddedTexts () const |
const QColor & | getBackgroundColor () const |
void | getCameraPosition (float &x, float &y, float &z, float &focalX, float &focalY, float &focalZ, float &upX, float &upY, float &upZ) const |
bool | getCloudVisibility (const std::string &id) |
QColor | getColor (const std::string &id) |
double | getCoordinateFrameScale () const |
const QColor & | getDefaultBackgroundColor () const |
QColor | getFrustumColor () const |
float | getFrustumScale () const |
unsigned int | getGridCellCount () const |
float | getGridCellSize () const |
std::string | getIdByActor (vtkProp *actor) const |
float | getIntensityMax () const |
const std::map< std::string, vtkSmartPointer< vtkOBBTree > > & | getLocators () const |
float | getNormalsScale () const |
int | getNormalsStep () const |
bool | getPose (const std::string &id, Transform &pose) |
double | getRenderingRate () const |
Transform | getTargetPose () const |
unsigned int | getTrajectorySize () const |
bool | isBackfaceCulling () const |
bool | isCameraAxisShown () const |
bool | isCameraFree () const |
bool | isCameraLockZ () const |
bool | isCameraOrtho () const |
bool | isCameraTargetFollow () const |
bool | isCameraTargetLocked () const |
bool | isEdgeVisible () const |
bool | isEDLShadingOn () const |
bool | isFrontfaceCulling () const |
bool | isFrustumShown () const |
bool | isGridShown () const |
bool | isIntensityRainbowColormap () const |
bool | isIntensityRedColormap () const |
bool | isLightingOn () const |
bool | isNormalsShown () const |
bool | isPolygonPicking () const |
bool | isShadingOn () const |
bool | isTrajectoryShown () const |
void | loadSettings (QSettings &settings, const QString &group="") |
void | refreshView () |
void | removeAllClouds () |
void | removeAllCoordinates (const std::string &prefix="") |
void | removeAllCubes () |
void | removeAllFrustums (bool exceptCameraReference=false) |
void | removeAllGraphs () |
void | removeAllLines () |
void | removeAllQuads () |
void | removeAllSpheres () |
void | removeAllTexts () |
bool | removeCloud (const std::string &id) |
void | removeCoordinate (const std::string &id) |
void | removeCube (const std::string &id) |
void | removeFrustum (const std::string &id) |
void | removeGraph (const std::string &id) |
void | removeLine (const std::string &id) |
void | removeOccupancyGridMap () |
void | removeOctomap () |
void | removeQuad (const std::string &id) |
void | removeSphere (const std::string &id) |
void | removeText (const std::string &id) |
void | resetCamera () |
void | saveSettings (QSettings &settings, const QString &group="") const |
void | setBackfaceCulling (bool enabled, bool frontfaceCulling) |
void | setCameraAxisShown (bool shown) |
void | setCameraFree () |
void | setCameraLockZ (bool enabled=true) |
void | setCameraOrtho (bool enabled=true) |
void | setCameraPosition (float x, float y, float z, float focalX, float focalY, float focalZ, float upX, float upY, float upZ) |
void | setCameraTargetFollow (bool enabled=true) |
void | setCameraTargetLocked (bool enabled=true) |
void | setColor (const std::string &id, const QColor &color) |
void | setCoordinateFrameScale (double scale) |
void | setEdgeVisibility (bool visible) |
void | setEDLShading (bool on) |
void | setFrustumColor (QColor value) |
void | setFrustumScale (float value) |
void | setFrustumShown (bool shown) |
void | setGridCellCount (unsigned int count) |
void | setGridCellSize (float size) |
void | setGridShown (bool shown) |
void | setIntensityMax (float value) |
void | setIntensityRainbowColormap (bool value) |
void | setIntensityRedColormap (bool value) |
void | setInteractorLayer (int layer) |
void | setLighting (bool on) |
void | setNormalsScale (float scale) |
void | setNormalsShown (bool shown) |
void | setNormalsStep (int step) |
void | setPolygonPicking (bool enabled) |
void | setRenderingRate (double rate) |
void | setShading (bool on) |
void | setTrajectoryShown (bool shown) |
void | setTrajectorySize (unsigned int value) |
void | updateCameraFrustum (const Transform &pose, const StereoCameraModel &model) |
void | updateCameraFrustum (const Transform &pose, const CameraModel &model) |
void | updateCameraFrustums (const Transform &pose, const std::vector< CameraModel > &models) |
void | updateCameraFrustums (const Transform &pose, const std::vector< StereoCameraModel > &models) |
void | updateCameraTargetPosition (const Transform &pose) |
bool | updateCloudPose (const std::string &id, const Transform &pose) |
bool | updateCoordinatePose (const std::string &id, const Transform &transform) |
bool | updateFrustumPose (const std::string &id, const Transform &pose) |
virtual | ~CloudViewer () |
Protected Member Functions | |
virtual void | contextMenuEvent (QContextMenuEvent *event) |
virtual void | handleAction (QAction *event) |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | keyReleaseEvent (QKeyEvent *event) |
QMenu * | menu () |
virtual void | mouseMoveEvent (QMouseEvent *event) |
virtual void | mousePressEvent (QMouseEvent *event) |
pcl::visualization::PCLVisualizer * | visualizer () |
virtual void | wheelEvent (QWheelEvent *event) |
Private Member Functions | |
void | addGrid () |
void | createMenu () |
void | removeGrid () |
Definition at line 78 of file CloudViewer.h.
rtabmap::CloudViewer::CloudViewer | ( | QWidget * | parent = 0 , |
CloudViewerInteractorStyle * | style = CloudViewerInteractorStyle::New() |
||
) |
Definition at line 95 of file CloudViewer.cpp.
|
virtual |
Definition at line 243 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloud | ( | const std::string & | id, |
const pcl::PCLPointCloud2Ptr & | binaryCloud, | ||
const Transform & | pose, | ||
bool | rgb, | ||
bool | hasNormals, | ||
bool | hasIntensity, | ||
const QColor & | color = QColor() , |
||
int | viewport = 1 |
||
) |
Definition at line 734 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloud | ( | const std::string & | id, |
const pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr & | cloud, | ||
const Transform & | pose = Transform::getIdentity() , |
||
const QColor & | color = QColor() |
||
) |
Definition at line 846 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloud | ( | const std::string & | id, |
const pcl::PointCloud< pcl::PointXYZRGB >::Ptr & | cloud, | ||
const Transform & | pose = Transform::getIdentity() , |
||
const QColor & | color = QColor() |
||
) |
Definition at line 857 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloud | ( | const std::string & | id, |
const pcl::PointCloud< pcl::PointXYZINormal >::Ptr & | cloud, | ||
const Transform & | pose = Transform::getIdentity() , |
||
const QColor & | color = QColor() |
||
) |
Definition at line 868 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloud | ( | const std::string & | id, |
const pcl::PointCloud< pcl::PointXYZI >::Ptr & | cloud, | ||
const Transform & | pose = Transform::getIdentity() , |
||
const QColor & | color = QColor() |
||
) |
Definition at line 879 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloud | ( | const std::string & | id, |
const pcl::PointCloud< pcl::PointNormal >::Ptr & | cloud, | ||
const Transform & | pose = Transform::getIdentity() , |
||
const QColor & | color = QColor() |
||
) |
Definition at line 890 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloud | ( | const std::string & | id, |
const pcl::PointCloud< pcl::PointXYZ >::Ptr & | cloud, | ||
const Transform & | pose = Transform::getIdentity() , |
||
const QColor & | color = QColor() |
||
) |
Definition at line 901 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloudMesh | ( | const std::string & | id, |
const pcl::PointCloud< pcl::PointXYZ >::Ptr & | cloud, | ||
const std::vector< pcl::Vertices > & | polygons, | ||
const Transform & | pose = Transform::getIdentity() |
||
) |
Definition at line 912 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloudMesh | ( | const std::string & | id, |
const pcl::PointCloud< pcl::PointXYZRGB >::Ptr & | cloud, | ||
const std::vector< pcl::Vertices > & | polygons, | ||
const Transform & | pose = Transform::getIdentity() |
||
) |
Definition at line 950 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloudMesh | ( | const std::string & | id, |
const pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr & | cloud, | ||
const std::vector< pcl::Vertices > & | polygons, | ||
const Transform & | pose = Transform::getIdentity() |
||
) |
Definition at line 988 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloudMesh | ( | const std::string & | id, |
const pcl::PolygonMesh::Ptr & | mesh, | ||
const Transform & | pose = Transform::getIdentity() |
||
) |
Definition at line 1026 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addCloudTextureMesh | ( | const std::string & | id, |
const pcl::TextureMesh::Ptr & | textureMesh, | ||
const cv::Mat & | texture, | ||
const Transform & | pose = Transform::getIdentity() |
||
) |
Definition at line 1063 of file CloudViewer.cpp.
|
private |
Definition at line 3304 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addOccupancyGridMap | ( | const cv::Mat & | map8U, |
float | resolution, | ||
float | xMin, | ||
float | yMin, | ||
float | opacity | ||
) |
Definition at line 1516 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addOctomap | ( | const OctoMap * | octomap, |
unsigned int | treeDepth = 0 , |
||
bool | volumeRepresentation = true |
||
) |
Definition at line 1102 of file CloudViewer.cpp.
void rtabmap::CloudViewer::addOrUpdateCoordinate | ( | const std::string & | id, |
const Transform & | transform, | ||
double | scale, | ||
bool | foreground = false |
||
) |
Definition at line 1596 of file CloudViewer.cpp.
void rtabmap::CloudViewer::addOrUpdateCube | ( | const std::string & | id, |
const Transform & | pose, | ||
float | width, | ||
float | height, | ||
float | depth, | ||
const QColor & | color, | ||
bool | wireframe = false , |
||
bool | foreground = false |
||
) |
Definition at line 1793 of file CloudViewer.cpp.
void rtabmap::CloudViewer::addOrUpdateFrustum | ( | const std::string & | id, |
const Transform & | pose, | ||
const Transform & | localTransform, | ||
double | scale, | ||
const QColor & | color = QColor() , |
||
float | fovX = 1.1 , |
||
float | fovY = 0.85 |
||
) |
Definition at line 2007 of file CloudViewer.cpp.
void rtabmap::CloudViewer::addOrUpdateGraph | ( | const std::string & | id, |
const pcl::PointCloud< pcl::PointXYZ >::Ptr & | graph, | ||
const QColor & | color = Qt::gray |
||
) |
Definition at line 2157 of file CloudViewer.cpp.
void rtabmap::CloudViewer::addOrUpdateLine | ( | const std::string & | id, |
const Transform & | from, | ||
const Transform & | to, | ||
const QColor & | color, | ||
bool | arrow = false , |
||
bool | foreground = false |
||
) |
Definition at line 1671 of file CloudViewer.cpp.
void rtabmap::CloudViewer::addOrUpdateQuad | ( | const std::string & | id, |
const Transform & | pose, | ||
float | width, | ||
float | height, | ||
const QColor & | color, | ||
bool | foreground = false |
||
) |
Definition at line 1855 of file CloudViewer.cpp.
void rtabmap::CloudViewer::addOrUpdateQuad | ( | const std::string & | id, |
const Transform & | pose, | ||
float | widthLeft, | ||
float | widthRight, | ||
float | heightBottom, | ||
float | heightTop, | ||
const QColor & | color, | ||
bool | foreground = false |
||
) |
Definition at line 1866 of file CloudViewer.cpp.
void rtabmap::CloudViewer::addOrUpdateSphere | ( | const std::string & | id, |
const Transform & | pose, | ||
float | radius, | ||
const QColor & | color, | ||
bool | foreground = false |
||
) |
Definition at line 1737 of file CloudViewer.cpp.
void rtabmap::CloudViewer::addOrUpdateText | ( | const std::string & | id, |
const std::string & | text, | ||
const Transform & | position, | ||
double | scale, | ||
const QColor & | color, | ||
bool | foreground = true |
||
) |
Definition at line 2220 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::addTextureMesh | ( | const pcl::TextureMesh & | mesh, |
const cv::Mat & | texture, | ||
const std::string & | id = "texture" , |
||
int | viewport = 0 |
||
) |
Definition at line 1327 of file CloudViewer.cpp.
void rtabmap::CloudViewer::buildPickingLocator | ( | bool | enable | ) |
Definition at line 3442 of file CloudViewer.cpp.
|
virtualslot |
Definition at line 251 of file CloudViewer.cpp.
void rtabmap::CloudViewer::clearTrajectory | ( | ) |
Definition at line 2296 of file CloudViewer.cpp.
|
signal |
|
protectedvirtual |
Definition at line 3677 of file CloudViewer.cpp.
|
private |
Definition at line 274 of file CloudViewer.cpp.
|
inline |
Definition at line 329 of file CloudViewer.h.
|
inline |
Definition at line 217 of file CloudViewer.h.
|
inline |
Definition at line 251 of file CloudViewer.h.
|
inline |
Definition at line 286 of file CloudViewer.h.
|
inline |
Definition at line 228 of file CloudViewer.h.
|
inline |
Definition at line 271 of file CloudViewer.h.
|
inline |
Definition at line 238 of file CloudViewer.h.
|
inline |
Definition at line 304 of file CloudViewer.h.
const QColor & rtabmap::CloudViewer::getBackgroundColor | ( | ) | const |
Definition at line 3041 of file CloudViewer.cpp.
void rtabmap::CloudViewer::getCameraPosition | ( | float & | x, |
float & | y, | ||
float & | z, | ||
float & | focalX, | ||
float & | focalY, | ||
float & | focalZ, | ||
float & | upX, | ||
float & | upY, | ||
float & | upZ | ||
) | const |
Definition at line 2774 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::getCloudVisibility | ( | const std::string & | id | ) |
Definition at line 3085 of file CloudViewer.cpp.
QColor rtabmap::CloudViewer::getColor | ( | const std::string & | id | ) |
Definition at line 2515 of file CloudViewer.cpp.
double rtabmap::CloudViewer::getCoordinateFrameScale | ( | ) | const |
Definition at line 2322 of file CloudViewer.cpp.
const QColor & rtabmap::CloudViewer::getDefaultBackgroundColor | ( | ) | const |
Definition at line 3027 of file CloudViewer.cpp.
QColor rtabmap::CloudViewer::getFrustumColor | ( | ) | const |
Definition at line 2342 of file CloudViewer.cpp.
float rtabmap::CloudViewer::getFrustumScale | ( | ) | const |
Definition at line 2337 of file CloudViewer.cpp.
unsigned int rtabmap::CloudViewer::getGridCellCount | ( | ) | const |
Definition at line 3264 of file CloudViewer.cpp.
float rtabmap::CloudViewer::getGridCellSize | ( | ) | const |
Definition at line 3268 of file CloudViewer.cpp.
std::string rtabmap::CloudViewer::getIdByActor | ( | vtkProp * | actor | ) | const |
Definition at line 2484 of file CloudViewer.cpp.
float rtabmap::CloudViewer::getIntensityMax | ( | ) | const |
Definition at line 3409 of file CloudViewer.cpp.
|
inline |
Definition at line 393 of file CloudViewer.h.
float rtabmap::CloudViewer::getNormalsScale | ( | ) | const |
Definition at line 3374 of file CloudViewer.cpp.
int rtabmap::CloudViewer::getNormalsStep | ( | ) | const |
Definition at line 3370 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::getPose | ( | const std::string & | id, |
Transform & | pose | ||
) |
Definition at line 2465 of file CloudViewer.cpp.
double rtabmap::CloudViewer::getRenderingRate | ( | ) | const |
Definition at line 3243 of file CloudViewer.cpp.
Transform rtabmap::CloudViewer::getTargetPose | ( | ) | const |
Definition at line 2475 of file CloudViewer.cpp.
unsigned int rtabmap::CloudViewer::getTrajectorySize | ( | ) | const |
Definition at line 2281 of file CloudViewer.cpp.
|
protectedvirtual |
Definition at line 3687 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isBackfaceCulling | ( | ) | const |
Definition at line 3215 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isCameraAxisShown | ( | ) | const |
Definition at line 2303 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isCameraFree | ( | ) | const |
Definition at line 3203 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isCameraLockZ | ( | ) | const |
Definition at line 3207 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isCameraOrtho | ( | ) | const |
Definition at line 3211 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isCameraTargetFollow | ( | ) | const |
Definition at line 3199 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isCameraTargetLocked | ( | ) | const |
Definition at line 3195 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isEdgeVisible | ( | ) | const |
Definition at line 3239 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isEDLShadingOn | ( | ) | const |
Definition at line 3227 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isFrontfaceCulling | ( | ) | const |
Definition at line 3219 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isFrustumShown | ( | ) | const |
Definition at line 2332 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isGridShown | ( | ) | const |
Definition at line 3260 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isIntensityRainbowColormap | ( | ) | const |
Definition at line 3405 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isIntensityRedColormap | ( | ) | const |
Definition at line 3401 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isLightingOn | ( | ) | const |
Definition at line 3231 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isNormalsShown | ( | ) | const |
Definition at line 3366 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isPolygonPicking | ( | ) | const |
Definition at line 3223 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isShadingOn | ( | ) | const |
Definition at line 3235 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::isTrajectoryShown | ( | ) | const |
Definition at line 2276 of file CloudViewer.cpp.
|
protectedvirtual |
Definition at line 3496 of file CloudViewer.cpp.
|
protectedvirtual |
Definition at line 3482 of file CloudViewer.cpp.
void rtabmap::CloudViewer::loadSettings | ( | QSettings & | settings, |
const QString & | group = "" |
||
) |
Definition at line 469 of file CloudViewer.cpp.
|
inlineprotected |
Definition at line 415 of file CloudViewer.h.
|
protectedvirtual |
Definition at line 3606 of file CloudViewer.cpp.
|
protectedvirtual |
Definition at line 3594 of file CloudViewer.cpp.
void rtabmap::CloudViewer::refreshView | ( | ) |
Definition at line 527 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeAllClouds | ( | ) |
Definition at line 2436 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeAllCoordinates | ( | const std::string & | prefix = "" | ) |
Definition at line 1658 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeAllCubes | ( | ) |
Definition at line 1845 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeAllFrustums | ( | bool | exceptCameraReference = false | ) |
Definition at line 2144 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeAllGraphs | ( | ) |
Definition at line 2210 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeAllLines | ( | ) |
Definition at line 1727 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeAllQuads | ( | ) |
Definition at line 1987 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeAllSpheres | ( | ) |
Definition at line 1783 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeAllTexts | ( | ) |
Definition at line 2266 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::removeCloud | ( | const std::string & | id | ) |
Definition at line 2449 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeCoordinate | ( | const std::string & | id | ) |
Definition at line 1638 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeCube | ( | const std::string & | id | ) |
Definition at line 1830 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeFrustum | ( | const std::string & | id | ) |
Definition at line 2129 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeGraph | ( | const std::string & | id | ) |
Definition at line 2194 of file CloudViewer.cpp.
|
private |
Definition at line 3344 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeLine | ( | const std::string & | id | ) |
Definition at line 1712 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeOccupancyGridMap | ( | ) |
Definition at line 1581 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeOctomap | ( | ) |
Definition at line 1310 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeQuad | ( | const std::string & | id | ) |
Definition at line 1972 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeSphere | ( | const std::string & | id | ) |
Definition at line 1768 of file CloudViewer.cpp.
void rtabmap::CloudViewer::removeText | ( | const std::string & | id | ) |
Definition at line 2251 of file CloudViewer.cpp.
void rtabmap::CloudViewer::resetCamera | ( | ) |
Definition at line 2391 of file CloudViewer.cpp.
void rtabmap::CloudViewer::saveSettings | ( | QSettings & | settings, |
const QString & | group = "" |
||
) | const |
Definition at line 404 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setBackfaceCulling | ( | bool | enabled, |
bool | frontfaceCulling | ||
) |
Definition at line 2593 of file CloudViewer.cpp.
|
slot |
Definition at line 3046 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setCameraAxisShown | ( | bool | shown | ) |
Definition at line 2308 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setCameraFree | ( | ) |
Definition at line 3169 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setCameraLockZ | ( | bool | enabled = true | ) |
Definition at line 3175 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setCameraOrtho | ( | bool | enabled = true | ) |
Definition at line 3180 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setCameraPosition | ( | float | x, |
float | y, | ||
float | z, | ||
float | focalX, | ||
float | focalY, | ||
float | focalZ, | ||
float | upX, | ||
float | upY, | ||
float | upZ | ||
) |
Definition at line 2799 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setCameraTargetFollow | ( | bool | enabled = true | ) |
Definition at line 3164 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setCameraTargetLocked | ( | bool | enabled = true | ) |
Definition at line 3159 of file CloudViewer.cpp.
|
slot |
Definition at line 3112 of file CloudViewer.cpp.
|
slot |
Definition at line 3120 of file CloudViewer.cpp.
|
slot |
Definition at line 3147 of file CloudViewer.cpp.
|
slot |
Definition at line 3052 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setColor | ( | const std::string & | id, |
const QColor & | color | ||
) |
Definition at line 2557 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setCoordinateFrameScale | ( | double | scale | ) |
Definition at line 2327 of file CloudViewer.cpp.
|
slot |
Definition at line 3032 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setEdgeVisibility | ( | bool | visible | ) |
Definition at line 2734 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setEDLShading | ( | bool | on | ) |
Definition at line 2655 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setFrustumColor | ( | QColor | value | ) |
Definition at line 2377 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setFrustumScale | ( | float | value | ) |
Definition at line 2372 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setFrustumShown | ( | bool | shown | ) |
Definition at line 2347 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setGridCellCount | ( | unsigned int | count | ) |
Definition at line 3272 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setGridCellSize | ( | float | size | ) |
Definition at line 3288 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setGridShown | ( | bool | shown | ) |
Definition at line 3248 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setIntensityMax | ( | float | value | ) |
Definition at line 3430 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setIntensityRainbowColormap | ( | bool | value | ) |
Definition at line 3422 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setIntensityRedColormap | ( | bool | value | ) |
Definition at line 3414 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setInteractorLayer | ( | int | layer | ) |
Definition at line 2756 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setLighting | ( | bool | on | ) |
Definition at line 2690 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setNormalsScale | ( | float | scale | ) |
Definition at line 3389 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setNormalsShown | ( | bool | shown | ) |
Definition at line 3353 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setNormalsStep | ( | int | step | ) |
Definition at line 3378 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setPolygonPicking | ( | bool | enabled | ) |
Definition at line 2619 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setRenderingRate | ( | double | rate | ) |
Definition at line 2649 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setShading | ( | bool | on | ) |
Definition at line 2712 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setTrajectoryShown | ( | bool | shown | ) |
Definition at line 2286 of file CloudViewer.cpp.
void rtabmap::CloudViewer::setTrajectorySize | ( | unsigned int | value | ) |
Definition at line 2291 of file CloudViewer.cpp.
void rtabmap::CloudViewer::updateCameraFrustum | ( | const Transform & | pose, |
const StereoCameraModel & | model | ||
) |
Definition at line 2966 of file CloudViewer.cpp.
void rtabmap::CloudViewer::updateCameraFrustum | ( | const Transform & | pose, |
const CameraModel & | model | ||
) |
Definition at line 2979 of file CloudViewer.cpp.
void rtabmap::CloudViewer::updateCameraFrustums | ( | const Transform & | pose, |
const std::vector< CameraModel > & | models | ||
) |
Definition at line 2986 of file CloudViewer.cpp.
void rtabmap::CloudViewer::updateCameraFrustums | ( | const Transform & | pose, |
const std::vector< StereoCameraModel > & | models | ||
) |
Definition at line 3011 of file CloudViewer.cpp.
void rtabmap::CloudViewer::updateCameraTargetPosition | ( | const Transform & | pose | ) |
Definition at line 2842 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::updateCloudPose | ( | const std::string & | id, |
const Transform & | pose | ||
) |
Definition at line 536 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::updateCoordinatePose | ( | const std::string & | id, |
const Transform & | transform | ||
) |
Definition at line 1622 of file CloudViewer.cpp.
bool rtabmap::CloudViewer::updateFrustumPose | ( | const std::string & | id, |
const Transform & | pose | ||
) |
Definition at line 2086 of file CloudViewer.cpp.
|
inlineprotected |
Definition at line 416 of file CloudViewer.h.
|
protectedvirtual |
Definition at line 3657 of file CloudViewer.cpp.
|
private |
Definition at line 453 of file CloudViewer.h.
|
private |
Definition at line 429 of file CloudViewer.h.
|
private |
Definition at line 432 of file CloudViewer.h.
|
private |
Definition at line 476 of file CloudViewer.h.
|
private |
Definition at line 426 of file CloudViewer.h.
|
private |
Definition at line 425 of file CloudViewer.h.
|
private |
Definition at line 428 of file CloudViewer.h.
|
private |
Definition at line 454 of file CloudViewer.h.
|
private |
Definition at line 427 of file CloudViewer.h.
|
private |
Definition at line 447 of file CloudViewer.h.
|
private |
Definition at line 452 of file CloudViewer.h.
|
private |
Definition at line 449 of file CloudViewer.h.
|
private |
Definition at line 451 of file CloudViewer.h.
|
private |
Definition at line 434 of file CloudViewer.h.
|
private |
Definition at line 437 of file CloudViewer.h.
|
private |
Definition at line 436 of file CloudViewer.h.
|
private |
Definition at line 439 of file CloudViewer.h.
|
private |
Definition at line 440 of file CloudViewer.h.
|
private |
Definition at line 446 of file CloudViewer.h.
|
private |
Definition at line 445 of file CloudViewer.h.
|
private |
Definition at line 444 of file CloudViewer.h.
|
private |
Definition at line 450 of file CloudViewer.h.
|
private |
Definition at line 443 of file CloudViewer.h.
|
private |
Definition at line 442 of file CloudViewer.h.
|
private |
Definition at line 448 of file CloudViewer.h.
|
private |
Definition at line 431 of file CloudViewer.h.
|
private |
Definition at line 433 of file CloudViewer.h.
|
private |
Definition at line 435 of file CloudViewer.h.
|
private |
Definition at line 438 of file CloudViewer.h.
|
private |
Definition at line 441 of file CloudViewer.h.
|
private |
Definition at line 430 of file CloudViewer.h.
|
private |
Definition at line 472 of file CloudViewer.h.
|
private |
Definition at line 486 of file CloudViewer.h.
|
private |
Definition at line 457 of file CloudViewer.h.
|
private |
Definition at line 461 of file CloudViewer.h.
|
private |
Definition at line 481 of file CloudViewer.h.
|
private |
Definition at line 480 of file CloudViewer.h.
|
private |
Definition at line 482 of file CloudViewer.h.
|
private |
Definition at line 467 of file CloudViewer.h.
|
private |
Definition at line 463 of file CloudViewer.h.
|
private |
Definition at line 466 of file CloudViewer.h.
|
private |
Definition at line 456 of file CloudViewer.h.
|
private |
Definition at line 468 of file CloudViewer.h.
|
private |
Definition at line 469 of file CloudViewer.h.
|
private |
Definition at line 478 of file CloudViewer.h.
|
private |
Definition at line 485 of file CloudViewer.h.
|
private |
Definition at line 479 of file CloudViewer.h.
|
private |
Definition at line 474 of file CloudViewer.h.
|
private |
Definition at line 475 of file CloudViewer.h.
|
private |
Definition at line 477 of file CloudViewer.h.
|
private |
Definition at line 459 of file CloudViewer.h.
|
private |
Definition at line 473 of file CloudViewer.h.
|
private |
Definition at line 465 of file CloudViewer.h.
|
private |
Definition at line 455 of file CloudViewer.h.
|
private |
Definition at line 471 of file CloudViewer.h.
|
private |
Definition at line 470 of file CloudViewer.h.
|
private |
Definition at line 484 of file CloudViewer.h.
|
private |
Definition at line 462 of file CloudViewer.h.
|
private |
Definition at line 483 of file CloudViewer.h.
|
private |
Definition at line 460 of file CloudViewer.h.
|
private |
Definition at line 458 of file CloudViewer.h.
|
private |
Definition at line 464 of file CloudViewer.h.
|
private |
Definition at line 424 of file CloudViewer.h.