Adaptors
CatalystTestDriver
vtkCPConstantScalarFieldFunction.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ParaView
4
Module: vtkCPConstantScalarFieldFunction.h
5
6
Copyright (c) Kitware, Inc.
7
All rights reserved.
8
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
22
#ifndef vtkCPConstantScalarFieldFunction_h
23
#define vtkCPConstantScalarFieldFunction_h
24
25
#include "
vtkCPScalarFieldFunction.h
"
26
#include "vtkPVCatalystTestDriverModule.h"
// needed for export macros
27
28
class
VTKPVCATALYSTTESTDRIVER_EXPORT
vtkCPConstantScalarFieldFunction
29
:
public
vtkCPScalarFieldFunction
30
{
31
public
:
32
static
vtkCPConstantScalarFieldFunction
*
New
();
33
vtkTypeMacro(
vtkCPConstantScalarFieldFunction
,
vtkCPScalarFieldFunction
);
34
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
35
39
virtual
double
ComputeComponenentAtPoint
(
40
unsigned
int
component,
double
* point,
unsigned
long
timeStep,
double
time)
override
;
41
43
46
vtkSetMacro(Constant,
double
);
47
vtkGetMacro(Constant,
double
);
49
50
protected
:
51
vtkCPConstantScalarFieldFunction
();
52
~
vtkCPConstantScalarFieldFunction
();
53
54
private
:
55
vtkCPConstantScalarFieldFunction
(
const
vtkCPConstantScalarFieldFunction
&) =
delete
;
56
void
operator=(
const
vtkCPConstantScalarFieldFunction
&) =
delete
;
57
59
62
double
Constant;
63
};
65
66
#endif
vtkCPConstantScalarFieldFunction
Class for specifying constant scalars at points.
Definition:
vtkCPConstantScalarFieldFunction.h:28
vtkCPScalarFieldFunction::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkIndent
vtkCPScalarFieldFunction.h
vtkCPScalarFieldFunction
Abstract class for specifying scalars at points.
Definition:
vtkCPScalarFieldFunction.h:28
vtkCPScalarFieldFunction::ComputeComponenentAtPoint
virtual double ComputeComponenentAtPoint(unsigned int component, double point[3], unsigned long timeStep, double time) override=0
Compute the field value at Point.
vtkObject::New
static vtkObject * New()
Generated by
1.8.13 on Tue May 18 2021