OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I686LINUX / util / I686LINUX / include / vtk / vtkStructuredPointsSource.h
1 /*=========================================================================
2
3   Program:   Visualization Toolkit
4   Module:    $RCSfile: vtkStructuredPointsSource.h,v $
5   Language:  C++
6   Date:      $Date: 2002/10/04 20:43:44 $
7   Version:   $Revision: 1.39 $
8
9   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
10   All rights reserved.
11   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
12
13      This software is distributed WITHOUT ANY WARRANTY; without even 
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15      PURPOSE.  See the above copyright notice for more information.
16
17 =========================================================================*/
18 // .NAME vtkStructuredPointsSource - Abstract class whose subclasses generates structured Points data
19 // .SECTION Description
20 // vtkStructuredPointsSource is an abstract class whose subclasses generate
21 // structured Points data.
22
23 // .SECTION See Also
24 // vtkStructuredPointsReader vtkPLOT3DReader
25
26 #ifndef __vtkStructuredPointsSource_h
27 #define __vtkStructuredPointsSource_h
28
29 #include "vtkSource.h"
30
31 class vtkStructuredPoints;
32
33 class VTK_FILTERING_EXPORT vtkStructuredPointsSource : public vtkSource
34 {
35 public:
36   vtkTypeRevisionMacro(vtkStructuredPointsSource,vtkSource);
37   void PrintSelf(ostream& os, vtkIndent indent);
38
39   // Description:
40   // Set/Get the output of this source.
41   void SetOutput(vtkStructuredPoints *output);
42   vtkStructuredPoints *GetOutput();
43   vtkStructuredPoints *GetOutput(int idx);
44   
45 protected:
46   vtkStructuredPointsSource();
47   ~vtkStructuredPointsSource() {};
48
49   // Default method performs Update to get information.  Not all the old
50   // structured points sources compute information
51   void ExecuteInformation();
52
53 private:
54   vtkStructuredPointsSource(const vtkStructuredPointsSource&);  // Not implemented.
55   void operator=(const vtkStructuredPointsSource&);  // Not implemented.
56 };
57
58 #endif
59
60