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 =========================================================================*/
25 #ifndef vtkOptiXLightNode_h
26 #define vtkOptiXLightNode_h
27 
28 #include "vtkRenderingOptiXModule.h" // For export macro
29 #include "vtkLightNode.h"
30 
31 class VTKRENDERINGOPTIX_EXPORT vtkOptiXLightNode :
32  public vtkLightNode
33 {
34 public:
35  static vtkOptiXLightNode* New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
42  virtual void Render(bool prepass);
43 
45 
49  static void SetLightScale(double s);
50  static double GetLightScale();
52 
53 protected:
56 
57 private:
58  vtkOptiXLightNode(const vtkOptiXLightNode&) = delete;
59  void operator=(const vtkOptiXLightNode&) = delete;
60 
61  static double LightScale;
62 };
63 
64 #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:31
a simple class to control print indentation
Definition: vtkIndent.h:39
links vtkLights to OptiX
static vtkLightNode * New()
virtual void Render(bool)
Makes calls to make self visible.
Definition: vtkViewNode.h:67