Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkRIBLight.h

Go to the documentation of this file.
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 =========================================================================*/
00040 #ifndef __vtkRIBLight_h
00041 #define __vtkRIBLight_h
00042 
00043 #include "vtkLight.h"
00044 
00045 class vtkRIBRenderer;
00046 
00047 class VTK_HYBRID_EXPORT vtkRIBLight : public vtkLight
00048 {
00049 public:
00050   static vtkRIBLight *New();
00051   vtkTypeRevisionMacro(vtkRIBLight,vtkLight);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00054   vtkBooleanMacro(Shadows,int);
00055   vtkSetMacro(Shadows,int);
00056   vtkGetMacro(Shadows,int);
00057 
00058   void Render(vtkRenderer *ren, int index);
00059 protected:
00060   vtkRIBLight();
00061   ~vtkRIBLight();
00062 
00063   vtkLight *Light;
00064   int Shadows;
00065 private:
00066   vtkRIBLight(const vtkRIBLight&);  // Not implemented.
00067   void operator=(const vtkRIBLight&);  // Not implemented.
00068 };
00069 
00070 #endif