VTK
vtkMultiBlockDataSetAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMultiBlockDataSetAlgorithm.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 =========================================================================*/
23 #ifndef __vtkMultiBlockDataSetAlgorithm_h
24 #define __vtkMultiBlockDataSetAlgorithm_h
25 
26 #include "vtkAlgorithm.h"
27 
29 
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
39  vtkMultiBlockDataSet* GetOutput();
40  vtkMultiBlockDataSet* GetOutput(int);
42 
44 
51  void SetInput(vtkDataObject*);
52  void SetInput(int, vtkDataObject*);
54 
56 
57  virtual int ProcessRequest(vtkInformation* request,
58  vtkInformationVector** inputVector,
59  vtkInformationVector* outputVector);
61 
62 protected:
65 
67 
69  virtual int RequestDataObject(vtkInformation*,
71  vtkInformationVector*) {return 1;};
73 
75 
77  virtual int RequestInformation(vtkInformation*,
79  vtkInformationVector*) {return 1;};
81 
83 
85  virtual int RequestData(vtkInformation*,
87  vtkInformationVector*) {return 1;};
89 
91 
93  virtual int RequestUpdateExtent(vtkInformation*,
96  {
97  return 1;
98  };
100 
101  // Create a default executive.
103 
104  // see algorithm for more info
107 
108  vtkDataObject *GetInput(int port);
109 
110 private:
112  void operator=(const vtkMultiBlockDataSetAlgorithm&); // Not implemented.
113 };
114 
115 #endif
116 
117