28 #include "dl_global.h"
65 double bbpx,
double bbpy,
double bbpz) {
95 const std::string& name,
96 const std::string& description,
100 double* pattern = NULL
103 description(description),
105 numberOfDashes(numberOfDashes),
106 patternLength(patternLength),
113 std::string description;
119 double patternLength;
135 const std::string& name,
137 double fixedTextHeight,
140 int textGenerationFlags,
141 double lastHeightUsed,
142 const std::string& primaryFontFile,
143 const std::string& bigFontFile
147 fixedTextHeight(fixedTextHeight),
148 widthFactor(widthFactor),
149 obliqueAngle(obliqueAngle),
150 textGenerationFlags(textGenerationFlags),
151 lastHeightUsed(lastHeightUsed),
152 primaryFontFile(primaryFontFile),
153 bigFontFile(bigFontFile),
160 return (name==other.
name &&
161 flags==other.
flags &&
175 double fixedTextHeight;
181 int textGenerationFlags;
183 double lastHeightUsed;
185 std::string primaryFontFile;
187 std::string bigFontFile;
201 DL_PointData(
double px=0.0,
double py=0.0,
double pz=0.0) {
226 double lx2,
double ly2,
double lz2) {
260 double dx,
double dy,
double dz) :
261 bx(bx), by(by), bz(bz),
262 dx(dx), dy(dy), dz(dz) {
289 double dx,
double dy,
double dz) :
290 bx(bx), by(by), bz(bz),
291 dx(dx), dy(dy), dz(dz) {
319 DL_ArcData(
double acx,
double acy,
double acz,
321 double aAngle1,
double aAngle2) {
386 DL_PolylineData(
int pNumber,
int pMVerteces,
int pNVerteces,
int pFlags) {
442 for (
int i=0; i<4; i++) {
454 double sx2,
double sy2,
double sz2,
455 double sx3,
double sy3,
double sz3,
456 double sx4,
double sy4,
double sz4,
457 double sthickness=0.0) {
459 thickness = sthickness;
530 unsigned int nControl;
538 double tangentStartX;
539 double tangentStartY;
540 double tangentStartZ;
623 double mx,
double my,
double mz,
625 double angle1,
double angle2)
670 double ipx,
double ipy,
double ipz,
671 double sx,
double sy,
double sz,
674 double colSp,
double rowSp) :
676 ipx(ipx), ipy(ipy), ipz(ipz),
677 sx(sx), sy(sy), sz(sz),
679 cols(cols), rows(rows),
680 colSp(colSp), rowSp(rowSp) {
720 double dirx,
double diry,
double dirz,
721 double height,
double width,
723 int drawingDirection,
724 int lineSpacingStyle,
725 double lineSpacingFactor,
726 const std::string& text,
727 const std::string& style,
729 ipx(ipx), ipy(ipy), ipz(ipz),
730 dirx(dirx), diry(diry), dirz(dirz),
731 height(height), width(width),
732 attachmentPoint(attachmentPoint),
733 drawingDirection(drawingDirection),
734 lineSpacingStyle(lineSpacingStyle),
735 lineSpacingFactor(lineSpacingFactor),
771 int drawingDirection;
777 int lineSpacingStyle;
781 double lineSpacingFactor;
801 double apx,
double apy,
double apz,
802 double height,
double xScaleFactor,
803 int textGenerationFlags,
806 const std::string& text,
807 const std::string& style,
809 : ipx(ipx), ipy(ipy), ipz(ipz),
810 apx(apx), apy(apy), apz(apz),
811 height(height), xScaleFactor(xScaleFactor),
812 textGenerationFlags(textGenerationFlags),
813 hJustification(hJustification),
814 vJustification(vJustification),
839 int textGenerationFlags;
877 double apx,
double apy,
double apz,
878 double height,
double xScaleFactor,
879 int textGenerationFlags,
882 const std::string& tag,
883 const std::string& text,
884 const std::string& style,
888 height, xScaleFactor,
912 double mpx,
double mpy,
double mpz,
915 int lineSpacingStyle,
916 double lineSpacingFactor,
917 const std::string& text,
918 const std::string& style,
920 double linearFactor = 1.0,
921 double dimScale = 1.0) :
922 dpx(dpx), dpy(dpy), dpz(dpz),
923 mpx(mpx), mpy(mpy), mpz(mpz),
925 attachmentPoint(attachmentPoint),
926 lineSpacingStyle(lineSpacingStyle),
927 lineSpacingFactor(lineSpacingFactor),
931 linearFactor(linearFactor),
981 int lineSpacingStyle;
985 double lineSpacingFactor;
1004 double linearFactor;
1022 double depx2,
double depy2,
double depz2) {
1059 double ddpx2,
double ddpy2,
double ddpz2,
1060 double dAngle,
double dOblique) {
1163 double ddpx2,
double ddpy2,
double ddpz2,
1164 double ddpx3,
double ddpy3,
double ddpz3,
1165 double ddpx4,
double ddpy4,
double ddpz4) {
1223 double ddpx2,
double ddpy2,
double ddpz2,
1224 double ddpx3,
double ddpy3,
double ddpz3) {
1272 double ddpx2,
double ddpy2,
double ddpz2,
1315 int lLeaderPathType,
1316 int lLeaderCreationFlag,
1317 int lHooklineDirectionFlag,
1319 double lTextAnnotationHeight,
1320 double lTextAnnotationWidth,
1323 arrowHeadFlag = lArrowHeadFlag;
1324 leaderPathType = lLeaderPathType;
1325 leaderCreationFlag = lLeaderCreationFlag;
1326 hooklineDirectionFlag = lHooklineDirectionFlag;
1327 hooklineFlag = lHooklineFlag;
1328 textAnnotationHeight = lTextAnnotationHeight;
1329 textAnnotationWidth = lTextAnnotationWidth;
1338 int leaderCreationFlag;
1340 int hooklineDirectionFlag;
1344 double textAnnotationHeight;
1346 double textAnnotationWidth;
1394 const std::string& pattern,
1395 double originX = 0.0,
1396 double originY = 0.0) :
1416 std::string pattern;
1437 numEdges = hNumEdges;
1461 double x2,
double y2) :
1476 double angle1,
double angle2,
1493 double mx,
double my,
1495 double angle1,
double angle2,
1516 unsigned int nKnots,
1517 unsigned int nControl,
1519 const std::vector<double>& knots,
1520 const std::vector<std::vector<double> >& controlPoints,
1521 const std::vector<std::vector<double> >& fitPoints,
1522 const std::vector<double>& weights,
1523 double startTangentX,
1524 double startTangentY,
1526 double endTangentY) :
1535 controlPoints(controlPoints),
1538 fitPoints(fitPoints),
1539 startTangentX(startTangentX),
1540 startTangentY(startTangentY),
1541 endTangentX(endTangentX),
1542 endTangentY(endTangentY) {
1588 unsigned int degree = 0;
1592 unsigned int nKnots = 0;
1594 unsigned int nControl = 0;
1596 unsigned int nFit = 0;
1598 std::vector<std::vector<double> > controlPoints;
1599 std::vector<double> knots;
1600 std::vector<double> weights;
1601 std::vector<std::vector<double> > fitPoints;
1603 double startTangentX = 0;
1604 double startTangentY = 0;
1606 double endTangentX = 0;
1607 double endTangentY = 0;
1610 std::vector<std::vector<double> > vertices;
1625 double iipx,
double iipy,
double iipz,
1626 double iux,
double iuy,
double iuz,
1627 double ivx,
double ivy,
double ivz,
1628 int iwidth,
int iheight,
1629 int ibrightness,
int icontrast,
int ifade) {
1642 brightness = ibrightness;
1643 contrast = icontrast;
1691 const std::string& ifile) {
1721 name(name), handle(handle) {}