VTK  9.5.20250905
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
71
72VTK_ABI_NAMESPACE_BEGIN
73class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkVectorDot : public vtkDataSetAlgorithm
74{
75public:
77 void PrintSelf(ostream& os, vtkIndent indent) override;
78
82 static vtkVectorDot* New();
83
85
92 vtkSetMacro(MapScalars, vtkTypeBool);
93 vtkGetMacro(MapScalars, vtkTypeBool);
94 vtkBooleanMacro(MapScalars, vtkTypeBool);
96
98
102 vtkSetVector2Macro(ScalarRange, double);
103 vtkGetVectorMacro(ScalarRange, double, 2);
105
107
111 vtkGetVectorMacro(ActualRange, double, 2);
113
114protected:
116 ~vtkVectorDot() override = default;
117
119 double ScalarRange[2];
120 double ActualRange[2];
121
123
124private:
125 vtkVectorDot(const vtkVectorDot&) = delete;
126 void operator=(const vtkVectorDot&) = delete;
127};
128
129VTK_ABI_NAMESPACE_END
130#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
#define VTK_MARSHALAUTO