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 
63  vtkGetMacro(DuplicateNodes,int);
64  vtkSetMacro(DuplicateNodes,int);
65  vtkBooleanMacro(DuplicateNodes,int);
67 
68 protected:
71 
73 
74  void ExtractGridCoordinates(
75  vtkRectilinearGrid *grd, int subext[6],
76  vtkDoubleArray *xcoords,
77  vtkDoubleArray *ycoords,
78  vtkDoubleArray *zcoords );
80 
81  // Standard Pipeline methods
82  virtual int RequestData(
86 
90 
91 private:
93  void operator=(const vtkRectilinearGridPartitioner &); // Not implemented
94 };
95 
96 #endif /* VTKRECTILINEARGRIDPARTITIONER_H_ */
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
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