Free Electron
GroupOp.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __operator_GroupOp_h__
8 #define __operator_GroupOp_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Manipulate point and primitive groups
17 
18  @ingroup operator
19 *//***************************************************************************/
20 class FE_DL_EXPORT GroupOp:
21  public OperatorThreaded,
22  public Initialize<GroupOp>
23 {
24  public:
25  GroupOp(void) {}
26 virtual ~GroupOp(void) {}
27 
28  void initialize(void);
29 
30  //* As HandlerI
31 virtual void handle(Record& a_rSignal);
32 
33  using OperatorThreaded::run;
34 
35 virtual void run(I32 a_id,sp<SpannedRange> a_spRange);
36 
37  private:
38  void groupElement(I32 a_index);
39  void groupElement(sp<SurfaceAccessorI>& a_rspElementPosition,
40  sp<SurfaceAccessorI>& a_rspElementAttribute,
41  I32 a_index);
42 
43  sp<SurfaceAccessibleI> m_spOutputAccessible;
44  sp<SurfaceI> m_spBounds;
45  String m_shape;
46  String m_combine;
47  String m_defaultGroup;
48  BWORD m_doPrimitive;
49  BWORD m_combined;
50 
51  std::vector<String> m_groupAssignment;
52 };
53 
54 } /* namespace ext */
55 } /* namespace fe */
56 
57 #endif /* __operator_GroupOp_h__ */
58 
Handler to move curves away from a collider.
Definition: OperatorThreaded.h:20
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Automatically reference-counted string container.
Definition: String.h:128
Manipulate point and primitive groups.
Definition: GroupOp.h:20
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53