ParaView
vtkCPLinearScalarFieldFunction.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCPLinearScalarFieldFunction.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
23 #ifndef vtkCPLinearScalarFieldFunction_h
24 #define vtkCPLinearScalarFieldFunction_h
25 
27 #include "vtkPVCatalystTestDriverModule.h" // needed for export macros
28 
29 class VTKPVCATALYSTTESTDRIVER_EXPORT vtkCPLinearScalarFieldFunction
31 {
32 public:
33  static vtkCPLinearScalarFieldFunction* New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
40  virtual double ComputeComponenentAtPoint(
41  unsigned int component, double point[3], unsigned long timeStep, double time);
42 
44 
47  vtkSetMacro(Constant, double);
48  vtkGetMacro(Constant, double);
50 
52 
55  vtkSetMacro(XMultiplier, double);
56  vtkGetMacro(XMultiplier, double);
58 
60 
63  vtkSetMacro(YMultiplier, double);
64  vtkGetMacro(YMultiplier, double);
66 
68 
71  vtkSetMacro(ZMultiplier, double);
72  vtkGetMacro(ZMultiplier, double);
74 
76 
79  vtkSetMacro(TimeMultiplier, double);
80  vtkGetMacro(TimeMultiplier, double);
82 
83 protected:
86 
87 private:
89  void operator=(const vtkCPLinearScalarFieldFunction&) VTK_DELETE_FUNCTION;
90 
94  double Constant;
95 
99  double XMultiplier;
100 
104  double YMultiplier;
105 
109  double ZMultiplier;
110 
112 
115  double TimeMultiplier;
116 };
118 
119 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Abstract class for specifying scalars at points.
Class for specifying scalars at points.
virtual double ComputeComponenentAtPoint(unsigned int component, double point[3], unsigned long timeStep, double time)=0
Compute the field value at Point.