VTK  9.2.20230320
vtkVectorDot.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkVectorDot.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
77 #ifndef vtkVectorDot_h
78 #define vtkVectorDot_h
79 
80 #include "vtkDataSetAlgorithm.h"
81 #include "vtkFiltersCoreModule.h" // For export macro
82 
83 VTK_ABI_NAMESPACE_BEGIN
84 class VTKFILTERSCORE_EXPORT vtkVectorDot : public vtkDataSetAlgorithm
85 {
86 public:
88  void PrintSelf(ostream& os, vtkIndent indent) override;
89 
93  static vtkVectorDot* New();
94 
96 
103  vtkSetMacro(MapScalars, vtkTypeBool);
104  vtkGetMacro(MapScalars, vtkTypeBool);
105  vtkBooleanMacro(MapScalars, vtkTypeBool);
107 
109 
113  vtkSetVector2Macro(ScalarRange, double);
114  vtkGetVectorMacro(ScalarRange, double, 2);
116 
118 
122  vtkGetVectorMacro(ActualRange, double, 2);
124 
125 protected:
127  ~vtkVectorDot() override = default;
128 
130  double ScalarRange[2];
131  double ActualRange[2];
132 
134 
135 private:
136  vtkVectorDot(const vtkVectorDot&) = delete;
137  void operator=(const vtkVectorDot&) = delete;
138 };
139 
140 VTK_ABI_NAMESPACE_END
141 #endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:120
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:85
~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:129
int vtkTypeBool
Definition: vtkABI.h:71