VTK  9.7.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 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
32 
33 VTK_ABI_NAMESPACE_BEGIN
34 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkVectorDot : public vtkDataSetAlgorithm
35 {
36 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
43  static vtkVectorDot* New();
44 
46 
53  vtkSetMacro(MapScalars, vtkTypeBool);
54  vtkGetMacro(MapScalars, vtkTypeBool);
55  vtkBooleanMacro(MapScalars, vtkTypeBool);
57 
59 
63  vtkSetVector2Macro(ScalarRange, double);
64  vtkGetVectorMacro(ScalarRange, double, 2);
66 
68 
72  vtkGetVectorMacro(ActualRange, double, 2);
74 
75 protected:
76  vtkVectorDot();
77  ~vtkVectorDot() override = default;
78 
80  double ScalarRange[2];
81  double ActualRange[2];
82 
84 
85 private:
86  vtkVectorDot(const vtkVectorDot&) = delete;
87  void operator=(const vtkVectorDot&) = delete;
88 };
89 
90 VTK_ABI_NAMESPACE_END
91 #endif
vtkTypeBool MapScalars
Definition: vtkVectorDot.h:79
Store vtkAlgorithm input/output information.
generate scalars from dot product of vectors and normals (e.g., show displacement plot) ...
Definition: vtkVectorDot.h:34
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.
#define VTK_MARSHALAUTO
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()