VTK  9.2.6
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 class vtkRIBRenderer;
37 
38 class VTKIOEXPORT_EXPORT vtkRIBLight : public vtkLight
39 {
40 public:
41  static vtkRIBLight* New();
42  vtkTypeMacro(vtkRIBLight, vtkLight);
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
45  vtkBooleanMacro(Shadows, vtkTypeBool);
46  vtkSetMacro(Shadows, vtkTypeBool);
47  vtkGetMacro(Shadows, vtkTypeBool);
48 
49  void Render(vtkRenderer* ren, int index) override;
50 
51 protected:
52  vtkRIBLight();
53  ~vtkRIBLight() override;
54 
57 
58 private:
59  vtkRIBLight(const vtkRIBLight&) = delete;
60  void operator=(const vtkRIBLight&) = delete;
61 };
62 
63 #endif
vtkLight * Light
Definition: vtkRIBLight.h:55
vtkTypeBool Shadows
Definition: vtkRIBLight.h:56
abstract specification for renderers
Definition: vtkRenderer.h:72
RIP Light.
Definition: vtkRIBLight.h:38
static vtkLight * New()
Create a light with the focal point at the origin and its position set to (0,0,1).
int vtkTypeBool
Definition: vtkABI.h:69
a simple class to control print indentation
Definition: vtkIndent.h:39
a virtual light for 3D rendering
Definition: vtkLight.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Render(vtkRenderer *, int)
Abstract interface to renderer.
Definition: vtkLight.h:89