#include <sailwriter-dxf.h>

Public Types | |
| enum | Dxf3dType { NORMAL, SPLIT } |
Public Member Functions | |
| CSailDxfWriter3d (enum Dxf3dType format) | |
| void | write (const CPanelGroup &sail, const QString &filename) const |
Protected Member Functions | |
| void | writePanel (ofstream &out, const CPanel &panel, unsigned int layer) const |
| void | writeNormal (const CPanelGroup &sail, const QString &filename) const |
| void | writeSplit (const CPanelGroup &sail, const QString &filename) const |
Protected Attributes | |
| Dxf3dType | type |
Definition at line 81 of file sailwriter-dxf.h.
| void CSailDxfWriter3d::write | ( | const CPanelGroup & | sail, | |
| const QString & | filename | |||
| ) | const [virtual] |
Writes a 3D CPanelGroup to a 3D DXF file.
| sail | the sail to write | |
| filename | the file to write to |
Implements CFileWriter< CPanelGroup >.
Definition at line 504 of file sailwriter-dxf.cpp.
References writeNormal(), and writeSplit().
| void CSailDxfWriter3d::writePanel | ( | ofstream & | out, | |
| const CPanel & | panel, | |||
| unsigned int | layer | |||
| ) | const [protected] |
Write a single 3D DXF panel to the file output stream.
| out | the output stream | |
| panel | the number of the panel to be written | |
| layer | the layer on which the panel is written |
Definition at line 559 of file sailwriter-dxf.cpp.
References CPanel::bottom, CPanel::left, CPanel::right, CPanel::top, and CSailDxfWriter::writeFace().
Referenced by writeNormal(), and writeSplit().
| void CSailDxfWriter3d::writeNormal | ( | const CPanelGroup & | sail, | |
| const QString & | filename | |||
| ) | const [protected] |
Writes a 3D CPanelGroup to a 3D DXF file with one panel per layer.
| sail | the sail to write | |
| filename | the file to write to |
Definition at line 522 of file sailwriter-dxf.cpp.
References CSailDxfWriter::writeAtom(), CSailDxfWriter::writeBegin(), CSailDxfWriter::writeEnd(), CSailDxfWriter::writeLayer(), and writePanel().
Referenced by write().
| void CSailDxfWriter3d::writeSplit | ( | const CPanelGroup & | sail, | |
| const QString & | basename | |||
| ) | const [protected] |
Writes a 3D CPanelGroup to a 3D DXF file with one file per panel.
| sail | the sail to write | |
| filename | the file to write to |
Definition at line 594 of file sailwriter-dxf.cpp.
References CSailDxfWriter::writeAtom(), CSailDxfWriter::writeBegin(), CSailDxfWriter::writeEnd(), CSailDxfWriter::writeLayer(), and writePanel().
Referenced by write().
1.5.6