VTK  9.3.1
vtkVortexCore.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
49 #ifndef vtkVortexCore_h
50 #define vtkVortexCore_h
51 
52 #include "vtkFiltersFlowPathsModule.h" // For export macro
53 #include "vtkPolyDataAlgorithm.h"
54 
55 VTK_ABI_NAMESPACE_BEGIN
56 class VTKFILTERSFLOWPATHS_EXPORT vtkVortexCore : public vtkPolyDataAlgorithm
57 {
58 public:
59  static vtkVortexCore* New();
61  void PrintSelf(ostream& os, vtkIndent indent) override;
62 
64 
68  vtkSetMacro(HigherOrderMethod, vtkTypeBool);
69  vtkGetMacro(HigherOrderMethod, vtkTypeBool);
70  vtkBooleanMacro(HigherOrderMethod, vtkTypeBool);
72 
74 
79  vtkGetMacro(FasterApproximation, bool);
80  vtkSetMacro(FasterApproximation, bool);
81  vtkBooleanMacro(FasterApproximation, bool);
83 
84 protected:
85  vtkVortexCore();
86  ~vtkVortexCore() override;
87 
89  int FillInputPortInformation(int, vtkInformation*) override;
90 
92 
94 
95 private:
96  vtkVortexCore(const vtkVortexCore&) = delete;
97  void operator=(const vtkVortexCore&) = delete;
98 };
99 
100 VTK_ABI_NAMESPACE_END
101 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:64
Superclass for algorithms that produce only polydata as output.
Compute vortex core lines using the parallel vectors method.
Definition: vtkVortexCore.h:56
a simple class to control print indentation
Definition: vtkIndent.h:28
bool FasterApproximation
Definition: vtkVortexCore.h:93
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
vtkTypeBool HigherOrderMethod
Definition: vtkVortexCore.h:91
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.