Streams NDEVR Geometry entities as CAD objects.
More...
|
| | CADGeometryWriter (DXFWriter &writer, FactoryParameters ¶ms) |
| | Constructs a geometry writer with the given DXF writer and parameters.
|
| Vertex< 3, fltp08 > & | CleanupDXFVertex (Vertex< 3, fltp08 > &vert) |
| | Cleans up a vertex for DXF output, clamping near-zero values.
|
| void | fillOutData (EntityData &data) |
| | Fills out common entity data fields from the current state.
|
|
void | onShapeWritten () |
| | Called after each shape is written to update progress.
|
| void | setup (const Model &m, const Geometry &geo) |
| | Sets up the writer for a specific model and geometry pair.
|
|
void | writeAs3DFace () |
| | Writes the current geometry as DXF 3DFACE entities.
|
|
void | writeAsLines () |
| | Writes the current geometry as DXF line entities.
|
|
void | writeAsMesh () |
| | Writes the current geometry as a DXF MESH entity.
|
|
void | writeAsPointData () |
| | Writes the current geometry as DXF point entities.
|
|
void | writeAsPolyline () |
| | Writes the current geometry as DXF polyline entities.
|
|
void | writeAsTriangleLines () |
| | Writes triangle geometry as line segments.
|
|
void | writeGeometry () |
| | Writes the current geometry using the most appropriate DXF entity type.
|
|
|
DXFEntityCodes | default_mesh_output = DXFEntityCodes::e_dxf_ENTITY_3DFACE |
| | Default entity type for mesh output.
|
|
Geometry | geometry |
| | The current Geometry being written.
|
|
bool | has_solid_color = true |
| | Whether the geometry has a single solid color.
|
|
String | layer_name |
| | The DXF layer name for the current entity.
|
|
Material | material |
| | The current Material being written.
|
|
Model | model |
| | The current Model being written.
|
|
CADColorInfo | model_color_info |
| | Color information for the current model.
|
|
Matrix< fltp08 > | model_transform |
| | The model-level transformation matrix.
|
|
uint04 | num_of_shapes |
| | Total number of shapes to write.
|
|
FactoryParameters & | params |
| | The factory parameters for the current export operation.
|
|
uint04 | parent_handle |
| | The handle of the parent entity.
|
|
uint04 | shapes_written |
| | Number of shapes written so far.
|
|
Matrix< fltp08 > | transform |
| | The accumulated transformation matrix.
|
|
DXFWriter & | writer |
| | The DXF writer used for output.
|
Streams NDEVR Geometry entities as CAD objects.
Definition at line 25 of file CADGeometryWriter.h.
◆ CADGeometryWriter()
Constructs a geometry writer with the given DXF writer and parameters.
- Parameters
-
| [in] | writer | The DXF writer for output. |
| [in] | params | The factory parameters. |
References params, and writer.
◆ CleanupDXFVertex()
Cleans up a vertex for DXF output, clamping near-zero values.
- Parameters
-
| [in] | vert | The vertex to clean. |
- Returns
- A reference to the cleaned vertex.
◆ fillOutData()
| void CADGeometryWriter::fillOutData |
( |
EntityData & | data | ) |
|
Fills out common entity data fields from the current state.
- Parameters
-
| [in] | data | The entity data to populate. |
◆ setup()
| void CADGeometryWriter::setup |
( |
const Model & | m, |
|
|
const Geometry & | geo ) |
Sets up the writer for a specific model and geometry pair.
- Parameters
-
| [in] | m | The model to write. |
| [in] | geo | The geometry to write. |
The documentation for this class was generated from the following file: