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
base
topologicalCompression
OtherCompression.h
Go to the documentation of this file.
1
//
2
// Created by max on 24/05/18.
3
//
4
5
// Files to be modified:
6
// ttkTopologicalCompressionReader.cpp
7
// ttkTopologicalCompressionWriter.cpp
8
// OtherCompression.h
9
10
#pragma once
11
12
#include <
TopologicalCompression.h
>
13
14
template
<
typename
dataType>
15
int
ttk::TopologicalCompression::compressForOther
(
16
int
ttkNotUsed
(vertexNumber),
17
const
dataType *
const
ttkNotUsed
(inputData),
18
const
SimplexId
*
const
ttkNotUsed
(inputOffsets),
19
dataType *
ttkNotUsed
(outputData),
20
const
double
&
ttkNotUsed
(tol))
const
{
21
22
ttk::Timer
t;
23
// Code me
24
25
this->
printMsg
(
26
"Other computed"
, 1.0, t.
getElapsedTime
(), this->threadNumber_);
27
t.
reStart
();
28
29
// Code me
30
31
this->
printMsg
(
32
"Scalar field compressed"
, 1.0, t.
getElapsedTime
(), this->threadNumber_);
33
34
return
0;
35
}
15
int
ttk::TopologicalCompression::compressForOther
( {
…
}
ttkNotUsed
#define ttkNotUsed(x)
Mark function/method parameters that are not used in the function body at all.
Definition
BaseClass.h:47
TopologicalCompression.h
ttk::Timer
Definition
Timer.h:7
ttk::Timer::reStart
void reStart()
Definition
Timer.h:21
ttk::Timer::getElapsedTime
double getElapsedTime()
Definition
Timer.h:15
ttk::TopologicalCompression::compressForOther
int compressForOther(int vertexNumber, const dataType *const inputData, const SimplexId *const inputOffsets, dataType *outputData, const double &tol) const
ttk::SimplexId
int SimplexId
Identifier type for simplices of any dimension.
Definition
DataTypes.h:22
printMsg
printMsg(debug::output::BOLD+" | | | | | . \\ | | (__| | / __/| |_| / __/|__ _|"+debug::output::ENDCOLOR, debug::Priority::PERFORMANCE, debug::LineMode::NEW, stream)
Generated on Thu Sep 26 2024 06:50:19 for TTK by
1.9.8