vtkCPScalarFieldFunction.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkCPScalarFieldFunction_h
11 #define vtkCPScalarFieldFunction_h
12 
14 #include "vtkPVCatalystTestDriverModule.h" // needed for export macros
15 
16 class VTKPVCATALYSTTESTDRIVER_EXPORT vtkCPScalarFieldFunction : public vtkCPTensorFieldFunction
17 {
18 public:
20  void PrintSelf(ostream& os, vtkIndent indent) override;
21 
26  unsigned int GetNumberOfComponents() override { return 1; };
27 
32  unsigned int component, double point[3], unsigned long timeStep, double time) override = 0;
33 
34 protected:
36  ~vtkCPScalarFieldFunction() override;
37 
38 private:
40  void operator=(const vtkCPScalarFieldFunction&) = delete;
41 };
42 
43 #endif
Abstract class for specifying tensor fields at points.
component
unsigned int GetNumberOfComponents() override
Get the NumberOfComponents.
void PrintSelf(ostream &os, vtkIndent indent) override
time
Abstract class for specifying scalars at points.
point
virtual double ComputeComponenentAtPoint(unsigned int component, double point[3], unsigned long timeStep, double time)=0
Compute the field value at Point.