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 =========================================================================*/
37 #ifndef vtkVectorDot_h
38 #define vtkVectorDot_h
39 
40 #include "vtkFiltersCoreModule.h" // For export macro
41 #include "vtkDataSetAlgorithm.h"
42 
44 {
45 public:
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50  static vtkVectorDot *New();
51 
53 
58  vtkSetMacro(MapScalars,int);
59  vtkGetMacro(MapScalars,int);
60  vtkBooleanMacro(MapScalars,int);
62 
64 
66  vtkSetVector2Macro(ScalarRange,double);
67  vtkGetVectorMacro(ScalarRange,double,2);
69 
71 
73  vtkGetVectorMacro(ActualRange,double,2);
75 
76 protected:
77  vtkVectorDot();
79 
81  double ScalarRange[2];
82  double ActualRange[2];
83 
85 
86 private:
87  vtkVectorDot(const vtkVectorDot&); // Not implemented.
88  void operator=(const vtkVectorDot&); // Not implemented.
89 };
90 
91 #endif
Store vtkAlgorithm input/output information.
#define VTKFILTERSCORE_EXPORT
generate scalars from dot product of vectors and normals (e.g., show displacement plot) ...
Definition: vtkVectorDot.h:43
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()