00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkRIBLight.h,v $ 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 "vtkLight.h" 00032 00033 class vtkRIBRenderer; 00034 00035 class VTK_HYBRID_EXPORT vtkRIBLight : public vtkLight 00036 { 00037 public: 00038 static vtkRIBLight *New(); 00039 vtkTypeRevisionMacro(vtkRIBLight,vtkLight); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00042 vtkBooleanMacro(Shadows,int); 00043 vtkSetMacro(Shadows,int); 00044 vtkGetMacro(Shadows,int); 00045 00046 void Render(vtkRenderer *ren, int index); 00047 protected: 00048 vtkRIBLight(); 00049 ~vtkRIBLight(); 00050 00051 vtkLight *Light; 00052 int Shadows; 00053 private: 00054 vtkRIBLight(const vtkRIBLight&); // Not implemented. 00055 void operator=(const vtkRIBLight&); // Not implemented. 00056 }; 00057 00058 #endif