Assimp  v3.1.1 (June 2014)
DXFLoader.cpp File Reference

Implementation of the DXF importer class. More...

Macros

#define AI_DXF_BINARY_IDENT   ("AutoCAD Binary DXF\r\n\x1a\0")
 
#define AI_DXF_BINARY_IDENT_LEN   (24)
 
#define AI_DXF_DEFAULT_COLOR   aiColor4D(0.6f,0.6f,0.6f,0.6f)
 
#define AI_DXF_ENTITIES_MAGIC_BLOCK   "$ASSIMP_ENTITIES_MAGIC"
 
#define AI_DXF_NUM_INDEX_COLORS   (sizeof(g_aclrDxfIndexColors)/sizeof(g_aclrDxfIndexColors[0]))
 
#define DXF_POLYLINE_FLAG_3D_POLYLINE   0x8
 
#define DXF_POLYLINE_FLAG_3D_POLYMESH   0x10
 
#define DXF_POLYLINE_FLAG_CLOSED   0x1
 
#define DXF_POLYLINE_FLAG_POLYFACEMESH   0x40
 
#define DXF_VERTEX_FLAG_HAS_POSITIONS   0x40
 
#define DXF_VERTEX_FLAG_PART_OF_POLYFACE   0x80
 

Variables

static const aiImporterDesc desc
 
static aiColor4D g_aclrDxfIndexColors []
 

Detailed Description

Implementation of the DXF importer class.

Macro Definition Documentation

§ AI_DXF_BINARY_IDENT

#define AI_DXF_BINARY_IDENT   ("AutoCAD Binary DXF\r\n\x1a\0")

§ AI_DXF_BINARY_IDENT_LEN

#define AI_DXF_BINARY_IDENT_LEN   (24)

§ AI_DXF_DEFAULT_COLOR

#define AI_DXF_DEFAULT_COLOR   aiColor4D(0.6f,0.6f,0.6f,0.6f)

§ AI_DXF_ENTITIES_MAGIC_BLOCK

#define AI_DXF_ENTITIES_MAGIC_BLOCK   "$ASSIMP_ENTITIES_MAGIC"

§ AI_DXF_NUM_INDEX_COLORS

#define AI_DXF_NUM_INDEX_COLORS   (sizeof(g_aclrDxfIndexColors)/sizeof(g_aclrDxfIndexColors[0]))

§ DXF_POLYLINE_FLAG_3D_POLYLINE

#define DXF_POLYLINE_FLAG_3D_POLYLINE   0x8

§ DXF_POLYLINE_FLAG_3D_POLYMESH

#define DXF_POLYLINE_FLAG_3D_POLYMESH   0x10

§ DXF_POLYLINE_FLAG_CLOSED

#define DXF_POLYLINE_FLAG_CLOSED   0x1

§ DXF_POLYLINE_FLAG_POLYFACEMESH

#define DXF_POLYLINE_FLAG_POLYFACEMESH   0x40

§ DXF_VERTEX_FLAG_HAS_POSITIONS

#define DXF_VERTEX_FLAG_HAS_POSITIONS   0x40

§ DXF_VERTEX_FLAG_PART_OF_POLYFACE

#define DXF_VERTEX_FLAG_PART_OF_POLYFACE   0x80

Variable Documentation

§ desc

const aiImporterDesc desc
static
Initial value:
= {
"Drawing Interchange Format (DXF) Importer",
"",
"",
"",
0,
0,
0,
0,
"dxf"
}
Indicates that the importer reads only a very particular subset of the file format.
Definition: importerdesc.h:69
Indicates that there is a textual encoding of the file format; and that it is supported.
Definition: importerdesc.h:55

§ g_aclrDxfIndexColors

aiColor4D g_aclrDxfIndexColors[]
static
Initial value:
=
{
aiColor4D (0.6f, 0.6f, 0.6f, 1.0f),
aiColor4D (1.0f, 0.0f, 0.0f, 1.0f),
aiColor4D (0.0f, 1.0f, 0.0f, 1.0f),
aiColor4D (0.0f, 0.0f, 1.0f, 1.0f),
aiColor4D (0.3f, 1.0f, 0.3f, 1.0f),
aiColor4D (0.3f, 0.3f, 1.0f, 1.0f),
aiColor4D (1.0f, 0.3f, 0.3f, 1.0f),
aiColor4D (1.0f, 0.0f, 1.0f, 1.0f),
aiColor4D (1.0f, 0.6f, 0.0f, 1.0f),
aiColor4D (0.6f, 0.3f, 0.0f, 1.0f),
aiColor4D (1.0f, 1.0f, 0.0f, 1.0f),
aiColor4D (0.3f, 0.3f, 0.3f, 1.0f),
aiColor4D (0.8f, 0.8f, 0.8f, 1.0f),
aiColor4D (0.0f, 00.f, 0.0f, 1.0f),
aiColor4D (1.0f, 1.0f, 1.0f, 1.0f),
aiColor4D (0.6f, 0.0f, 1.0f, 1.0f)
}
aiColor4t< float > aiColor4D
Definition: color4.h:92