3731820c48
The values of StaticPrintConfig derived objects were searched by a name walking through a huge chained if. Now they are being mapped with a std::map. Also initialization of StaticPrintConfig classes from their ConfigOptionDef defaults is done by maintaining a single global definition of each StaticPrintConfig derived class, and a new instance is initialized from this static copy. Also the ConfigOption instances are casted using static_cast wherever possible, and their types are verified by a virtual type() method. This approach avoids insiginificant performance penalty of a dynamic_cast. Also the compare and clone methods were added to ConfigOption, and the cloning & compare work on binary values, not by serialization. |
||
---|---|---|
.. | ||
BoundingBox.xsp | ||
BridgeDetector.xsp | ||
Clipper.xsp | ||
Config.xsp | ||
ExPolygon.xsp | ||
ExPolygonCollection.xsp | ||
ExtrusionEntityCollection.xsp | ||
ExtrusionLoop.xsp | ||
ExtrusionMultiPath.xsp | ||
ExtrusionPath.xsp | ||
ExtrusionSimulator.xsp | ||
Filler.xsp | ||
Flow.xsp | ||
GCode.xsp | ||
GCodeSender.xsp | ||
Geometry.xsp | ||
GUI_3DScene.xsp | ||
GUI_Preset.xsp | ||
GUI.xsp | ||
Layer.xsp | ||
Line.xsp | ||
Model.xsp | ||
MotionPlanner.xsp | ||
my.map | ||
mytype.map | ||
PerimeterGenerator.xsp | ||
PlaceholderParser.xsp | ||
Point.xsp | ||
Polygon.xsp | ||
Polyline.xsp | ||
PolylineCollection.xsp | ||
Print.xsp | ||
Surface.xsp | ||
SurfaceCollection.xsp | ||
TriangleMesh.xsp | ||
typemap.xspt | ||
XS.xsp |