mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
CloudViewer: added some getters
This commit is contained in:
@@ -319,6 +319,13 @@ public:
|
||||
void setShading(bool on);
|
||||
void setEdgeVisibility(bool visible);
|
||||
void setInteractorLayer(int layer);
|
||||
|
||||
bool isBackfaceCulling() const;
|
||||
bool isFrontfaceCulling() const;
|
||||
bool isPolygonPicking() const;
|
||||
bool isLightingOn() const;
|
||||
bool isShadingOn() const;
|
||||
bool isEdgeVisible() const;
|
||||
double getRenderingRate() const;
|
||||
|
||||
void getCameraPosition(
|
||||
|
||||
@@ -2651,6 +2651,30 @@ bool CloudViewer::isCameraOrtho() const
|
||||
{
|
||||
return _aCameraOrtho->isChecked();
|
||||
}
|
||||
bool CloudViewer::isBackfaceCulling() const
|
||||
{
|
||||
return _aBackfaceCulling->isChecked();
|
||||
}
|
||||
bool CloudViewer::isFrontfaceCulling() const
|
||||
{
|
||||
return _frontfaceCulling;
|
||||
}
|
||||
bool CloudViewer::isPolygonPicking() const
|
||||
{
|
||||
return _aPolygonPicking->isChecked();
|
||||
}
|
||||
bool CloudViewer::isLightingOn() const
|
||||
{
|
||||
return _aSetLighting->isChecked();
|
||||
}
|
||||
bool CloudViewer::isShadingOn() const
|
||||
{
|
||||
return _aSetFlatShading->isChecked();
|
||||
}
|
||||
bool CloudViewer::isEdgeVisible() const
|
||||
{
|
||||
return _aSetEdgeVisibility->isChecked();
|
||||
}
|
||||
double CloudViewer::getRenderingRate() const
|
||||
{
|
||||
return _renderingRate;
|
||||
|
||||
Reference in New Issue
Block a user