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
26#ifndef vtkVectorDot_h
27#define vtkVectorDot_h
28
29#include "vtkDataSetAlgorithm.h"
30#include "vtkFiltersCoreModule.h" // For export macro
31
32VTK_ABI_NAMESPACE_BEGIN
33class VTKFILTERSCORE_EXPORT vtkVectorDot : public vtkDataSetAlgorithm
34{
35public:
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
74protected:
76 ~vtkVectorDot() override = default;
77
79 double ScalarRange[2];
80 double ActualRange[2];
81
83
84private:
85 vtkVectorDot(const vtkVectorDot&) = delete;
86 void operator=(const vtkVectorDot&) = delete;
87};
88
89VTK_ABI_NAMESPACE_END
90#endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition vtkIndent.h:29
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