vtkCPConstantScalarFieldFunction.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkCPConstantScalarFieldFunction_h
11 #define vtkCPConstantScalarFieldFunction_h
12 
14 #include "vtkPVCatalystTestDriverModule.h" // needed for export macros
15 
16 class VTKPVCATALYSTTESTDRIVER_EXPORT vtkCPConstantScalarFieldFunction
18 {
19 public:
22  void PrintSelf(ostream& os, vtkIndent indent) override;
23 
28  unsigned int component, double* point, unsigned long timeStep, double time) override;
29 
31 
34  vtkSetMacro(Constant, double);
35  vtkGetMacro(Constant, double);
37 
38 protected:
41 
42 private:
44  void operator=(const vtkCPConstantScalarFieldFunction&) = delete;
45 
47 
50  double Constant;
51 };
53 
54 #endif
vtkCPScalarFieldFunction.h
vtkObject::New
static vtkObject * New()
vtkCPConstantScalarFieldFunction
Class for specifying constant scalars at points.
Definition: vtkCPConstantScalarFieldFunction.h:16
vtkCPScalarFieldFunction
Abstract class for specifying scalars at points.
Definition: vtkCPScalarFieldFunction.h:16
vtkIndent
vtkCPScalarFieldFunction::ComputeComponenentAtPoint
double ComputeComponenentAtPoint(unsigned int component, double point[3], unsigned long timeStep, double time) override=0
Compute the field value at Point.
vtkCPScalarFieldFunction::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override