VTK  9.2.20230322
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 =========================================================================*/
30 #ifndef vtkRIBLight_h
31 #define vtkRIBLight_h
32 
33 #include "vtkIOExportModule.h" // For export macro
34 #include "vtkLight.h"
35 
36 VTK_ABI_NAMESPACE_BEGIN
37 class vtkRIBRenderer;
38 
39 class VTKIOEXPORT_EXPORT vtkRIBLight : public vtkLight
40 {
41 public:
42  static vtkRIBLight* New();
43  vtkTypeMacro(vtkRIBLight, vtkLight);
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
46  vtkBooleanMacro(Shadows, vtkTypeBool);
47  vtkSetMacro(Shadows, vtkTypeBool);
48  vtkGetMacro(Shadows, vtkTypeBool);
49 
50  void Render(vtkRenderer* ren, int index) override;
51 
52 protected:
54  ~vtkRIBLight() override;
55 
58 
59 private:
60  vtkRIBLight(const vtkRIBLight&) = delete;
61  void operator=(const vtkRIBLight&) = delete;
62 };
63 
64 VTK_ABI_NAMESPACE_END
65 #endif
a simple class to control print indentation
Definition: vtkIndent.h:120
a virtual light for 3D rendering
Definition: vtkLight.h:170
RIP Light.
Definition: vtkRIBLight.h:40
~vtkRIBLight() override
vtkTypeBool Shadows
Definition: vtkRIBLight.h:57
void Render(vtkRenderer *ren, int index) override
Abstract interface to renderer.
static vtkRIBLight * New()
vtkLight * Light
Definition: vtkRIBLight.h:56
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
Definition: vtkRenderer.h:183
@ index
Definition: vtkX3D.h:258
int vtkTypeBool
Definition: vtkABI.h:71