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

dox/Rendering/vtkLightCollection.h

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