#include <qgarlib/DxfFile.H>
Inheritance diagram for qgar::DxfFile:

#include <algorithm>
#include <list>
#include <qgarlib/DxfFile.H>
#include <qgarlib/primitives.H>
#include <qgarlib/stl.H>
using namespace qgar;
using namespace std;
...
// Open an existing DXF file
DxfFile myFile("a_dxf_file.dxf");
myFile.openRONLY();
// Read the primitives contained in the file
myFile.read();
// Close the file when useless
myFile.close();
// Get and use primitives...
...
list<GenQgarSegment<int>*> qgarSegList;
myFile.segments(qgarSegList);
...
// Delete primitives when useless
for_each(qgarSegList.begin(), qgarSegList.end(), qstlDeleteObject());
...
Definition at line 124 of file DxfFile.H.
Public Member Functions | |
Constructors | |
| DxfFile (const char *aFileName) | |
| Initialize with given file name. | |
Destructor | |
| virtual | ~DxfFile () |
| Virtual destructor. | |
Image size | |
| int | sizeX () const |
| Get the maximal X coordinate of the image. | |
| int | sizeY () const |
| Get the maximal Y coordinate of the image. | |
Header & footer | |
| void | readHeader () throw (QgarErrorIO) |
| Read the header of a DXF file. | |
| void | writeHeader () |
| Write the header of a DXF file. | |
| void | writeFooter () |
| Write the footer of a DXF file. | |
Access to primitives of the file | |
| const std::list< GenPointChain< int > * > & | accessChains () const |
| Get the chains of points contained in the file. | |
| void | chains (std::list< GenPointChain< int > * > &aChainList) const |
| Get a copy of the chains of points contained in the file. | |
| const std::list< GenQgarSegment< int > * > & | accessSegments () const |
| Get the (Qgar) segments contained in the file. | |
| void | segments (std::list< GenQgarSegment< int > * > &aQSegList) const |
| Get a copy of the (Qgar) segments contained in the file. | |
| const std::list< GenQgarArc< int > * > & | accessArcs () const |
| Get the (Qgar) arcs contained in the file. | |
| void | arcs (std::list< GenQgarArc< int > * > &aQArcList) const |
| Get a copy of the (Qgar) arcs contained in the file. | |
| const std::list< GenQgarPolyline< int > * > & | accessPolylines () const |
| Get the (Qgar) polylines contained in the file. | |
| void | polylines (std::list< GenQgarPolyline< int > * > &aQPolylineList) const |
| Get a copy of the (Qgar) polylines contained in the file. | |
Buffered input | |
| void | read (bool convertPolylines=true) throw (QgarErrorIO) |
| Read all DXF entities contained in the file. | |
Output chains | |
| void | write (AbstractGenPointChain< int > &aChain, int aThickness=3, QGEcolor aColor=QGE_COLOR_DEFAULT) |
| Write a chain of points with coordinates of type int. | |
| void | write (AbstractGenPointChain< float > &aChain, int aThickness=3, QGEcolor aColor=QGE_COLOR_DEFAULT) |
| Write a chain of points with coordinates of type float. | |
| void | write (AbstractGenPointChain< double > &aChain, int aThickness=3, QGEcolor aColor=QGE_COLOR_DEFAULT) |
| Write a chain of points with coordinates of type double. | |
Output segments | |
| void | write (const GenSegment< int > &aSeg, int aThickness=1, QGEcolor aColor=QGE_COLOR_BLACK, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a geometrical segment with coordinates of type int. | |
| void | write (const GenSegment< float > &aSeg, int aThickness=1, QGEcolor aColor=QGE_COLOR_BLACK, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a geometrical segment with coordinates of type float. | |
| void | write (const GenSegment< double > &aSeg, int aThickness=1, QGEcolor aColor=QGE_COLOR_BLACK, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a geometrical segment with coordinates of type double. | |
| void | write (const std::list< GenQgarSegment< int > * > &aQSegList, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a list of Qgar segments with integer coordinates. | |
Output arcs | |
| void | write (const GenArc< int > &anArc, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a geometrical arc with coordinates of type int. | |
| void | write (const GenArc< float > &anArc, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a geometrical arc with coordinates of type float. | |
| void | write (const GenArc< double > &anArc, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a geometrical arc with coordinates of type double. | |
| void | write (std::list< GenQgarArc< int > * > &aQArcList, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a list of Qgar arcs with integer coordinates. | |
Output polylines | |
| void | write (const GenPolyline< int > &aPoly, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a geometrical polyline with coordinates of type int. | |
| void | write (const GenPolyline< float > &aPoly, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a geometrical polyline with coordinates of type float. | |
| void | write (const GenPolyline< double > &aPoly, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a geometrical polyline with coordinates of type double. | |
Output polygons | |
| void | write (GenPolygon< int > *aPolygon, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a polygon. | |
Output bounding boxes | |
| void | write (const BoundingBox &aBox, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) |
| Write a bounding box with coordinates of type int. | |
Output texts | |
Write a list of Qgar primitives with integer coordinates. | |
| void | write (const char *aText, int aX, int aY, int aHeight, QGEcolor aColor=QGE_COLOR_DEFAULT) |
| Write a text. | |
Segments | |
| void | write (const GenQgarSegment< int > &aQSeg, int aThickness=-1, QGEcolor aColor=QGE_COLOR_NONE, QGEoutline anOutline=QGE_OUTLINE_NONE) |
| Record a Qgar segment with coordinates of type int. | |
Circles and arcs of circle | |
| void | write (const GenQgarArc< int > &aQArc, int aThickness=-1, QGEcolor aColor=QGE_COLOR_NONE, QGEoutline anOutline=QGE_OUTLINE_NONE) |
| Record a Qgar arc with coordinates of type int. | |
Polylines | |
| void | write (const GenQgarPolyline< int > &aQPoly, int aThickness=-1, QGEcolor aColor=QGE_COLOR_NONE, QGEoutline anOutline=QGE_OUTLINE_NONE) |
| Record a Qgar polyline with coordinates of type int. | |
Access to file characteristics | |
| std::fstream & | fileStream () |
| Get file stream. | |
| const char *const | fileName () const |
| Get file name. | |
| QGEfileStatus | fileStatus () const |
| Get current file status. | |
Opening | |
| virtual void | openRONLY () throw (QgarErrorIO) |
| Open in read-only mode. | |
| virtual void | openWONLY () throw (QgarErrorIO) |
| Open in write-only mode. | |
| virtual void | openAPPEND () throw (QgarErrorIO) |
| Open in append mode. | |
| virtual void | openRW () throw (QgarErrorIO) |
| Open in read-write mode. | |
| virtual void | openRA () throw (QgarErrorIO) |
| Open in read-append mode. | |
Closing | |
| virtual void | close () |
| Close the file. | |
Checking status | |
| virtual void | isOpenR () throw (QgarErrorUser) |
| Abort if the file is not open in a mode allowing reading. | |
| virtual void | isOpenW () throw (QgarErrorUser) |
| Abort if the file is not open in a mode allowing writing. | |
| virtual void | isOpenA () throw (QgarErrorUser) |
| Abort if the file is not open in a mode allowing appending. | |
| virtual void | isOpenRW () throw (QgarErrorUser) |
| Abort if the file is not open in read-write mode. | |
| virtual void | isOpenRA () throw (QgarErrorUser) |
| Abort if the file is not open in readi-append mode. | |
Protected Member Functions | |
Save DXF entities in the file | |
| template<class T> | |
| void | saveDxfGroup (int aCode, const T aGroup) |
| Save a DXF group into the file. | |
| void | saveDxfLayer (const char *aName, int aFlag, int aColor, const char *aLType) |
| Save a DXF layer into the file. | |
| void | saveDxfFeatures (const char *aLayer, int aThickness, QGEcolor aColor, bool isDashed) |
| Save DXF features into the file. | |
Save primitives in the file | |
| template<class T> | |
| void | saveChain (AbstractGenPointChain< T > &aChain, int aThickness, QGEcolor aColor) |
| Save a chain of points. | |
| void | saveSegment (int aXSource, int aYSource, int aXTarget, int aYTarget, int aThickness, QGEcolor aColor, QGEoutline anOutline) |
| Save a segment with integer coordinates. | |
| void | saveArc (int aXSource, int aYSource, int aXTarget, int aYTarget, int aXCenter, int aYCenter, int aSourceAngle, int aTargetAngle, int aRadius, int aThickness, QGEcolor aColor, QGEoutline anOutline) |
| Save an arc with integer coordinates. | |
| template<class T> | |
| void | savePolyline (const GenPolyline< T > &aPoly, int aThickness, QGEcolor aColor, QGEoutline anOutline) |
| Save a polyline. | |
| void | saveBox (int aXTopLeft, int aYTopLeft, int aXBottomRight, int aYBottomRight, int aThickness, QGEcolor aColor, QGEoutline anOutline) |
| Save a bounding box. | |
Retrieve DXF entities from the file | |
| int | retrieveDxfGroup () |
| Retrieve a DXF Group from the file. | |
Retrieve a primitive from the file and append it to a list | |
| void | retrieveQgarSegment (std::list< GenQgarSegment< int > * > &aQSegList) throw (QgarErrorIO) |
| Retrieve a (Qgar) segment from the file. | |
| void | retrieveQgarArc (std::list< GenQgarArc< int > * > &aQArcList) throw (QgarErrorIO) |
| Retrieve a (Qgar) arc from the file. | |
| void | retrieveChainOrQgarPolyline (std::list< GenPointChain< int > * > &aChainList, std::list< GenQgarPolyline< int > * > &aQPolyList) throw (QgarErrorIO) |
| Retrieve a chain of points or a (Qgar) polyline from the file. | |
| void | retrievePoints (std::list< Point > &aPointList, int *aThickness, bool *isDashed) |
| Retrieve points (vertices of a polyline) from the file. | |
Get a pointer to a primitive of the file | |
| GenQgarSegment< int > * | retrievePQgarSegment () |
| Get a pointer to a (Qgar) segment from the file. | |
| GenQgarArc< int > * | retrievePQgarArc () |
| Get a pointer to a (Qgar) arc from the file. | |
| GenQgarPolyline< int > * | retrievePQgarPolyline () |
| Get a pointer to a (Qgar) polyline from the file. | |
| GenPointChain< int > * | retrievePChain () |
| Get a pointer to a chain of points from the file. | |
Protected Attributes | |
Image size | |
| int | _maxX |
| Maximal X coordinate. | |
| int | _maxY |
| Maximal Y coordinate. | |
Last group read | |
| int | _lastGroupCode |
| Code of last group read. | |
| char * | _lastGroup |
| Value of last group read. | |
Buffers to store primitives contained in the file | |
| std::list< GenQgarSegment< int > * > | _segmentList |
| Segments contained in the file. | |
| std::list< GenQgarArc< int > * > | _arcList |
| Arcs contained in the file. | |
| std::list< GenPointChain< int > * > | _chainList |
| Chains of points contained in the file. | |
| std::list< GenQgarPolyline< int > * > | _polylineList |
| Polylines contained in the file. | |
Representation of a file | |
| char * | _fileName |
| File name. | |
| QGEfileStatus | _fileStatus |
| File status. | |
| std::fstream | _fileStream |
| Associated file stream. | |
Static Protected Attributes | |
DXF Colors | |
| static const int | _s_dxf_colors [22] |
| Table to convert Qgar colors into DXF colors. | |
DXF codes | |
| static const int | _s_dxf_code_com = 999 |
| Comment (999). | |
| static const int | _s_dxf_code_ident = 0 |
| Identifier (0). | |
| static const int | _s_dxf_code_name = 2 |
| Name (2). | |
| static const int | _s_dxf_code_color = 62 |
| Color (62). | |
| static const int | _s_dxf_code_x1 = 10 |
| X1 (10). | |
| static const int | _s_dxf_code_x2 = 11 |
| X2 (11). | |
| static const int | _s_dxf_code_y1 = 20 |
| Y1 (20). | |
| static const int | _s_dxf_code_y2 = 21 |
| Y2 (21). | |
| static const int | _s_dxf_code_thick = 39 |
| Thickness (39). | |
| static const int | _s_dxf_code_radius = 40 |
| Radius / total pattern length (40). | |
| static const int | _s_dxf_code_start = 50 |
| Start angle (50). | |
| static const int | _s_dxf_code_end = 51 |
| End angle (51). | |
| static const int | _s_dxf_code_flag = 70 |
| Standard flag value (70). | |
| static const int | _s_dxf_code_lintp = 3 |
| Descriptive text for linetype (3). | |
| static const int | _s_dxf_code_algt = 72 |
| Alignment code (72). | |
| static const int | _s_dxf_code_dash = 73 |
| Number of dash length items (73). | |
| static const int | _s_dxf_code_ltp = 6 |
| Ltype name (6). | |
| static const int | _s_dxf_code_layer = 8 |
| Layer name (8). | |
| static const int | _s_dxf_code_elev = 38 |
| Elevation (38). | |
| static const int | _s_dxf_code_vertflag = 66 |
| Vertices flag (66). | |
| static const int | _s_dxf_code_txthght = 40 |
| Text height (40). | |
| static const int | _s_dxf_code_txt = 1 |
| Text value (1). | |
DXF TAGS | |
| static const char *const | _s_dxf_tag_sec = "SECTION" |
| SECTION. | |
| static const char *const | _s_dxf_tag_tbs = "TABLES" |
| TABLES. | |
| static const char *const | _s_dxf_tag_tbl = "TABLE" |
| TABLE. | |
| static const char *const | _s_dxf_tag_layer = "LAYER" |
| LAYER. | |
| static const char *const | _s_dxf_tag_ltp = "LTYPE" |
| LTYPE. | |
| static const char *const | _s_dxf_tag_ent = "ENTITIES" |
| ENTITIES. | |
| static const char *const | _s_dxf_tag_arc = "ARC" |
| ARC. | |
| static const char *const | _s_dxf_tag_seg = "LINE" |
| LINE. | |
| static const char *const | _s_dxf_tag_polyl = "POLYLINE" |
| POLYLINE. | |
| static const char *const | _s_dxf_tag_vert = "VERTEX" |
| VERTEX. | |
| static const char *const | _s_dxf_tag_eof = "EOF" |
| EOF. | |
| static const char *const | _s_dxf_tag_end = "ENDSEC" |
| ENDSEC. | |
| static const char *const | _s_dxf_tag_etb = "ENDTAB" |
| ENDTAB. | |
| static const char *const | _s_dxf_tag_esq = "SEQEND" |
| SEQEND. | |
| static const char *const | _s_dxf_tag_txt = "TEXT" |
| TEXT. | |
DXF comments | |
| static const char *const | _s_dxf_com_create = "** Created by Qgar on " |
| Created by Qgar on. | |
| static const char *const | _s_dxf_com_def = "** Definitions" |
| Definitions. | |
| static const char *const | _s_dxf_com_ltp = "** Linetype definitions" |
| Linetype definitions. | |
| static const char *const | _s_dxf_com_layer = "** Layer definitions" |
| Layer definitions. | |
| static const char *const | _s_dxf_com_ent = "** Entities" |
| Entities. | |
| static const char *const | _s_dxf_com_seg = "** Segment" |
| Segment. | |
| static const char *const | _s_dxf_com_arc = "** Arc" |
| Arc. | |
| static const char *const | _s_dxf_com_dwall = "** Dividing wall" |
| Dividing wall. | |
| static const char *const | _s_dxf_com_bwall = "** Bearing wall" |
| Bearing wall. | |
| static const char *const | _s_dxf_com_swind = "** Simple window" |
| Simple window. | |
| static const char *const | _s_dxf_com_dwind = "** Double window" |
| Double window. | |
| static const char *const | _s_dxf_com_door = "** Door" |
| Door. | |
| static const char *const | _s_dxf_com_stairs = "** Stairs" |
| Stairs. | |
| static const char *const | _s_dxf_com_pipe = "** Pipe" |
| Pipe. | |
| static const char *const | _s_dxf_com_chain = "** Chain" |
| Chaine. | |
| static const char *const | _s_dxf_com_polyl = "** Polyline" |
| Polyline. | |
| static const char *const | _s_dxf_com_txt = "** Text" |
| Texte. | |
DXF defaults | |
| static const char *const | _s_dxf_default_cont = "CONTINUOUS" |
| Linetype for contnuous lines (CONTINUOUS"). | |
| static const char *const | _s_dxf_default_dash = "DASHED" |
| Linetype for dashed lines (DASHED). | |
| static const char *const | _s_dxf_default_dltp = "----" |
| Descriptive for LTYPE (----). | |
| static const int | _s_dxf_default_ltp = 1 |
| Number of LTYPE (1). | |
| static const int | _s_dxf_default_fly = 2 |
| Flag value for LAYER (2). | |
| static const int | _s_dxf_default_layer = 8 |
| Number of LAYERS (8). | |
| static const int | _s_dxf_default_flt = 64 |
| Flag value for LTYPE (64). | |
| static const int | _s_dxf_default_alg = 65 |
| Aligment value for LTYPE (65). | |
| static const int | _s_dxf_default_dash1 = 0 |
| Dash length for continuous lines (0). | |
| static const int | _s_dxf_default_dash2 = 2 |
| Dash length for dashed lines (2). | |
| static const double | _s_dxf_default_pat1 = 0. |
| Length pattern for continuous lines (0.0). | |
| static const double | _s_dxf_default_pat2 = 2. |
| Length pattern for dashed lines (2.0). | |
| static const int | _s_dxf_default_wpo = 1 |
| Default width for POLYLINE (1). | |
| static const int | _s_dxf_default_vfg = 1 |
| Vertices follow POLYLINE definition (1). | |
| static const int | _s_dxf_default_pfgo = 0 |
| Polylines are opened (0). | |
| static const int | _s_dxf_default_pfgc = 1 |
| Polylines are closed (1). | |
DXF layers | |
| static const char *const | _s_dxf_layer_prm = "PRIMITIVE" |
| PRIMITIVE. | |
| static const char *const | _s_dxf_layer_dwall = "DIVWALL" |
| DIVWALL. | |
| static const char *const | _s_dxf_layer_bwall = "BEARWALL" |
| BEARWALL. | |
| static const char *const | _s_dxf_layer_swind = "SIMWIN" |
| SIMWINDOW. | |
| static const char *const | _s_dxf_layer_dwind = "DOUWIN" |
| DOUWINDOW. | |
| static const char *const | _s_dxf_layer_door = "DOOR" |
| DOOR. | |
| static const char *const | _s_dxf_layer_stairs = "STAIRS" |
| STAIRS. | |
| static const char *const | _s_dxf_layer_pipe = "PIPE" |
| PIPE. | |
| static const char *const | _s_dxf_layer_chain = "CHAINE" |
| CHAINE. | |
| static const char *const | _s_dxf_layer_polyl = "POLYLINE" |
| POLYLINE. | |
| static const char *const | _s_dxf_layer_txt = "TEXT" |
| TEXT. | |
DXF features | |
| static const unsigned int | _s_dxf_maxbuf = 256 |
| Maximum length of a DXF field (256). | |
Private Member Functions | |
Not yet implemented | |
| void | write (const ConnectedComponents::node_type *const aPNode, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) throw (QgarErrorDeveloper) |
| Write a (connected) component. | |
| void | write (const GenPoint< int > &aCenter, double aRadius, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) throw (QgarErrorDeveloper) |
| Write an arc with coordinates of type int. | |
| void | write (const GenPoint< float > &aCenter, double aRadius, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) throw (QgarErrorDeveloper) |
| Write an arc with coordinates of type float. | |
| void | write (const GenPoint< double > &aCenter, double aRadius, int aThickness=1, QGEcolor aColor=QGE_COLOR_DEFAULT, QGEoutline anOutline=QGE_OUTLINE_DEFAULT) throw (QgarErrorDeveloper) |
| Write an arc with coordinates of type double. | |
| void | write (const GenPoint< int > &aPt, int aThickness=3, QGEcolor aColor=QGE_COLOR_DEFAULT) throw (QgarErrorDeveloper) |
| Write a point with coordinates of type int. | |
| void | write (const GenPoint< float > &aPt, int aThickness=3, QGEcolor aColor=QGE_COLOR_DEFAULT) throw (QgarErrorDeveloper) |
| Write a point with coordinates of type float. | |
| void | write (const GenPoint< double > &aPt, int aThickness=3, QGEcolor aColor=QGE_COLOR_DEFAULT) throw (QgarErrorDeveloper) |
| Write a point with coordinates of type double. | |
|
|
Initialize with given file name.
|
|
|
Virtual destructor.
Definition at line 224 of file DxfFile.C. References _arcList, _chainList, _lastGroup, _polylineList, and _segmentList. |
|
|
Get the (Qgar) arcs contained in the file.
Definition at line 1399 of file DxfFile.H. References _arcList. |
|
|
Get the chains of points contained in the file.
Definition at line 1357 of file DxfFile.H. References _chainList. |
|
|
Get the (Qgar) polylines contained in the file.
Definition at line 1420 of file DxfFile.H. References _polylineList. |
|
|
Get the (Qgar) segments contained in the file.
Definition at line 1378 of file DxfFile.H. References _segmentList. |
|
|
Get a copy of the (Qgar) arcs contained in the file. The available arcs are appended to the given list.
Definition at line 1408 of file DxfFile.H. References _arcList. |
|
|
Get a copy of the chains of points contained in the file. The available chains are appended to the given list.
Definition at line 1366 of file DxfFile.H. References _chainList. |
|
|
Close the file. No effect is the file is already closed.
Definition at line 251 of file AbstractFile.C. References qgar::AbstractFile::_fileStatus, qgar::AbstractFile::_fileStream, qgar::QGE_FILE_STATUS_CLOSED, qgar::QGE_FILE_STATUS_READ_WRITE, qgar::QGE_FILE_STATUS_WRITE_ONLY, and qgar::AbstractFile::writeFooter(). Referenced by qgar::GenImage< T, CheckPolicy >::GenImage(), qgar::MapleFile::MapleFile(), qgar::AbstractFile::openAPPEND(), qgar::AbstractFile::openRA(), qgar::AbstractFile::openRONLY(), qgar::AbstractFile::openRW(), qgar::AbstractFile::openWONLY(), and qgar::GenImage< T, CheckPolicy >::save(). |
|
|
Get file name.
Definition at line 395 of file AbstractFile.H. References qgar::AbstractFile::_fileName. |
|
|
Get current file status.
Definition at line 404 of file AbstractFile.H. References qgar::AbstractFile::_fileStatus. |
|
|
Get file stream. When saving the stream, usual I/O operations apply to the associated file, depending on the opening mode. Definition at line 386 of file AbstractFile.H. References qgar::AbstractFile::_fileStream. |
|
|
Abort if the file is not open in a mode allowing appending.
Definition at line 310 of file AbstractFile.C. References qgar::AbstractFile::_fileName, qgar::AbstractFile::_fileStatus, qgar::QGE_FILE_STATUS_APPEND, and qgar::QGE_FILE_STATUS_READ_APPEND. |
|
|
Abort if the file is not open in a mode allowing reading.
Definition at line 273 of file AbstractFile.C. References qgar::AbstractFile::_fileName, qgar::AbstractFile::_fileStatus, qgar::QGE_FILE_STATUS_APPEND, and qgar::QGE_FILE_STATUS_WRITE_ONLY. Referenced by qgar::PgmFile::readRow(), and qgar::PbmFile::readRow(). |
|
|
Abort if the file is not open in readi-append mode.
Definition at line 347 of file AbstractFile.C. References qgar::AbstractFile::_fileName, qgar::AbstractFile::_fileStatus, and qgar::QGE_FILE_STATUS_READ_APPEND. |
|
|
Abort if the file is not open in read-write mode.
Definition at line 329 of file AbstractFile.C. References qgar::AbstractFile::_fileName, qgar::AbstractFile::_fileStatus, and qgar::QGE_FILE_STATUS_READ_WRITE. |
|
|
Abort if the file is not open in a mode allowing writing.
Definition at line 292 of file AbstractFile.C. References qgar::AbstractFile::_fileName, qgar::AbstractFile::_fileStatus, and qgar::QGE_FILE_STATUS_READ_ONLY. Referenced by qgar::TgifFile::write(), write(), qgar::PgmFile::writeRow(), and qgar::PbmFile::writeRow(). |
|
|
Open in append mode. The eventual content of the file is preserved and the file pointer is set to the end of the file.
Definition at line 166 of file AbstractFile.C. References qgar::AbstractFile::_fileName, qgar::AbstractFile::_fileStatus, qgar::AbstractFile::_fileStream, qgar::AbstractFile::close(), qgar::QGE_FILE_STATUS_APPEND, and qgar::AbstractFile::readHeader(). |
|
|
Open in read-append mode. The file pointer is set to the end of the file.
Definition at line 223 of file AbstractFile.C. References qgar::AbstractFile::_fileName, qgar::AbstractFile::_fileStatus, qgar::AbstractFile::_fileStream, qgar::AbstractFile::close(), qgar::QGE_FILE_STATUS_READ_APPEND, and qgar::AbstractFile::readHeader(). |
|
|
Open in read-only mode. The file pointer is set to the first character after the header.
Definition at line 107 of file AbstractFile.C. References qgar::AbstractFile::_fileName, qgar::AbstractFile::_fileStatus, qgar::AbstractFile::_fileStream, qgar::AbstractFile::close(), qgar::QGE_FILE_STATUS_READ_ONLY, and qgar::AbstractFile::readHeader(). Referenced by qgar::GenImage< T, CheckPolicy >::GenImage(). |
|
|
Open in read-write mode.
Definition at line 197 of file AbstractFile.C. References qgar::AbstractFile::_fileName, qgar::AbstractFile::_fileStatus, qgar::AbstractFile::_fileStream, qgar::AbstractFile::close(), qgar::QGE_FILE_STATUS_READ_WRITE, and qgar::AbstractFile::writeHeader(). |
|
|
Open in write-only mode.
Definition at line 136 of file AbstractFile.C. References qgar::AbstractFile::_fileName, qgar::AbstractFile::_fileStatus, qgar::AbstractFile::_fileStream, qgar::AbstractFile::close(), qgar::QGE_FILE_STATUS_WRITE_ONLY, and qgar::AbstractFile::writeHeader(). Referenced by qgar::MapleFile::MapleFile(), and qgar::GenImage< T, CheckPolicy >::save(). |
|
|
Get a copy of the (Qgar) polylines contained in the file. The available polylines are appended to the given list.
Definition at line 1429 of file DxfFile.H. References _polylineList. |
|
|
Read all DXF entities contained in the file. The DXF entities are transformed into (Qgar) primitives and are stored in the internal buffers of the file.
|
|
|
Read the header of a DXF file.
Implements qgar::AbstractFile. Definition at line 244 of file DxfFile.C. References qgar::AbstractFile::_fileName, _lastGroup, _lastGroupCode, _s_dxf_code_ident, _s_dxf_code_name, _s_dxf_tag_ent, _s_dxf_tag_eof, _s_dxf_tag_sec, and retrieveDxfGroup(). |
|
||||||||||||
|
Retrieve a chain of points or a (Qgar) polyline from the file.
Definition at line 1278 of file DxfFile.C. References qgar::AbstractFile::_fileName, _s_dxf_code_layer, _s_dxf_layer_chain, _s_dxf_layer_polyl, retrieveDxfGroup(), retrievePChain(), and retrievePQgarPolyline(). |
|
|
Retrieve a DXF Group from the file. Return the code of the group which has been retrieved, and store the corresponding value in the qgar::DxfFile::lastGroup data member as a chain of characters. Comments are ignored. Definition at line 1085 of file DxfFile.C. References qgar::AbstractFile::_fileStream, _lastGroup, _lastGroupCode, _maxX, _maxY, _s_dxf_code_com, _s_dxf_code_x1, _s_dxf_code_x2, _s_dxf_code_y1, _s_dxf_code_y2, and _s_dxf_maxbuf. Referenced by readHeader(), retrieveChainOrQgarPolyline(), retrievePQgarArc(), and retrievePQgarSegment(). |
|
|
Get a pointer to a chain of points from the file.
Definition at line 1472 of file DxfFile.C. References qgar::GenPointChain< T >::push_back(), and retrievePoints(). Referenced by retrieveChainOrQgarPolyline(). |
|
||||||||||||||||
|
Retrieve points (vertices of a polyline) from the file.
Referenced by retrievePChain(), and retrievePQgarPolyline(). |
|
|
Get a pointer to a (Qgar) arc from the file.
Definition at line 1378 of file DxfFile.C. References _s_dxf_code_end, _s_dxf_code_ident, _s_dxf_code_ltp, _s_dxf_code_radius, _s_dxf_code_start, _s_dxf_code_thick, _s_dxf_code_x1, _s_dxf_code_y1, _s_dxf_default_dash, qgar::qgDegreesToRadians(), qgar::QGE_COLOR_DEFAULT, qgar::QGE_OUTLINE_DASH_SSPACED, qgar::QGE_OUTLINE_SOLID, and retrieveDxfGroup(). |
|
|
Get a pointer to a (Qgar) polyline from the file.
Definition at line 1442 of file DxfFile.C. References qgar::GenQgarPolyline< T >::appendTarget(), qgar::QGE_COLOR_DEFAULT, qgar::QGE_OUTLINE_DASH_SSPACED, qgar::QGE_OUTLINE_SOLID, and retrievePoints(). Referenced by retrieveChainOrQgarPolyline(). |
|
|
Get a pointer to a (Qgar) segment from the file.
Definition at line 1327 of file DxfFile.C. References _s_dxf_code_ident, _s_dxf_code_ltp, _s_dxf_code_thick, _s_dxf_code_x1, _s_dxf_code_x2, _s_dxf_code_y1, _s_dxf_code_y2, _s_dxf_default_dash, qgar::QGE_COLOR_DEFAULT, qgar::QGE_OUTLINE_DASH_SSPACED, qgar::QGE_OUTLINE_SOLID, retrieveDxfGroup(), qgar::GenPoint< T >::setX(), and qgar::GenPoint< T >::setY(). |
|
|
Retrieve a (Qgar) arc from the file. The arc is added to the end of the given list.
|
|
|
Retrieve a (Qgar) segment from the file. The segment is added to the end of the given list.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Save an arc with integer coordinates.
Definition at line 971 of file DxfFile.C. References _s_dxf_code_com, _s_dxf_code_end, _s_dxf_code_ident, _s_dxf_code_radius, _s_dxf_code_start, _s_dxf_code_x1, _s_dxf_code_y1, _s_dxf_com_arc, _s_dxf_layer_prm, _s_dxf_tag_arc, qgar::QGE_OUTLINE_SOLID, saveDxfFeatures(), and saveDxfGroup(). Referenced by write(). |
|
||||||||||||||||||||||||||||||||
|
Save a bounding box.
Definition at line 1043 of file DxfFile.C. References saveSegment(). Referenced by write(). |
|
||||||||||||||||||||
|
Save a chain of points.
Definition at line 903 of file DxfFile.C. References _s_dxf_code_com, _s_dxf_code_flag, _s_dxf_code_ident, _s_dxf_code_vertflag, _s_dxf_code_x1, _s_dxf_code_y1, _s_dxf_com_chain, _s_dxf_default_pfgo, _s_dxf_default_vfg, _s_dxf_layer_chain, _s_dxf_tag_esq, _s_dxf_tag_polyl, _s_dxf_tag_vert, qgar::AbstractGenPointChain< T >::accessCurrent(), qgar::AbstractGenPointChain< T >::isAtEnd(), qgar::AbstractGenPointChain< T >::moveNext(), saveDxfFeatures(), saveDxfGroup(), qgar::AbstractGenPointChain< T >::setToBegin(), qgar::GenPoint< T >::x(), and qgar::GenPoint< T >::y(). Referenced by write(). |
|
||||||||||||||||||||
|
Save DXF features into the file.
Definition at line 872 of file DxfFile.C. References _s_dxf_code_color, _s_dxf_code_layer, _s_dxf_code_ltp, _s_dxf_code_thick, _s_dxf_colors, _s_dxf_default_dash, qgar::QGE_COLOR_DEFAULT, and saveDxfGroup(). Referenced by saveArc(), saveChain(), savePolyline(), and saveSegment(). |
|
||||||||||||||||
|
Save a DXF group into the file.
Definition at line 841 of file DxfFile.C. References qgar::AbstractFile::_fileStream. Referenced by saveArc(), saveChain(), saveDxfFeatures(), saveDxfLayer(), savePolyline(), saveSegment(), write(), writeFooter(), and writeHeader(). |
|
||||||||||||||||||||
|
Save a DXF layer into the file.
Definition at line 856 of file DxfFile.C. References _s_dxf_code_color, _s_dxf_code_flag, _s_dxf_code_ident, _s_dxf_code_ltp, _s_dxf_code_name, _s_dxf_tag_layer, and saveDxfGroup(). Referenced by writeHeader(). |
|
||||||||||||||||||||||||
|
Save a polyline.
Definition at line 1006 of file DxfFile.C. References _s_dxf_code_com, _s_dxf_code_flag, _s_dxf_code_ident, _s_dxf_code_vertflag, _s_dxf_code_x1, _s_dxf_code_y1, _s_dxf_com_polyl, _s_dxf_default_pfgo, _s_dxf_default_vfg, _s_dxf_layer_polyl, _s_dxf_tag_esq, _s_dxf_tag_polyl, _s_dxf_tag_vert, qgar::GenPolyline< T >::accessVertices(), qgar::QGE_OUTLINE_SOLID, saveDxfFeatures(), and saveDxfGroup(). Referenced by write(). |
|
||||||||||||||||||||||||||||||||
|
Save a segment with integer coordinates.
Definition at line 944 of file DxfFile.C. References _s_dxf_code_com, _s_dxf_code_ident, _s_dxf_code_x1, _s_dxf_code_x2, _s_dxf_code_y1, _s_dxf_code_y2, _s_dxf_com_seg, _s_dxf_layer_prm, _s_dxf_tag_seg, qgar::QGE_OUTLINE_SOLID, saveDxfFeatures(), and saveDxfGroup(). |
|
|
Get a copy of the (Qgar) segments contained in the file. The available segments are appended to the given list.
Definition at line 1387 of file DxfFile.H. References _segmentList. |
|
|
Get the maximal X coordinate of the image.
Definition at line 1334 of file DxfFile.H. References _maxX. |
|
|
Get the maximal Y coordinate of the image.
Definition at line 1343 of file DxfFile.H. References _maxY. |
|
||||||||||||||||||||
|
Record a Qgar polyline with coordinates of type int.
Definition at line 188 of file AbstractGraphicsFile.C. References qgar::GenQgarPolyline< T >::accessGeomStructure(), qgar::AbstractGenQgarPrimitive< T >::color(), qgar::AbstractGenQgarPrimitive< T >::outline(), qgar::QGE_COLOR_NONE, qgar::QGE_OUTLINE_NONE, qgar::AbstractGenQgarPrimitive< T >::thickness(), and qgar::AbstractGraphicsFile::write(). |
|
||||||||||||||||||||
|
Record a Qgar arc with coordinates of type int.
Definition at line 138 of file AbstractGraphicsFile.C. References qgar::GenQgarArc< T >::accessGeomStructure(), qgar::AbstractGenQgarPrimitive< T >::color(), qgar::AbstractGenQgarPrimitive< T >::outline(), qgar::QGE_COLOR_NONE, qgar::QGE_OUTLINE_NONE, qgar::AbstractGenQgarPrimitive< T >::thickness(), and qgar::AbstractGraphicsFile::write(). |
|
||||||||||||||||||||
|
Record a Qgar segment with coordinates of type int.
Definition at line 87 of file AbstractGraphicsFile.C. References qgar::GenQgarSegment< T >::accessGeomStructure(), qgar::AbstractGenQgarPrimitive< T >::color(), qgar::AbstractGenQgarPrimitive< T >::outline(), qgar::QGE_COLOR_NONE, qgar::QGE_OUTLINE_NONE, qgar::AbstractGenQgarPrimitive< T >::thickness(), and qgar::AbstractGraphicsFile::write(). |
|
||||||||||||||||
|
Write a point with coordinates of type double.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||
|
Write a point with coordinates of type float.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||
|
Write a point with coordinates of type int.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||||||||||
|
Write an arc with coordinates of type double.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||||||||||
|
Write an arc with coordinates of type float.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||||||||||
|
Write an arc with coordinates of type int.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||||||
|
Write a (connected) component. A component is represented by its contour and the contours of included components.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||||||||||
|
Write a text.
Definition at line 808 of file DxfFile.C. References _s_dxf_code_color, _s_dxf_code_com, _s_dxf_code_ident, _s_dxf_code_layer, _s_dxf_code_txt, _s_dxf_code_txthght, _s_dxf_code_x1, _s_dxf_code_y1, _s_dxf_colors, _s_dxf_com_txt, _s_dxf_layer_txt, _s_dxf_tag_txt, qgar::AbstractFile::isOpenW(), qgar::QGE_COLOR_DEFAULT, and saveDxfGroup(). |
|
||||||||||||||||||||
|
Write a bounding box with coordinates of type int.
Implements qgar::AbstractGraphicsFile. Definition at line 765 of file DxfFile.C. References saveBox(), qgar::BoundingBox::xBottomRight(), qgar::BoundingBox::xTopLeft(), qgar::BoundingBox::yBottomRight(), and qgar::BoundingBox::yTopLeft(). |
|
||||||||||||||||||||
|
Write a polygon.
Definition at line 741 of file DxfFile.C. References qgar::GenPolygon< T >::toSegList(), and write(). |
|
||||||||||||||||||||
|
Write a geometrical polyline with coordinates of type double.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||||||
|
Write a geometrical polyline with coordinates of type float.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||||||
|
Write a geometrical polyline with coordinates of type int.
Implements qgar::AbstractGraphicsFile. Definition at line 697 of file DxfFile.C. References qgar::AbstractFile::isOpenW(), and savePolyline(). |
|
||||||||||||||||||||
|
Write a list of Qgar arcs with integer coordinates.
Definition at line 672 of file DxfFile.C. References write(). |
|
||||||||||||||||||||
|
Write a geometrical arc with coordinates of type double.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||||||
|
Write a geometrical arc with coordinates of type float.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||||||
|
Write a geometrical arc with coordinates of type int.
Implements qgar::AbstractGraphicsFile. Definition at line 597 of file DxfFile.C. References qgar::AbstractFile::isOpenW(), qgar::GenArc< T >::radius(), saveArc(), qgar::GenArc< T >::sourceAngleDegrees(), qgar::GenArc< T >::targetAngleDegrees(), qgar::GenArc< T >::xCenter(), qgar::AbstractGenPrimitive< T >::xSource(), qgar::AbstractGenPrimitive< T >::xTarget(), qgar::GenArc< T >::yCenter(), qgar::AbstractGenPrimitive< T >::ySource(), and qgar::AbstractGenPrimitive< T >::yTarget(). |
|
||||||||||||||||||||
|
Write a list of Qgar segments with integer coordinates.
|
|
||||||||||||||||||||
|
Write a geometrical segment with coordinates of type double.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||||||
|
Write a geometrical segment with coordinates of type float.
Implements qgar::AbstractGraphicsFile. Definition at line 534 of file DxfFile.C. References qgar::AbstractFile::isOpenW(), saveSegment(), qgar::AbstractGenPrimitive< T >::xSource(), qgar::AbstractGenPrimitive< T >::xTarget(), qgar::AbstractGenPrimitive< T >::ySource(), and qgar::AbstractGenPrimitive< T >::yTarget(). |
|
||||||||||||||||||||
|
Write a geometrical segment with coordinates of type int.
Implements qgar::AbstractGraphicsFile. Definition at line 515 of file DxfFile.C. References qgar::AbstractFile::isOpenW(), saveSegment(), qgar::AbstractGenPrimitive< T >::xSource(), qgar::AbstractGenPrimitive< T >::xTarget(), qgar::AbstractGenPrimitive< T >::ySource(), and qgar::AbstractGenPrimitive< T >::yTarget(). |
|
||||||||||||||||
|
Write a chain of points with coordinates of type double.
Implements qgar::AbstractGraphicsFile. |
|
||||||||||||||||
|
Write a chain of points with coordinates of type float.
Implements qgar::AbstractGraphicsFile. Definition at line 486 of file DxfFile.C. References qgar::AbstractFile::isOpenW(), and saveChain(). |
|
||||||||||||||||
|
Write a chain of points with coordinates of type int.
Implements qgar::AbstractGraphicsFile. Definition at line 474 of file DxfFile.C. References qgar::AbstractFile::isOpenW(), and saveChain(). Referenced by write(). |
|
|
Write the footer of a DXF file.
Implements qgar::AbstractFile. Definition at line 360 of file DxfFile.C. References _s_dxf_code_ident, _s_dxf_tag_end, _s_dxf_tag_eof, and saveDxfGroup(). |
|
|
|
Arcs contained in the file.
Definition at line 862 of file DxfFile.H. Referenced by accessArcs(), arcs(), and ~DxfFile(). |
|
|
Chains of points contained in the file.
Definition at line 867 of file DxfFile.H. Referenced by accessChains(), chains(), and ~DxfFile(). |
|
|
|
|
|
Value of last group read.
Definition at line 845 of file DxfFile.H. Referenced by readHeader(), retrieveDxfGroup(), and ~DxfFile(). |
|
|
Code of last group read.
Definition at line 840 of file DxfFile.H. Referenced by readHeader(), and retrieveDxfGroup(). |
|
|
Maximal X coordinate.
Definition at line 823 of file DxfFile.H. Referenced by retrieveDxfGroup(), and sizeX(). |
|
|
Maximal Y coordinate.
Definition at line 828 of file DxfFile.H. Referenced by retrieveDxfGroup(), and sizeY(). |
|
|
Polylines contained in the file.
Definition at line 872 of file DxfFile.H. Referenced by accessPolylines(), polylines(), and ~DxfFile(). |
|
|
Alignment code (72).
Definition at line 115 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Color (62).
Definition at line 104 of file DxfFile.C. Referenced by saveDxfFeatures(), saveDxfLayer(), and write(). |
|
|
Comment (999).
Definition at line 101 of file DxfFile.C. Referenced by retrieveDxfGroup(), saveArc(), saveChain(), savePolyline(), saveSegment(), write(), and writeHeader(). |
|
|
Number of dash length items (73).
Definition at line 116 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Elevation (38).
|
|
|
End angle (51).
Definition at line 112 of file DxfFile.C. Referenced by retrievePQgarArc(), and saveArc(). |
|
|
Standard flag value (70).
Definition at line 113 of file DxfFile.C. Referenced by saveChain(), saveDxfLayer(), savePolyline(), and writeHeader(). |
|
|
Identifier (0).
Definition at line 102 of file DxfFile.C. Referenced by readHeader(), retrievePQgarArc(), retrievePQgarSegment(), saveArc(), saveChain(), saveDxfLayer(), savePolyline(), saveSegment(), write(), writeFooter(), and writeHeader(). |
|
|
Layer name (8).
Definition at line 118 of file DxfFile.C. Referenced by retrieveChainOrQgarPolyline(), saveDxfFeatures(), and write(). |
|
|
Descriptive text for linetype (3).
Definition at line 114 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Ltype name (6).
Definition at line 117 of file DxfFile.C. Referenced by retrievePQgarArc(), retrievePQgarSegment(), saveDxfFeatures(), and saveDxfLayer(). |
|
|
Name (2).
Definition at line 103 of file DxfFile.C. Referenced by readHeader(), saveDxfLayer(), and writeHeader(). |
|
|
Radius / total pattern length (40).
Definition at line 110 of file DxfFile.C. Referenced by retrievePQgarArc(), saveArc(), and writeHeader(). |
|
|
Start angle (50).
Definition at line 111 of file DxfFile.C. Referenced by retrievePQgarArc(), and saveArc(). |
|
|
Thickness (39).
Definition at line 109 of file DxfFile.C. Referenced by retrievePQgarArc(), retrievePQgarSegment(), and saveDxfFeatures(). |
|
|
Text value (1).
Definition at line 122 of file DxfFile.C. Referenced by write(). |
|
|
Text height (40).
Definition at line 121 of file DxfFile.C. Referenced by write(). |
|
|
Vertices flag (66).
Definition at line 120 of file DxfFile.C. Referenced by saveChain(), and savePolyline(). |
|
|
X1 (10).
Definition at line 105 of file DxfFile.C. Referenced by retrieveDxfGroup(), retrievePQgarArc(), retrievePQgarSegment(), saveArc(), saveChain(), savePolyline(), saveSegment(), and write(). |
|
|
X2 (11).
Definition at line 106 of file DxfFile.C. Referenced by retrieveDxfGroup(), retrievePQgarSegment(), and saveSegment(). |
|
|
Y1 (20).
Definition at line 107 of file DxfFile.C. Referenced by retrieveDxfGroup(), retrievePQgarArc(), retrievePQgarSegment(), saveArc(), saveChain(), savePolyline(), saveSegment(), and write(). |
|
|
Y2 (21).
Definition at line 108 of file DxfFile.C. Referenced by retrieveDxfGroup(), retrievePQgarSegment(), and saveSegment(). |
|
|
Initial value:
{
7,
7,
7,
8,
8,
8,
15,
6,
6,
4,
5,
5,
3,
3,
3,
2,
1,
1,
1,
1,
7,
7
}
Definition at line 73 of file DxfFile.C. Referenced by saveDxfFeatures(), write(), and writeHeader(). |
|
|
Arc.
Definition at line 150 of file DxfFile.C. Referenced by saveArc(). |
|
|
Bearing wall.
|
|
|
Chaine.
Definition at line 158 of file DxfFile.C. Referenced by saveChain(). |
|
|
Created by Qgar on.
Definition at line 144 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Definitions.
Definition at line 145 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Door.
|
|
|
Dividing wall.
|
|
|
Double window.
|
|
|
Entities.
Definition at line 148 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Layer definitions.
Definition at line 147 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Linetype definitions.
Definition at line 146 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Pipe.
|
|
|
Polyline.
Definition at line 159 of file DxfFile.C. Referenced by savePolyline(). |
|
|
Segment.
Definition at line 149 of file DxfFile.C. Referenced by saveSegment(). |
|
|
Stairs.
|
|
|
Simple window.
|
|
|
Texte.
Definition at line 160 of file DxfFile.C. Referenced by write(). |
|
|
Aligment value for LTYPE (65).
Definition at line 171 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Linetype for contnuous lines (CONTINUOUS").
Definition at line 164 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Linetype for dashed lines (DASHED).
Definition at line 165 of file DxfFile.C. Referenced by retrievePQgarArc(), retrievePQgarSegment(), saveDxfFeatures(), and writeHeader(). |
|
|
Dash length for continuous lines (0).
Definition at line 172 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Dash length for dashed lines (2).
Definition at line 173 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Descriptive for LTYPE (----).
Definition at line 166 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Flag value for LTYPE (64).
Definition at line 170 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Flag value for LAYER (2).
Definition at line 168 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Number of LAYERS (8).
Definition at line 169 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Number of LTYPE (1).
Definition at line 167 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Length pattern for continuous lines (0.0).
Definition at line 174 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Length pattern for dashed lines (2.0).
Definition at line 175 of file DxfFile.C. Referenced by writeHeader(). |
|
|
Polylines are closed (1).
|
|
|
Polylines are opened (0).
Definition at line 178 of file DxfFile.C. Referenced by saveChain(), and savePolyline(). |
|
|
Vertices follow POLYLINE definition (1).
Definition at line 177 of file DxfFile.C. Referenced by saveChain(), and savePolyline(). |
|
|
Default width for POLYLINE (1).
|
|
|
BEARWALL.
Definition at line 185 of file DxfFile.C. Referenced by writeHeader(). |
|
|
CHAINE.
Definition at line 191 of file DxfFile.C. Referenced by retrieveChainOrQgarPolyline(), saveChain(), and writeHeader(). |
|
|
DOOR.
Definition at line 188 of file DxfFile.C. Referenced by writeHeader(). |
|
|
DIVWALL.
Definition at line 184 of file DxfFile.C. Referenced by writeHeader(). |
|
|
DOUWINDOW.
Definition at line 187 of file DxfFile.C. Referenced by writeHeader(). |
|
|
PIPE.
Definition at line 190 of file DxfFile.C. Referenced by writeHeader(). |
|
|
POLYLINE.
Definition at line 192 of file DxfFile.C. Referenced by retrieveChainOrQgarPolyline(), savePolyline(), and writeHeader(). |
|
|
PRIMITIVE.
Definition at line 183 of file DxfFile.C. Referenced by saveArc(), saveSegment(), and writeHeader(). |
|
|
STAIRS.
Definition at line 189 of file DxfFile.C. Referenced by writeHeader(). |
|
|
SIMWINDOW.
Definition at line 186 of file DxfFile.C. Referenced by writeHeader(). |
|
|
TEXT.
Definition at line 193 of file DxfFile.C. Referenced by write(). |
|
|
Maximum length of a DXF field (256).
Definition at line 197 of file DxfFile.C. Referenced by retrieveDxfGroup(). |
|
|
ARC.
Definition at line 132 of file DxfFile.C. Referenced by saveArc(). |
|
|
ENDSEC.
Definition at line 137 of file DxfFile.C. Referenced by writeFooter(), and writeHeader(). |
|
|
ENTITIES.
Definition at line 131 of file DxfFile.C. Referenced by readHeader(), and writeHeader(). |
|
|
EOF.
Definition at line 136 of file DxfFile.C. Referenced by readHeader(), and writeFooter(). |
|
|
SEQEND.
Definition at line 139 of file DxfFile.C. Referenced by saveChain(), and savePolyline(). |
|
|
ENDTAB.
Definition at line 138 of file DxfFile.C. Referenced by writeHeader(). |
|
|
LAYER.
Definition at line 129 of file DxfFile.C. Referenced by saveDxfLayer(). |
|
|
LTYPE.
Definition at line 130 of file DxfFile.C. Referenced by writeHeader(). |
|
|
POLYLINE.
Definition at line 134 of file DxfFile.C. Referenced by saveChain(), and savePolyline(). |
|
|
SECTION.
Definition at line 126 of file DxfFile.C. Referenced by readHeader(), and writeHeader(). |
|
|
LINE.
Definition at line 133 of file DxfFile.C. Referenced by saveSegment(). |
|
|
TABLE.
Definition at line 128 of file DxfFile.C. Referenced by writeHeader(). |
|
|
TABLES.
Definition at line 127 of file DxfFile.C. Referenced by writeHeader(). |
|
|
TEXT.
Definition at line 140 of file DxfFile.C. Referenced by write(). |
|
|
VERTEX.
Definition at line 135 of file DxfFile.C. Referenced by saveChain(), and savePolyline(). |
|
|
Segments contained in the file.
Definition at line 857 of file DxfFile.H. Referenced by accessSegments(), segments(), and ~DxfFile(). |