ParaView
vtkCPScalarFieldFunction.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCPScalarFieldFunction.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 =========================================================================*/
22 #ifndef vtkCPScalarFieldFunction_h
23 #define vtkCPScalarFieldFunction_h
24 
26 #include "vtkPVCatalystTestDriverModule.h" // needed for export macros
27 
28 class VTKPVCATALYSTTESTDRIVER_EXPORT vtkCPScalarFieldFunction : public vtkCPTensorFieldFunction
29 {
30 public:
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
38  virtual unsigned int GetNumberOfComponents() { return 1; };
39 
43  virtual double ComputeComponenentAtPoint(
44  unsigned int component, double point[3], unsigned long timeStep, double time) = 0;
45 
46 protected:
49 
50 private:
51  vtkCPScalarFieldFunction(const vtkCPScalarFieldFunction&) VTK_DELETE_FUNCTION;
52  void operator=(const vtkCPScalarFieldFunction&) VTK_DELETE_FUNCTION;
53 };
54 
55 #endif
Abstract class for specifying tensor fields at points.
virtual unsigned int GetNumberOfComponents()
Get the NumberOfComponents.
void PrintSelf(ostream &os, vtkIndent indent)
Abstract 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.