VTK
vtkCompositeDataSetAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCompositeDataSetAlgorithm.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 vtkCompositeDataSetAlgorithm_h
24 #define vtkCompositeDataSetAlgorithm_h
25 
26 #include "vtkCommonExecutionModelModule.h" // For export macro
27 #include "vtkAlgorithm.h"
28 
30 
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  vtkCompositeDataSet* GetOutput();
41  vtkCompositeDataSet* GetOutput(int);
43 
45 
48  void SetInputData(vtkDataObject*);
49  void SetInputData(int, vtkDataObject*);
51 
53 
54  virtual int ProcessRequest(vtkInformation* request,
55  vtkInformationVector** inputVector,
56  vtkInformationVector* outputVector);
58 
59 protected:
62 
64 
68  vtkInformationVector*) {return 1;};
70 
72 
76  vtkInformationVector*) {return 1;};
78 
80 
84  vtkInformationVector*) {return 1;};
86 
88 
93  {
94  return 1;
95  };
97 
98  // Create a default executive.
100 
101  // see algorithm for more info
104 
105  vtkDataObject *GetInput(int port);
106 
107 private:
109  void operator=(const vtkCompositeDataSetAlgorithm&); // Not implemented.
110 };
111 
112 #endif
113 
114 
#define VTKCOMMONEXECUTIONMODEL_EXPORT
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual vtkExecutive * CreateDefaultExecutive()
Store vtkAlgorithm input/output information.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Superclass for algorithms that produce only vtkCompositeDataSet as output.
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:51
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:61
abstract superclass for composite (multi-block or AMR) datasets
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillOutputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:64
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent)