VTK  9.3.0
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
35 #ifndef vtkVectorDot_h
36 #define vtkVectorDot_h
37 
38 #include "vtkDataSetAlgorithm.h"
39 #include "vtkFiltersCoreModule.h" // For export macro
40 
41 VTK_ABI_NAMESPACE_BEGIN
42 class VTKFILTERSCORE_EXPORT vtkVectorDot : public vtkDataSetAlgorithm
43 {
44 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
51  static vtkVectorDot* New();
52 
54 
61  vtkSetMacro(MapScalars, vtkTypeBool);
62  vtkGetMacro(MapScalars, vtkTypeBool);
63  vtkBooleanMacro(MapScalars, vtkTypeBool);
65 
67 
71  vtkSetVector2Macro(ScalarRange, double);
72  vtkGetVectorMacro(ScalarRange, double, 2);
74 
76 
80  vtkGetVectorMacro(ActualRange, double, 2);
82 
83 protected:
85  ~vtkVectorDot() override = default;
86 
88  double ScalarRange[2];
89  double ActualRange[2];
90 
92 
93 private:
94  vtkVectorDot(const vtkVectorDot&) = delete;
95  void operator=(const vtkVectorDot&) = delete;
96 };
97 
98 VTK_ABI_NAMESPACE_END
99 #endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
generate scalars from dot product of vectors and normals (e.g., show displacement plot)
Definition: vtkVectorDot.h:43
~vtkVectorDot() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkVectorDot * New()
Construct object with scalar range (-1,1).
vtkTypeBool MapScalars
Definition: vtkVectorDot.h:87
int vtkTypeBool
Definition: vtkABI.h:64