VTK  9.6.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
25
26#ifndef vtkVectorDot_h
27#define vtkVectorDot_h
28
29#include "vtkDataSetAlgorithm.h"
30#include "vtkFiltersCoreModule.h" // For export macro
31#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
32
33VTK_ABI_NAMESPACE_BEGIN
34class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkVectorDot : public vtkDataSetAlgorithm
35{
36public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
43 static vtkVectorDot* New();
44
46
53 vtkSetMacro(MapScalars, vtkTypeBool);
54 vtkGetMacro(MapScalars, vtkTypeBool);
55 vtkBooleanMacro(MapScalars, vtkTypeBool);
57
59
63 vtkSetVector2Macro(ScalarRange, double);
64 vtkGetVectorMacro(ScalarRange, double, 2);
66
68
72 vtkGetVectorMacro(ActualRange, double, 2);
74
75protected:
77 ~vtkVectorDot() override = default;
78
80 double ScalarRange[2];
81 double ActualRange[2];
82
84
85private:
86 vtkVectorDot(const vtkVectorDot&) = delete;
87 void operator=(const vtkVectorDot&) = delete;
88};
89
90VTK_ABI_NAMESPACE_END
91#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
double ScalarRange[2]
static vtkVectorDot * New()
Construct object with scalar range (-1,1).
double ActualRange[2]
~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