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
31class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayLightNode :
32 public vtkLightNode
33{
34public:
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
53protected:
56
57private:
58 vtkOSPRayLightNode(const vtkOSPRayLightNode&) VTK_DELETE_FUNCTION;
59 void operator=(const vtkOSPRayLightNode&) VTK_DELETE_FUNCTION;
60
61 static double LightScale;
62};
63
64#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkViewNode specialized for vtkLights
Definition: vtkLightNode.h:33
links vtkLights to OSPRay
static void SetLightScale(double s)
A global multiplier to all ospray lights.
static vtkOSPRayLightNode * New()
virtual void Render(bool prepass)
Make ospray calls to render me.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static double GetLightScale()