VTK
vtkStructuredGridSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkStructuredGridSource.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
25 #ifndef __vtkStructuredGridSource_h
26 #define __vtkStructuredGridSource_h
27 
28 #include "vtkSource.h"
29 
30 class vtkStructuredGrid;
31 
33 {
34 public:
35  vtkTypeMacro(vtkStructuredGridSource,vtkSource);
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  vtkStructuredGrid *GetOutput();
41  vtkStructuredGrid *GetOutput(int idx);
42  void SetOutput(vtkStructuredGrid *output);
44 
45 protected:
48 
49  virtual int FillOutputPortInformation(int, vtkInformation*);
50 private:
51  vtkStructuredGridSource(const vtkStructuredGridSource&); // Not implemented.
52  void operator=(const vtkStructuredGridSource&); // Not implemented.
53 };
54 
55 #endif
56 
57 
Store vtkAlgorithm input/output information.
#define VTK_FILTERING_EXPORT
Abstract class whose subclasses generates structured grid data.
a simple class to control print indentation
Definition: vtkIndent.h:37
topologically regular array of data