|
QCAD Application Framework
CAD Application Development and Automation.
|
An abstract adapter class for receiving DXF events when a DXF file is being read. More...
#include <dl_creationadapter.h>
Public Member Functions | |
| virtual void | add3dFace (const DL_3dFaceData &) |
| Called for every 3dface start. | |
| virtual void | addArc (const DL_ArcData &) |
| Called for every arc. | |
| virtual void | addBlock (const DL_BlockData &) |
| Called for every block. | |
| virtual void | addCircle (const DL_CircleData &) |
| Called for every circle. | |
| virtual void | addComment (const char *comment) |
| Called for every comment in the DXF file (code 999). | |
| virtual void | addControlPoint (const DL_ControlPointData &) |
| Called for every spline control point. | |
| virtual void | addDimAlign (const DL_DimensionData &, const DL_DimAlignedData &) |
| Called for every aligned dimension entity. | |
| virtual void | addDimAngular (const DL_DimensionData &, const DL_DimAngularData &) |
| Called for every angular dimension (2 lines version) entity. | |
| virtual void | addDimAngular3P (const DL_DimensionData &, const DL_DimAngular3PData &) |
| Called for every angular dimension (3 points version) entity. | |
| virtual void | addDimDiametric (const DL_DimensionData &, const DL_DimDiametricData &) |
| Called for every diametric dimension entity. | |
| virtual void | addDimLinear (const DL_DimensionData &, const DL_DimLinearData &) |
| Called for every linear or rotated dimension entity. | |
| virtual void | addDimOrdinate (const DL_DimensionData &, const DL_DimOrdinateData &) |
| Called for every ordinate dimension entity. | |
| virtual void | addDimRadial (const DL_DimensionData &, const DL_DimRadialData &) |
| Called for every radial dimension entity. | |
| virtual void | addEllipse (const DL_EllipseData &) |
| Called for every ellipse. | |
| virtual void | addHatch (const DL_HatchData &) |
| Called for every hatch entity. | |
| virtual void | addHatchEdge (const DL_HatchEdgeData &) |
| Called for every hatch edge entity. | |
| virtual void | addHatchLoop (const DL_HatchLoopData &) |
| Called for every hatch loop. | |
| virtual void | addImage (const DL_ImageData &) |
| Called for every image entity. | |
| virtual void | addInsert (const DL_InsertData &) |
| Called for every insert. | |
| virtual void | addKnot (const DL_KnotData &) |
| Called for every spline knot value. | |
| virtual void | addLayer (const DL_LayerData &) |
| Called for every layer. | |
| virtual void | addLeader (const DL_LeaderData &) |
| Called for every leader start. | |
| virtual void | addLeaderVertex (const DL_LeaderVertexData &) |
| Called for every leader vertex. | |
| virtual void | addLine (const DL_LineData &) |
| Called for every line. | |
| virtual void | addMText (const DL_MTextData &) |
| Called for every Multi Text entity. | |
| virtual void | addMTextChunk (const char *) |
| Called for additional text chunks for MTEXT entities. | |
| virtual void | addPoint (const DL_PointData &) |
| Called for every point. | |
| virtual void | addPolyline (const DL_PolylineData &) |
| Called for every polyline start. | |
| virtual void | addSolid (const DL_SolidData &) |
| Called for every solid start. | |
| virtual void | addSpline (const DL_SplineData &) |
| Called for every spline. | |
| virtual void | addText (const DL_TextData &) |
| Called for every Text entity. | |
| virtual void | addTrace (const DL_TraceData &) |
| Called for every trace start. | |
| virtual void | addVertex (const DL_VertexData &) |
| Called for every polyline vertex. | |
| DL_CreationAdapter () | |
| virtual void | endBlock () |
| Called to end the current block. | |
| virtual void | endEntity () |
| Called after an entity has been completed. | |
| virtual void | endSequence () |
| Called when a SEQEND occurs (when a POLYLINE or ATTRIB is done) | |
| virtual void | linkImage (const DL_ImageDefData &) |
| Called for every image definition. | |
| virtual void | processCodeValuePair (unsigned int, char *) |
| Called for every code / value tuple of the DXF file. | |
| virtual void | setVariableDouble (const char *, double, int) |
| Called for every double variable in the DXF file (e.g. | |
| virtual void | setVariableInt (const char *, int, int) |
| Called for every int variable in the DXF file (e.g. | |
| virtual void | setVariableString (const char *, const char *, int) |
| Called for every string variable in the DXF file (e.g. | |
| virtual void | setVariableVector (const char *, double, double, double, int) |
| Called for every vector variable in the DXF file (e.g. | |
| virtual | ~DL_CreationAdapter () |
Public Member Functions inherited from DL_CreationInterface | |
| DL_CreationInterface () | |
| DL_Attributes | getAttributes () |
| DL_Extrusion * | getExtrusion () |
| void | setAttributes (const DL_Attributes &attrib) |
| Sets the current attributes for entities. | |
| void | setExtrusion (double dx, double dy, double dz, double elevation) |
| Sets the current attributes for entities. | |
| virtual | ~DL_CreationInterface () |
Additional Inherited Members | |
Protected Attributes inherited from DL_CreationInterface | |
| DL_Attributes | attributes |
| DL_Extrusion * | extrusion |
An abstract adapter class for receiving DXF events when a DXF file is being read.
The methods in this class are empty. This class exists as convenience for creating listener objects.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Called for every 3dface start.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every arc.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every block.
Note: all entities added after this command go into this block until endBlock() is called.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every circle.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every comment in the DXF file (code 999).
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every spline control point.
Implements DL_CreationInterface.
Reimplemented in RDxfImporter.
|
inlinevirtual |
Called for every aligned dimension entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every angular dimension (2 lines version) entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every angular dimension (3 points version) entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every diametric dimension entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every linear or rotated dimension entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every ordinate dimension entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every radial dimension entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every ellipse.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every hatch entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every hatch edge entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every hatch loop.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every image entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every insert.
Implements DL_CreationInterface.
|
inlinevirtual |
|
inlinevirtual |
Called for every layer.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every leader start.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every leader vertex.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every line.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every Multi Text entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for additional text chunks for MTEXT entities.
The chunks come at 250 character in size each. Note that those chunks come before the actual MTEXT entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every point.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every polyline start.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every solid start.
Implements DL_CreationInterface.
|
inlinevirtual |
|
inlinevirtual |
Called for every Text entity.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every trace start.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every polyline vertex.
Implements DL_CreationInterface.
|
inlinevirtual |
Called to end the current block.
Implements DL_CreationInterface.
|
inlinevirtual |
Called after an entity has been completed.
Implements DL_CreationInterface.
|
inlinevirtual |
Called when a SEQEND occurs (when a POLYLINE or ATTRIB is done)
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every image definition.
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every code / value tuple of the DXF file.
The complete DXF file contents can be handled by the implemetation of this function.
Implements DL_CreationInterface.
Reimplemented in RDxfImporter.
|
inlinevirtual |
|
inlinevirtual |
Called for every int variable in the DXF file (e.g.
"$ACADMAINTVER").
Implements DL_CreationInterface.
|
inlinevirtual |
Called for every string variable in the DXF file (e.g.
"$ACADVER").
Implements DL_CreationInterface.
|
inlinevirtual |