VTK
vtkRectilinearGridPartitioner.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRectilinearGridPartitioner.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  =========================================================================*/
30 #ifndef VTKRECTILINEARGRIDPARTITIONER_H_
31 #define VTKRECTILINEARGRIDPARTITIONER_H_
32 
33 #include "vtkFiltersGeometryModule.h" // For export macro
35 
36 class vtkInformation;
38 class vtkIndent;
39 class vtkDoubleArray;
40 class vtkRectilinearGrid;
41 
44 {
45 public:
48  void PrintSelf(ostream &oss, vtkIndent indent);
49 
51 
52  vtkGetMacro(NumberOfPartitions,int);
53  vtkSetMacro(NumberOfPartitions,int);
55 
57 
58  vtkGetMacro(NumberOfGhostLayers,int);
59  vtkSetMacro(NumberOfGhostLayers,int);
61 
62 protected:
65 
67 
68  void ExtractGridCoordinates(
69  vtkRectilinearGrid *grd, int subext[6],
70  vtkDoubleArray *xcoords,
71  vtkDoubleArray *ycoords,
72  vtkDoubleArray *zcoords );
74 
75  // Standard Pipeline methods
76  virtual int RequestData(
80 
83 
84 private:
86  void operator=(const vtkRectilinearGridPartitioner &); // Not implemented
87 };
88 
89 #endif /* VTKRECTILINEARGRIDPARTITIONER_H_ */
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
Store vtkAlgorithm input/output information.
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:83
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
dynamic, self-adjusting array of double
static vtkMultiBlockDataSetAlgorithm * New()
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)
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
#define VTKFILTERSGEOMETRY_EXPORT
#define vtkSetMacro(name, type)
Definition: vtkSetGet.h:69