00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef MESH_INTERFACE_HH
00026 #define MESH_INTERFACE_HH
00027
00028 #include "mesh-vertex.hh"
00029 #include <cstdlib>
00030
00031 class CTransformationMatrix;
00032
00033 namespace GMap3d
00034 {
00035 class CGMapVertex;
00036
00037 class CMesh
00038 {
00039 public:
00041 CMesh(CGMapVertex* AMap);
00042
00044 ~CMesh();
00045
00078 int meshMarkedEdges(int AMarkNumber, int ASx,
00079 const CTransformationMatrix* AMeshMatrix = NULL,
00080 bool AMeshWithMerges = true,
00081 bool AMeshWithAdjacentSews = true,
00082 bool AMeshAssociatedCells = false,
00083 int ADirectInfoAlpha0 = -1, int ADirectInfoAssoc = -1);
00084
00112 int meshMarkedSquares(int AMarkNumber,
00113 int ASx = 1, int ASy = 1,
00114 const CTransformationMatrix* AMeshMatrix = NULL,
00115 bool AMeshWithMerges = true,
00116 bool AMeshWithAdjacentSews = true,
00117 bool AMeshAssociatedCells = false,
00118 int AInitialMeshDim = 0, int AFinalMeshDim = 2,
00119 int ADirectInfoAlpha0 = -1,
00120 int ADirectInfoAssoc = -1);
00121
00150 int meshMarkedCubes(int AMarkNumber,
00151 int ASx = 1, int ASy = 1, int ASz = 1,
00152 const CTransformationMatrix* AMeshMatrix = NULL,
00153 bool AMeshWithMerges = true,
00154 bool AMeshWithAdjacentSews = true,
00155 bool AMeshAssociatedCells = false,
00156 int AInitialMeshDim = 0, int AFinalMeshDim = 3,
00157 int ADirectInfoAlpha0 = -1, int ADirectInfoAssoc = -1);
00158
00159 private:
00160 CGMapVertex* FMap;
00161 CMeshVertex FMesh;
00162 };
00163 }
00164
00165 #endif // MESH_INTERFACE_HH
00166