Free Electron
SpineFitOp.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_SpineFitOp_h__
8 #define __grass_SpineFitOp_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 SpineFitOp:
21  public OperatorSurfaceCommon,
22  public Initialize<SpineFitOp>
23 {
24  public:
25 
26  SpineFitOp(void) {}
27 virtual ~SpineFitOp(void) {}
28 
29  void initialize(void);
30 
31  //* As HandlerI
32 virtual void handle(Record& a_rSignal);
33 
34 static Real nearestPointOnCurve(const SpatialVector a_point,
35  const sp<SurfaceAccessorI> a_spCurves,
36  const I32 a_index);
37 
38  private:
39  sp<DrawMode> m_spDebugGroup;
40 };
41 
42 } /* namespace ext */
43 } /* namespace fe */
44 
45 #endif /* __grass_SpineFitOp_h__ */
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Partial Generic SurfaceI Implemention.
Definition: OperatorSurfaceCommon.h:20
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Handler to wrap and twist geometry to follow bends in a curve.
Definition: SpineFitOp.h:20
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53