QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RDxfImporter.h
Go to the documentation of this file.
1
#ifndef RDXFIMPORTER_H
2
#define RDXFIMPORTER_H
3
4
#include "
dl_creationadapter.h
"
5
6
#include "
RDocument.h
"
7
#include "
RFileImporter.h
"
8
#include "
RDimensionEntity.h
"
9
#include "
RMessageHandler.h
"
10
#include "
RProgressHandler.h
"
11
12
class
RVector
;
13
class
RDxfImporter
;
14
15
22
class
RDxfImporter
:
public
RFileImporter
,
public
DL_CreationAdapter
{
23
public
:
24
RDxfImporter
(
RDocument
&
document
,
RMessageHandler
*
messageHandler
= NULL,
RProgressHandler
*
progressHandler
= NULL);
25
virtual
~RDxfImporter
();
26
27
static
void
registerFileImporter
();
31
static
RFileImporter
*
factory
(
RDocument
& document,
RMessageHandler
*
messageHandler
,
RProgressHandler
*
progressHandler
);
35
static
bool
check
(
const
QString& fileName,
const
QString& nameFilter);
36
37
static
QStringList
getFilterStrings
();
38
39
virtual
bool
importFile
(
const
QString& fileName);
40
41
virtual
void
processCodeValuePair
(
unsigned
int
groupCode,
char
* groupValue);
42
46
virtual
void
addSpline
(
const
DL_SplineData
& data);
47
51
virtual
void
addControlPoint
(
const
DL_ControlPointData
& data);
52
56
virtual
void
addKnot
(
const
DL_KnotData
& data);
57
};
58
59
Q_DECLARE_METATYPE
(
RDxfImporter
*)
60
Q_DECLARE_METATYPE
(
DL_CreationAdapter
*)
61
62
#endif
src
io
dxf
RDxfImporter.h
Generated on Tue Jun 26 2012 18:41:08 for QCAD Application Framework by
1.8.1.1