#include <convert.h>
Public Member Functions | |
dxfConverter () | |
~dxfConverter () | |
void | setMaxerr (const dxfdouble maxerr) |
void | findHeaderVariables (dimeModel &model) |
bool | doConvert (dimeModel &model) |
bool | writeVrml (FILE *out, const bool vrml1=false, const bool only2d=false) |
void | setNumSub (const int num) |
int | getNumSub () const |
dxfdouble | getMaxerr () const |
void | setFillmode (const bool fill) |
bool | getFillmode () const |
bool | getLayercol () const |
void | setLayercol (const bool v) |
dxfLayerData * | getLayerData (const int colidx) |
dxfLayerData * | getLayerData (const dimeEntity *entity) |
dxfLayerData ** | getLayerData () |
int | getColorIndex (const dimeEntity *entity) |
int | getCurrentInsertColorIndex () const |
Friends | |
class | dime2Profit |
class | dime2So |
|
Constructor |
|
Destructor |
|
Converts model to the internal geometry structures.
|
|
Finds the state of supported header variables in model. This method should be called before dxfxConverter::doConvert() |
|
Finds the correct color index for entity. Handles the BYLAYER case. |
|
Returns the color index of the current INSERT entity. If no INSERT entity is current, the color index 7 (white) will be returned. |
|
Returns whether polylines with width and SOLID and TRACE should be filled. |
|
Returns whether only layers should be used (and not color index) when converting |
|
Returns a pointer to the dxfLayerData array. |
|
Finds the color index for entity, and returns the dxfLayerData for it. |
|
Returns a dxfLayerData instance for the color with color index colidx. |
|
Returns the maximum allowed error when converting circles, arcs ellipses. |
|
Returns the numner of subdivisions set by dxfConverter::setNumSub() |
|
Sets whether polylines with width and SOLID and TRACE should be filled. |
|
Sets whether only layer (and not color index) should be used when converting. This method should normally no be used. |
|
Sets the maximum error allowed when converting circles, arcs and ellipses into lines/polygons. |
|
Sets the number of subdivisions for a circle or ellipse. This overrides the value set in dxfConverter::setMaxerr() and should normally not be used
|
|
Writes the internal geometry structures to out. |