00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkRIBLight.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00044 #ifndef __vtkRIBLight_h 00045 #define __vtkRIBLight_h 00046 00047 #include "vtkLight.h" 00048 00049 class vtkRIBRenderer; 00050 00051 class VTK_HYBRID_EXPORT vtkRIBLight : public vtkLight 00052 { 00053 public: 00054 static vtkRIBLight *New(); 00055 vtkTypeRevisionMacro(vtkRIBLight,vtkLight); 00056 void PrintSelf(ostream& os, vtkIndent indent); 00057 00058 vtkBooleanMacro(Shadows,int); 00059 vtkSetMacro(Shadows,int); 00060 vtkGetMacro(Shadows,int); 00061 00062 void Render(vtkRenderer *ren, int index); 00063 protected: 00064 vtkRIBLight(); 00065 ~vtkRIBLight(); 00066 00067 vtkLight *Light; 00068 int Shadows; 00069 private: 00070 vtkRIBLight(const vtkRIBLight&); // Not implemented. 00071 void operator=(const vtkRIBLight&); // Not implemented. 00072 }; 00073 00074 #endif