API Documentation
Loading...
Searching...
No Matches
CADEntityStreamer Class Reference

A base-class for streaming out CAD entities from a file or CAD program memory. More...

#include <CADEntityStreamer.h>

Inheritance diagram for CADEntityStreamer:
[legend]
Collaboration diagram for CADEntityStreamer:
[legend]

Public Member Functions

virtual void add3dFace (const TraceData &)
 
virtual void add3dFace (const Triangle< 3, fltp08 > &)
 
virtual void addArc (const ArcData &)
 
virtual void addAttribute (const Attrib &)
 
virtual void addAttributeDefintion (const Attrib &)
 
virtual void addBlock (const BlockData &)
 
virtual void addCircle (const CircleData &)
 
virtual void addComment (const String &)
 
virtual void addControlPoint (const Vector< 4, fltp08 > &)
 
virtual void addDictionary (const CADDictionaryObject &)
 
virtual void addDictionaryEntry (const String &, const String &)
 
virtual void addDimAlign (const DimAlignedData &)
 
virtual void addDimAngular (const AngularDimensionData< 3 > &)
 
virtual void addDimAngular (const AngularDimensionData< 4 > &)
 
virtual void addDimDiametric (const DiametricDimension &)
 
virtual void addDimLinear (const LinearDimension &)
 
virtual void addDimOrdinate (const DimOrdinateData &)
 
virtual void addDimRadial (const RadialDimension &)
 
virtual void addDXFMaterial (DXFMaterial &)
 
virtual void addEllipse (const EllipseData &)
 
virtual void addFitPoint (const Vector< 3, fltp08 > &)
 
virtual void addGroup (const DXFGroup &)
 
virtual void addHatch (const HatchData &)
 
virtual void addHatchEdge (const HatchEdgeData &)
 
virtual void addHatchLoop (const HatchLoopData &)
 
virtual void addImage (const CADImageData &)
 
virtual void addIndex (const Vector< 4, sint04 > &)
 
virtual void addInsert (const BlockInsert &)
 
virtual void addKnot (fltp08)
 
virtual void addLayer (const LayerData &)
 
virtual void addLeader (const LeaderData &)
 
virtual void addLeaderVertex (const Vector< 2, fltp08 > &)
 
virtual void addLine (const LineData &)
 
virtual void addLinetype (const LineTypeData &)
 
virtual void addLinetypeDash (double)
 
virtual void addMesh (CADMeshData &)
 
virtual void addPoint (const PointData &)
 
virtual void addPolyline (const PolylineData &)
 
virtual void addRay (const LineData &)
 
virtual void addSpline (const SplineData &)
 
virtual void addText (const TextData &)
 
virtual void addTextStyle (const StyleData &)
 
virtual void addTrace (const TraceData &)
 
virtual void addVertex (const Vector< 4, fltp08 > &)
 
virtual void addXLine (const LineData &)
 
virtual void addXRecord (const HandleData &)
 
virtual void addXRecordData (uint04, DXFValueManager *)
 
 CADEntityStreamer (ProgressInfo *logger)
 
virtual void endBlock (const uint04 &)
 
virtual void endEntity ()
 
virtual void endSection ()
 
virtual void endSequence ()
 
ExtrusiongetExtrusion ()
 
virtual void linkImage (const ImageDefData &)
 
virtual void processCodeValuePair (unsigned int, const String &)
 
virtual void setAttributes (const DXFAttributes &)
 
virtual void setExtrusion (fltp08 dx, fltp08 dy, fltp08 dz, fltp08 elevation)
 
virtual void setVariableDouble (const String &, double, int)
 
virtual void setVariableInt (const String &, int, int)
 
virtual void setVariableString (const String &, const String &, int)
 
virtual void setVariableVector (const String &, Vector< 3, fltp08 >, int)
 
virtual void setVertex (uint04, const Vector< 4, fltp08 > &)
 
virtual ~CADEntityStreamer ()=default
 

Protected Attributes

Extrusion m_extrusion
 
bool m_log_features
 
ProgressInfom_logger
 

Detailed Description

A base-class for streaming out CAD entities from a file or CAD program memory.


Constructor & Destructor Documentation

◆ CADEntityStreamer()

CADEntityStreamer ( ProgressInfo * logger)
inline

◆ ~CADEntityStreamer()

virtual ~CADEntityStreamer ( )
virtualdefault

Member Function Documentation

◆ add3dFace() [1/2]

