Rendering/vtkOpenGLRenderer.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00039 #ifndef __vtkOpenGLRenderer_h
00040 #define __vtkOpenGLRenderer_h
00041
00042 #include "vtkRenderer.h"
00043
00044 class VTK_RENDERING_EXPORT vtkOpenGLRenderer : public vtkRenderer
00045 {
00046 protected:
00047 int NumberOfLightsBound;
00048
00049 public:
00050 static vtkOpenGLRenderer *New();
00051 vtkTypeRevisionMacro(vtkOpenGLRenderer,vtkRenderer);
00052 void PrintSelf(ostream& os, vtkIndent indent);
00053
00055 void DeviceRender(void);
00056
00059 void ClearLights(void);
00060
00061 void Clear(void);
00062
00064 int UpdateLights(void);
00065
00066 protected:
00067 vtkOpenGLRenderer();
00068 ~vtkOpenGLRenderer();
00069
00070
00071
00072 virtual void DevicePickRender();
00073 virtual void StartPick(unsigned int pickFromSize);
00074 virtual void UpdatePickId();
00075 virtual void DonePick();
00076 virtual unsigned int GetPickedId();
00077 virtual float GetPickedZ();
00078
00079 class vtkGLPickInfo* PickInfo;
00080
00081 float PickedZ;
00082 private:
00083 vtkOpenGLRenderer(const vtkOpenGLRenderer&);
00084 void operator=(const vtkOpenGLRenderer&);
00085 };
00086
00087 #endif