Adaptors
CatalystTestDriver
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
13
#include "
vtkCPScalarFieldFunction.h
"
14
#include "
vtkPVCatalystTestDriverModule.h
"
// needed for export macros
15
16
class
VTKPVCATALYSTTESTDRIVER_EXPORT
vtkCPConstantScalarFieldFunction
17
:
public
vtkCPScalarFieldFunction
18
{
19
public
:
20
static
vtkCPConstantScalarFieldFunction
*
New
();
21
vtkTypeMacro(
vtkCPConstantScalarFieldFunction
,
vtkCPScalarFieldFunction
);
22
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
23
27
double
ComputeComponenentAtPoint
(
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
:
39
vtkCPConstantScalarFieldFunction
();
40
~
vtkCPConstantScalarFieldFunction
()
override
;
41
42
private
:
43
vtkCPConstantScalarFieldFunction
(
const
vtkCPConstantScalarFieldFunction
&) =
delete
;
44
void
operator=(
const
vtkCPConstantScalarFieldFunction
&) =
delete
;
45
47
50
double
Constant;
51
};
53
54
#endif
vtkPVCatalystTestDriverModule.h
vtkCPConstantScalarFieldFunction
Class for specifying constant scalars at points.
Definition:
vtkCPConstantScalarFieldFunction.h:16
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
VTKPVCATALYSTTESTDRIVER_EXPORT
#define VTKPVCATALYSTTESTDRIVER_EXPORT
Definition:
vtkPVCatalystTestDriverModule.h:15
vtkIndent
vtkCPScalarFieldFunction.h
vtkCPScalarFieldFunction
Abstract class for specifying scalars at points.
Definition:
vtkCPScalarFieldFunction.h:16
vtkObject::New
static vtkObject * New()
Generated by
1.8.13 on Tue Jan 21 2025