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 =========================================================================*/
25 #ifndef vtkOSPRayLightNode_h
26 #define vtkOSPRayLightNode_h
27 
28 #include "vtkRenderingOSPRayModule.h" // For export macro
29 #include "vtkLightNode.h"
30 
31 class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayLightNode :
32  public vtkLightNode
33 {
34 public:
35  static vtkOSPRayLightNode* 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  vtkOSPRayLightNode(const vtkOSPRayLightNode&) VTK_DELETE_FUNCTION;
59  void operator=(const vtkOSPRayLightNode&) VTK_DELETE_FUNCTION;
60 
61  static double LightScale;
62 };
63 
64 #endif
vtkViewNode specialized for vtkLights
Definition: vtkLightNode.h:31
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkLightNode * New()
virtual void Render(bool)
Makes calls to make self visible.
Definition: vtkViewNode.h:67
links vtkLights to OSPRay