Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / src / surfMesh / surfaceFormats / stl / STLsurfaceFormatRunTime.C
blob94cf257f4feb4cabf0e12189a77c03b75ca52bad
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | foam-extend: Open Source CFD
4    \\    /   O peration     | Version:     3.2
5     \\  /    A nd           | Web:         http://www.foam-extend.org
6      \\/     M anipulation  | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
8 License
9     This file is part of foam-extend.
11     foam-extend is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by the
13     Free Software Foundation, either version 3 of the License, or (at your
14     option) any later version.
16     foam-extend is distributed in the hope that it will be useful, but
17     WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19     General Public License for more details.
21     You should have received a copy of the GNU General Public License
22     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 \*---------------------------------------------------------------------------*/
26 #include "objectRegistry.H"
27 #include "STLsurfaceFormat.H"
29 #include "addToRunTimeSelectionTable.H"
30 #include "addToMemberFunctionSelectionTable.H"
32 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
34 namespace Foam
36 namespace fileFormats
39 // read MeshedSurface (ascii)
40 addNamedTemplatedToRunTimeSelectionTable
42     MeshedSurface,
43     STLsurfaceFormat,
44     face,
45     fileExtension,
46     stl
48 addNamedTemplatedToRunTimeSelectionTable
50     MeshedSurface,
51     STLsurfaceFormat,
52     triFace,
53     fileExtension,
54     stl
57 // read MeshedSurface (binary)
58 addNamedTemplatedToRunTimeSelectionTable
60     MeshedSurface,
61     STLsurfaceFormat,
62     face,
63     fileExtension,
64     stlb
66 addNamedTemplatedToRunTimeSelectionTable
68     MeshedSurface,
69     STLsurfaceFormat,
70     triFace,
71     fileExtension,
72     stlb
76 // write MeshedSurfaceProxy (ascii)
77 addNamedTemplatedToMemberFunctionSelectionTable
79     MeshedSurfaceProxy,
80     STLsurfaceFormat,
81     face,
82     write,
83     fileExtension,
84     stl
86 addNamedTemplatedToMemberFunctionSelectionTable
88     MeshedSurfaceProxy,
89     STLsurfaceFormat,
90     triFace,
91     write,
92     fileExtension,
93     stl
96 // write MeshedSurfaceProxy (binary)
97 addNamedTemplatedToMemberFunctionSelectionTable
99     MeshedSurfaceProxy,
100     STLsurfaceFormat,
101     face,
102     write,
103     fileExtension,
104     stlb
106 addNamedTemplatedToMemberFunctionSelectionTable
108     MeshedSurfaceProxy,
109     STLsurfaceFormat,
110     triFace,
111     write,
112     fileExtension,
113     stlb
116 // write UnsortedMeshedSurface (ascii)
117 addNamedTemplatedToMemberFunctionSelectionTable
119     UnsortedMeshedSurface,
120     STLsurfaceFormat,
121     face,
122     write,
123     fileExtension,
124     stl
126 addNamedTemplatedToMemberFunctionSelectionTable
128     UnsortedMeshedSurface,
129     STLsurfaceFormat,
130     triFace,
131     write,
132     fileExtension,
133     stl
136 // write UnsortedMeshedSurface (binary)
137 addNamedTemplatedToMemberFunctionSelectionTable
139     UnsortedMeshedSurface,
140     STLsurfaceFormat,
141     face,
142     write,
143     fileExtension,
144     stlb
146 addNamedTemplatedToMemberFunctionSelectionTable
148     UnsortedMeshedSurface,
149     STLsurfaceFormat,
150     triFace,
151     write,
152     fileExtension,
153     stlb
159 // ************************************************************************* //