VTK
vtkOSPRayLightNode.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOSPRayLightNode.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 vtkOSPRayLightNode_h
23 #define vtkOSPRayLightNode_h
24 
25 #include "vtkRenderingOSPRayModule.h" // For export macro
26 #include "vtkLightNode.h"
27 
28 class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayLightNode :
29  public vtkLightNode
30 {
31 public:
32  static vtkOSPRayLightNode* New();
34  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
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  vtkOSPRayLightNode(const vtkOSPRayLightNode&) VTK_DELETE_FUNCTION;
56  void operator=(const vtkOSPRayLightNode&) VTK_DELETE_FUNCTION;
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
static vtkLightNode * New()
virtual void Render(bool)
Makes calls to make self visible.
Definition: vtkViewNode.h:64
links vtkLights to OSPRay