VTK
9.0.1
Filters
General
vtkTimeSourceExample.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTimeSourceExample.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm 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
=========================================================================*/
28
#ifndef vtkTimeSourceExample_h
29
#define vtkTimeSourceExample_h
30
31
#include "vtkFiltersGeneralModule.h"
// For export macro
32
#include "
vtkUnstructuredGridAlgorithm.h
"
33
34
class
VTKFILTERSGENERAL_EXPORT
vtkTimeSourceExample
:
public
vtkUnstructuredGridAlgorithm
35
{
36
public
:
37
static
vtkTimeSourceExample
*
New
();
38
vtkTypeMacro(
vtkTimeSourceExample
,
vtkUnstructuredGridAlgorithm
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
40
42
46
vtkSetClampMacro(Analytic,
vtkTypeBool
, 0, 1);
47
vtkGetMacro(Analytic,
vtkTypeBool
);
48
vtkBooleanMacro(Analytic,
vtkTypeBool
);
50
52
57
vtkSetMacro(XAmplitude,
double
);
58
vtkGetMacro(XAmplitude,
double
);
59
vtkSetMacro(YAmplitude,
double
);
60
vtkGetMacro(YAmplitude,
double
);
62
64
69
vtkSetClampMacro(Growing,
vtkTypeBool
, 0, 1);
70
vtkGetMacro(Growing,
vtkTypeBool
);
71
vtkBooleanMacro(Growing,
vtkTypeBool
);
73
74
protected
:
75
vtkTimeSourceExample
();
76
~
vtkTimeSourceExample
()
override
;
77
78
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
79
80
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
81
82
void
LookupTimeAndValue(
double
&
time
,
double
&
value
);
83
double
ValueFunction(
double
time
);
84
double
XFunction(
double
time
);
85
double
YFunction(
double
time
);
86
int
NumCellsFunction(
double
time
);
87
88
vtkTypeBool
Analytic
;
89
double
XAmplitude
;
90
double
YAmplitude
;
91
vtkTypeBool
Growing
;
92
93
int
NumSteps
;
94
double
*
Steps
;
95
double
*
Values
;
96
97
private
:
98
vtkTimeSourceExample
(
const
vtkTimeSourceExample
&) =
delete
;
99
void
operator=(
const
vtkTimeSourceExample
&) =
delete
;
100
};
101
102
#endif
vtkX3D::value
@ value
Definition:
vtkX3D.h:226
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkX3D::time
@ time
Definition:
vtkX3D.h:503
vtkTimeSourceExample::Values
double * Values
Definition:
vtkTimeSourceExample.h:95
vtkTimeSourceExample::NumSteps
int NumSteps
Definition:
vtkTimeSourceExample.h:93
vtkUnstructuredGridAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkUnstructuredGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkTimeSourceExample::YAmplitude
double YAmplitude
Definition:
vtkTimeSourceExample.h:90
vtkTimeSourceExample::Analytic
vtkTypeBool Analytic
Definition:
vtkTimeSourceExample.h:88
vtkTimeSourceExample::Steps
double * Steps
Definition:
vtkTimeSourceExample.h:94
vtkTimeSourceExample::XAmplitude
double XAmplitude
Definition:
vtkTimeSourceExample.h:89
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:73
vtkUnstructuredGridAlgorithm::New
static vtkUnstructuredGridAlgorithm * New()
vtkUnstructuredGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition:
vtkUnstructuredGridAlgorithm.h:40
vtkTimeSourceExample::Growing
vtkTypeBool Growing
Definition:
vtkTimeSourceExample.h:91
vtkTimeSourceExample
Definition:
vtkTimeSourceExample.h:34
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17