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 =========================================================================*/
28 #ifndef __vtkRIBLight_h
29 #define __vtkRIBLight_h
30 
31 #include "vtkLight.h"
32 
33 class vtkRIBRenderer;
34 
36 {
37 public:
38  static vtkRIBLight *New();
39  vtkTypeMacro(vtkRIBLight,vtkLight);
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
42  vtkBooleanMacro(Shadows,int);
43  vtkSetMacro(Shadows,int);
44  vtkGetMacro(Shadows,int);
45 
46  void Render(vtkRenderer *ren, int index);
47 protected:
48  vtkRIBLight();
49  ~vtkRIBLight();
50 
52  int Shadows;
53 private:
54  vtkRIBLight(const vtkRIBLight&); // Not implemented.
55  void operator=(const vtkRIBLight&); // Not implemented.
56 };
57 
58 #endif
vtkLight * Light
Definition: vtkRIBLight.h:51
abstract specification for renderers
Definition: vtkRenderer.h:69
RIP Light.
Definition: vtkRIBLight.h:35
static vtkLight * New()
a simple class to control print indentation
Definition: vtkIndent.h:37
a virtual light for 3D rendering
Definition: vtkLight.h:59
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_HYBRID_EXPORT
virtual void Render(vtkRenderer *, int)
Definition: vtkLight.h:83