VTK
vtkOptiXLightNode.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOptiXLightNode.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 =========================================================================*/
22 #ifndef vtkOptiXLightNode_h
23 #define vtkOptiXLightNode_h
24 
25 #include "vtkRenderingOptiXModule.h" // For export macro
26 #include "vtkLightNode.h"
27 
28 class VTKRENDERINGOPTIX_EXPORT vtkOptiXLightNode :
29  public vtkLightNode
30 {
31 public:
32  static vtkOptiXLightNode* New();
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
39  virtual void Render(bool prepass);
40 
42 
46  static void SetLightScale(double s);
47  static double GetLightScale();
49 
50 protected:
53 
54 private:
55  vtkOptiXLightNode(const vtkOptiXLightNode&) = delete;
56  void operator=(const vtkOptiXLightNode&) = delete;
57 
58  static double LightScale;
59 };
60 
61 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkViewNode specialized for vtkLights
Definition: vtkLightNode.h:28
a simple class to control print indentation
Definition: vtkIndent.h:33
links vtkLights to OptiX
static vtkLightNode * New()
virtual void Render(bool)
Makes calls to make self visible.
Definition: vtkViewNode.h:64