virtual void add3dFace ( const TraceData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ add3dFace() [2/2]

virtual void add3dFace ( const Triangle< 3, fltp08 > & )
inlinevirtual

◆ addArc()

virtual void addArc ( const ArcData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addAttribute()

virtual void addAttribute ( const Attrib & )
inlinevirtual

◆ addAttributeDefintion()

virtual void addAttributeDefintion ( const Attrib & )
inlinevirtual

◆ addBlock()

virtual void addBlock ( const BlockData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addCircle()

virtual void addCircle ( const CircleData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addComment()

virtual void addComment ( const String & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addControlPoint()

virtual void addControlPoint ( const Vector< 4, fltp08 > & )
inlinevirtual

◆ addDictionary()

virtual void addDictionary ( const CADDictionaryObject & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addDictionaryEntry()

virtual void addDictionaryEntry ( const String & ,
const String &  )
inlinevirtual

◆ addDimAlign()

virtual void addDimAlign ( const DimAlignedData & )
inlinevirtual

◆ addDimAngular() [1/2]

virtual void addDimAngular ( const AngularDimensionData< 3 > & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addDimAngular() [2/2]

virtual void addDimAngular ( const AngularDimensionData< 4 > & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addDimDiametric()

virtual void addDimDiametric ( const DiametricDimension & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addDimLinear()

virtual void addDimLinear ( const LinearDimension & )
inlinevirtual

◆ addDimOrdinate()

virtual void addDimOrdinate ( const DimOrdinateData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addDimRadial()

virtual void addDimRadial ( const RadialDimension & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addDXFMaterial()

virtual void addDXFMaterial ( DXFMaterial & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addEllipse()

virtual void addEllipse ( const EllipseData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addFitPoint()

virtual void addFitPoint ( const Vector< 3, fltp08 > & )
inlinevirtual

◆ addGroup()

virtual void addGroup ( const DXFGroup & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addHatch()

virtual void addHatch ( const HatchData & )
inlinevirtual

◆ addHatchEdge()

virtual void addHatchEdge ( const HatchEdgeData & )
inlinevirtual

◆ addHatchLoop()

virtual void addHatchLoop ( const HatchLoopData & )
inlinevirtual

◆ addImage()

virtual void addImage ( const CADImageData & )
inlinevirtual

◆ addIndex()

virtual void addIndex ( const Vector< 4, sint04 > & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addInsert()

virtual void addInsert ( const BlockInsert & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addKnot()

virtual void addKnot ( fltp08 )
inlinevirtual

◆ addLayer()

virtual void addLayer ( const LayerData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addLeader()

virtual void addLeader ( const LeaderData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addLeaderVertex()

virtual void addLeaderVertex ( const Vector< 2, fltp08 > & )
inlinevirtual

◆ addLine()

virtual void addLine ( const LineData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addLinetype()

virtual void addLinetype ( const LineTypeData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addLinetypeDash()

virtual void addLinetypeDash ( double )
inlinevirtual

Reimplemented in EntityConverter.

◆ addMesh()

virtual void addMesh ( CADMeshData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addPoint()

virtual void addPoint ( const PointData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addPolyline()

virtual void addPolyline ( const PolylineData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addRay()

virtual void addRay ( const LineData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addSpline()

virtual void addSpline ( const SplineData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addText()

virtual void addText ( const TextData & )
inlinevirtual

◆ addTextStyle()

virtual void addTextStyle ( const StyleData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addTrace()

virtual void addTrace ( const TraceData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addVertex()

virtual void addVertex ( const Vector< 4, fltp08 > & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addXLine()

virtual void addXLine ( const LineData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addXRecord()

virtual void addXRecord ( const HandleData & )
inlinevirtual

Reimplemented in EntityConverter.

◆ addXRecordData()

virtual void addXRecordData ( uint04 ,
DXFValueManager *  )
inlinevirtual

Reimplemented in EntityConverter.

◆ endBlock()

virtual void endBlock ( const uint04 & )
inlinevirtual

Reimplemented in EntityConverter.

◆ endEntity()

virtual void endEntity ( )
inlinevirtual

Reimplemented in EntityConverter.

◆ endSection()

virtual void endSection ( )
inlinevirtual

Reimplemented in EntityConverter.

◆ endSequence()

virtual void endSequence ( )
inlinevirtual

◆ getExtrusion()

Extrusion & getExtrusion ( )
inline

◆ linkImage()

virtual void linkImage ( const ImageDefData & )
inlinevirtual

◆ processCodeValuePair()

virtual void processCodeValuePair ( unsigned int ,
const String &  )
inlinevirtual

◆ setAttributes()

virtual void setAttributes ( const DXFAttributes & )
inlinevirtual

Reimplemented in EntityConverter.

◆ setExtrusion()

virtual void setExtrusion ( fltp08 dx,
fltp08 dy,
fltp08 dz,
fltp08 elevation )
inlinevirtual

Reimplemented in EntityConverter.

◆ setVariableDouble()

virtual void setVariableDouble ( const String & ,
double ,
int  )
inlinevirtual

◆ setVariableInt()

virtual void setVariableInt ( const String & ,
int ,
int  )
inlinevirtual

Reimplemented in EntityConverter.

◆ setVariableString()

virtual void setVariableString ( const String & ,
const String & ,
int  )
inlinevirtual

◆ setVariableVector()

virtual void setVariableVector ( const String & ,
Vector< 3, fltp08 > ,
int  )
inlinevirtual

◆ setVertex()

virtual void setVertex ( uint04 ,
const Vector< 4, fltp08 > &  )
inlinevirtual

Member Data Documentation

◆ m_extrusion

Extrusion m_extrusion
protected

◆ m_log_features

bool m_log_features
protected

◆ m_logger

ProgressInfo& m_logger
protected

The documentation for this class was generated from the following file: