src
paraview-5.12
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
vtkCPTensorFieldFunction::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkCPTensorFieldFunction::ComputeComponenentAtPoint
virtual double ComputeComponenentAtPoint(unsigned int component, double point[3], unsigned long timeStep, double time)=0
Compute the field value at Point.
vtkCPScalarFieldFunction
Abstract class for specifying scalars at points.
Definition:
vtkCPScalarFieldFunction.h:16
vtkIndent
vtkCPTensorFieldFunction
Abstract class for specifying tensor fields at points.
Definition:
vtkCPTensorFieldFunction.h:16
vtkCPScalarFieldFunction::GetNumberOfComponents
unsigned int GetNumberOfComponents() override
Get the NumberOfComponents.
Definition:
vtkCPScalarFieldFunction.h:26
vtkCPTensorFieldFunction.h
Generated by
1.8.17 on Wed Mar 27 2024