#include <algos.h>


Public Types | |
| typedef long | Operation |
Public Member Functions | |
| a2dWalker_LayerCanvasObjects (a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL) | |
| constructor with no a2dPropertyId added yet. For that use AddPropertyId() | |
| a2dWalker_LayerCanvasObjects (const a2dPropertyId *id, a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL) | |
| constructor with a2dPropertyId added to the propertyIsList to search for. | |
| a2dWalker_LayerCanvasObjects (const a2dPropertyIdList &idList, a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL) | |
| constructor with the propertyIdList to search for as input | |
| ~a2dWalker_LayerCanvasObjects () | |
| destructor | |
| void | Initialize () |
| used from constructor | |
| virtual bool | WalkTask (wxObject *parent, wxObject *object, a2dWalkEvent event) |
| called from within a2dCanvasDocument | |
| void | SetOperation (Operation operation) |
| set type of operation | |
| void | SetRadiusMin (double radiusMin) |
| Polygon/polyline to Arc Minimum radius to test. | |
| void | SetRadiusMax (double radiusMax) |
| Polygon/polyline to Arc Maximum radius to test. | |
| void | SetAberPolyToArc (double aber) |
| Polygon/polyline to Arc Maximum abberation. | |
| void | SetDetectCircle (bool detectCircle) |
| bool | GetDetectCircle () |
| see SetDetectCircle | |
| double | GetCalculatedArea () |
| in areaLayers returns calculated area sofar. | |
Static Public Attributes | |
| static const long | moveLayers = wxGenNewId() |
| move layers to target | |
| static const long | copyLayers = wxGenNewId() |
| copy layers to target | |
| static const long | deleteLayers = wxGenNewId() |
| delete layers | |
| static const long | ConvertToArcs = wxGenNewId() |
| convert segments in polygon/polyline objects in group A to Arcs where possible | |
| static const long | ConvertToPolygonPolylinesWithArcs = wxGenNewId() |
| convert to simple polygons and polylines preserve arcs | |
| static const long | ConvertToPolygonPolylinesWithoutArcs = wxGenNewId() |
| convert to simple polygons and polylines | |
| static const long | ConvertPolygonToArcs = wxGenNewId() |
| convert segments in polygon/polyline with width objects in group A to Arcs where possible | |
| static const long | ConvertPolylineToArcs = wxGenNewId() |
| convert segments in polyline objects in group A to Arcs where possible | |
| static const long | ConvertToVPaths = wxGenNewId() |
| convert shapes to vector paths | |
| static const long | ConvertLinesArcs = wxGenNewId() |
| convert shapes to seperate lines and arcs | |
| static const long | ConvertToPolylines = wxGenNewId() |
| convert shapes to polylines even if polygons | |
| static const long | RemoveRedundant = wxGenNewId() |
| remove redundant segment | |
| static const long | areaLayers = wxGenNewId() |
| calculate area of objects | |
Protected Member Functions | |
| void | AddArea (a2dCanvasObject *getAsPolyObject) |
Protected Attributes | |
| double | m_radiusMin |
| Polygon/polyline to Arc Minimum radius to test. | |
| double | m_radiusMax |
| Polygon/polyline to Arc Maximum radius to test. | |
| double | m_AberPolyToArc |
| Polygon/polyline to Arc Maximum abberation. | |
| bool | m_detectCircle |
| double | m_calculatedArea |
| Operation | m_operation |
| id for operation | |
groupA and groupB are filled with layer numbers. Next one calls a valid operation, which is can be:
a2dCanvasObjects with the flag a2dCanvasOFlags::m_ignoreLayer set, will be ignored here.
Definition at line 797 of file algos.h.
| void a2dWalker_LayerCanvasObjects::SetDetectCircle | ( | bool | detectCircle | ) | [inline] |