a2dWalker_LayerGroup Class Reference
[Algorithms on hierarchy in a2dDocument]

base algorithm class to work on a2dCanvasObjects in groups of layers More...

#include <algos.h>

Inheritance diagram for a2dWalker_LayerGroup:

Inheritance graph
[legend]
Collaboration diagram for a2dWalker_LayerGroup:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dWalker_LayerGroup (a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL)
 constructor with no a2dPropertyId added yet. For that use AddPropertyId()
 a2dWalker_LayerGroup (const a2dPropertyId *id, a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL)
 constructor with a2dPropertyId added to the propertyIsList to search for.
 a2dWalker_LayerGroup (const a2dPropertyIdList &idList, a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL)
 constructor with the propertyIdList to search for as input
 ~a2dWalker_LayerGroup ()
 destructor
void Initialize ()
 used from constructor
bool Start (a2dCanvasObject *object)
 start at this object
void SetGroupA (const a2dLayerGroup &groupA)
 objects on layers in group A will be used as first operand
void SetGroupB (const a2dLayerGroup &groupB)
 objects on layers in group B will be used as first operand
void SetTarget (wxUint16 targetlayer)
 set the layer where the result will be placed
void SetSelectedOnlyA (bool selectedOnlyA)
 set selectedOnlyA in group operations
bool GetSelectedOnlyA ()
 get selectedOnlyA in group operations
void SetSelectedOnlyB (bool selectedOnlyB)
 set selectedOnlyB in group operations
bool GetSelectedOnlyB ()
 get selectedOnlyB in group operations

Protected Attributes

a2dLayerGroup m_groupA
 group A layers operand
a2dLayerGroup m_groupB
 group B layers operand
wxUint16 m_target
 result into this layer
bool m_selectedOnlyA
 work only on selected object in group A
bool m_selectedOnlyB
 work only on selected object in group B


Detailed Description

base algorithm class to work on a2dCanvasObjects in groups of layers

groupA and groupB are filled with layer numbers.

a2dCanvasObjects with the flag a2dCanvasOFlags::m_ignoreLayer set, will be ignored here.

Definition at line 724 of file algos.h.


The documentation for this class was generated from the following files:
a2dWalker_LayerGroup Class Reference -- Tue Aug 31 18:37:22 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation