VTK
vtkPolyDataSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataSource.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 =========================================================================*/
28 #ifndef __vtkPolyDataSource_h
29 #define __vtkPolyDataSource_h
30 
31 #include "vtkSource.h"
32 
33 class vtkPolyData;
34 
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
44  vtkPolyData *GetOutput(int idx);
45  void SetOutput(vtkPolyData *output);
47 
48 protected:
51 
52  // Update extent of PolyData is specified in pieces.
53  // Since all DataObjects should be able to set UpdateExent as pieces,
54  // just copy output->UpdateExtent all Inputs.
56 
58 
59 private:
60  vtkPolyDataSource(const vtkPolyDataSource&); // Not implemented.
61  void operator=(const vtkPolyDataSource&); // Not implemented.
62 };
63 
64 #endif
65 
66 
67 
68 
69