Free Electron
TwistWrapOp.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 __grass_TwistWrapOp_h__
8 #define __grass_TwistWrapOp_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Handler to wrap and twist geometry to follow bends in a curve
17 
18  @ingroup grass
19 *//***************************************************************************/
20 class FE_DL_EXPORT TwistWrapOp:
21  public OperatorThreaded,
22  public Initialize<TwistWrapOp>,
23  public ObjectSafe<TwistWrapOp>
24 {
25  public:
26 
27  TwistWrapOp(void) {}
28 virtual ~TwistWrapOp(void) {}
29 
30  void initialize(void);
31 
32  //* As HandlerI
33 virtual void handle(Record& a_rSignal);
34 
35  using OperatorThreaded::run;
36 
37 virtual void run(I32 a_id,sp<SpannedRange> a_spRange);
38 
39  private:
40 
41  sp<SurfaceAccessibleI> m_spInputAccessible;
42  sp<SurfaceAccessibleI> m_spOutputAccessible;
43  sp<SurfaceAccessibleI> m_spDriverCurves;
44  sp<SurfaceAccessibleI> m_spDeformedCurves;
45  String m_facingName;
46  String m_attachName;
47  BWORD m_badFacing;
48 };
49 
50 } /* namespace ext */
51 } /* namespace fe */
52 
53 #endif /* __grass_TwistWrapOp_h__ */
Object level locking for thread safety.
Definition: Safe.h:216
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
Handler to wrap and twist geometry to follow bends in a curve.
Definition: TwistWrapOp.h:20
Automatically reference-counted string container.
Definition: String.h:128
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53