File: VsSchema.h

package info (click to toggle)
paraview 4.0.1-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 526,572 kB
  • sloc: cpp: 2,284,430; ansic: 816,374; python: 239,936; xml: 70,162; tcl: 48,295; fortran: 39,116; yacc: 5,466; java: 3,518; perl: 3,107; lex: 1,620; sh: 1,555; makefile: 932; asm: 471; pascal: 228
file content (102 lines) | stat: -rw-r--r-- 3,014 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#include <hdf5.h>
#include <visit-hdf5.h>
#if HDF5_VERSION_GE(1, 8, 1)
/**
 * @file  VsSchema.h
 *
 * @class VsSchema
 *
 * @brief Describes how instant datasets and meshes are found in the
 * file compliant with the schema.
 *
 * Copyright &copy; 2008 by Tech-X Corporation
 */

#ifndef VS_SCHEMA
#define VS_SCHEMA

#include <string>

struct VsSchema {

  // MD elements
  static std::string mdAtt;

  // Elements of schema
  static std::string typeAtt;
  static std::string kindAtt;
  static std::string meshAtt;
  static std::string centeringAtt; // This is deprecated
  static std::string cellOffsetAtt; // Instead of offsetAtt
  static std::string indexOrderAtt; //component major/minor, index C/Fortran; compMinorC is default
  static std::string numSpatialDimsAtt;
  static std::string spatialIndicesAtt;
  static std::string labelsAtt;
  static std::string varKey;
  static std::string vsVarsKey;
  static std::string varWithMeshKey;
  static std::string meshKey;
  static std::string zonalCenteringKey;// Node center is default
  static std::string structuredMeshKey;

  // Index ordering...
  static std::string compMajorCKey;
  static std::string compMinorCKey;
  static std::string compMajorFKey;
  static std::string compMinorFKey;

  struct Uniform {
    static std::string key;
    static std::string deprecated_key;
    static std::string lowerBounds;
    static std::string startCell;
    static std::string numCells;
    static std::string upperBounds;
  };

  struct Rectilinear {
    static std::string key;

    static std::string axis0Key;
    static std::string axis0DefaultName;
    
    static std::string axis1Key;
    static std::string axis1DefaultName;
    
    static std::string axis2Key;
    static std::string axis2DefaultName;
  };

  struct Unstructured {
    static std::string key;
    static std::string defaultPolygonsName; //polygons
    static std::string defaultPolyhedraName; //polyhedra
    static std::string defaultPointsName; //points
    static std::string defaultLinesName; //Lines
    static std::string defaultTrianglesName; //Triangles
    static std::string defaultQuadrilateralsName; //Quadrilaterals
    static std::string defaultTetrahedralsName; //Tetrahedral
    static std::string defaultPyramidsName; //Pyramids
    static std::string defaultPrismsName; //Prisms
    static std::string defaultHexahedralsName; //Hexahedrals

    static std::string vsPolygons; //polygons
    static std::string vsPolyhedra; //polyhedra
    static std::string vsPoints; //points
    static std::string vsLines; //Lines
    static std::string vsTriangles; //Triangles
    static std::string vsQuadrilaterals; //Quadrilaterals
    static std::string vsTetrahedrals; //Tetrahedral
    static std::string vsPyramids; //Pyramids
    static std::string vsPrisms; //Prisms
    static std::string vsHexahedrals; //Hexahedrals
    static std::string vsPoints0; //points
    static std::string vsPoints1; //points
    static std::string vsPoints2; //points
  };

};

#endif
#endif