VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkRIBLight.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00028 #ifndef __vtkRIBLight_h 00029 #define __vtkRIBLight_h 00030 00031 #include "vtkIOExportModule.h" // For export macro 00032 #include "vtkLight.h" 00033 00034 class vtkRIBRenderer; 00035 00036 class VTKIOEXPORT_EXPORT vtkRIBLight : public vtkLight 00037 { 00038 public: 00039 static vtkRIBLight *New(); 00040 vtkTypeMacro(vtkRIBLight,vtkLight); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00043 vtkBooleanMacro(Shadows,int); 00044 vtkSetMacro(Shadows,int); 00045 vtkGetMacro(Shadows,int); 00046 00047 void Render(vtkRenderer *ren, int index); 00048 protected: 00049 vtkRIBLight(); 00050 ~vtkRIBLight(); 00051 00052 vtkLight *Light; 00053 int Shadows; 00054 private: 00055 vtkRIBLight(const vtkRIBLight&); // Not implemented. 00056 void operator=(const vtkRIBLight&); // Not implemented. 00057 }; 00058 00059 #endif