ParaView
vtkAppendRectilinearGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAppendRectilinearGrid.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 =========================================================================*/
24 #ifndef vtkAppendRectilinearGrid_h
25 #define vtkAppendRectilinearGrid_h
26 
27 #include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
28 #include "vtkRectilinearGridAlgorithm.h"
29 
30 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkAppendRectilinearGrid : public vtkRectilinearGridAlgorithm
31 {
32 public:
33  static vtkAppendRectilinearGrid* New();
34  vtkTypeMacro(vtkAppendRectilinearGrid, vtkRectilinearGridAlgorithm);
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
37 protected:
40 
41  // Propagate UPDATE_EXTENT up to the inputs.
42  virtual int RequestUpdateExtent(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
43 
44  // Tell the output information about the data this filter will produce.
45  virtual int RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
46 
47  // Perform actual execution.
48  virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
49 
50  virtual int FillInputPortInformation(int port, vtkInformation* info);
51 
52  void CopyArray(
53  vtkAbstractArray* outArray, const int* outExt, vtkAbstractArray* inArray, const int* inExt);
54 
55 private:
56  vtkAppendRectilinearGrid(const vtkAppendRectilinearGrid&) VTK_DELETE_FUNCTION;
57  void operator=(const vtkAppendRectilinearGrid&) VTK_DELETE_FUNCTION;
58 };
59 
60 #endif
appends rectliner grids together.