VTK
vtkOpenGLLight.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4
5 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6 All rights reserved.
7 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13=========================================================================*/
22#ifndef vtkOpenGLLight_h
23#define vtkOpenGLLight_h
24
25#include "vtkRenderingOpenGL2Module.h" // For export macro
26#include "vtkLight.h"
27
29
30class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLLight : public vtkLight
31{
32public:
34 vtkTypeMacro(vtkOpenGLLight, vtkLight);
35 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
36
40 void Render(vtkRenderer *ren, int light_index);
41
42protected:
45
46private:
47 vtkOpenGLLight(const vtkOpenGLLight&) VTK_DELETE_FUNCTION;
48 void operator=(const vtkOpenGLLight&) VTK_DELETE_FUNCTION;
49};
50
51#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
a virtual light for 3D rendering
Definition: vtkLight.h:62
OpenGL light.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Render(vtkRenderer *ren, int light_index)
Implement base class method.
static vtkOpenGLLight * New()
OpenGL renderer.
abstract specification for renderers
Definition: vtkRenderer.h:64