21#ifndef vtkExternalOpenGLRenderer_h 
   22#define vtkExternalOpenGLRenderer_h 
   25#include "vtkRenderingExternalModule.h"  
   28VTK_ABI_NAMESPACE_BEGIN
 
a virtual camera for 3D rendering
 
a virtual light object for tweaking existing lights in an external 3D rendering context
 
virtual void RemoveExternalLight(vtkExternalLight *)
Remove an external light from the list of external lights.
 
void SynchronizeGLCameraMatrices()
Copy the current OpenGL GL_MODELVIEW_MATRIX and GL_PROJECTION_MATRIX to the active VTK camera before ...
 
vtkCamera * MakeCamera() override
Create a new Camera sutible for use with this type of Renderer.
 
~vtkExternalOpenGLRenderer() override
 
vtkTypeBool PreserveGLLights
 
virtual void AddExternalLight(vtkExternalLight *)
Add an external light to the list of external lights.
 
static vtkExternalOpenGLRenderer * New()
 
virtual void RemoveAllExternalLights()
Remove all external lights.
 
vtkLightCollection * ExternalLights
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
vtkExternalOpenGLRenderer()
 
void Render() override
Synchronize camera and light parameters.
 
void SynchronizeGLLights()
Query existing GL lights before each render call and tweak them to match the external lights collecti...
 
vtkTypeBool PreserveGLCameraMatrices
 
a simple class to control print indentation
 
an ordered list of lights