TTK
Loading...
Searching...
No Matches
DataTypes.h
Go to the documentation of this file.
1
7
8#pragma once
9
10namespace ttk {
12#ifdef TTK_HW_IS_32BITS // i386
13 using LongSimplexId = int;
14#else // amd64
15 using LongSimplexId = long long int;
16#endif // TTK_HW_IS_32BITS
17
19#ifdef TTK_ENABLE_64BIT_IDS
20 using SimplexId = long long int;
21#else
22 using SimplexId = int;
23#endif
24
26 using ThreadId = int;
27
29 using TaskId = int;
30
32 const char MaskScalarFieldName[] = "ttkMaskScalarField";
33
35 const char VertexScalarFieldName[] = "ttkVertexScalarField";
36
38 const char CellScalarFieldName[] = "ttkCellScalarField";
39
41 const char OffsetScalarFieldName[] = "ttkOffsetScalarField";
42
44 const char OffsetFieldUName[] = "ttkOffsetFieldU";
45 const char OffsetFieldVName[] = "ttkOffsetFieldV";
46
47 // default names for the Morse-Smale complex
48 const char MorseSmaleCellDimensionName[] = "CellDimension";
49 const char MorseSmaleCellIdName[] = "CellId";
50 const char MorseSmaleBoundaryName[] = "IsOnBoundary";
51 const char MorseSmaleManifoldSizeName[] = "ManifoldSize";
52 const char MorseSmaleSourceIdName[] = "SourceId";
53 const char MorseSmaleDestinationIdName[] = "DestinationId";
54 const char MorseSmaleSeparatrixIdName[] = "SeparatrixId";
55 const char MorseSmaleSeparatrixTypeName[] = "SeparatrixType";
56 const char MorseSmaleSeparatrixMaximumName[] = "SeparatrixFunctionMaximum";
57 const char MorseSmaleSeparatrixMinimumName[] = "SeparatrixFunctionMinimum";
59 = "SeparatrixFunctionDifference";
61 = "NumberOfCriticalPointsOnBoundary";
62 const char MorseSmaleAscendingName[] = "AscendingManifold";
63 const char MorseSmaleDescendingName[] = "DescendingManifold";
64 const char MorseSmaleManifoldName[] = "MorseSmaleManifold";
65
66 // default names for persistence diagram meta data
67 const char PersistenceCriticalTypeName[] = "CriticalType";
68 const char PersistenceBirthName[] = "Birth";
69 const char PersistenceDeathName[] = "Death";
70 const char PersistenceCoordinatesName[] = "Coordinates";
71 const char PersistencePairIdentifierName[] = "PairIdentifier";
72 const char PersistenceName[] = "Persistence";
73 const char PersistencePairTypeName[] = "PairType";
74 const char PersistenceIsFinite[] = "IsFinite";
75
76 // default name for compact triangulation index
77 const char compactTriangulationIndex[] = "ttkCompactTriangulationIndex";
78
80 enum class CriticalType {
81 Local_minimum = 0,
82 Saddle1,
83 Saddle2,
87 };
89 const int CriticalTypeNumber = 6;
90
91} // namespace ttk
The Topology ToolKit.
const char MorseSmaleDestinationIdName[]
Definition DataTypes.h:53
const char MorseSmaleSeparatrixDifferenceName[]
Definition DataTypes.h:59
const char MorseSmaleManifoldName[]
Definition DataTypes.h:64
const char OffsetFieldVName[]
Definition DataTypes.h:45
const char MorseSmaleSeparatrixMaximumName[]
Definition DataTypes.h:56
const char PersistenceName[]
Definition DataTypes.h:72
const int CriticalTypeNumber
number of different critical types
Definition DataTypes.h:89
CriticalType
default value for critical index
Definition DataTypes.h:80
const char PersistenceCoordinatesName[]
Definition DataTypes.h:70
const char OffsetFieldUName[]
default name for bivariate offset fields
Definition DataTypes.h:44
const char MorseSmaleSourceIdName[]
Definition DataTypes.h:52
const char CellScalarFieldName[]
default name for cell scalar field
Definition DataTypes.h:38
const char MorseSmaleAscendingName[]
Definition DataTypes.h:62
const char PersistencePairTypeName[]
Definition DataTypes.h:73
const char MorseSmaleCellDimensionName[]
Definition DataTypes.h:48
const char MorseSmaleDescendingName[]
Definition DataTypes.h:63
const char MorseSmaleCriticalPointsOnBoundaryName[]
Definition DataTypes.h:61
const char MorseSmaleCellIdName[]
Definition DataTypes.h:49
const char MorseSmaleSeparatrixTypeName[]
Definition DataTypes.h:55
const char MorseSmaleManifoldSizeName[]
Definition DataTypes.h:51
const char compactTriangulationIndex[]
Definition DataTypes.h:77
const char PersistenceCriticalTypeName[]
Definition DataTypes.h:67
const char PersistenceIsFinite[]
Definition DataTypes.h:74
const char MorseSmaleBoundaryName[]
Definition DataTypes.h:50
const char VertexScalarFieldName[]
default name for vertex scalar field
Definition DataTypes.h:35
const char PersistencePairIdentifierName[]
Definition DataTypes.h:71
const char MorseSmaleSeparatrixMinimumName[]
Definition DataTypes.h:57
const char PersistenceBirthName[]
Definition DataTypes.h:68
const char PersistenceDeathName[]
Definition DataTypes.h:69
long long int LongSimplexId
Identifier type for simplices of any dimension.
Definition DataTypes.h:15
const char MorseSmaleSeparatrixIdName[]
Definition DataTypes.h:54
int ThreadId
Identifier type for threads (i.e. with OpenMP).
Definition DataTypes.h:26
const char MaskScalarFieldName[]
default name for mask scalar field
Definition DataTypes.h:32
int SimplexId
Identifier type for simplices of any dimension.
Definition DataTypes.h:22
const char OffsetScalarFieldName[]
default name for offset scalar field
Definition DataTypes.h:41
int TaskId
Identifier type for tasks (i.e. with OpenMP).
Definition DataTypes.h:29