|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/cn3d/cn3dmesh.h |
source navigation diff markup identifier search freetext search file search |
1 /* cn3dmesh.h
2 * ===========================================================================
3 *
4 * PUBLIC DOMAIN NOTICE
5 * National Center for Biotechnology Information (NCBI)
6 *
7 * This software/database is a "United States Government Work" under the
8 * terms of the United States Copyright Act. It was written as part of
9 * the author's official duties as a United States Government employee and
10 * thus cannot be copyrighted. This software/database is freely available
11 * to the public for use. The National Library of Medicine and the U.S.
12 * Government do not place any restriction on its use or reproduction.
13 * We would, however, appreciate having the NCBI and the author cited in
14 * any work or product based on this material
15 *
16 * Although all reasonable efforts have been taken to ensure the accuracy
17 * and reliability of the software and data, the NLM and the U.S.
18 * Government do not and cannot warrant the performance or results that
19 * may be obtained by using this software or data. The NLM and the U.S.
20 * Government disclaim all warranties, express or implied, including
21 * warranties of performance, merchantability or fitness for any particular
22 * purpose.
23 *
24 * ===========================================================================
25 *
26 * File Name: cn3dmesh.h
27 *
28 * Author:
29 *
30 * Version Creation Date:
31 *
32 * $Revision: 6.2 $
33 *
34 * File Description:
35 *
36 *
37 * Modifications:
38 * --------------------------------------------------------------------------
39 * Date Name Description of modification
40 * ------- ---------- -----------------------------------------------------
41 *
42 * ==========================================================================
43 */
44
45 /* cn3dmesh.h */
46
47 #ifndef _CN3DMESH_
48 #define _CN3DMESH_
49
50 #ifdef __cplusplus
51 extern "C" {
52 #endif
53
54 extern void Cn3D_OpenMesh(Nlm_IteM i);
55
56 typedef struct _Cn3D_Vert {
57 Nlm_FloatHi Vertex[3];
58 Nlm_FloatHi Normal[3];
59 } Cn3D_Vert;
60
61 typedef struct _Cn3D_Edge {
62 Nlm_Int4 Vertex[2];
63 } Cn3D_Edge;
64
65 typedef struct _Cn3D_Tri {
66 Nlm_Int4 Edge[3];
67 Nlm_Int4 Vertex[3];
68 Nlm_Int4 Atom;
69 } Cn3D_Tri;
70
71 typedef struct _Cn3D_Mesh {
72 Cn3D_Vert *Vertices;
73 Cn3D_Edge *Edges;
74 Cn3D_Tri *Tri;
75 Int4 NumTri;
76 Int4 NumVert;
77 Int4 NumEdge;
78 } Cn3D_Mesh;
79
80 extern Cn3D_Mesh Mesh;
81
82 extern Boolean MeshLoaded;
83
84 #ifdef __cplusplus
85 }
86 #endif
87 #endif
88 |
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |