forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vtkRIBLight.h
54 lines (42 loc) · 1.47 KB
/
vtkRIBLight.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*=========================================================================
Program: Visualization Toolkit
Module: vtkRIBLight.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkRIBLight - RIP Light
// .SECTION Description
// vtkRIBLight is a subclass of vtkLight that allows the user to
// specify light source shaders and shadow casting lights for use with RenderMan.
//
// .SECTION See Also
// vtkRIBExporter
#ifndef __vtkRIBLight_h
#define __vtkRIBLight_h
#include "vtkIOExportModule.h" // For export macro
#include "vtkLight.h"
class vtkRIBRenderer;
class VTKIOEXPORT_EXPORT vtkRIBLight : public vtkLight
{
public:
static vtkRIBLight *New();
vtkTypeMacro(vtkRIBLight,vtkLight);
void PrintSelf(ostream& os, vtkIndent indent);
vtkBooleanMacro(Shadows,int);
vtkSetMacro(Shadows,int);
vtkGetMacro(Shadows,int);
void Render(vtkRenderer *ren, int index);
protected:
vtkRIBLight();
~vtkRIBLight();
vtkLight *Light;
int Shadows;
private:
vtkRIBLight(const vtkRIBLight&); // Not implemented.
void operator=(const vtkRIBLight&); // Not implemented.
};
#endif