1 #ifndef EOS_STEREO_RENDERER_HH
2 #define EOS_STEREO_RENDERER_HH
5 #include <vtkRenderer.h>
11 #include "vtkVolumeCollection.h" // Needed for access in inline members
12 #include "vtkActorCollection.h" // Needed for access in inline members
13 #include "vtkAssemblyPath.h"
15 #include "vtkAssembly.h"
16 #include "vtkFollower.h"
18 extern int Vtktcl_SafeInit(Tcl_Interp *interp);
19 class VTK_RENDERING_EXPORT eosStereoRenderer
22 static eosStereoRenderer* New();
27 void AddLight(vtkLight*);
28 void RemoveLight(vtkLight*);
29 //vtkLightCollection* GetLights();
31 //vtkVolumeCollection* GetVolumes();
33 //vtkActorCollection* GetActors();
35 //void SetActiveCamera(vtkCamera*);
36 vtkCamera* GetActiveCamera();
37 //vtkCamera* GetActiveCameraRight();
38 //vtkCamera* GetActiveCameraLeft();
42 void SetBackground(int,int,int);
44 //void ResetCameraClippingRange();
45 //void ResetCameraClippingRange(float bounds[6]);
46 //void ResetCameraClippingRange(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax);
48 //void ResetCamera(float bounds[6]);
49 //void ResetCamera(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax);
51 //vtkAssemblyPath* PickProp(float selectionX, float selectionY);
52 //vtkAssemblyPath* PickPropRight(float selectionX, float selectionY);
53 //vtkAssemblyPath* PickPropLeft(float selectionX, float selectionY);
55 vtkRenderer* GetMainRenderer();
56 vtkRenderer* GetRightRenderer();
57 vtkRenderer* GetLeftRenderer();
59 void AddActor(vtkActor*);
60 //void AddVolume(vtkActor*);
61 void RemoveActor(vtkActor*);
62 void AddActor2D(vtkActor2D*);
63 void RemoveActor2D(vtkActor2D*);
64 void AddActor(vtkAssembly*);
65 void RemoveActor(vtkAssembly*);
66 void RemoveActor(vtkFollower*);
68 //void SetLightFollowCamera (int);
69 //int GetLightFollowCamera ();
70 //int GetLightFollowCameraRight ();
71 //int GetLightFollowCameraLeft ();
72 //void LightFollowCameraOn ();
73 //void LightFollowCameraOff();
75 //void SetInteractive (int);
76 //int GetInteractive ();
77 //void InteractiveOn();
78 //void InteractiveOff();
81 vtkRenderer *Ren,*RenRight,*RenLeft;