FLImaging 6.5.8.1
SNAPFeatureFigureRotate.h
1#pragma once
2
3#include "SNAPFeatureBase.h"
4
5
6namespace FLImaging
7{
8 namespace GUI
9 {
10 class FL_EXPORT CSNAPFeatureFigureRotate : public CSNAPFeatureBase
11 {
12 SupportToDuplicateObject(CSNAPFeatureFigureRotate, *this);
13
14 public:
15 CSNAPFeatureFigureRotate();
16 CSNAPFeatureFigureRotate(const CSNAPFeatureFigureRotate& rhs);
17 CSNAPFeatureFigureRotate(const CSNAPFeatureFigureRotate* pRhs);
18 virtual ~CSNAPFeatureFigureRotate();
19
20 virtual const CResult Assign(const CSNAPFeatureFigureRotate& rhs);
21 virtual const CResult Assign(const CSNAPFeatureFigureRotate* pRhs);
22
23 virtual const CResult Clear() override;
24
25 virtual const CResult SetSourceFigure(const Foundation::CFLFigure* pFlfSource);
26 virtual const Foundation::CFLFigure* GetSourceFigure() const;
27
28 virtual const CResult SetAngle(double f64Angle);
29 virtual double GetAngle() const;
30
31 virtual const CResult SetPivot(const Foundation::CFLFigure* pFlfPivot);
32 virtual const CResult SetPivotX(double f64X);
33 virtual const CResult SetPivotY(double f64Y);
34 virtual const Foundation::CFLPoint<double>* GetPivot() const;
35 virtual const CResult ClearPivot();
36
37 virtual const Foundation::CFLFigure* GetResultFigure() const;
38
39 virtual const CResult Execute();
40
41 DeclareGetClassType();
42
43 protected:
44 Foundation::CFLFigure* m_pFlfSource;
45 double m_f64Angle;
46 Foundation::CFLPoint<double>* m_pFlpPivot;
47
48 Foundation::CFLFigure* m_pFlfResult;
49 };
50 }
51}
52
@ Assign
Set the value of CGUIPropertyItemView3DFigure to the specified figure.
@ Clear
Clear all the figure objects.