contrib/gel/vtol/vtol_dtd.h
Go to the documentation of this file.
00001 #ifndef vtol_dtd_h_
00002 #define vtol_dtd_h_
00003 
00004 char vtol_dtd0[] = "\
00005 \n\
00006 <!DOCTYPE vxl [\n\
00007 \n\
00008 <!-- vxl\n\
00009   -->\n\
00010 \n\
00011 <!ELEMENT vxl ANY>\n\
00012 \n\
00013 <!-- ** Generic structures ** -->\n\
00014 \n\
00015 <!ELEMENT vxl_flip EMPTY>\n\
00016 \n\
00017 <!-- ** Geometry structures ** -->\n\
00018 \n\
00019 <!-- vxl_point_[23]d\n\
00020         <vxl_point_2d x=\"1\" y=\"3\" w=\"4\"/>\n\
00021 \n\
00022         x,y,z and w values (w defaults to 1)\n\
00023         pointer (_sptr) exists\n\
00024   -->\n\
00025 \n\
00026 <!ELEMENT vxl_point_2d EMPTY>\n\
00027   <!ATTLIST vxl_point_2d id ID   #IMPLIED\n\
00028                          x CDATA #REQUIRED\n\
00029                          y CDATA #REQUIRED\n\
00030                          w CDATA \"1\" >\n\
00031 <!ELEMENT vxl_point_3d EMPTY>\n\
00032   <!ATTLIST vxl_point_3d id ID   #IMPLIED\n\
00033                          x CDATA #REQUIRED\n\
00034                          y CDATA #REQUIRED\n\
00035                          z CDATA #REQUIRED\n\
00036                          w CDATA \"1\" >\n\
00037 \n\
00038 <!ELEMENT vxl_point_2d_sptr EMPTY>\n\
00039   <!ATTLIST vxl_point_2d_sptr id IDREF #REQUIRED>\n\
00040 <!ELEMENT vxl_point_3d_sptr EMPTY>\n\
00041   <!ATTLIST vxl_point_3d_sptr id IDREF #REQUIRED>\n\
00042 \n"; char vtol_dtd1[] = "\
00043 <!-- ** Topology structures ** -->\n\
00044 \n\
00045 <!-- vxl_vertex_[23]d\n\
00046         <vxl_vertex_2d id=\"3\"><vxl_point_2d x=\"1\" y=\"3\"/></vxl_vertex>\n\
00047 \n\
00048      vxl_vertex_[23]d_sptr\n\
00049         <vxl_vertex_2d_sptr id=\"3\">\n\
00050 \n\
00051         Vertex contains a vxl_point or a pointer to a vxl_point.\n\
00052   -->\n\
00053 \n\
00054 <!ELEMENT vxl_vertex_2d ( vxl_point_2d | vxl_point_2d_sptr )>\n\
00055   <!ATTLIST vxl_vertex_2d id ID #IMPLIED>\n\
00056 <!ELEMENT vxl_vertex_3d ( vxl_point_3d | vxl_point_2d_sptr )>\n\
00057   <!ATTLIST vxl_vertex_3d id ID #IMPLIED>\n\
00058 \n\
00059 <!ELEMENT vxl_vertex_2d_sptr EMPTY>\n\
00060   <!ATTLIST vxl_vertex_2d_sptr id IDREF #REQUIRED>\n\
00061 <!ELEMENT vxl_vertex_3d_sptr EMPTY>\n\
00062   <!ATTLIST vxl_vertex_3d_sptr id IDREF #REQUIRED>\n\
00063 \n\
00064 <!-- vxl_zero_chain_2d\n\
00065          <vxl_zero_chain_2d id=\"3\">\n\
00066               <vxl_vertex_2d ...>\n\
00067               <vxl_vertex_2d ...>\n\
00068          </vxl_zero_chain_2d>\n\
00069   -->\n\
00070 \n\
00071 <!ELEMENT vxl_zero_chain_2d ( ( ( vxl_vertex_2d, vxl_flip? ) |\n\
00072                                ( vxl_vertex_2d_sptr, vxl_flip? ) )+ )>\n\
00073   <!ATTLIST vxl_zero_chain_2d id ID #IMPLIED>\n\
00074 \n\
00075 <!ELEMENT vxl_zero_chain_2d_sptr EMPTY>\n\
00076   <!ATTLIST vxl_zero_chain_2d_sptr id IDREF #REQUIRED>\n\
00077 \n\
00078 <!-- vxl_edge_2d\n\
00079          <vxl_edge_2d id=\"3\">\n\
00080               <vxl_vertex_2d ...>\n\
00081               <vxl_vertex_2d ...>\n\
00082          </vxl_edge_2d>\n\
00083   -->\n\
00084 \n"; char vtol_dtd2[] = "\
00085 <!ELEMENT vxl_edge_2d ( vxl_zero_chain_2d | vxl_zero_chain_2d_sptr)>\n\
00086   <!ATTLIST vxl_edge_2d id ID #IMPLIED>\n\
00087 \n\
00088 <!ELEMENT vxl_edge_2d_sptr EMPTY>\n\
00089   <!ATTLIST vxl_edge_2d_sptr id IDREF #REQUIRED>\n\
00090 \n\
00091 <!-- vxl_one_chain_[23d]\n\
00092           <vxl_one_chain_[23d] id=\"6\"\n\
00093                 <vxl_edge_2d ...>\n\
00094                 <vxl_edge_2d ...>\n\
00095                 <vxl_edge_2d ...>\n\
00096           </vxl_one_chain_2d>\n\
00097 \n\
00098           One_Chain is a list of edges or edge pointers.\n\
00099           Closure is enforced by the list.\n\
00100           Pointer (_sptr) exists.\n\
00101   -->\n\
00102 \n\
00103 <!ELEMENT vxl_one_chain_2d ( ( ( vxl_edge_2d, vxl_flip? ) |\n\
00104                               ( vxl_edge_2d_sptr, vxl_flip? ) |\n\
00105                               vxl_one_chain_2d )+ )>\n\
00106   <!ATTLIST vxl_one_chain_2d id ID #IMPLIED>\n\
00107 \n\
00108 <!ELEMENT vxl_one_chain_2d_sptr EMPTY>\n\
00109   <!ATTLIST vxl_one_chain_2d_sptr id IDREF #REQUIRED>\n\
00110 \n\
00111 <!-- vxl_triangle_2d\n\
00112         <vxl_triangle_2d>\n\
00113            <vxl_point_2d><vxl_point_2d><vxl_point_2d>\n\
00114         </vxl_triangle_2d>\n\
00115 \n\
00116         Three (no more, no less) vxl_vertices (The Lightweight Solution).\n\
00117         At the same level as a one-chain.\n\
00118         Pointer (_sptr) exists.\n\
00119   -->\n\
00120 \n\
00121 <!ELEMENT vxl_triangle_2d ( ( vxl_vertex_2d | vxl_vertex_2d_sptr ),\n\
00122                             ( vxl_vertex_2d | vxl_vertex_2d_sptr ),\n\
00123                             ( vxl_vertex_2d | vxl_vertex_2d_sptr ))>\n\
00124   <!ATTLIST vxl_triangle_2d id ID #IMPLIED>\n\
00125 \n\
00126 <!ELEMENT vxl_triangle_2d_sptr EMPTY>\n\
00127   <!ATTLIST vxl_triangle_2d_sptr id IDREF #REQUIRED>\n\
00128 \n"; char vtol_dtd3[] = "\
00129 <!-- vxl_face_[23d]\n\
00130            <vxl_face_2d id=\"7\">\n\
00131                  <vxl_one_chain_2d ...>\n\
00132                  <vxl_one_chain_2d ...>\n\
00133            </vxl_face_2d>\n\
00134 \n\
00135            Face is a list of one chains or pointers to one chains.\n\
00136            Pointer (_sptr) exists.\n\
00137   -->\n\
00138 \n\
00139 <!ELEMENT vxl_face_2d ( ( vxl_one_chain_2d | vxl_one_chain_2d_sptr |\n\
00140                           vxl_triangle_2d | vxl_triangle_2d_sptr )+ )>\n\
00141   <!ATTLIST vxl_face_2d id ID #IMPLIED>\n\
00142 \n\
00143 <!ELEMENT vxl_face_2d_sptr EMPTY>\n\
00144   <!ATTLIST vxl_face_2d_sptr id IDREF #REQUIRED>\n\
00145 \n\
00146 <!-- vxl_two_chain_[23d]\n\
00147            <vxl_two_chain_2d id=\"12\">\n\
00148                      <vxl_face_2d ...>\n\
00149                      <vxl_face_2d ...>\n\
00150            </vxl_two_chain_2d>\n\
00151 \n\
00152            Two chain is a list of faces or pointers to faces.\n\
00153            Pointer (_sptr) exists.\n\
00154   -->\n\
00155 \n\
00156 <!ELEMENT vxl_two_chain_2d ( ( vxl_face_2d | vxl_face_2d_sptr )+ )>\n\
00157   <!ATTLIST vxl_two_chain_2d id ID #IMPLIED>\n\
00158 \n\
00159 <!ELEMENT vxl_two_chain_2d_sptr EMPTY>\n\
00160   <!ATTLIST vxl_two_chain_2d_sptr id IDREF #REQUIRED>\n\
00161 \n\
00162 ]>\n\
00163 \n\
00164 \n\
00165 \n\
00166 \n\
00167 \n\
00168 ";
00169 
00170 #endif // vtol_dtd_h_