14#ifndef EGGTODXFLAYER_H
15#define EGGTODXFLAYER_H
32 EggToDXFLayer(
const EggToDXFLayer ©);
33 void operator = (
const EggToDXFLayer ©);
44 int get_autocad_color(
const LColor &color);
46 typedef pmap<int, int> ColorCounts;
47 ColorCounts _color_counts;
54typedef pvector<EggToDXFLayer> EggToDXFLayers;
A base class for nodes in the hierarchy that are not leaf nodes.
void write_polyline(EggPolygon *poly, std::ostream &out)
Writes a polygon as a POLYLINE entity.
void write_entities(std::ostream &out)
Writes out the "entities", e.g.
void write_3d_face(EggPolygon *poly, std::ostream &out)
Writes a polygon as a 3DFACE entity.
void write_layer(std::ostream &out)
Writes the layer definition into the table at the beginning of the DXF file.
void add_color(const LColor &color)
Records that one polygon is defined using the indicated color.
void choose_overall_color()
After all polygons have been accounted for, chooses the polygon color that occurred most often as the...
A program to read an egg file and write a DXF file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.