CloudViewer: added setInteractorLayer() function

This commit is contained in:
matlabbe
2018-08-24 15:27:42 -04:00
parent cbf14bfa08
commit 080d044c99
4 changed files with 44 additions and 0 deletions

View File

@@ -308,6 +308,7 @@ public:
const QColor & getDefaultBackgroundColor() const;
const QColor & getBackgroundColor() const;
Transform getTargetPose() const;
std::string getIdByActor(vtkProp * actor) const;
void setBackfaceCulling(bool enabled, bool frontfaceCulling);
void setPolygonPicking(bool enabled);
@@ -315,6 +316,7 @@ public:
void setLighting(bool on);
void setShading(bool on);
void setEdgeVisibility(bool visible);
void setInteractorLayer(int layer);
double getRenderingRate() const;
void getCameraPosition(

View File

@@ -18,6 +18,7 @@ class RTABMAPGUI_EXP CloudViewerCellPicker : public vtkCellPicker {
public:
public:
static CloudViewerCellPicker *New ();
vtkTypeMacro(CloudViewerCellPicker, vtkCellPicker);
CloudViewerCellPicker();
virtual ~CloudViewerCellPicker();

View File

@@ -23,6 +23,7 @@ class RTABMAPGUI_EXP CloudViewerInteractorStyle: public pcl::visualization::PCLV
{
public:
static CloudViewerInteractorStyle *New ();
vtkTypeMacro(CloudViewerInteractorStyle, pcl::visualization::PCLVisualizerInteractorStyle);
public:
CloudViewerInteractorStyle();