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