VTK: Filters/Core/vtkVectorDot.h Source File

| VTK 9.3.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
35 #ifndef vtkVectorDot_h
36 #define vtkVectorDot_h
37
38 #include "vtkDataSetAlgorithm.h"
39 #include "vtkFiltersCoreModule.h" // For export macro
40
41 VTK_ABI_NAMESPACE_BEGIN
42 class VTKFILTERSCORE_EXPORT vtkVectorDot : public vtkDataSetAlgorithm
43 {
44 public:
45 vtkTypeMacro(vtkVectorDot, vtkDataSetAlgorithm);
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
51 static vtkVectorDot* New();
52
54
61 vtkSetMacro(MapScalars, vtkTypeBool);
62 vtkGetMacro(MapScalars, vtkTypeBool);
63 vtkBooleanMacro(MapScalars, vtkTypeBool);
65
67
71 vtkSetVector2Macro(ScalarRange, double);
72 vtkGetVectorMacro(ScalarRange, double, 2);
74
76
80 vtkGetVectorMacro(ActualRange, double, 2);
82
83 protected:
84 vtkVectorDot();
85 ~vtkVectorDot() override = default;
86
87 vtkTypeBool MapScalars;
88 double ScalarRange[2];
89 double ActualRange[2];
90
91 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
92
93 private:
94 vtkVectorDot(const vtkVectorDot&) = delete;
95 void operator=(const vtkVectorDot&) = delete;
96 };
97
98 VTK_ABI_NAMESPACE_END
99 #endif
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:38
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkVectorDot
generate scalars from dot product of vectors and normals (e.g., show displacement plot)
Definition: vtkVectorDot.h:43
vtkVectorDot::vtkVectorDot
vtkVectorDot()
vtkVectorDot::~vtkVectorDot
~vtkVectorDot() override=default
vtkVectorDot::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkVectorDot::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkVectorDot::New
static vtkVectorDot * New()
Construct object with scalar range (-1,1).
vtkVectorDot::MapScalars
vtkTypeBool MapScalars
Definition: vtkVectorDot.h:87
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:64
vtkDataSetAlgorithm.h