VTK: IO/Export/vtkRIBLight.h Source File

| VTK 9.3.1

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:
41 vtkRIBLight();
42 ~vtkRIBLight() override;
43
44 vtkLight* Light;
45 vtkTypeBool Shadows;
46
47 private:
48 vtkRIBLight(const vtkRIBLight&) = delete;
49 void operator=(const vtkRIBLight&) = delete;
50 };
51
52 VTK_ABI_NAMESPACE_END
53 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkLight
a virtual light for 3D rendering
Definition: vtkLight.h:58
vtkRIBLight
RIP Light.
Definition: vtkRIBLight.h:28
vtkRIBLight::~vtkRIBLight
~vtkRIBLight() override
vtkRIBLight::vtkRIBLight
vtkRIBLight()
vtkRIBLight::Shadows
vtkTypeBool Shadows
Definition: vtkRIBLight.h:45
vtkRIBLight::Render
void Render(vtkRenderer *ren, int index) override
Abstract interface to renderer.
vtkRIBLight::New
static vtkRIBLight * New()
vtkRIBLight::Light
vtkLight * Light
Definition: vtkRIBLight.h:44
vtkRIBLight::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:71
vtkX3D::index
@ index
Definition: vtkX3D.h:246
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:64
vtkLight.h