VTK  9.1.0
vtkVectorDot.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkVectorDot.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
74#ifndef vtkVectorDot_h
75#define vtkVectorDot_h
76
77#include "vtkDataSetAlgorithm.h"
78#include "vtkFiltersCoreModule.h" // For export macro
79
80class VTKFILTERSCORE_EXPORT vtkVectorDot : public vtkDataSetAlgorithm
81{
82public:
84 void PrintSelf(ostream& os, vtkIndent indent) override;
85
89 static vtkVectorDot* New();
90
92
99 vtkSetMacro(MapScalars, vtkTypeBool);
100 vtkGetMacro(MapScalars, vtkTypeBool);
101 vtkBooleanMacro(MapScalars, vtkTypeBool);
103
105
109 vtkSetVector2Macro(ScalarRange, double);
110 vtkGetVectorMacro(ScalarRange, double, 2);
112
114
118 vtkGetVectorMacro(ActualRange, double, 2);
120
121protected:
123 ~vtkVectorDot() override = default;
124
126 double ScalarRange[2];
127 double ActualRange[2];
128
130
131private:
132 vtkVectorDot(const vtkVectorDot&) = delete;
133 void operator=(const vtkVectorDot&) = delete;
134};
135
136#endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:113
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)
Definition: vtkVectorDot.h:81
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
Definition: vtkVectorDot.h:125
int vtkTypeBool
Definition: vtkABI.h:69