VTK
vtkRIBLight.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRIBLight.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 =========================================================================*/
29 #ifndef vtkRIBLight_h
30 #define vtkRIBLight_h
31 
32 #include "vtkIOExportModule.h" // For export macro
33 #include "vtkLight.h"
34 
35 class vtkRIBRenderer;
36 
38 {
39 public:
40  static vtkRIBLight *New();
41  vtkTypeMacro(vtkRIBLight,vtkLight);
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
44  vtkBooleanMacro(Shadows,int);
45  vtkSetMacro(Shadows,int);
46  vtkGetMacro(Shadows,int);
47 
48  void Render(vtkRenderer *ren, int index);
49 protected:
50  vtkRIBLight();
51  ~vtkRIBLight();
52 
54  int Shadows;
55 private:
56  vtkRIBLight(const vtkRIBLight&); // Not implemented.
57  void operator=(const vtkRIBLight&); // Not implemented.
58 };
59 
60 #endif
vtkLight * Light
Definition: vtkRIBLight.h:53
#define VTKIOEXPORT_EXPORT
abstract specification for renderers
Definition: vtkRenderer.h:63
RIP Light.
Definition: vtkRIBLight.h:37
static vtkLight * New()
a simple class to control print indentation
Definition: vtkIndent.h:38
a virtual light for 3D rendering
Definition: vtkLight.h:60
void PrintSelf(ostream &os, vtkIndent indent)
virtual void Render(vtkRenderer *, int)
Definition: vtkLight.h:84