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