VTK
9.0.1
IO
Export
vtkRIBLight.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkRIBLight.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
=========================================================================*/
27
#ifndef vtkRIBLight_h
28
#define vtkRIBLight_h
29
30
#include "vtkIOExportModule.h"
// For export macro
31
#include "
vtkLight.h
"
32
33
class
vtkRIBRenderer;
34
35
class
VTKIOEXPORT_EXPORT
vtkRIBLight
:
public
vtkLight
36
{
37
public
:
38
static
vtkRIBLight
*
New
();
39
vtkTypeMacro(
vtkRIBLight
,
vtkLight
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
41
42
vtkBooleanMacro(Shadows,
vtkTypeBool
);
43
vtkSetMacro(Shadows,
vtkTypeBool
);
44
vtkGetMacro(Shadows,
vtkTypeBool
);
45
46
void
Render
(
vtkRenderer
* ren,
int
index
)
override
;
47
48
protected
:
49
vtkRIBLight
();
50
~
vtkRIBLight
()
override
;
51
52
vtkLight
*
Light
;
53
vtkTypeBool
Shadows
;
54
55
private
:
56
vtkRIBLight
(
const
vtkRIBLight
&) =
delete
;
57
void
operator=(
const
vtkRIBLight
&) =
delete
;
58
};
59
60
#endif
vtkRIBLight
RIP Light.
Definition:
vtkRIBLight.h:35
vtkLight.h
vtkLight
a virtual light for 3D rendering
Definition:
vtkLight.h:56
vtkRIBLight::Shadows
vtkTypeBool Shadows
Definition:
vtkRIBLight.h:53
vtkLight::New
static vtkLight * New()
Create a light with the focal point at the origin and its position set to (0,0,1).
vtkLight::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkLight::Render
virtual void Render(vtkRenderer *, int)
Abstract interface to renderer.
Definition:
vtkLight.h:86
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:67
vtkX3D::index
@ index
Definition:
vtkX3D.h:252
vtkRIBLight::Light
vtkLight * Light
Definition:
vtkRIBLight.h:52
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17