TTK
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
z
Functions
a
c
d
f
g
i
l
m
o
p
r
s
t
u
v
z
Variables
b
c
d
e
f
g
i
l
m
o
p
r
s
u
v
w
y
Typedefs
b
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
Enumerations
Enumerator
a
b
c
f
g
h
j
l
m
n
o
p
s
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
c
e
g
i
k
n
p
q
r
s
t
v
w
Enumerations
b
c
d
e
f
m
p
r
s
t
v
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
j
m
n
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
Macros
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
core
vtk
ttkHelloWorld
ttkHelloWorld.h
Go to the documentation of this file.
1
38
39
#pragma once
40
41
// VTK Module
42
#include <ttkHelloWorldModule.h>
43
44
// VTK Includes
45
#include <
ttkAlgorithm.h
>
46
47
/* Note on including VTK modules
48
*
49
* Each VTK module that you include a header from needs to be specified in this
50
* module's vtk.module file, either in the DEPENDS or PRIVATE_DEPENDS (if the
51
* header is included in the cpp file only) sections.
52
*
53
* In order to find the corresponding module, check its location within the VTK
54
* source code. The VTK module name is composed of the path to the header. You
55
* can also find the module name within the vtk.module file located in the same
56
* directory as the header file.
57
*
58
* For example, vtkSphereSource.h is located in directory VTK/Filters/Sources/,
59
* so its corresponding VTK module is called VTK::FiltersSources. In this case,
60
* the vtk.module file would need to be extended to
61
*
62
* NAME
63
* ttkHelloWorld
64
* DEPENDS
65
* ttkAlgorithm
66
* VTK::FiltersSources
67
*/
68
69
// TTK Base Includes
70
#include <
HelloWorld.h
>
71
72
class
TTKHELLOWORLD_EXPORT
ttkHelloWorld
73
:
public
ttkAlgorithm
// we inherit from the generic ttkAlgorithm class
74
,
75
protected
ttk::HelloWorld
// and we inherit from the base class
76
{
77
private
:
82
std::string OutputArrayName{
"AveragedScalarField"
};
83
84
public
:
89
vtkSetMacro(OutputArrayName,
const
std::string &);
90
vtkGetMacro(OutputArrayName, std::string);
91
96
static
ttkHelloWorld
*
New
();
97
vtkTypeMacro(
ttkHelloWorld
,
ttkAlgorithm
);
98
99
protected
:
104
ttkHelloWorld
();
105
~ttkHelloWorld
()
override
=
default
;
106
111
int
FillInputPortInformation
(
int
port, vtkInformation *info)
override
;
112
117
int
FillOutputPortInformation
(
int
port, vtkInformation *info)
override
;
118
123
int
RequestData
(vtkInformation *request,
124
vtkInformationVector **inputVector,
125
vtkInformationVector *outputVector)
override
;
126
};
72
class
TTKHELLOWORLD_EXPORT
ttkHelloWorld
{
…
};
HelloWorld.h
ttkAlgorithm
Baseclass of all VTK filters that wrap ttk modules.
Definition
ttkAlgorithm.h:34
ttkAlgorithm::RequestData
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
Definition
ttkAlgorithm.h:423
ttkAlgorithm::FillInputPortInformation
int FillInputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
Definition
ttkAlgorithm.h:437
ttkAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
Definition
ttkAlgorithm.h:452
ttkHelloWorld
TTK VTK-filter that wraps the ttk::HelloWorld module.
Definition
ttkHelloWorld.h:76
ttkHelloWorld::New
static ttkHelloWorld * New()
ttkHelloWorld::~ttkHelloWorld
~ttkHelloWorld() override=default
ttk::HelloWorld
Definition
HelloWorld.h:30
ttkAlgorithm.h
Generated on Thu Sep 26 2024 06:50:19 for TTK by
1.9.8