VTK  9.5.2
vtkExternalOpenGLRenderer.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
20
21#ifndef vtkExternalOpenGLRenderer_h
22#define vtkExternalOpenGLRenderer_h
23
24#include "vtkOpenGLRenderer.h"
25#include "vtkRenderingExternalModule.h" // For export macro
26
27// Forward declarations
28VTK_ABI_NAMESPACE_BEGIN
31
111
112VTK_ABI_NAMESPACE_END
113#endif // vtkExternalOpenGLRenderer_h
a virtual camera for 3D rendering
Definition vtkCamera.h:42
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
virtual void AddExternalLight(vtkExternalLight *)
Add an external light to the list of external lights.
static vtkExternalOpenGLRenderer * New()
virtual void RemoveAllExternalLights()
Remove all external lights.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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...
a simple class to control print indentation
Definition vtkIndent.h:29
an ordered list of lights
int vtkTypeBool
Definition vtkABI.h:64