GemaMesh
The GeMA Mesh Plugin
Loading...
Searching...
No Matches
gmpGemaMeshConfig.h
Go to the documentation of this file.
1/************************************************************************
2**
3** Copyright (C) 2014 by Carlos Augusto Teixera Mendes
4** All rights reserved.
5**
6** This file is part of the "GeMA" software. It's use should respect
7** the terms in the license agreement that can be found together
8** with this source code.
9** It is provided AS IS, with NO WARRANTY OF ANY KIND,
10** INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR
11** A PARTICULAR PURPOSE.
12**
13************************************************************************/
14
25#ifndef _GEMA_PLUGIN_GEMA_MESH_CONFIG_H_
26#define _GEMA_PLUGIN_GEMA_MESH_CONFIG_H_
27
28// Control exporting (when compiling the DLL) or importing symbols from
29// the shared library
30#include <QtCore/QtGlobal>
31
32#ifdef GEMAP_GEMA_MESH_LIB
33#define GMP_GEMAMESH_API_EXPORT Q_DECL_EXPORT
34#else
35#define GMP_GEMAMESH_API_EXPORT Q_DECL_IMPORT
36#endif
37
38
39// IMPORTANT: If this values are changed, please also change the GmpCell type specification on
40// the gemaCoreLib.natvis file
41
43#define GMP_GEMAMESH_CELL_MESH_BITS 3
44
49#define GMP_GEMAMESH_CELL_ID_BITS (32 - 1 - GMP_GEMAMESH_CELL_MESH_BITS)
50
52#define GMP_GEMAMESH_MAX_NUM_MESHES (1 << GMP_GEMAMESH_CELL_MESH_BITS)
53
55#define GMP_GEMAMESH_MAX_NUM_CELLS (1 << GMP_GEMAMESH_CELL_ID_BITS)
56
63#define GMP_GEMAMESH_MAX_HTYPES 3
64
65
66
67#endif
68
69