VTK
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=========================================================================*/
38#ifndef vtkVectorDot_h
39#define vtkVectorDot_h
40
41#include "vtkFiltersCoreModule.h" // For export macro
42#include "vtkDataSetAlgorithm.h"
43
44class VTKFILTERSCORE_EXPORT vtkVectorDot : public vtkDataSetAlgorithm
45{
46public:
48 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
49
53 static vtkVectorDot *New();
54
56
63 vtkSetMacro(MapScalars,int);
64 vtkGetMacro(MapScalars,int);
65 vtkBooleanMacro(MapScalars,int);
67
69
73 vtkSetVector2Macro(ScalarRange,double);
74 vtkGetVectorMacro(ScalarRange,double,2);
76
78
82 vtkGetVectorMacro(ActualRange,double,2);
84
85protected:
87 ~vtkVectorDot() VTK_OVERRIDE {}
88
90 double ScalarRange[2];
91 double ActualRange[2];
92
94
95private:
96 vtkVectorDot(const vtkVectorDot&) VTK_DELETE_FUNCTION;
97 void operator=(const vtkVectorDot&) VTK_DELETE_FUNCTION;
98};
99
100#endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:40
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:45
static vtkVectorDot * New()
Construct object with scalar range (-1,1).
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.
~vtkVectorDot() override
Definition: vtkVectorDot.h:87
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.