VTK  9.4.20241104
vtkCellGridElevationQuery.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
8#ifndef vtkCellGridElevationQuery_h
9#define vtkCellGridElevationQuery_h
10
11#include "vtkCellGridQuery.h"
12#include "vtkFiltersCellGridModule.h" // For export macro.
13#include "vtkNew.h" // For ivar.
14
15#include <array>
16#include <string>
17
18VTK_ABI_NAMESPACE_BEGIN
19
21
31class VTKFILTERSCELLGRID_EXPORT vtkCellGridElevationQuery : public vtkCellGridQuery
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
38 bool Initialize() override;
39 bool Finalize() override;
40
41 std::string Name;
42 double Shock{ 0. };
43 int NumberOfAxes{ 1 };
44 std::array<double, 3> Origin{ { 0., 0., 0. } };
45 std::array<double, 3> Axis{ { 0., 0., 1. } };
46 std::array<double, 2> Range{ { 1., 0. } };
48
49protected:
51 ~vtkCellGridElevationQuery() override = default;
52
53private:
55 void operator=(const vtkCellGridElevationQuery&) = delete;
56};
57
58VTK_ABI_NAMESPACE_END
59#endif // vtkCellGridElevationQuery_h
A function defined over the physical domain of a vtkCellGrid.
A cell-grid query for creating an "elevation" field.
~vtkCellGridElevationQuery() override=default
vtkCellGridElevationQuery()=default
vtkNew< vtkCellAttribute > Elevation
static vtkCellGridElevationQuery * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool Finalize() override
Override this if your query-result state requires finalization.
bool Initialize() override
Override this if your query-result state requires initialization.
Perform an operation on cells in a vtkCellMetadata instance.
a simple class to control print indentation
Definition vtkIndent.h:108
Allocate and hold a VTK object.
Definition vtkNew.h:167