VTK  9.3.20240918
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
24VTK_ABI_NAMESPACE_BEGIN
25class vtkRIBRenderer;
26
27class VTKIOEXPORT_EXPORT vtkRIBLight : public vtkLight
28{
29public:
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
40protected:
42 ~vtkRIBLight() override;
43
46
47private:
48 vtkRIBLight(const vtkRIBLight&) = delete;
49 void operator=(const vtkRIBLight&) = delete;
50};
51
52VTK_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:159
RIP Light.
Definition vtkRIBLight.h:28
~vtkRIBLight() override
static vtkRIBLight * New()
vtkTypeBool Shadows
Definition vtkRIBLight.h:45
void Render(vtkRenderer *ren, int index) override
Abstract interface to renderer.
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
int vtkTypeBool
Definition vtkABI.h:64