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

vtkStructuredPointsCollection.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkStructuredPointsCollection.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 =========================================================================*/
00023 #ifndef __vtkStructuredPointsCollection_h
00024 #define __vtkStructuredPointsCollection_h
00025 
00026 #include "vtkCollection.h"
00027 #include "vtkStructuredPoints.h" // Needed for static cast
00028 
00029 class VTK_FILTERING_EXPORT vtkStructuredPointsCollection : public vtkCollection
00030 {
00031 public:
00032   static vtkStructuredPointsCollection *New();
00033   vtkTypeRevisionMacro(vtkStructuredPointsCollection,vtkCollection);
00034   void PrintSelf(ostream& os, vtkIndent indent);
00035 
00037 
00038   void AddItem(vtkStructuredPoints *ds) {
00039     this->vtkCollection::AddItem((vtkObject *)ds);};
00041   
00043 
00045   vtkStructuredPoints *GetNextItem() {
00046     return static_cast<vtkStructuredPoints *>(this->GetNextItemAsObject());};
00048 
00049     //BTX
00051 
00053   vtkStructuredPoints *GetNextStructuredPoints(
00054     vtkCollectionSimpleIterator &cookie) {
00055     return static_cast<vtkStructuredPoints *>(
00056       this->GetNextItemAsObject(cookie));};
00057   //ETX
00059 
00060 protected:
00061   vtkStructuredPointsCollection() {};
00062   ~vtkStructuredPointsCollection() {};
00063   
00064   
00065 
00066 private:
00067   // hide the standard AddItem from the user and the compiler.
00068   void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); };
00069 
00070 private:
00071   vtkStructuredPointsCollection(const vtkStructuredPointsCollection&);  // Not implemented.
00072   void operator=(const vtkStructuredPointsCollection&);  // Not implemented.
00073 };
00074 
00075 
00076 #endif

Generated on Mon Jan 21 23:07:21 2008 for VTK by  doxygen 1.4.3-20050530