VTK  9.3.1
vtkVectorDot.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
26 #ifndef vtkVectorDot_h
27 #define vtkVectorDot_h
28 
29 #include "vtkDataSetAlgorithm.h"
30 #include "vtkFiltersCoreModule.h" // For export macro
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 class VTKFILTERSCORE_EXPORT vtkVectorDot : public vtkDataSetAlgorithm
34 {
35 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
42  static vtkVectorDot* New();
43 
45 
52  vtkSetMacro(MapScalars, vtkTypeBool);
53  vtkGetMacro(MapScalars, vtkTypeBool);
54  vtkBooleanMacro(MapScalars, vtkTypeBool);
56 
58 
62  vtkSetVector2Macro(ScalarRange, double);
63  vtkGetVectorMacro(ScalarRange, double, 2);
65 
67 
71  vtkGetVectorMacro(ActualRange, double, 2);
73 
74 protected:
75  vtkVectorDot();
76  ~vtkVectorDot() override = default;
77 
79  double ScalarRange[2];
80  double ActualRange[2];
81 
83 
84 private:
85  vtkVectorDot(const vtkVectorDot&) = delete;
86  void operator=(const vtkVectorDot&) = delete;
87 };
88 
89 VTK_ABI_NAMESPACE_END
90 #endif
vtkTypeBool MapScalars
Definition: vtkVectorDot.h:78
Store vtkAlgorithm input/output information.
generate scalars from dot product of vectors and normals (e.g., show displacement plot) ...
Definition: vtkVectorDot.h:33
int vtkTypeBool
Definition: vtkABI.h:64
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()