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

vtkStructuredPointsSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkStructuredPointsSource.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 =========================================================================*/
00039 #ifndef __vtkStructuredPointsSource_h
00040 #define __vtkStructuredPointsSource_h
00041 
00042 #include "vtkSource.h"
00043 
00044 class vtkStructuredPoints;
00045 
00046 class VTK_FILTERING_EXPORT vtkStructuredPointsSource : public vtkSource
00047 {
00048 public:
00049   vtkTypeRevisionMacro(vtkStructuredPointsSource,vtkSource);
00050   void PrintSelf(ostream& os, vtkIndent indent);
00051 
00053 
00054   void SetOutput(vtkStructuredPoints *output);
00055   vtkStructuredPoints *GetOutput();
00056   vtkStructuredPoints *GetOutput(int idx);
00058   
00059 protected:
00060   vtkStructuredPointsSource();
00061   ~vtkStructuredPointsSource() {};
00062 
00063   // Default method performs Update to get information.  Not all the old
00064   // structured points sources compute information
00065   void ExecuteInformation();
00066 
00067   virtual int FillOutputPortInformation(int, vtkInformation*);
00068 private:
00069   vtkStructuredPointsSource(const vtkStructuredPointsSource&);  // Not implemented.
00070   void operator=(const vtkStructuredPointsSource&);  // Not implemented.
00071 };
00072 
00073 #endif
00074 
00075