VTK  9.3.20240328
vtkRIBLight.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
18 #ifndef vtkRIBLight_h
19 #define vtkRIBLight_h
20 
21 #include "vtkIOExportModule.h" // For export macro
22 #include "vtkLight.h"
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class vtkRIBRenderer;
26 
27 class VTKIOEXPORT_EXPORT vtkRIBLight : public vtkLight
28 {
29 public:
30  static vtkRIBLight* New();
31  vtkTypeMacro(vtkRIBLight, vtkLight);
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
34  vtkBooleanMacro(Shadows, vtkTypeBool);
35  vtkSetMacro(Shadows, vtkTypeBool);
36  vtkGetMacro(Shadows, vtkTypeBool);
37 
38  void Render(vtkRenderer* ren, int index) override;
39 
40 protected:
42  ~vtkRIBLight() override;
43 
46 
47 private:
48  vtkRIBLight(const vtkRIBLight&) = delete;
49  void operator=(const vtkRIBLight&) = delete;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
a virtual light for 3D rendering
Definition: vtkLight.h:158
RIP Light.
Definition: vtkRIBLight.h:28
~vtkRIBLight() override
vtkTypeBool Shadows
Definition: vtkRIBLight.h:45
void Render(vtkRenderer *ren, int index) override
Abstract interface to renderer.
static vtkRIBLight * New()
vtkLight * Light
Definition: vtkRIBLight.h:44
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:171
@ index
Definition: vtkX3D.h:246
int vtkTypeBool
Definition: vtkABI.h:64