FLImaging 6.5.8.1
SNAPFeatureFigureRotateElementwise.h
1#pragma once
2
3#include "SNAPFeatureBase.h"
4
5
6namespace FLImaging
7{
8 namespace GUI
9 {
10 class FL_EXPORT CSNAPFeatureFigureRotateElementwise : public CSNAPFeatureBase
11 {
12 SupportToDuplicateObject(CSNAPFeatureFigureRotateElementwise, *this);
13
14 public:
15 CSNAPFeatureFigureRotateElementwise();
16 CSNAPFeatureFigureRotateElementwise(const CSNAPFeatureFigureRotateElementwise& rhs);
17 CSNAPFeatureFigureRotateElementwise(const CSNAPFeatureFigureRotateElementwise* pRhs);
18 virtual ~CSNAPFeatureFigureRotateElementwise();
19
20 virtual const CResult Assign(const CSNAPFeatureFigureRotateElementwise& rhs);
21 virtual const CResult Assign(const CSNAPFeatureFigureRotateElementwise* 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 SetCenterType(Foundation::ECenterType eCenterType);
32 virtual Foundation::ECenterType GetCenterType() const;
33
34 virtual const Foundation::CFLFigureArray* GetResultFigure() const;
35
36 virtual const CResult Execute();
37
38 DeclareGetClassType();
39
40 public:
41 static Foundation::ECenterType ConvertCenterType(Base::CFLString<wchar_t> flsCenterType);
42 static Base::CFLString<wchar_t> ConvertCenterType(Foundation::ECenterType eCenterType);
43
44 protected:
45 static Base::CFLString<wchar_t> m_arrFlsCenterType[Foundation::g_i32GlobalCountOfECenterType];
46
47 Foundation::CFLFigure* m_pFlfSource;
48 double m_f64Angle;
49 Foundation::ECenterType m_eCenterType;
50
51 Foundation::CFLFigureArray* m_pFlfaResult;
52 };
53 }
54}
55
@ Assign
CGUIPropertyItemView3DFigure 의 값을 해당 도형으로 설정하는 함수