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

Logic for reading from a DXF stream of data. Data is streamed to a given CADEntityStreamer to be handled by the NDEVR API. More...

#include <DXFReader.h>

Public Member Functions

 DXFReader (CADEntityStreamer &entity_streamer, ProgressInfo *log)
 
bool isBinaryFile (File &file) const
 
void readFile (File &file)
 
void setWarningCallback (const std::function< void(const TranslatedString &)> &callback)
 
 ~DXFReader ()
 

Protected Member Functions

void add3dFace (bool is_solid)
 
void addArc ()
 
void addAttribute ()
 
void addAttributeDefinition ()
 
void addBlock ()
 
void addBlockRecord ()
 
void addCircle ()
 
void addDictionary ()
 
void addDimAligned ()
 
void addDimAngular ()
 
void addDimAngular3P ()
 
void addDimDiametric ()
 
void addDimensionInfo (DimensionData &data)
 
void addDimLinear ()
 
void addDimOrdinate ()
 
void addDimRadial ()
 
void addEllipse ()
 
void addEntityInfo (EntityData &data)
 
void addGroup ()
 
void addHandleInfo (HandleData &data)
 
void addImageDef ()
 
void addInsert ()
 
void addLayer ()
 
void addLeader ()
 
void addLine ()
 
void addLinetype ()
 
void addLWPolyline ()
 
void addMaterial ()
 
void addMesh ()
 
void addMText ()
 
void addPoint ()
 
void addPolyline ()
 
void addRay ()
 
void addSection ()
 
void addSetting ()
 
void addSpline ()
 
void addText ()
 
void addTextStyle ()
 
void addTrace ()
 
void addVertex ()
 
void addXLine ()
 
void endBlock ()
 
void endEntity ()
 
void endSequence ()
 
bool handleDictionaryData ()
 
bool handleGroupData ()
 
bool handleLeaderData ()
 
bool handleLinetypeData ()
 
bool handleLWPolylineData ()
 
bool handleMatrixData ()
 
bool handleMeshData ()
 
bool handleMTextData ()
 
bool handleSplineData ()
 
bool handleXData ()
 
bool handleXRecordData ()
 
const PaperSpacepaperspace () const
 
bool processDXFGroup (uint04 group_code)
 
void readAsciiFile (File &file)
 
void readBinaryFile (File &file)
 
bool readNextLinePair (Scanner &scan)
 
bool readNextPair (BinaryFile &scan)
 

Detailed Description

Logic for reading from a DXF stream of data. Data is streamed to a given CADEntityStreamer to be handled by the NDEVR API.


Constructor & Destructor Documentation

◆ DXFReader()

DXFReader ( CADEntityStreamer & entity_streamer,
ProgressInfo * log )
explicit

◆ ~DXFReader()

~DXFReader ( )

Member Function Documentation

◆ add3dFace()

void add3dFace ( bool is_solid)
protected

◆ addArc()

void addArc ( )
protected

◆ addAttribute()

void addAttribute ( )
protected

◆ addAttributeDefinition()

void addAttributeDefinition ( )
protected

◆ addBlock()

void addBlock ( )
protected

◆ addBlockRecord()

void addBlockRecord ( )
protected

◆ addCircle()

void addCircle ( )
protected

◆ addDictionary()

void addDictionary ( )
protected

◆ addDimAligned()

void addDimAligned ( )
protected

◆ addDimAngular()

void addDimAngular ( )
protected

◆ addDimAngular3P()

void addDimAngular3P ( )
protected

◆ addDimDiametric()

void addDimDiametric ( )
protected

◆ addDimensionInfo()

void addDimensionInfo ( DimensionData & data)
protected

◆ addDimLinear()

void addDimLinear ( )
protected

◆ addDimOrdinate()

void addDimOrdinate ( )
protected

◆ addDimRadial()

void addDimRadial ( )
protected

◆ addEllipse()

void addEllipse ( )
protected

◆ addEntityInfo()

void addEntityInfo ( EntityData & data)
protected

◆ addGroup()

void addGroup ( )
protected

◆ addHandleInfo()

void addHandleInfo ( HandleData & data)
protected

◆ addImageDef()

void addImageDef ( )
protected

◆ addInsert()

void addInsert ( )
protected

◆ addLayer()

void addLayer ( )
protected

◆ addLeader()

void addLeader ( )
protected

◆ addLine()

void addLine ( )
protected

◆ addLinetype()

void addLinetype ( )
protected

◆ addLWPolyline()

void addLWPolyline ( )
protected

◆ addMaterial()

void addMaterial ( )
protected

◆ addMesh()

void addMesh ( )
protected

◆ addMText()

void addMText ( )
protected

◆ addPoint()

void addPoint ( )
protected

◆ addPolyline()

void addPolyline ( )
protected

◆ addRay()

void addRay ( )
protected

◆ addSection()

void addSection ( )
protected

◆ addSetting()

void addSetting ( )
protected

◆ addSpline()

void addSpline ( )
protected

◆ addText()

void addText ( )
protected

◆ addTextStyle()

void addTextStyle ( )
protected

◆ addTrace()

void addTrace ( )
protected

◆ addVertex()

void addVertex ( )
protected

◆ addXLine()

void addXLine ( )
protected

◆ endBlock()

void endBlock ( )
protected

◆ endEntity()

void endEntity ( )
protected

◆ endSequence()

void endSequence ( )
protected

◆ handleDictionaryData()

bool handleDictionaryData ( )
protected

◆ handleGroupData()

bool handleGroupData ( )
protected

◆ handleLeaderData()

bool handleLeaderData ( )
protected

◆ handleLinetypeData()

bool handleLinetypeData ( )
protected

◆ handleLWPolylineData()

bool handleLWPolylineData ( )
protected

◆ handleMatrixData()

bool handleMatrixData ( )
protected

◆ handleMeshData()

bool handleMeshData ( )
protected

◆ handleMTextData()

bool handleMTextData ( )
protected

◆ handleSplineData()

bool handleSplineData ( )
protected

◆ handleXData()

bool handleXData ( )
protected

◆ handleXRecordData()

bool handleXRecordData ( )
protected

◆ isBinaryFile()

bool isBinaryFile ( File & file) const

◆ paperspace()

const PaperSpace & paperspace ( ) const
inlineprotected

◆ processDXFGroup()

bool processDXFGroup ( uint04 group_code)
protected

◆ readAsciiFile()

void readAsciiFile ( File & file)
protected

◆ readBinaryFile()

void readBinaryFile ( File & file)
protected

◆ readFile()

void readFile ( File & file)

◆ readNextLinePair()

bool readNextLinePair ( Scanner & scan)
protected

◆ readNextPair()

bool readNextPair ( BinaryFile & scan)
protected

◆ setWarningCallback()

void setWarningCallback ( const std::function< void(const TranslatedString &)> & callback)
inline

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