VTK: Filters/Core/vtkUnstructuredGridToExplicitStructuredGrid.h Source File

| VTK 9.3.1

vtkUnstructuredGridToExplicitStructuredGrid.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
22 #ifndef vtkUnstructuredGridToExplicitStructuredGrid_h
23 #define vtkUnstructuredGridToExplicitStructuredGrid_h
24
25 #include "vtkExplicitStructuredGridAlgorithm.h"
26 #include "vtkFiltersCoreModule.h" // For export macro
27
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKFILTERSCORE_EXPORT vtkUnstructuredGridToExplicitStructuredGrid
30 : public vtkExplicitStructuredGridAlgorithm
31 {
32 public:
33 static vtkUnstructuredGridToExplicitStructuredGrid* New();
34 vtkTypeMacro(vtkUnstructuredGridToExplicitStructuredGrid, vtkExplicitStructuredGridAlgorithm);
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
38
42 vtkSetVector6Macro(WholeExtent, int);
43 vtkGetVector6Macro(WholeExtent, int);
45
46 protected:
47 vtkUnstructuredGridToExplicitStructuredGrid();
48 ~vtkUnstructuredGridToExplicitStructuredGrid() override = default;
49
50 int FillInputPortInformation(int port, vtkInformation* info) override;
51 int RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
52 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
53
54 int WholeExtent[6];
55
56 private:
57 vtkUnstructuredGridToExplicitStructuredGrid(
58 const vtkUnstructuredGridToExplicitStructuredGrid&) = delete;
59 void operator=(const vtkUnstructuredGridToExplicitStructuredGrid&) = delete;
60 };
61
62 VTK_ABI_NAMESPACE_END
63 #endif
vtkExplicitStructuredGridAlgorithm
Superclass for algorithms that produce only explicit structured grid as output.
Definition: vtkExplicitStructuredGridAlgorithm.h:20
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkUnstructuredGridToExplicitStructuredGrid
Filter which converts an unstructured grid data into an explicit structured grid.
Definition: vtkUnstructuredGridToExplicitStructuredGrid.h:31
vtkUnstructuredGridToExplicitStructuredGrid::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkUnstructuredGridToExplicitStructuredGrid::vtkUnstructuredGridToExplicitStructuredGrid
vtkUnstructuredGridToExplicitStructuredGrid()
vtkUnstructuredGridToExplicitStructuredGrid::New
static vtkUnstructuredGridToExplicitStructuredGrid * New()
vtkUnstructuredGridToExplicitStructuredGrid::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkUnstructuredGridToExplicitStructuredGrid::~vtkUnstructuredGridToExplicitStructuredGrid
~vtkUnstructuredGridToExplicitStructuredGrid() override=default
vtkUnstructuredGridToExplicitStructuredGrid::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGridToExplicitStructuredGrid::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkExplicitStructuredGridAlgorithm.h