widget in viewport

This commit is contained in:
AndreaRigoni
2026-03-17 17:28:26 +00:00
parent bc437a3913
commit 553bb7fd61
6 changed files with 254 additions and 33 deletions

View File

@@ -80,11 +80,13 @@ public:
void SetOpacity(double alpha);
void SetSelectable(bool selectable = true);
bool IsSelectable() const;
virtual void ConnectInteractor(class vtkRenderWindowInteractor *interactor) {
(void)interactor;
}
void SetSelected(bool selected = true);
bool IsSelected() const;
virtual void ConnectInteractor(class vtkRenderWindowInteractor *interactor);
protected:
void SetProp(vtkProp *prop);
@@ -92,6 +94,9 @@ protected:
void RemoveProp(vtkProp *prop);
private:
Puppet(const Puppet&) = delete;
Puppet& operator=(const Puppet&) = delete;
friend class PuppetData;
class PuppetData *d;
};