feat (wip): implementing camera zooming and panning functionality

This commit is contained in:
2024-05-05 21:45:02 +02:00
parent cd87f383c9
commit 4d743a42c1
14 changed files with 180 additions and 22 deletions

View File

@@ -27,6 +27,11 @@ public:
* @param interactor : pointer to the interactor that observers can be added to.
*/
virtual void addObservers(vtkSmartPointer<vtkRenderWindowInteractor> interactor);
/** Sets the active camera for the vtkRenderer associated with this layer.
* Used to share one camera between multiple layers.
*/
virtual void setCamera(vtkCamera *camera);
};
#endif