40 class TranslatedString;
43 class DXFValueManager;
50 void readFile(
File& file);
51 bool isBinaryFile(
File& file)
const;
54 void readBinaryFile(
File& file);
55 void readAsciiFile(
File& file);
56 bool readNextLinePair(
Scanner& scan);
59 bool processDXFGroup(
uint04 group_code);
65 void addBlockRecord();
85 void add3dFace(
bool is_solid);
91 void addAttributeDefinition();
96 void addDimDiametric();
98 void addDimAngular3P();
99 void addDimOrdinate();
111 void addDictionary();
113 bool handleXRecordData();
114 bool handleDictionaryData();
115 bool handleGroupData();
118 bool handleMTextData();
119 bool handleLWPolylineData();
120 bool handleMeshData();
121 bool handleSplineData();
122 bool handleLeaderData();
123 bool handleLinetypeData();
124 bool handleMatrixData();
136 enum class MeshProperty
144 CADMeshData m_mesh_data;
145 CADDictionaryObject m_dictionary;
146 MeshProperty m_current_mesh_property;
148 Buffer<fltp08> m_knots;
149 Buffer<fltp08> m_weights;
151 Buffer<Vector<3, fltp08>> m_control_points;
152 Buffer<Vector<3, fltp08>> m_fit_points;
154 bool m_first_hatch_loop;
155 HatchEdgeData m_hatch_edge;
156 DXFGroup m_group_data;
157 Buffer<Buffer<HatchEdgeData>> m_hatch_edges;
158 PaperSpace m_paper_space;
159 String m_x_record_handle;
160 bool m_x_recordValues;
161 bool m_complex_object;
163 uint04 m_matrix_count = 0;
164 Matrix<fltp08> m_matrix = Matrix<fltp08>(1.0);
166 DXFEntityCodes m_current_object_type;
168 String m_setting_value;
170 String m_setting_key;
171 CADEntityStreamer& m_entity_streamer;
173 std::function<void(
const TranslatedString&)> m_warning_callback;
Definition BinaryFile.h:51
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition CADEntityStreamer.h:42
Definition DXFReader.h:46
const PaperSpace & paperspace() const
Definition DXFReader.h:100
void setWarningCallback(const std::function< void(const TranslatedString &)> &callback)
Definition DXFReader.h:52
Definition DXFValueManager.h:42
Definition ProgressInfo.hpp:43
Definition TranslatedString.h:9
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
Definition CADEntities.h:515
Definition CADEntities.h:139
Definition CADEntities.h:133
Definition CADEntities.h:49