FLImaging 6.11.25.2
StlWriter.h
1#pragma once
2
8
9#include "FL3DObject.h"
10
12namespace FLImaging
13{
15 namespace Foundation
16 {
17 class CInternalStlWriter;
18
24 class FL_EXPORT CStlWriter : public Base::CFLBase
25 {
26 public:
27
28 enum EFormat
29 {
30 EFormat_Ascii = 0,
31 EFormat_Binary_Little_Endian,
32 };
33
39
44 CStlWriter(const CStlWriter& StlWriter);
45
50 CStlWriter(const CStlWriter* pStlWriter);
51
56 virtual ~CStlWriter();
57
71 virtual const CResult Assign(const CStlWriter& StlWriter);
72
86 virtual const CResult Assign(const CStlWriter* pStlWriter);
87
99 const CStlWriter& operator=(const CStlWriter& StlWriter);
100
112 virtual const CResult Clear();
113
114
130 virtual const CResult Set3DObject(const CFL3DObject& fl3DObject);
131
147 virtual const CResult Set3DObject(const CFL3DObject* pFl3DObject);
148
160 virtual const CFL3DObject* Get3DObject() const;
161
162
178 virtual const CResult SetFormat(EFormat eFormat = EFormat_Ascii);
179
195 virtual const CResult Save(const Base::CFLString<wchar_t>& strFileName);
196
197
198
199
200 virtual bool IsLicenseAvailable() const override;
201
202
203 SupportToDuplicateObject(CStlWriter, *this);
204 DeclareGetClassType();
205
206 protected:
207
208 CInternalStlWriter* m_pInternal;
209 };
210 }
211}
Top-level base class of FLImaging.
Definition FLBase.h:36
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition ResultsDef.h:1631
A class representing 3D object data.
Definition FL3DObject.h:42
virtual const CResult Assign(const CStlWriter *pStlWriter)
virtual const CFL3DObject * Get3DObject() const
virtual const CResult SetFormat(EFormat eFormat=EFormat_Ascii)
virtual const CResult Assign(const CStlWriter &StlWriter)
CStlWriter(const CStlWriter *pStlWriter)
CStlWriter(const CStlWriter &StlWriter)
virtual const CResult Set3DObject(const CFL3DObject &fl3DObject)
virtual const CResult Set3DObject(const CFL3DObject *pFl3DObject)
virtual bool IsLicenseAvailable() const override
Returns whether the algorithm can be used with the current license.
virtual const CResult Clear()
const CStlWriter & operator=(const CStlWriter &StlWriter)
virtual const CResult Save(const Base::CFLString< wchar_t > &strFileName)
Definition AlgorithmBase.h:16