VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
=========================================================================*/
22
#ifndef __vtkOpenGLLight_h
23
#define __vtkOpenGLLight_h
24
25
#include "vtkRenderingOpenGLModule.h"
// For export macro
26
#include "
vtkLight.h
"
27
28
class
vtkOpenGLRenderer
;
29
30
class
VTKRENDERINGOPENGL_EXPORT
vtkOpenGLLight
:
public
vtkLight
31
{
32
public
:
33
static
vtkOpenGLLight
*
New
();
34
vtkTypeMacro(
vtkOpenGLLight
,
vtkLight
);
35
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
36
38
void
Render
(
vtkRenderer
*ren,
int
light_index);
39
40
protected
:
41
vtkOpenGLLight
() {};
42
~vtkOpenGLLight
() {};
43
private
:
44
vtkOpenGLLight
(
const
vtkOpenGLLight
&);
// Not implemented.
45
void
operator=(
const
vtkOpenGLLight
&);
// Not implemented.
46
};
47
48
#endif
49
Generated on Thu May 24 2012 22:22:36 for VTK by
1.8.1