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

dox/Filtering/vtkStructuredPointsCollection.h

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