Free Electron
MirrorOp.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_MirrorOp_h__
8 #define __operator_MirrorOp_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Copy points across an axis
17 
18  @ingroup operator
19 *//***************************************************************************/
20 class FE_DL_EXPORT MirrorOp:
21  public OperatorThreaded,
22  public Initialize<MirrorOp>
23 {
24  public:
25 
26  MirrorOp(void) {}
27 virtual ~MirrorOp(void) {}
28 
29  void initialize(void);
30 
31  //* As HandlerI
32 virtual void handle(Record& a_rSignal);
33 
34  using OperatorThreaded::run;
35 
36 virtual void run(I32 a_id,sp<SpannedRange> a_spRange);
37 
38  private:
39 
40  sp<SurfaceAccessibleI> m_spInputAccessible;
41  sp<SurfaceI> m_spDriver;
42 
43  Array<String> m_partitionOf;
44  Array<I32> m_shouldDelete;
45  Array<I32> m_shouldMirror;
46  Array<SpatialVector> m_mirrorOf;
47 
48  Array<String> m_deletePatternArray;
49  Array<String> m_mirrorPatternArray;
50  BWORD m_deletingParts;
51  BWORD m_mirroringParts;
52 
53  I32 m_mirrorAxis;
54  String m_lastPartitionAttr;
55 };
56 
57 } /* namespace ext */
58 } /* namespace fe */
59 
60 #endif /* __operator_MirrorOp_h__ */
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
Copy points across an axis.
Definition: MirrorOp.h:20
Automatically reference-counted string container.
Definition: String.h:128
Wrapper for std::vector.
Definition: Array.h:21
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53