wxArt2D
|
![]() |
Modules | |
File IO | |
Classes | |
class | a2dWalkerIOHandler |
Io handler to iterate through a a2dDocument. More... | |
class | a2dDumpWalker |
Debug handler for output the hierarchy found in a a2dDocument. More... | |
class | a2dWalker_CallMemberFunc |
perform a function on each a2dCanvasObject in the document More... | |
class | a2dWalker_CallMemberFuncW |
perform a function on each a2dCanvasObject in the document More... | |
class | a2dWalker_SetAvailable |
set layers available in a2dCanvasView as found in document More... | |
class | a2dWalker_RemoveProperty |
Remove from a2dObject in a hierarchy, certain properties. More... | |
class | a2dWalker_RemovePropertyCandoc |
Remove from property in a hierarchy of a canvas document. More... | |
class | a2dWalker_FilterCanvasObjects |
document walking to select a2dCanvasObject by filtering against several constraints. More... | |
class | a2dWalker_CollectCanvasObjects |
collect a2dCanvasObject's in a hierarchy of a a2dCanvasDocument More... | |
class | a2dWalker_CollectCanvasObjectsSet |
collect a2dCanvasObject's in a hierarchy of a a2dCanvasDocument More... | |
class | a2dWalker_FindCanvasObject |
find a2dCanvasObjects in a hierarchy of a a2dCanvasDocument More... | |
class | a2dWalker_SetSpecificFlagsCanvasObjects |
set a2dCanvasObjects flags in a hierarchy of a a2dCanvasDocument More... | |
class | a2dWalker_SetPropertyToObject |
set a2dCanvasObjects property in a hierarchy of a a2dCanvasDocument More... | |
class | a2dWalker_SetProperty< basetype, a2dpropertyidtyped, proptype > |
set a2dObjects property in a hierarchy of a a2dDocument More... | |
class | a2dWalker_SetViewDependent |
set the a2dCanvasObject's view dependent More... | |
class | a2dWalker_SetRoot |
set the a2dCanvasObject's a2dDrawing root recursive More... | |
class | a2dWalker_MakeTree |
make the child which fit the mask/filter into a tree structure to a certain level More... | |
class | a2dWalker_RemoveHierarchy |
remove hierarchy in grouped objects More... | |
class | a2dWalker_LayerGroup |
base algorithm class to work on a2dCanvasObjects in groups of layers More... | |
class | a2dWalker_LayerCanvasObjects |
algorithm to delete a2dCanvasObjects on layers or to move, copy to other layers More... | |
class | a2dWalker_FindAndSetCorridorPath |
find the a2dcanvasObject, and set the corridor flag on the path to it. More... | |
class | a2dWalkerIOHandlerWithContext |
Walker taking iterative context into account. More... | |
class | a2dWalker_RenderLayers |
set a2dCanvasObjects check flag when in view More... | |
class | a2dWalker_FindPinsToConnect |
Find pins in view, which can connect to the given pinclass. More... | |
class | a2dWalker_SetPinsToBeginState |
Set pins in begin state after wiring up some pins. More... | |
class | a2dWalker_SetPinsToEndState |
Set pins in end state after wiring up some pins. More... | |
class | a2dWalker_GeneratePinsToConnect |
Generate pins on objects, which can connect to the given pinclass. More... | |
class | a2dWalker_GeneratePinsToConnectObject |
Generate pins on objects, and test which can connect to the given object. More... | |
class | a2dWalker_ConnectToPinsObject |
Connect objects, which can connect to the given object. More... | |
Typedefs | |
typedef const long | a2dWalkEvent |
Functions | |
virtual bool | a2dConnectionGenerator::GeneratePinsToConnectObject (a2dDrawingPart *part, a2dCanvasObject *root, a2dCanvasObject *connectObject, a2dPinClass *pinClassToConnectTo=NULL, a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::VISIBLE) |
Generate pins on objects, and test which can connect to the given object. More... | |
Algorithms on hierarchy in a2dDocument, using a2dWalkerIOHandler as base.
typedef const long a2dWalkEvent |
a2dDocument object traversing via design visitor pattern
|
virtual |
Generate pins on objects, and test which can connect to the given object.
Pins in the given canvas object are tested for possible connection to pins on other objects. Meaning if pins of other objects are at the same position as a pin of the given object, a test done, to see if a connection can be made. The connection is not made yet, it is only an indication that connection is possible. This is done by setting the rendering mode for those pins different. The will automatically be re-rendered in idle time.
Some canvas objects can create pins automatically. If the pins of the given object, hit another objects, and it can generate pins automatically, this will be done first. Next a connection test on those pins is made. The generated pins are temporary, and if no connection is made, they will be deleted in idle time.
Definition at line 2208 of file connectgen.cpp.