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 =========================================================================*/
30 #ifndef vtkRIBLight_h
31 #define vtkRIBLight_h
32 
33 #include "vtkIOExportModule.h" // For export macro
34 #include "vtkLight.h"
35 
36 class vtkRIBRenderer;
37 
38 class VTKIOEXPORT_EXPORT vtkRIBLight : public vtkLight
39 {
40 public:
41  static vtkRIBLight *New();
42  vtkTypeMacro(vtkRIBLight,vtkLight);
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
45  vtkBooleanMacro(Shadows,int);
46  vtkSetMacro(Shadows,int);
47  vtkGetMacro(Shadows,int);
48 
49  void Render(vtkRenderer *ren, int index);
50 protected:
53 
55  int Shadows;
56 private:
57  vtkRIBLight(const vtkRIBLight&) VTK_DELETE_FUNCTION;
58  void operator=(const vtkRIBLight&) VTK_DELETE_FUNCTION;
59 };
60 
61 #endif
vtkRIBLight
RIP Light.
Definition: vtkRIBLight.h:39
vtkLight.h
vtkLight
a virtual light for 3D rendering
Definition: vtkLight.h:62
vtkRIBLight::New
static vtkRIBLight * New()
vtkRIBLight::vtkRIBLight
vtkRIBLight()
vtkRIBLight::~vtkRIBLight
~vtkRIBLight()
vtkRIBLight::Render
void Render(vtkRenderer *ren, int index)
Abstract interface to renderer.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkRIBLight::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkRIBLight::Shadows
int Shadows
Definition: vtkRIBLight.h:55
vtkX3D::index
@ index
Definition: vtkX3D.h:246
vtkRIBLight::Light
vtkLight * Light
Definition: vtkRIBLight.h:54