GUI: added options to hide map/odom frames and yellow TF links. CloudViewer: added option to show/hide camera axis

This commit is contained in:
matlabbe
2020-04-03 20:04:15 -04:00
parent 9c62a11316
commit b3f7d1881f
6 changed files with 116 additions and 26 deletions

View File

@@ -290,6 +290,8 @@ public:
void setTrajectoryShown(bool shown);
void setTrajectorySize(unsigned int value);
void clearTrajectory();
bool isCameraAxisShown() const;
void setCameraAxisShown(bool shown);
bool isFrustumShown() const;
float getFrustumScale() const;
QColor getFrustumColor() const;
@@ -404,6 +406,7 @@ private:
QAction * _aShowTrajectory;
QAction * _aSetTrajectorySize;
QAction * _aClearTrajectory;
QAction * _aShowCameraAxis;
QAction * _aShowFrustum;
QAction * _aSetFrustumScale;
QAction * _aSetFrustumColor;

View File

@@ -165,6 +165,7 @@ public:
bool isGraphsShown() const;
bool isLabelsShown() const;
bool isFramesShown() const;
bool isLandmarksShown() const;
double landmarkVisSize() const;
bool isIMUGravityShown(int index) const;