| 53 | |
| 54 | template<class Face> |
| 55 | class X3DsurfaceFormat |
| 56 | : |
| 57 | public MeshedSurface<Face>, |
| 58 | public X3DsurfaceFormatCore |
| 59 | { |
| 60 | // Private Member Functions |
| 61 | |
| 62 | //- Disallow default bitwise copy construct |
| 63 | X3DsurfaceFormat(const X3DsurfaceFormat<Face>&); |
| 64 | |
| 65 | //- Disallow default bitwise assignment |
| 66 | void operator=(const X3DsurfaceFormat<Face>&); |
| 67 | |
| 68 | public: |
| 69 | |
| 70 | // Constructors |
| 71 | |
| 72 | //- Construct null |
| 73 | X3DsurfaceFormat(); |
| 74 | |
| 75 | |
| 76 | //- Destructor |
| 77 | virtual ~X3DsurfaceFormat() |
| 78 | {} |
| 79 | |
| 80 | |
| 81 | // Member Functions |
| 82 | |
| 83 | //- Write surface mesh components by proxy |
| 84 | static void write(const fileName&, const MeshedSurfaceProxy<Face>&); |
| 85 | |
| 86 | //- Write object file |
| 87 | virtual void write(const fileName& name) const |
| 88 | { |
| 89 | write(name, MeshedSurfaceProxy<Face>(*this)); |
| 90 | } |
| 91 | |
| 92 | }; |
| 93 | |
| 94 | |
| 95 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // |