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

Rendering/vtkLightCollection.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkLightCollection.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 =========================================================================*/
00026 #ifndef __vtkLightC_h
00027 #define __vtkLightC_h
00028 
00029 #include "vtkCollection.h"
00030 
00031 class vtkLight;
00032 
00033 class VTK_RENDERING_EXPORT vtkLightCollection : public vtkCollection
00034 {
00035  public:
00036   static vtkLightCollection *New();
00037   vtkTypeRevisionMacro(vtkLightCollection,vtkCollection);
00038   virtual void PrintSelf(ostream& os, vtkIndent indent);
00039 
00041   void AddItem(vtkLight *a);
00042 
00045   vtkLight *GetNextItem();
00046 
00047 protected:
00048   vtkLightCollection() {};
00049   ~vtkLightCollection() {};
00050 
00051 
00052 private:
00053   // hide the standard AddItem from the user and the compiler.
00054   void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); };
00055 
00056 private:
00057   vtkLightCollection(const vtkLightCollection&);  // Not implemented.
00058   void operator=(const vtkLightCollection&);  // Not implemented.
00059 };
00060 
00061 
00062 #endif
00063