Adaptors
CatalystTestDriver
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
13
#include "
vtkCPTensorFieldFunction.h
"
14
#include "
vtkPVCatalystTestDriverModule.h
"
// needed for export macros
15
16
class
VTKPVCATALYSTTESTDRIVER_EXPORT
vtkCPScalarFieldFunction
:
public
vtkCPTensorFieldFunction
17
{
18
public
:
19
vtkTypeMacro(
vtkCPScalarFieldFunction
,
vtkCPTensorFieldFunction
);
20
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
21
26
unsigned
int
GetNumberOfComponents
()
override
{
return
1; };
27
31
double
ComputeComponenentAtPoint
(
32
unsigned
int
component
,
double
point
[3],
unsigned
long
timeStep,
double
time
)
override
= 0;
33
34
protected
:
35
vtkCPScalarFieldFunction
();
36
~
vtkCPScalarFieldFunction
()
override
;
37
38
private
:
39
vtkCPScalarFieldFunction
(
const
vtkCPScalarFieldFunction
&) =
delete
;
40
void
operator=(
const
vtkCPScalarFieldFunction
&) =
delete
;
41
};
42
43
#endif
vtkPVCatalystTestDriverModule.h
vtkCPTensorFieldFunction
Abstract class for specifying tensor fields at points.
Definition:
vtkCPTensorFieldFunction.h:16
component
component
vtkCPScalarFieldFunction::GetNumberOfComponents
unsigned int GetNumberOfComponents() override
Get the NumberOfComponents.
Definition:
vtkCPScalarFieldFunction.h:26
vtkCPTensorFieldFunction::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
VTKPVCATALYSTTESTDRIVER_EXPORT
#define VTKPVCATALYSTTESTDRIVER_EXPORT
Definition:
vtkPVCatalystTestDriverModule.h:15
vtkCPTensorFieldFunction.h
vtkIndent
time
time
vtkCPScalarFieldFunction
Abstract class for specifying scalars at points.
Definition:
vtkCPScalarFieldFunction.h:16
point
point
vtkCPTensorFieldFunction::ComputeComponenentAtPoint
virtual double ComputeComponenentAtPoint(unsigned int component, double point[3], unsigned long timeStep, double time)=0
Compute the field value at Point.
Generated by
1.8.13 on Tue Jan 21 2025