VTK  9.3.20240423
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
65#ifndef vtkVectorDot_h
66#define vtkVectorDot_h
67
68#include "vtkDataSetAlgorithm.h"
69#include "vtkFiltersCoreModule.h" // For export macro
70
71VTK_ABI_NAMESPACE_BEGIN
72class VTKFILTERSCORE_EXPORT vtkVectorDot : public vtkDataSetAlgorithm
73{
74public:
76 void PrintSelf(ostream& os, vtkIndent indent) override;
77
81 static vtkVectorDot* New();
82
84
91 vtkSetMacro(MapScalars, vtkTypeBool);
92 vtkGetMacro(MapScalars, vtkTypeBool);
93 vtkBooleanMacro(MapScalars, vtkTypeBool);
95
97
101 vtkSetVector2Macro(ScalarRange, double);
102 vtkGetVectorMacro(ScalarRange, double, 2);
104
106
110 vtkGetVectorMacro(ActualRange, double, 2);
112
113protected:
115 ~vtkVectorDot() override = default;
116
118 double ScalarRange[2];
119 double ActualRange[2];
120
122
123private:
124 vtkVectorDot(const vtkVectorDot&) = delete;
125 void operator=(const vtkVectorDot&) = delete;
126};
127
128VTK_ABI_NAMESPACE_END
129#endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition vtkIndent.h:108
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)
static vtkVectorDot * New()
Construct object with scalar range (-1,1).
~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.
vtkTypeBool MapScalars
int vtkTypeBool
Definition vtkABI.h:64