TTK
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
}
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