VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 "vtkIOExportModule.h" // For export macro
32 #include "vtkLight.h"
33 
34 class vtkRIBRenderer;
35 
37 {
38 public:
39  static vtkRIBLight *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
43  vtkBooleanMacro(Shadows,int);
44  vtkSetMacro(Shadows,int);
45  vtkGetMacro(Shadows,int);
46 
47  void Render(vtkRenderer *ren, int index);
48 protected:
49  vtkRIBLight();
50  ~vtkRIBLight();
51 
53  int Shadows;
54 private:
55  vtkRIBLight(const vtkRIBLight&); // Not implemented.
56  void operator=(const vtkRIBLight&); // Not implemented.
57 };
58 
59 #endif
vtkLight * Light
Definition: vtkRIBLight.h:52
GLuint index
Definition: vtkgl.h:11983
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:83
#define VTKIOEXPORT_EXPORT
abstract specification for renderers
Definition: vtkRenderer.h:63
RIP Light.
Definition: vtkRIBLight.h:36
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
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)
#define vtkBooleanMacro(name, type)
Definition: vtkSetGet.h:234
virtual void Render(vtkRenderer *, int)
Definition: vtkLight.h:84
#define vtkSetMacro(name, type)
Definition: vtkSetGet.h:69