CloudViewer: added getColor(id) and setColor(id) to change color of an actor

This commit is contained in:
matlabbe
2018-08-25 11:41:28 -04:00
parent c0a2efe7e2
commit f498cf1b1a
2 changed files with 87 additions and 1 deletions

View File

@@ -309,6 +309,8 @@ public:
const QColor & getBackgroundColor() const;
Transform getTargetPose() const;
std::string getIdByActor(vtkProp * actor) const;
QColor getColor(const std::string & id);
void setColor(const std::string & id, const QColor & color);
void setBackfaceCulling(bool enabled, bool frontfaceCulling);
void setPolygonPicking(bool enabled);