#pragma once

#include <cmath>
#include <map>
#include <string>
#include <vector>
#define EXPORT_PYTHON 
/**
	@file CloApiData.h
	@brief Pre defined Enumerator and option classes / structures
*/
namespace Marvelous
{
	/// @enum TEXTURE_SAVE_METHOD
	/// @brief Do Not Use this in CLO API/SDK side. This enumerator represents the "Texture" comobobox index for "Export Fbx" feature
	enum TEXTURE_SAVE_METHOD
	{
		RELATIVE_PATH,
		ABSOLUTE_PATH,
		SAVE_WITH_TEXTURE,
		EMBED_MEDIA
	};

	/// @enum WELD_TYPE
	/// @brief Weld type to export meshes. WELDED - merge meshes on seamlines, UNWELDED - as-is
	enum WELD_TYPE
	{
		EXPORT_PYTHON FULLY_UNWELDED = 0, /// UNWELDED for all seamlines
		EXPORT_PYTHON DEFAULT_WELDED = 1, /// deprecated, but DO NOT REMOVE.
		EXPORT_PYTHON FULLY_WELDED = 2,	/// WELDED for all seamlines
		EXPORT_PYTHON SELECTED_WELDED = 3 /// WELDED for selected seamlines
	};

	enum ALEMBIC_TYPE
	{
		ALEMBIC_OGAWA = 0,
		ALEMBIC_HDF5 = 1,
		ALEMBIC_MAX = 2
	};

	struct WindControllerOptions
	{
		EXPORT_PYTHON bool bWindActive;
		EXPORT_PYTHON int windType;
		EXPORT_PYTHON float strength;
		EXPORT_PYTHON float decay;
		EXPORT_PYTHON float frequency;
		EXPORT_PYTHON float turbulence;
		EXPORT_PYTHON float x;
		EXPORT_PYTHON float y;
		EXPORT_PYTHON float z;
		EXPORT_PYTHON float rotationX;
		EXPORT_PYTHON float rotationY;
		EXPORT_PYTHON float rotationZ;


		WindControllerOptions()
		{
			bWindActive = false;
			windType = 0;
			strength = 0.f;
			decay = 0.f;
			frequency = 0.f;
			turbulence = 0.f;
			x = 0.f;
			y = 0.f;
			z = 0.f;
			rotationX = 0.f;
			rotationY = 0.f;
			rotationZ = 0.f;
		}
	};

	struct AlembicUnit
	{
		EXPORT_PYTHON float MEASURE_UNIT_MM;
		EXPORT_PYTHON float MEASURE_UNIT_CM;
		EXPORT_PYTHON float MEASURE_UNIT_INCH;
		EXPORT_PYTHON float MEASURE_UNIT_FEET;
		EXPORT_PYTHON float MEASURE_UNIT_M;
		EXPORT_PYTHON float MEASURE_UNIT_8_FEET;
		EXPORT_PYTHON float MEASURE_UNIT_8_6_FEET;
		EXPORT_PYTHON float MEASURE_UNIT_AUTO;

		AlembicUnit()
		{
			MEASURE_UNIT_MM = 0.01f;
			MEASURE_UNIT_CM = 0.1f;
			MEASURE_UNIT_INCH = 0.254f;
			MEASURE_UNIT_FEET = 3.0480f;
			MEASURE_UNIT_M = 10.0f;
			MEASURE_UNIT_8_FEET = 24.3840f;
			MEASURE_UNIT_8_6_FEET = 26.2128f;
			MEASURE_UNIT_AUTO = 0.01f;
		}

	};

	/// @class ImportExportOption
	/// @brief Options for Export OBJ and Export GLTF as parameters without dialogs in CLO API
	class ImportExportOption
	{
	public:

		/////////////////////////
		// Export OBJ / GLTF
		EXPORT_PYTHON bool bExportGarment; /// true : Export Garment (Cloth Meshes)
		EXPORT_PYTHON bool bExportAvatar;  /// true : Export Avatar (Avatar Meshes)

		EXPORT_PYTHON bool bSingleObject;  /// true : OBJ single object, false : OBJ multiple object
		EXPORT_PYTHON WELD_TYPE weldType;  /// FULLY_UNWELDED : unweld, FULLY_WELDED : weld, SELECTED_WELDED : Weld selected patterns in workspace, DEFAULT_WELDED : Do not use!!!

		EXPORT_PYTHON bool bThin;          /// if true, export the garment as thin mesh. Otherwise, export it as thick mesh.

		EXPORT_PYTHON bool bUnifiedUVCoordinates;   	  /// [Deprecated] - Please use bClothUnifiedUVCoordinates and bAvatarUnifiedUVCoordinates instead.
		EXPORT_PYTHON bool bCreateUnifiedTexture;   	  /// [Deprecated]
		EXPORT_PYTHON float unifiedTextureSize;     	  /// true: (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are true) The size of unified texture (pixels). Texture will be created in square.
		
		EXPORT_PYTHON int unifiedTextureFillSeamSize; 	  /// true: (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are true) Fill texture seam size in pixels.
		EXPORT_PYTHON bool bUseInifinteSeams; 		/// true: (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are true) Use infinite fill texture seam size.

		EXPORT_PYTHON float unifiedTextureBakeMargin;   /// true: (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are true) The margin of the baked texture in the image canvas
		EXPORT_PYTHON bool unifiedTextureBakeRelateive; /// true: (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are true)

		EXPORT_PYTHON bool bUnifiedDiffuseMap;		  /// false: (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are true) export diffuse map baked in the unified uv
		EXPORT_PYTHON bool bUnifiedNormalMap; 		  /// false: (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are true) export normal map baked in the unified uv
		EXPORT_PYTHON bool bUnifiedMetalnessMap;		  /// false: (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are true) export metalness map baked in the unified uv
		EXPORT_PYTHON bool bUnifiedRoughnessMap;		  /// false: (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are true) export roughness map baked in the unified uv
		EXPORT_PYTHON bool bUnifiedOpacityMap;		  /// false: (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are true) export opacity map baked in the unified uv
		EXPORT_PYTHON bool bUnifiedDisplacementMap;	  /// false: (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are true) export displacement map baked in the unified uv
		
		EXPORT_PYTHON bool bIncludeHiddenObject; 		  /// if true, export all the pattern meshes include 'hidden pattern meshes on 3D' to OBJ
		EXPORT_PYTHON bool bIncludeInnerShape;		  /// If true, export geometries of internal lines to ease the picking the internal lines in external modeling tools such as Maya and 3ds Max.

		EXPORT_PYTHON float scale; 					  /// how to scale the object created in CLO when exporting. The default unit of CLO is millimeters for obj/fbx(mm) and gltf(m)
					 					  /// use 0.001 for gltf in default 

		EXPORT_PYTHON int axisX; /// the index of the axis which the X axis will be converted to. If you don't want axis conversion, set this value as "0"
		EXPORT_PYTHON int axisY; /// the index of the axis which the Y axis will be converted to. If you don't want axis conversion, set this value as "1"
		EXPORT_PYTHON int axisZ; /// the index of the axis which the Z axis will be converted to. If you don't want axis conversion, set this value as "2"
		EXPORT_PYTHON bool bInvertX; /// invert the axis which the X axis will be converted to
		EXPORT_PYTHON bool bInvertY; /// invert the axis which the Y axis will be converted to
		EXPORT_PYTHON bool bInvertZ; /// invert the axis which the Z axis will be converted to

		EXPORT_PYTHON bool bSaveColorWays; /// if true, export for all the colorways.

		EXPORT_PYTHON bool bSaveInZip; 		/// If true, export as a zipped file with textures. It will output a single zipped file(.zip), not separated files.
		EXPORT_PYTHON bool bDiffuseColorCombined; /// if true, the texture will be exported after being combined with diffuse color	
		EXPORT_PYTHON bool bExcludeAmbient; /// if true, exclude ambient map and color in MTL files.
		EXPORT_PYTHON bool bOpacityMap; 	  /// if true, generate an opacity map by extracting alpha channel from diffuse map
		EXPORT_PYTHON bool bMetaData;   	  /// export meta data
		EXPORT_PYTHON bool bSizeAndPoseFromAvatar;
						  	  // end of Export OBJ
						  	  /////////////////////////

		/////////////////////////
		//	for glTF export only
		EXPORT_PYTHON bool bEmbedded;				/// for embedded-gltf export option
		EXPORT_PYTHON bool bExportLight;			/// export light information in gltf
		EXPORT_PYTHON bool bExportFabric;			/// true : Export Fabric (Fabric information)
		EXPORT_PYTHON bool bSaveColorWaysSingleFile;	/// true : export gltf with KHR_materials_variants extension (affect when bSaveColorWays is true)

					 	  	  /////////////////////////
					 	  	  //	for FBX export only (These options are not available on CLO API)
		bool bAscii; 		  /// fbx ascii or binary
		EXPORT_PYTHON int  fbxSdkVersion;   /// 0 : 2020, 1: 2019, 2: 2018, 3: 2016/2017, 4: 2014/2015, 5: 2013, 6: 2012
		TEXTURE_SAVE_METHOD textureSaveMethod; /// 0: Relative Path, 1: Absolute Path, 2: Save with textures(in Zip file), 3: Embed Media
		bool bIncludeSceneProp;

		/////////////////////////
		// for vertex cache only (These options are not available on CLO API)
		float timeScale;  	 /// The index of the axis which the X axis will be converted to. If you don't want axis conversion, set this value as "0"
		unsigned int fps; 	 /// FPS to import/export vertex cache 

		bool m_bWeldTurnedSewingLines;

	  	/////////////////////////
	  	// for Alembic only (These options are not available on CLO API)
		float anim_step;
		bool bExportShutterSpeed;
		float shutter_low;
		float shutter_high;
		bool m_bExportStrainColorMap;
		bool m_bExportStressColorMap;
		ALEMBIC_TYPE m_alembicType;

		/////////////////////////
		// for ZBrush, Alembic only (These options are not available on CLO API)
		EXPORT_PYTHON bool bIncludeAvatarShape;

		bool bIncludeSkeleton;

		EXPORT_PYTHON std::string m_AuthenticationKeyForAPI; /// For Alvanon to use extended functionalies in CLO API/SDK

		EXPORT_PYTHON int ImportObjectType; /// import file type. 0 : Avatar, 1: Trim, 2 : Garment

		EXPORT_PYTHON bool bAutoTranslate; /// If true, allign bottom to ground
		EXPORT_PYTHON bool bCreateCamera; /// If true, create object camera
		EXPORT_PYTHON bool bCreateAvatarJointAnimation; /// If true, create object avatar joint animation
		EXPORT_PYTHON bool bCreateAvatarCacheAnimation; /// If true, create object avatar cache animation
		EXPORT_PYTHON bool bCreateClothCacheAnimation; /// If true, create cloth cache animation
		EXPORT_PYTHON bool bMoveGarment; /// If true, move garment to start position
		EXPORT_PYTHON bool bAddArrangementPoints; /// If true, auto add arrangement points
		EXPORT_PYTHON bool bAutoCreateFittingSuit; /// If true, auto create fitting suit
		EXPORT_PYTHON bool bAdd; /// If true, set load type as add


		EXPORT_PYTHON float translationValueX;		/// set x-offset value per the position-value in 3D Window for Avatar/Garment (left - right) unit (mm)
		EXPORT_PYTHON float translationValueY;		/// set y-offset value per the position-value in 3D Window for Avatar/Garment (up - down) unit (mm)		
		EXPORT_PYTHON float translationValueZ;		/// set z-offset value per the position-value in 3D Window for Avatar/Garment (monitor - user) unit (mm)
	
		EXPORT_PYTHON bool bTrace2DPatternsUVMap;	/// If true, set load type for trace 2d patterns from uv map

		EXPORT_PYTHON bool bCreateMetallicRoughnessMap;	/// true : (In case bClothUnifiedUVCoordinates or bAvatarUnifiedUVCoordinates are false) export metallic-roughness map baked using diffuse alpha value (only in gltf)

		EXPORT_PYTHON bool bClothUnifiedUVCoordinates;   	  /// flag for Cloth Unified UV Coordinates
		EXPORT_PYTHON bool bAvatarUnifiedUVCoordinates;   	  /// flag for Avatar Unified UV Coordinates

		ImportExportOption()
		{
			bExportGarment = true;
			bExportAvatar = true;

			bSingleObject = false;
			weldType = FULLY_UNWELDED;

			bThin = true;

			bUnifiedUVCoordinates = false;
			bCreateUnifiedTexture = false;
			unifiedTextureSize = 2048.0f;
			unifiedTextureFillSeamSize = 10;
			bUseInifinteSeams = false;
			bUnifiedDiffuseMap = false;
			bUnifiedNormalMap = false;
			bUnifiedMetalnessMap = false;
			bUnifiedRoughnessMap = false;
			bUnifiedOpacityMap = false;
			bUnifiedDisplacementMap = false;
			bSizeAndPoseFromAvatar = true;

			unifiedTextureBakeRelateive = true;
			unifiedTextureBakeMargin = 0.01f;

			bIncludeHiddenObject = false;
			bIncludeInnerShape = false;

			scale = 1.0f;

			axisX = 0;
			axisY = 1;
			axisZ = 2;
			bInvertX = false;
			bInvertY = false;
			bInvertZ = false;

			bSaveColorWays = false;

			bSaveInZip = false;
			bDiffuseColorCombined = false;
			bExcludeAmbient = false;
			bOpacityMap = false;
			bMetaData = false;

			bEmbedded = false; 
			bExportLight = false;
			bExportFabric = false;

			////
			bAscii = false;
			fbxSdkVersion = 0;
			textureSaveMethod = RELATIVE_PATH;

			anim_step = 1.0f;
			bExportShutterSpeed = false;
			shutter_low = 0.0f;
			shutter_high = 0.0f;
			m_bExportStrainColorMap = false;
			m_bExportStressColorMap = false;
			m_alembicType = ALEMBIC_TYPE::ALEMBIC_OGAWA;

			bIncludeAvatarShape = true;
			bIncludeSkeleton = true;
			bIncludeSceneProp = true;
			//
			timeScale = 1.0f;
			fps = 30;

			ImportObjectType = 0;
			bAutoTranslate = false;
			bCreateCamera = false;
			bCreateAvatarJointAnimation = false;
			bCreateAvatarCacheAnimation = false;
			bCreateClothCacheAnimation = false;
			bMoveGarment = false;
			bAddArrangementPoints = false;
			bAutoCreateFittingSuit = false;
			bAdd = false;
			translationValueX = 0.0f;
			translationValueY = 0.0f;
			translationValueZ = 0.0f;
			bTrace2DPatternsUVMap = false;

			bCreateMetallicRoughnessMap = false;
			m_bWeldTurnedSewingLines = true;

			bClothUnifiedUVCoordinates = false;
			bAvatarUnifiedUVCoordinates = false;
		}
		virtual ~ImportExportOption()
		{}

		void init(const ImportExportOption& _rhs)
		{
			bExportGarment = _rhs.bExportGarment;
			bExportAvatar = _rhs.bExportAvatar;
			bSingleObject = _rhs.bSingleObject;
			weldType = _rhs.weldType;
			bThin = _rhs.bThin;
			bUnifiedUVCoordinates = _rhs.bUnifiedUVCoordinates;
			bCreateUnifiedTexture = _rhs.bCreateUnifiedTexture;
			unifiedTextureSize = _rhs.unifiedTextureSize;
			unifiedTextureFillSeamSize = _rhs.unifiedTextureFillSeamSize;
			bUseInifinteSeams = _rhs.bUseInifinteSeams;
			bUnifiedDiffuseMap = _rhs.bUnifiedDiffuseMap;
			bUnifiedNormalMap = _rhs.bUnifiedNormalMap;
			bUnifiedMetalnessMap = _rhs.bUnifiedMetalnessMap;
			bUnifiedRoughnessMap = _rhs.bUnifiedRoughnessMap;
			bUnifiedOpacityMap = _rhs.bUnifiedOpacityMap;
			bUnifiedDisplacementMap = _rhs.bUnifiedDisplacementMap;
			unifiedTextureBakeRelateive = _rhs.unifiedTextureBakeRelateive;
			unifiedTextureBakeMargin = _rhs.unifiedTextureBakeMargin;
			bIncludeHiddenObject = _rhs.bIncludeHiddenObject;
			bIncludeInnerShape = _rhs.bIncludeInnerShape;
			bSizeAndPoseFromAvatar = _rhs.bSizeAndPoseFromAvatar;
			scale = _rhs.scale;
			axisX = _rhs.axisX;
			axisY = _rhs.axisY;
			axisZ = _rhs.axisZ;
			bInvertX = _rhs.bInvertX;
			bInvertY = _rhs.bInvertY;
			bInvertZ = _rhs.bInvertZ;
			bSaveColorWays = _rhs.bSaveColorWays;
			bSaveInZip = _rhs.bSaveInZip;
			bDiffuseColorCombined = _rhs.bDiffuseColorCombined;
			bExcludeAmbient = _rhs.bExcludeAmbient;
			bOpacityMap = _rhs.bOpacityMap;
			bMetaData = _rhs.bMetaData;
			bEmbedded = _rhs.bEmbedded;
			bExportLight = _rhs.bExportLight;
			bExportFabric = _rhs.bExportFabric;
			bAscii = _rhs.bAscii;
			fbxSdkVersion = _rhs.fbxSdkVersion;
			textureSaveMethod = _rhs.textureSaveMethod;
			anim_step = _rhs.anim_step;
			bExportShutterSpeed = _rhs.bExportShutterSpeed;
			shutter_low = _rhs.shutter_low;
			shutter_high = _rhs.shutter_high;
			m_bExportStrainColorMap = _rhs.m_bExportStrainColorMap;
			m_bExportStressColorMap = _rhs.m_bExportStressColorMap;
			m_alembicType = _rhs.m_alembicType;
			bIncludeAvatarShape = _rhs.bIncludeAvatarShape;
			bIncludeSkeleton = _rhs.bIncludeSkeleton;
			bIncludeSceneProp = _rhs.bIncludeSceneProp;
			timeScale = _rhs.timeScale;
			fps = _rhs.fps;
			ImportObjectType = _rhs.ImportObjectType;

#pragma region lower_version_compatibility
			
			if (_rhs.m_AuthenticationKeyForAPI.length() == 36 || _rhs.m_AuthenticationKeyForAPI.length() == 0)
			{
				m_AuthenticationKeyForAPI = _rhs.m_AuthenticationKeyForAPI;
			}
			else
			{
				m_AuthenticationKeyForAPI = "";
			}

#pragma endregion Code exists due to lower version compatibility.		

			bSaveColorWaysSingleFile = _rhs.bSaveColorWaysSingleFile;

			bAutoTranslate = _rhs.bAutoTranslate;
			bCreateCamera = _rhs.bCreateCamera;
			bCreateAvatarJointAnimation = _rhs.bCreateAvatarJointAnimation;
			bCreateAvatarCacheAnimation = _rhs.bCreateAvatarCacheAnimation;
			bCreateClothCacheAnimation = _rhs.bCreateClothCacheAnimation;
			bMoveGarment = _rhs.bMoveGarment;
			bAddArrangementPoints = _rhs.bAddArrangementPoints;
			bAutoCreateFittingSuit = _rhs.bAutoCreateFittingSuit;
			bAdd = _rhs.bAdd;
			translationValueX = _rhs.translationValueX;
			translationValueY = _rhs.translationValueY;
			translationValueZ = _rhs.translationValueZ;
			bTrace2DPatternsUVMap = _rhs.bTrace2DPatternsUVMap;
			bCreateMetallicRoughnessMap = _rhs.bCreateMetallicRoughnessMap;

			m_bWeldTurnedSewingLines = _rhs.m_bWeldTurnedSewingLines;

			bClothUnifiedUVCoordinates = _rhs.bClothUnifiedUVCoordinates;
			bAvatarUnifiedUVCoordinates = _rhs.bAvatarUnifiedUVCoordinates;
		}

		ImportExportOption(const ImportExportOption& _rhs)
		{
			init(_rhs);
		}

		ImportExportOption& operator= (const ImportExportOption& _rhs)
		{
			init(_rhs);

			return *this;
		}
	};

	/// @class VideoExportOption
	/// @brief Options for ExportAnimationVideo without showing the dialog in CLO API
	class VideoExportOption
	{
	public:
		EXPORT_PYTHON int width;       /// Video width in pixels
		EXPORT_PYTHON int height;      /// Video height in pixels
		EXPORT_PYTHON int fps;         /// FPS index: 0 = 24fps, 1 = 25fps, 2 = 30fps, 3 = 60fps. Set to -1 to use the animation's system FPS
		EXPORT_PYTHON int startFrame;  /// Start frame index, -1 means use the animation's start frame
		EXPORT_PYTHON int endFrame;    /// End frame index, -1 means use the animation's end frame

		VideoExportOption()
		{
			width = 1920;
			height = 1080;
			fps = -1;
			startFrame = -1;
			endFrame = -1;
		}

		virtual ~VideoExportOption()
		{}

		void init(const VideoExportOption& _rhs)
		{
			width = _rhs.width;
			height = _rhs.height;
			fps = _rhs.fps;
			startFrame = _rhs.startFrame;
			endFrame = _rhs.endFrame;
		}

		VideoExportOption(const VideoExportOption& _rhs)
		{
			init(_rhs);
		}

		VideoExportOption& operator=(const VideoExportOption& _rhs)
		{
			init(_rhs);
			return *this;
		}
	};

	/// @enum CLO_API_UNIT
	/// @brief Unit types 
	enum CLO_API_UNIT
	{
		CLO_API_MILIMETER,  /// milimeter
		CLO_API_CENTIMETER, /// centimeter
		CLO_API_INCH,		/// inch
		CLO_API_METER,		/// meter
		CLO_API_FEET		/// feet
	};

	/// @class ImportZPRJOption
	/// @brief Options for ImportZPRJ as parameters without dialogs in CLO API
	struct ImportZPRJOption 
	{
		EXPORT_PYTHON bool bAppend;					/// if true, append the project file to the current loaded project
										/// if false, overwrite/replace the project file in the current loaded project

		EXPORT_PYTHON bool bLoadGarment;				/// if true, open/add Garment inside the zprj file into the current loaded project
		EXPORT_PYTHON bool bLoadAvatar;				/// if true, open/add Avatar inside the zprj file into the current loaded project

		EXPORT_PYTHON float translationValueX;		/// set x-offet value per current patterns in 2D Window for Patterns (left - right)
										/// set x-offset value per the position-value inside the zprj file in 3D Window for Avatar/Garment (left - right)
		EXPORT_PYTHON float translationValueY;		/// set y-offet value per current patterns in 2D Window for Patterns (up - down)
										/// set y-offset value per the position-value inside the zprj file in 3D Window for Avatar/Garment
		EXPORT_PYTHON float translationValueZ;		/// set z-offset value per the position-value inside the zprj file in 3D Window for Avatar/Garment (monitor - user)

		EXPORT_PYTHON CLO_API_UNIT translationUnit;	/// translationUnit - 0: Milimeter, 1: Centimeter, 2: Inch, 3: Meter, 4: Feet

		EXPORT_PYTHON bool bLoadSceneAndProps;				/// if true, open/add SceneAndProps inside the zprj file into the current loaded project
		EXPORT_PYTHON bool bLoadRenderProperties;				/// if true, open/add RenderProperties(Vray) inside the zprj file into the current loaded project

		EXPORT_PYTHON bool bLoadCustomView;				/// if true, load Custom View (default: false)

		EXPORT_PYTHON bool bLoadDisplaySettings;     /// if true, load Display Settings (default: true)
		// initialize
		ImportZPRJOption() : bAppend(false),
			bLoadGarment(true),
			bLoadAvatar(true),
			translationValueX(0.0f),
			translationValueY(0.0f),
			translationValueZ(0.0f),
			translationUnit(CLO_API_MILIMETER),
			bLoadSceneAndProps(true),
			bLoadRenderProperties(true),
			bLoadCustomView(false),
			bLoadDisplaySettings(true)
		{
		}
	};


	/// @class ImportDxfOption
	/// @brief Options for ImportDxf as parameters without dialogs in CLO API
	struct ImportDxfOption
	{
		EXPORT_PYTHON bool m_bAppend;
		EXPORT_PYTHON bool m_bAutoScale;
		EXPORT_PYTHON float m_Scale;
		EXPORT_PYTHON float m_Angle;
		EXPORT_PYTHON bool m_bImportPatternAnnotation;
		EXPORT_PYTHON bool m_bAutoTraceAsInternalLines;
		EXPORT_PYTHON bool m_SwapCuttingLineAndSewingLine;
		EXPORT_PYTHON bool m_bIncludeNotchs;
		EXPORT_PYTHON bool m_bAutoDistribute;
		EXPORT_PYTHON bool m_bOptimizeAllCurvePoints;
		EXPORT_PYTHON bool m_bImportAllDrawCurvePoint;
		EXPORT_PYTHON bool m_bRemoveNonGradingPoints;
		EXPORT_PYTHON bool m_bConvertToSeamAllowance;
		EXPORT_PYTHON bool m_bImportSeamAllowanceNotchOnly;

		// initialize
		ImportDxfOption() : 
			m_bAppend(false),
			m_bAutoScale(true),
			m_Scale(1.0f),
			m_Angle(0.0f),
			m_bImportPatternAnnotation(true),
			m_bAutoTraceAsInternalLines(false),
			m_SwapCuttingLineAndSewingLine(false),
			m_bIncludeNotchs(false),
			m_bAutoDistribute(false),
			m_bOptimizeAllCurvePoints(false),
			m_bImportAllDrawCurvePoint(false),
			m_bRemoveNonGradingPoints(false),
			m_bConvertToSeamAllowance(false),
			m_bImportSeamAllowanceNotchOnly(false) {}
	};

	/// @class RenderImageVideoOptions
	/// @brief Options for Render Image/Video settings as parameters without dialogs in CLO API
	struct RenderImageVideoOptions
	{
		//Image/Video settings
		EXPORT_PYTHON int m_Colorway;
		EXPORT_PYTHON int m_ImageVideo;
		EXPORT_PYTHON int m_ViewPoint;
		EXPORT_PYTHON int m_ImageCount;
		EXPORT_PYTHON int m_RotationAngle;
		EXPORT_PYTHON int m_RotationAxis;
		EXPORT_PYTHON float m_RotationAxisX;
		EXPORT_PYTHON float m_RotationAxisZ;
		EXPORT_PYTHON int m_RotationDirection;
		EXPORT_PYTHON bool m_bTurnTableSaveVideo;
		EXPORT_PYTHON float m_TotalDuration;
		EXPORT_PYTHON float m_FrameDuration;
		EXPORT_PYTHON bool m_bSaveGIF;
		EXPORT_PYTHON int m_Region;
		EXPORT_PYTHON bool m_bAnimationSaveVideo;
		EXPORT_PYTHON float m_AnimationFPS;
		EXPORT_PYTHON bool m_bAnimSaveGIF;

		//Image Size Settings
		EXPORT_PYTHON int m_ImageSize;
		EXPORT_PYTHON int m_Orientation;
		EXPORT_PYTHON float m_Width;
		EXPORT_PYTHON float m_Height;
		EXPORT_PYTHON bool m_bMaintainRatio;
		EXPORT_PYTHON int m_Unit;
		EXPORT_PYTHON int m_Resolution;

		//Background Settings
		EXPORT_PYTHON std::string m_ColorHex;
		EXPORT_PYTHON std::string m_Texture;
		EXPORT_PYTHON bool m_bTransparency;
		EXPORT_PYTHON bool m_bBackgroundCrop;
	
		//Save Settings
		EXPORT_PYTHON std::string m_FileName;
		EXPORT_PYTHON std::string m_FilePath;
		EXPORT_PYTHON int m_ImageFormat;
		EXPORT_PYTHON int m_VideoFormat;
		EXPORT_PYTHON bool m_bPanaromicCustomView;
		EXPORT_PYTHON bool m_bPanaromicColorways;
		EXPORT_PYTHON bool m_bSaveHtml;
	
		// initialize
		RenderImageVideoOptions() :
			m_Colorway(0),
			m_ImageVideo(0),
			m_ViewPoint(0),
			m_ImageCount(1),
			m_RotationAngle(360),
			m_RotationAxis(0),
			m_RotationAxisX(0.0f),
			m_RotationAxisZ(0.0f),
			m_RotationDirection(0),
			m_bTurnTableSaveVideo(false),
			m_TotalDuration(4),
			m_FrameDuration(1),
			m_bSaveGIF(false),
			m_Region(0),
			m_bAnimationSaveVideo(false),
			m_AnimationFPS(30.0f),
			m_bAnimSaveGIF(false),


			m_ImageSize(0),
			m_Orientation(0),
			m_Width(480.0f),
			m_Height(640.0f),
			m_bMaintainRatio(false),
			m_Unit(2),
			m_Resolution(300),

			m_ColorHex("#FFFFFF"),
			m_Texture(""),
			m_bTransparency(false),
			m_bBackgroundCrop(false),

			m_FileName("Untitled"),
			m_FilePath(""),
			m_ImageFormat(0),
			m_VideoFormat(0),
			m_bPanaromicColorways(false),
			m_bPanaromicCustomView(false),
			m_bSaveHtml(false) {}
	};

	/// @class RenderingPropertyOptions
	/// @brief Options for Rendering Properties settings as parameters without dialogs in CLO API
	struct RenderPropertyOptions
	{
		EXPORT_PYTHON int m_RenderEngineType;
		EXPORT_PYTHON bool m_bCPUSupporting;
		EXPORT_PYTHON bool m_bLowGPUPriority;
		EXPORT_PYTHON float m_NoiseThreshold;
		EXPORT_PYTHON int m_MaxRenderTime;
		EXPORT_PYTHON float m_SeamPuckeringIntensity;
		EXPORT_PYTHON int m_LightQuality;
		EXPORT_PYTHON int m_MaterialQuality;
		EXPORT_PYTHON bool m_bKnitWearFrustumCulling;
		EXPORT_PYTHON bool m_bKnitWearLOD;
		EXPORT_PYTHON int m_ColorMappingType;
		EXPORT_PYTHON float m_BurnValue;
		EXPORT_PYTHON bool m_bLinearWorkFlow;
		EXPORT_PYTHON float m_ImageFilterSize;
		RenderPropertyOptions() :
			m_RenderEngineType(0),
			m_bCPUSupporting(false),
			m_NoiseThreshold(0.01f),
			m_MaxRenderTime(0),
			m_SeamPuckeringIntensity(0.5f),
			m_LightQuality(0),
			m_MaterialQuality(0),
			m_bKnitWearFrustumCulling(true),
			m_bKnitWearLOD(true),
			m_ColorMappingType(0),
			m_BurnValue(0.5f),
			m_bLinearWorkFlow(false),
			m_ImageFilterSize(1.0f),
			m_bLowGPUPriority(false) {
		}
	};

	/// @class ExportDxfOption
	/// @brief Options for ExportDxf as parameters without dialogs in CLO API
	struct ExportDxfOption
	{
		EXPORT_PYTHON bool m_bDuplicateNotch;			    /// if true, remove duplicate notches
		EXPORT_PYTHON bool m_bCheckedConvertCtoS;		    /// if true, convert curve points to straight points to export
		EXPORT_PYTHON bool m_bExportWithoutGrading;	    /// if true, export without grading information
		EXPORT_PYTHON bool m_bOptimizeCurvePoints;	    /// if true, optimize curve points with removing the points close to some points
		EXPORT_PYTHON bool m_bExportWithoutBaselines;     /// if true, export only out lines without base lines
		EXPORT_PYTHON bool m_bExportSelectedPatterns;     /// if true, export selected patterns
		EXPORT_PYTHON unsigned int m_ExportDXFFormatType; /// 0: DXF-AAMA, 1: DXF-ASTM, 2: Gerber(DXF-AAMA)
		EXPORT_PYTHON unsigned int m_ExportBBType;		/// 1: Use Bounding box covering all the patterns, 2: use Bounding Box for each pattern
		EXPORT_PYTHON float m_fScale;						/// scale variables 
		EXPORT_PYTHON float m_RotateAngle;				/// Rotation angle for patterns
		EXPORT_PYTHON bool m_bMetric;						/// Measurement unit shown on DXF, true: Metric, false: English

		ExportDxfOption() : m_bCheckedConvertCtoS(false),
			m_bExportWithoutGrading(false),
			m_bOptimizeCurvePoints(false),
			m_bExportWithoutBaselines(false),
			m_bExportSelectedPatterns(false),
			m_ExportDXFFormatType(1),
			m_ExportBBType(1),
			m_fScale(1.0f),
			m_RotateAngle(0.0f),
			m_bMetric(true) {}
	};

	/// @class ExportUSDOption
	/// @brief Options for ExportUSD as parameters without dialogs in CLO API
	struct ExportUSDOption
	{
		EXPORT_PYTHON int m_upAxis;							/// 1: Y Axis as up, 2 : Z Axis as up
		EXPORT_PYTHON double m_metersPerUnit;				/// Set unit value based on 1 m
		EXPORT_PYTHON bool m_bAssignAvatar;					/// If true export geometry and material data of avatar to the USD file
		EXPORT_PYTHON std::string m_avatarPrimPath;			/// Set prim path of current geometry and material data default path is '/Avatar'
		EXPORT_PYTHON bool m_bAssignGarment;				/// If true export geometry and material of cloth to the USD file
		EXPORT_PYTHON std::string m_garmentPrimPath;		/// Set prim path of current geometry and material data default path is '/Garment'
		EXPORT_PYTHON bool m_bAssignSceneNProp;				/// If true export geometry and material of scne & prop to the USD file
		EXPORT_PYTHON std::string m_sceneNPropPrimPath;		/// Set prim path of current geometry data default path is '/SceneAndProp'
		EXPORT_PYTHON bool m_bExportSimulationData;			/// If true export simulation data to the USD file	
		EXPORT_PYTHON bool m_bExportStrandData;				/// If true export strand data as BasisCurve to the USD file

		ExportUSDOption() : m_upAxis(1),
			m_metersPerUnit(0.01),
			m_bAssignAvatar(true),
			m_avatarPrimPath("/Avatar"),
			m_bAssignGarment(true),
			m_garmentPrimPath("/Garment"),
			m_bAssignSceneNProp(true),
			m_sceneNPropPrimPath("/SceneAndProp"),
			m_bExportSimulationData(false),
			m_bExportStrandData(false) {}
	};

	/// @enum ExportTechPackType
	/// @brief Export Techpack types
	enum ExportTechPackType
	{
		EXPORT_PYTHON CLO_TECH_PACK,		/// techpack used in CLO
		EXPORT_PYTHON CLO_SET_TECH_PACK,	/// techpack used in CLOSET
		EXPORT_PYTHON CLO_SET_SREST, 		/// techpack used in SREST (used in CLOSET)
		EXPORT_PYTHON CLO_API_TECH_PACK,	/// techpack for CLO API (excludes the internal values used in CLO Virtual Fashion)
		EXPORT_PYTHON CLO_DUMMY			/// n/a
	};

	/// @struct ExportTechpackOption
	/// @brief Options for Export Techpack as parameters without dialogs in CLO API
	struct ExportTechpackOption
	{
		EXPORT_PYTHON bool m_bSaveZpac;										/// if true, save garment as a (project name).zpac file and describe the path on the techpack json (CLO API only)
		EXPORT_PYTHON bool m_bSaveZprj;										/// if true, save project as a (project name).zprj file and describe the path on the techpack json (CLO API only)

		EXPORT_PYTHON bool m_bCaptureSceneThumbnailWithoutAvatar;				/// if true, capture the thumbnail images as image files and describe the paths on the techpack json
		EXPORT_PYTHON bool m_bCaptureSceneThumbnailWithMark;					/// if true, capture the thumbnail images with markers as image files and describe the paths on the techpack json (CLO API and CLOSET)
		EXPORT_PYTHON bool m_bCaptureSceneThumbnailWithAvatar;				/// if true, capture the thumbnail images with avatars for all the colorways and describe the paths on the techpack json

		EXPORT_PYTHON bool m_bCaptureItemThumbnail;							/// if true, capture thumbnail for pattern piecese (for CLO API and Techpack Image)
		EXPORT_PYTHON bool m_bCaptureHighResolutionFrontThumbnail;				/// if true, capture bigger thumbnail for 2D First Mode (CLOSET)
		EXPORT_PYTHON bool m_bCapturePatternLayoutThumbnail;					/// if true, capture thumbnail for pattern layout (for CLO API and Techpack Image)
		EXPORT_PYTHON bool m_bCapturePatternLayoutThumbnailWithFabricMark;	/// if true, capture thumbnail for pattern layout with fabric marks (for CLO API and Techpack Image)
		EXPORT_PYTHON bool m_bCapturePatternLayoutThumbnailWithTrimMark;		/// if true, capture thumbnail for pattern layout with trim marks (for CLO API and Techpack Image)
		EXPORT_PYTHON bool m_bCapturePatternLayoutThumbnailForCloset2DPatternWindow;

		EXPORT_PYTHON bool m_bCaptureTurntableThumbnail;				/// if true, capture the turntable thumbnail images as image files and describe the paths on the techpack json

		EXPORT_PYTHON bool m_bExportTextures;									/// if true, export all the textures as image files and describe the paths on the techpack json (CLO API only)
		EXPORT_PYTHON bool m_bUseAverageColor;								/// if true, calculate average color for the image used in materials and show the values in techpack json
		
		EXPORT_PYTHON bool m_bShowModalProgressBar;						    /// if true, a Modal progress bar will appear to show progress in CLO Software

		EXPORT_PYTHON bool m_bUseCustomImageAsThumbnail;				/// if true, thumbnail image will be replaced with a custom image from the MVFile Header

		EXPORT_PYTHON std::map<unsigned int, bool> m_ShowBaseLineFor3DCapturePerColorway;  /// map(colorway index, show/hide flag) for Base Line while capturing 3D
		EXPORT_PYTHON std::string m_AuthenticationKeyForAPI;						/// For companies to use extended functionalies in CLO API/SDK

		EXPORT_PYTHON ExportTechPackType m_ExportType;					    /// 0: CLO_TECH_PACK, 1: CLO_SET_TECH_PACK, 2: CLO_SET_SREST, 3: CLO_API_TECH_PACK, 4: CLO_DUMMY

		ExportTechpackOption()
		{
			m_bSaveZpac = true;
			m_bSaveZprj = true;
			m_bCaptureSceneThumbnailWithoutAvatar = true;
			m_bCaptureSceneThumbnailWithMark = true;
			m_bCaptureSceneThumbnailWithAvatar = true;
			m_bExportTextures = true;
			m_bCaptureItemThumbnail = true;
			m_bCaptureHighResolutionFrontThumbnail = true;
			m_bCapturePatternLayoutThumbnail = true;
			m_bCapturePatternLayoutThumbnailWithFabricMark = true;
			m_bCapturePatternLayoutThumbnailWithTrimMark = true;
			m_bCaptureTurntableThumbnail = true;
			m_bUseAverageColor = true;
			m_bShowModalProgressBar = true;
			m_bUseCustomImageAsThumbnail = true;
			m_bCapturePatternLayoutThumbnailForCloset2DPatternWindow = true;

			m_ShowBaseLineFor3DCapturePerColorway.clear();

			m_ExportType = CLO_API_TECH_PACK;
		}

		ExportTechpackOption(ExportTechPackType type)
		{
			if (type == CLO_TECH_PACK || type == CLO_API_TECH_PACK)
			{
				m_bSaveZpac = true;
				m_bSaveZprj = true;
				m_bCaptureSceneThumbnailWithoutAvatar = true;
				m_bCaptureSceneThumbnailWithMark = true;
				m_bCaptureSceneThumbnailWithAvatar = true;
				m_bExportTextures = true;
				m_bCaptureItemThumbnail = true;
				m_bCaptureHighResolutionFrontThumbnail = false;
				m_bCapturePatternLayoutThumbnail = true;
				m_bCapturePatternLayoutThumbnailWithFabricMark = true;
				m_bCapturePatternLayoutThumbnailWithTrimMark = true;
				m_bCaptureTurntableThumbnail = true;
				m_bUseAverageColor = true;
				m_bUseCustomImageAsThumbnail = false;
				m_bCapturePatternLayoutThumbnailForCloset2DPatternWindow = false;
			}
			else if (type == CLO_SET_TECH_PACK)
			{
				m_bSaveZpac = false;
				m_bSaveZprj = false;
				m_bCaptureSceneThumbnailWithoutAvatar = true;
				m_bCaptureSceneThumbnailWithMark = true;
				m_bCaptureSceneThumbnailWithAvatar = true;
				m_bExportTextures = false; // fabric의 texture는 내보낼 필요 없다.
				m_bCaptureItemThumbnail = true;
				m_bCaptureHighResolutionFrontThumbnail = true;
				m_bCapturePatternLayoutThumbnail = true;
				m_bCapturePatternLayoutThumbnailWithFabricMark = true;
				m_bCapturePatternLayoutThumbnailWithTrimMark = true;
				m_bCaptureTurntableThumbnail = true;
				m_bUseAverageColor = false;
				m_bUseCustomImageAsThumbnail = false;
				m_bCapturePatternLayoutThumbnailForCloset2DPatternWindow = false;
			}
			else if(type == CLO_SET_SREST)
			{
				m_bSaveZpac = false;
				m_bSaveZprj = false;
				m_bCaptureSceneThumbnailWithoutAvatar = true;
				m_bCaptureSceneThumbnailWithMark = false;
				m_bCaptureSceneThumbnailWithAvatar = true;
				m_bExportTextures = true;
				m_bCaptureItemThumbnail = false;
				m_bCaptureHighResolutionFrontThumbnail = false;
				m_bCapturePatternLayoutThumbnail = false;
				m_bCapturePatternLayoutThumbnailWithFabricMark = false;
				m_bCapturePatternLayoutThumbnailWithTrimMark = false;
				m_bCaptureTurntableThumbnail = false;
				m_bUseAverageColor = false;
				m_bUseCustomImageAsThumbnail = false;
				m_bCapturePatternLayoutThumbnailForCloset2DPatternWindow = true; // Hank : SRest 컨버팅 할때 Backend에서 사용할 Capture Image 만들어내기.
			}
			else
			{
				m_bSaveZpac = false;
				m_bSaveZprj = false;
				m_bCaptureSceneThumbnailWithoutAvatar = false;
				m_bCaptureSceneThumbnailWithMark = false;
				m_bCaptureSceneThumbnailWithAvatar = false;
				m_bExportTextures = false;
				m_bCaptureItemThumbnail = false;
				m_bCaptureHighResolutionFrontThumbnail = false;
				m_bCapturePatternLayoutThumbnail = false;
				m_bCapturePatternLayoutThumbnailWithFabricMark = false;
				m_bCapturePatternLayoutThumbnailWithTrimMark = false;
				m_bCaptureTurntableThumbnail = false;
				m_bUseAverageColor = false;
				m_bUseCustomImageAsThumbnail = false;
				m_bCapturePatternLayoutThumbnailForCloset2DPatternWindow = false;
			}

			m_ShowBaseLineFor3DCapturePerColorway.clear();

			m_ExportType = type;
		}
	};

	/// @struct CloApiRgb
	/// @brief RGB Values structure for Color related api calls in CLO API
	struct CloApiRgb
	{
		EXPORT_PYTHON int R; //Red: 0 ~ 255
		EXPORT_PYTHON int G; //Green: 0 ~ 255
		EXPORT_PYTHON int B; //Blue: 0 ~ 255

		CloApiRgb() :R(0), G(0), B(0) {}
	};

	struct CloGroundData
	{
		EXPORT_PYTHON int index;
		EXPORT_PYTHON float avg_pos;
		EXPORT_PYTHON float r;
		EXPORT_PYTHON float g;
		EXPORT_PYTHON float b;
		EXPORT_PYTHON float y;

		CloGroundData()
			:index(-1), avg_pos(-1.f), r(-1.f), g(-1.f), b(-1.f), y(-1.f)
		{

		}
	};

	/// @struct CloApiRgba
	/// @brief RGBA Values structure for Color related api calls in CLO API
	struct CloApiRgba
	{
		EXPORT_PYTHON int R; //Red: 0 ~ 255
		EXPORT_PYTHON int G; //Green: 0 ~ 255
		EXPORT_PYTHON int B; //Blue: 0 ~ 255
		EXPORT_PYTHON int A; //Alpha: 0 ~ 255

		CloApiRgba() :R(0), G(0), B(0), A(255) {}
	};

	/// @enum RenderColorwayType
	/// @brief Colorway Type for ExportRenderingImage in CLO API
	enum RenderColorwayType
	{
		SINGLE,			/// Export Rendering Image for only the current colorway
		ALL,			/// Export Rendering Image for all the colorways
		USER_DEFINED	/// Export Rendering Image per the current setting in the colorway type
	};

	/// @struct AttachFileInfo
	/// @brief AttachFileInfo structure for attaching files when using REST API
	struct AttachFileInfo{
		EXPORT_PYTHON std::string fileName; /// The fileName
		EXPORT_PYTHON std::string filePath; /// The file path
	};

	/// @struct MimeData
	/// @brief MimeData structure for form-data type
	struct MimeData{
		EXPORT_PYTHON std::string mimeType; /// MIME type 
		EXPORT_PYTHON std::string mimeNmae; /// MIME field name
		EXPORT_PYTHON std::string mimeValue; /// MIME value
	};

	/// @enum HttpMethodType
	/// @brief Http method Type for Http request
	enum HttpMethodType 
	{
		HTTP_GET,  /// HTTP GET method
		HTTP_POST, /// HTTP POST method
		HTTP_PUT   /// HTTP PUT method
	};

	/// @struct CloApiRestRequest
	/// @brief CloApiRestRequest structure that requests http when using REST API
	struct CloApiRestRequest
	{
		EXPORT_PYTHON std::vector<std::pair<std::string, std::string>> header;   /// Http header
		EXPORT_PYTHON HttpMethodType method;									 /// Http method Type
		EXPORT_PYTHON std::string payload;										 /// Http payload supports json/raw.
		EXPORT_PYTHON std::string url;											 /// Request url
		EXPORT_PYTHON std::vector<AttachFileInfo> attachements;					 /// List of Http attachments, but with PUT method there can be only one file.
		EXPORT_PYTHON std::vector<MimeData> formData;					 		 /// List of multi form-data
	};

	/// @struct CloApiRestResponse
	/// @brief CloApiRestResponse structure that responses http when using REST API
	struct CloApiRestResponse
	{
		EXPORT_PYTHON std::string header;			/// Http header								
		EXPORT_PYTHON std::string buffer;			/// Http response body
		EXPORT_PYTHON unsigned int responseCode;	/// Http response code
		CloApiRestResponse() :responseCode(0) {}
	};

	struct CloApiGraphicPosition
	{
		EXPORT_PYTHON float x;
		EXPORT_PYTHON float y;
		CloApiGraphicPosition() : x(0.0f), y(0.0f) {}
		CloApiGraphicPosition(float _x, float _y) : x(_x), y(_y) {}
	};

	struct CloApiGraphicDimensions
	{
		EXPORT_PYTHON float width;
		EXPORT_PYTHON float height;
		CloApiGraphicDimensions() : width(0.0f), height(0.0f) {}
	};

	struct CloApiGraphicPlacementPoints
	{
		EXPORT_PYTHON CloApiGraphicPosition center;
		EXPORT_PYTHON std::vector<CloApiGraphicPosition> corners;
		EXPORT_PYTHON std::vector<CloApiGraphicPosition> edgeCenters;
	};

	/// @enum CloApiAnchorPoint
	/// @brief Anchor point used by RepositionGraphicByAnchor and ReplaceGraphicStyleFromImage.
	/// Layout (Y increases upward):
	///   8(LEFT_UP)----1(UP)----2(RIGHT_UP)
	///       |                       |
	///   7(LEFT)    0(CENTER)   3(RIGHT)
	///       |                       |
	///   6(LEFT_DOWN)--5(DOWN)--4(RIGHT_DOWN)
	enum CloApiAnchorPoint
	{
		EXPORT_PYTHON CLOAPI_ANCHOR_CENTER     = 0,
		EXPORT_PYTHON CLOAPI_ANCHOR_UP         = 1,
		EXPORT_PYTHON CLOAPI_ANCHOR_RIGHT_UP   = 2,
		EXPORT_PYTHON CLOAPI_ANCHOR_RIGHT      = 3,
		EXPORT_PYTHON CLOAPI_ANCHOR_RIGHT_DOWN = 4,
		EXPORT_PYTHON CLOAPI_ANCHOR_DOWN       = 5,
		EXPORT_PYTHON CLOAPI_ANCHOR_LEFT_DOWN  = 6,
		EXPORT_PYTHON CLOAPI_ANCHOR_LEFT       = 7,
		EXPORT_PYTHON CLOAPI_ANCHOR_LEFT_UP    = 8,
	};

	/// @enum CloWidgetType
	/// @brief CloWidgetType is used to get specific style codes when using UpdateCloStyleForPlugIn().
	enum CloWidgetType
	{
		Widget_GeneralType = 0,
		Widget_1DepthFrameType,
		Widget_2DepthFrameType,
		Widget_3DepthFrameType,
		Widget_4DepthFrameType,
		Widget_5DepthFrameType,
		Widget_CheckBoxType,
		Widget_ComboBoxType,
		Widget_DialogType,
		Widget_DoubleSpinBoxType,
		Widget_HeaderViewType,
		Widget_LabelType,
		Widget_LineEditType,
		Widget_ListType,
		Widget_MenuType,
		Widget_MenuBarType,
		Widget_PushButtonType,
		Widget_RadioButtonType,
		Widget_ScrollBarType,
		Widget_ScrollAreaType,
		Widget_SliderType,
		Widget_SpinBoxType,
		Widget_TabType,
		Widget_TableViewType,
		Widget_TableWidgetType,
		Widget_TextBrowserType,
		Widget_TextEditType,
		Widget_TitleBarType,
		Widget_ToolButtonType,
		Widget_TooltipType,
		Widget_TransparentType,
		Widget_TreeType,
	};

	/// @enum CloTheme
	/// @brief CloTheme is the Theme information currently used in CLO
	enum CloTheme
	{
		Theme_Dark,
		Theme_Light,
	};

	/// @class ImportAlembicOption
	/// @brief Options for ImportAlembic as parameters without dialogs in CLO API
	struct ImportAlembicOption 
	{
		EXPORT_PYTHON bool aLoadType;					/// if false means open, true means add

		EXPORT_PYTHON float aUnit;	
		EXPORT_PYTHON float aScale;				/// 0 ~ 1

		EXPORT_PYTHON bool boolAddArrangementPoints;		/// if true add the arrangement points
		EXPORT_PYTHON bool boolAutoCreateFittingSuit;		/// if true create fitting suit
		EXPORT_PYTHON int morphingFrameCount;		/// set the morphing frame count ex: 1 to 99
		EXPORT_PYTHON bool boolMoveGarmentToStartPosition;				/// if true, this will select moveGarmentToStartPosition
		EXPORT_PYTHON bool boolTrace2DPatternsFromUVMap;				/// if true, this will select trace2DPatternsFromUVMap

		EXPORT_PYTHON bool boolAlignBottonToGround;				/// if true, set the allignment to bottom
		EXPORT_PYTHON float translationValueX;		/// set x-offset value per the position-value in 3D Window for Avatar/Garment (left - right) unit (mm)
		EXPORT_PYTHON float translationValueY;		/// set y-offset value per the position-value in 3D Window for Avatar/Garment (up - down) unit (mm)		
		EXPORT_PYTHON float translationValueZ;		/// set z-offset value per the position-value in 3D Window for Avatar/Garment (monitor - user) unit (mm)
	
		// initialize
		ImportAlembicOption() : aLoadType(false),
			aUnit(0.01f),
			aScale(1.f),
			boolAddArrangementPoints(true),
			boolAutoCreateFittingSuit(true),
			morphingFrameCount(1),
			boolMoveGarmentToStartPosition(false),
			boolTrace2DPatternsFromUVMap(false),
			boolAlignBottonToGround(false),
			translationValueX(0.0f),
			translationValueY(0.0f),
			translationValueZ(0.0f)
		{
		}
	};

	struct PatternSnapShotPaperPreset
	{
		EXPORT_PYTHON int A4;
		EXPORT_PYTHON int A3;
		EXPORT_PYTHON int B5;
		EXPORT_PYTHON int B4;
		EXPORT_PYTHON int Letter;
		EXPORT_PYTHON int Legal;
		EXPORT_PYTHON int Tabloid;
		EXPORT_PYTHON int WideFormat_24;
		EXPORT_PYTHON int WideFormat_36;
		EXPORT_PYTHON int WideFormat_44;
		EXPORT_PYTHON int oneToOne;
		EXPORT_PYTHON int Custom;

		PatternSnapShotPaperPreset()
		{
			A4 = 0;
			A3 = 1;
			B5 = 2;
			B4 = 3;
			Letter = 4;
			Legal = 5;
			Tabloid = 6;
			WideFormat_24 = 7;
			WideFormat_36 = 8;
			WideFormat_44 = 9;
			oneToOne = 10;
			Custom = 11;
		}
	};

	struct PatternSnapShotPaperUnit
	{
		EXPORT_PYTHON int Pixel;
		EXPORT_PYTHON int Inches;
		EXPORT_PYTHON int Milimeters;
		EXPORT_PYTHON int Centimeters;

		PatternSnapShotPaperUnit()
		{
			Pixel = 0;
			Inches = 1;
			Milimeters = 2;
			Centimeters = 3;
		}
	};

	struct PatternSnapShotSizeOption
	{
		EXPORT_PYTHON float m_width;//always set mm
		EXPORT_PYTHON float m_height;//always set mm
		EXPORT_PYTHON unsigned int m_resolution;
		EXPORT_PYTHON int m_paperPreset;
		EXPORT_PYTHON int m_orientation;
		EXPORT_PYTHON int m_unit;

		PatternSnapShotSizeOption()
		{
			m_paperPreset = 0;
			m_orientation = 0;
			m_width = 0.f;
			m_height = 0.f;
			m_unit = 0;
			m_resolution = 0;
		}
	};

	struct PatternSnapShotLineType
	{
		EXPORT_PYTHON int DefualtLine;
		EXPORT_PYTHON int DottedLine;
		EXPORT_PYTHON int DashedLine;

		PatternSnapShotLineType()
		{
			DefualtLine = 1;
			DottedLine = 2;
			DashedLine = 3;
		}
		
	};

	struct PatternSnapShotLineOption
	{
		EXPORT_PYTHON bool ShowPatternOutline;
		EXPORT_PYTHON CloApiRgba PatternOutlineColor;
		EXPORT_PYTHON int PatternOutLineType;

		EXPORT_PYTHON bool ShowInternalLine;
		EXPORT_PYTHON CloApiRgba InternalLineColor;
		EXPORT_PYTHON int InternalLineType;

		EXPORT_PYTHON bool ShowGraphicOutline;
		EXPORT_PYTHON CloApiRgba GraphicOutlineColor;
		EXPORT_PYTHON int GraphicOutlineType;

		EXPORT_PYTHON bool ShowBaseline;
		EXPORT_PYTHON CloApiRgba BaselineColor;
		EXPORT_PYTHON int BaselineType;

		EXPORT_PYTHON bool ShowNotch;
		EXPORT_PYTHON CloApiRgba NotchColor;
		EXPORT_PYTHON int NotchType;

		EXPORT_PYTHON bool ShowSeamAllowance;
		EXPORT_PYTHON CloApiRgba SeamAllowanceColor;
		EXPORT_PYTHON int SeamAllowanceType;

		EXPORT_PYTHON bool ShowSymmetricInstanceLine;
		EXPORT_PYTHON CloApiRgba SymmetricInstanceLineColor;
		EXPORT_PYTHON int SymmetricInstanceLineType;

		EXPORT_PYTHON bool ShowReferenceLine;
		EXPORT_PYTHON CloApiRgba ReferenceLineColor;
		EXPORT_PYTHON int ReferenceLineType;

		PatternSnapShotLineOption()
		{
			ShowPatternOutline = true;
			PatternOutlineColor = CloApiRgba();
			PatternOutLineType = 1;

			ShowInternalLine = true;
			InternalLineColor = CloApiRgba();
			InternalLineType = 1;

			ShowGraphicOutline = true;
			GraphicOutlineColor = CloApiRgba();
			GraphicOutlineType = 1;

			ShowBaseline = true;
			BaselineColor = CloApiRgba();
			BaselineType = 1;

			ShowNotch = true;
			NotchColor = CloApiRgba();
			NotchType = 1;

			ShowSeamAllowance = true;
			SeamAllowanceColor = CloApiRgba();
			SeamAllowanceType = 1;

			ShowSymmetricInstanceLine = true;
			SymmetricInstanceLineColor = CloApiRgba();
			SymmetricInstanceLineType = 1;

			ShowReferenceLine = true;
			ReferenceLineColor = CloApiRgba();
			ReferenceLineType = 1;
		}
	};

	struct PatternSnapShotImageOption
	{
		EXPORT_PYTHON bool ShowFabricTexture;
		EXPORT_PYTHON bool ShowPatternTexture;
		EXPORT_PYTHON bool ShowGraphicTexture;
		EXPORT_PYTHON float FabricTextureOpacity;

		PatternSnapShotImageOption()
		{
			ShowFabricTexture = true;
			ShowPatternTexture = true;
			ShowGraphicTexture = true;
			FabricTextureOpacity = 100.f;
		}
	};

	struct PatternSnapShotPrintType
	{
		EXPORT_PYTHON int ShrinkToFit;
		EXPORT_PYTHON int ActualSize;

		PatternSnapShotPrintType()
		{
			ShrinkToFit = 1;
			ActualSize = 2;
		}
	};

	struct PatternSnapShotInformationOption
	{
		EXPORT_PYTHON bool ShowPatternName;
		EXPORT_PYTHON int PatternNameType;

		EXPORT_PYTHON bool ShowPatternAnnotation;
		EXPORT_PYTHON int PatternAnnotationType;

		EXPORT_PYTHON bool ShowLineLength;
		EXPORT_PYTHON int LineLengthType;
		
		EXPORT_PYTHON bool ShowGrainLine;
		EXPORT_PYTHON int GrainLineType;
		
		EXPORT_PYTHON bool ShowButtonHole;
		EXPORT_PYTHON int ButtonHoleType;
		
		EXPORT_PYTHON bool ShowSeamTaping;
		EXPORT_PYTHON int SeamTapingType;
		
		EXPORT_PYTHON bool ShowMeasurement2D;
		EXPORT_PYTHON int Measurement2DType;

		EXPORT_PYTHON bool ShowGradingSizeName;
		EXPORT_PYTHON int GradingSizeNameType;
		
		EXPORT_PYTHON bool ShowNestInformation;
		EXPORT_PYTHON int NestInformationType;
		
		PatternSnapShotInformationOption()
		{
			ShowPatternName = true;
			PatternNameType = 2;

			ShowPatternAnnotation = true;
			PatternAnnotationType = 2;

			ShowLineLength = true;
			LineLengthType = 2;

			ShowGrainLine = true;
			GrainLineType = 2;

			ShowButtonHole = true;
			ButtonHoleType = 2;

			ShowSeamTaping = true;
			SeamTapingType = 2;

			ShowMeasurement2D = true;
			Measurement2DType = 2;

			ShowGradingSizeName = true;
			GradingSizeNameType = 2;

			ShowNestInformation = true;
			NestInformationType = 2;
		}

	};

	struct PatternSnapShotColorwayOption
	{
		EXPORT_PYTHON int ColorwayOption;
		EXPORT_PYTHON std::vector<unsigned int> m_customSelectColorwayIndexes;

		PatternSnapShotColorwayOption()
		{
			ColorwayOption = 0;
			m_customSelectColorwayIndexes = {0};
		}
	};

	/// @enum TextureMapTarget
	/// @brief Selects which texture map a texture-transform API targets.
	/// @details Used by the unified texture-transform getters/setters (Fabric, Print, Graphic)
	///          to choose the map the TransformOptions apply to.
	enum TextureMapTarget
	{
		EXPORT_PYTHON TEXTURE_MAP_BASE_COLOR   = 0,  /// Base color / albedo map
		EXPORT_PYTHON TEXTURE_MAP_NORMAL       = 1,  /// Normal map
		EXPORT_PYTHON TEXTURE_MAP_OPACITY      = 2,  /// Opacity (alpha) map
		EXPORT_PYTHON TEXTURE_MAP_ROUGHNESS    = 3,  /// Roughness (glossiness) map
		EXPORT_PYTHON TEXTURE_MAP_METALNESS    = 4,  /// Metalness map
		EXPORT_PYTHON TEXTURE_MAP_DISPLACEMENT = 5   /// Displacement map
	};

	/// @enum ObjectBrowserType
	/// @brief Object Browser category targeted by the unified material texture-transform API.
	enum ObjectBrowserType
	{
		EXPORT_PYTHON OB_TYPE_FABRIC      = 0,  /// Fabric (base color, or print/AOP via targetPrint)
		EXPORT_PYTHON OB_TYPE_GRAPHIC     = 1,  /// Graphic style
		EXPORT_PYTHON OB_TYPE_TRIM        = 2,  /// Trim object style
		EXPORT_PYTHON OB_TYPE_BUTTON      = 3,  /// Button head style (subItemIndex: 0=Button body, 1=Thread)
		EXPORT_PYTHON OB_TYPE_BUTTON_HOLE = 4,  /// Buttonhole style
		EXPORT_PYTHON OB_TYPE_PUCKERING   = 5,  /// Puckering style (reserved; not yet backed)
		EXPORT_PYTHON OB_TYPE_ZIPPER      = 6   /// Zipper style (subItemIndex selects the component)
	};

	/// @struct ObjectBrowserContextOptions
	/// @brief Object Browser context: identifies which object/sub-item a material texture transform targets.
	struct ObjectBrowserContextOptions
	{
		EXPORT_PYTHON ObjectBrowserType type;       /// object category (see ObjectBrowserType)
		EXPORT_PYTHON bool targetPrint;             /// FABRIC only: target the print/AOP texture (true) vs base color (false)
		EXPORT_PYTHON int  styleChipIndex;          /// AOP/style-chip index. -1 = first/default
		EXPORT_PYTHON int  subItemIndex;            /// sub-item/mesh index: button material tab (0=Button body, 1=Thread), trim mesh index, or zipper component. Default 0
		EXPORT_PYTHON std::string folderName;       /// Object Browser folder this object belongs to (reserved for folder-level inheritance). Empty = none// yet to develop this in future 

		ObjectBrowserContextOptions()
		{
			type = OB_TYPE_FABRIC;
			targetPrint = false;
			styleChipIndex = -1;
			subItemIndex = 0;
		}
	};

	/// @struct PropertyEditorContextOptions
	/// @brief Property Editor context: which material face and texture map a transform applies to.
	struct PropertyEditorContextOptions
	{
		EXPORT_PYTHON int materialSide;             /// which material face: 0=Front, 1=Back, 2=Side
		EXPORT_PYTHON TextureMapTarget mapType;     /// which texture map (see TextureMapTarget)

		PropertyEditorContextOptions()
		{
			materialSide = 0;
			mapType = TEXTURE_MAP_BASE_COLOR;
		}
	};

	/// @struct TransformOptions
	/// @brief Options for AOP (All Over Print) texture transformation operations
	/// @details Provides parameters to control texture transformations including rotation, scaling, and translation.
	///          Supports both percentage-based and millimeter-based sizing.
	struct TransformOptions
	{
		/// @brief Default constructor - initializes to neutral/identity transform
		TransformOptions()
		{
			Initialize();
		}

		/// @brief Parameterized constructor for common use cases
		/// @param _angle Rotation angle in degrees
		/// @param _widthPercent Width scale percentage (100.0 = 100%)
		/// @param _heightPercent Height scale percentage (100.0 = 100%)
		/// @param _posX Horizontal translation
		/// @param _posY Vertical translation
		/// @param _aspectRatioFixed Maintain aspect ratio flag (default: true)
		TransformOptions(float _angle, float _widthPercent, float _heightPercent, 
						float _posX, float _posY, bool _aspectRatioFixed = true)
			: angle(_angle)
			, widthMm(0.0f)
			, widthPercent(_widthPercent)
			, heightMm(0.0f)
			, heightPercent(_heightPercent)
			, aspectRatioFixed(_aspectRatioFixed)
			, posX(_posX)
			, posY(_posY)
		{
		}

		/// @brief Initialize to neutral/identity transform (no transformation applied)
		void Initialize()
		{
			angle = 0.0f;
			widthMm = 0.0f;
			widthPercent = 100.0f;
			heightMm = 0.0f;
			heightPercent = 100.0f;
			aspectRatioFixed = true;
			posX = 0.0f;
			posY = 0.0f;
		}

		/// @brief Check if this represents an identity transform (no change)
		/// @return true if no transformation is applied, false otherwise
		bool IsIdentity() const
		{
			constexpr float epsilon = 1e-6f;
			return (std::fabs(angle) < epsilon) &&
				   (std::fabs(widthPercent - 100.0f) < epsilon) &&
				   (std::fabs(heightPercent - 100.0f) < epsilon) &&
				   (std::fabs(posX) < epsilon) &&
				   (std::fabs(posY) < epsilon);
		}

		/// @brief Equality operator
		/// @param _other TransformOptions to compare with
		/// @return true if all parameters are equal
		bool operator==(const TransformOptions& _other) const
		{
			constexpr float epsilon = 1e-6f;
			return (std::fabs(angle - _other.angle) < epsilon) &&
				   (std::fabs(widthMm - _other.widthMm) < epsilon) &&
				   (std::fabs(widthPercent - _other.widthPercent) < epsilon) &&
				   (std::fabs(heightMm - _other.heightMm) < epsilon) &&
				   (std::fabs(heightPercent - _other.heightPercent) < epsilon) &&
				   (aspectRatioFixed == _other.aspectRatioFixed) &&
				   (std::fabs(posX - _other.posX) < epsilon) &&
				   (std::fabs(posY - _other.posY) < epsilon);
		}

		/// @brief Inequality operator
		/// @param _other TransformOptions to compare with
		/// @return true if any parameter differs
		bool operator!=(const TransformOptions& _other) const
		{
			return !(*this == _other);
		}

		EXPORT_PYTHON float angle;              ///< Rotation angle in degrees (0.0 = no rotation)
		EXPORT_PYTHON float widthMm;            ///< Width in millimeters (system unit). Set to 0.0 to use widthPercent instead.
		EXPORT_PYTHON float widthPercent;       ///< Width as percentage (100.0 = 100%, original size)
		EXPORT_PYTHON float heightMm;           ///< Height in millimeters (system unit). Set to 0.0 to use heightPercent instead.
		EXPORT_PYTHON float heightPercent;      ///< Height as percentage (100.0 = 100%, original size)
		EXPORT_PYTHON bool  aspectRatioFixed;   ///< true to maintain aspect ratio during scaling, false to allow independent width/height scaling
		EXPORT_PYTHON float posX;               ///< Horizontal position/translation in display units
		EXPORT_PYTHON float posY;               ///< Vertical position/translation in display units}
  };
	/// @enum ZipperObjectType
	/// @brief Specifies the zipper part type to generate via GenerateZippersFromObj.
	///        Each value corresponds to a specific output file format and save behavior.
	enum ZipperObjectType
	{
		EXPORT_PYTHON ZIPPER_OBJECT_SLIDER                = 0, // Slider only (.zsl): single OBJ input, saved as a single shape.
		EXPORT_PYTHON ZIPPER_OBJECT_PULLER                = 1, // Puller only (.zpu): single OBJ input, saved as a single shape.
		EXPORT_PYTHON ZIPPER_OBJECT_SLIDER_PULLER         = 2, // Slider + Puller combined (.zss): single OBJ with two meshes, saved as dual shape.
		EXPORT_PYTHON ZIPPER_OBJECT_TEETH                 = 3, // Zipper teeth (.zth): single OBJ, loaded with fixed internal axes.
		EXPORT_PYTHON ZIPPER_OBJECT_TOP_STOPPER           = 4, // Top stopper (.zst): two OBJ inputs, saved as dual shape.
		EXPORT_PYTHON ZIPPER_OBJECT_BOTTOM_OPEN_STOPPER   = 5, // Bottom open-end stopper (.zst): two OBJ inputs, saved as dual shape.
		EXPORT_PYTHON ZIPPER_OBJECT_BOTTOM_CLOSED_STOPPER = 6, // Bottom closed-end stopper (.zst): single OBJ input, saved as a single shape.
	};

	/// @enum ZipperScaleUnit
	/// @brief Unit of measurement for the OBJ geometry passed to GenerateZippersFromObj.
	///        Mirrors the scale unit combobox in the "Register OBJ" dialog.
	enum ZipperScaleUnit
	{
		EXPORT_PYTHON ZIPPER_SCALE_MM       = 0, /// 1 mm   = 0.01    CLO units (default)
		EXPORT_PYTHON ZIPPER_SCALE_CM       = 1, /// 1 cm   = 0.1     CLO units
		EXPORT_PYTHON ZIPPER_SCALE_INCH     = 2, /// 1 in   = 0.254   CLO units
		EXPORT_PYTHON ZIPPER_SCALE_FEET     = 3, /// 1 ft   = 3.048   CLO units
		EXPORT_PYTHON ZIPPER_SCALE_M        = 4, /// 1 m    = 10.0    CLO units
		EXPORT_PYTHON ZIPPER_SCALE_8_FEET   = 5, /// 8 ft   = 24.384  CLO units
		EXPORT_PYTHON ZIPPER_SCALE_8_6_FEET = 6, /// 8'6"   = 26.2128 CLO units
		EXPORT_PYTHON ZIPPER_SCALE_AUTO     = 7, /// Auto scale from OBJ bounding box (applies 0.01 factor with auto-scale flag)
	};

	/// @enum GraphicRemoveMode
	/// @brief Specifies which targets a RemoveGraphicStyle call should delete from.
	enum GraphicRemoveMode
	{
		EXPORT_PYTHON GRAPHIC_REMOVE_BROWSER_ONLY        = 0, /// Delete from Object Browser only. Fails if the graphic is currently applied to a pattern.
		EXPORT_PYTHON GRAPHIC_REMOVE_PATTERN_ONLY        = 1, /// Delete from Pattern only (retain in Object Browser).
		EXPORT_PYTHON GRAPHIC_REMOVE_PATTERN_AND_BROWSER = 2, /// Delete from both Pattern and Object Browser.
	};

	/// @struct ObjRegisterOptions
	/// @brief Full option set for GenerateZippersFromObj, mirroring all settings in the
	///        "Register OBJ" dialog (DialogRegisterZipperObject). Supports all 7 zipper part types:
	///        Slider, Puller, Slider+Puller, Teeth, Top Stopper, Bottom Open Stopper, Bottom Closed Stopper.
	struct ObjRegisterOptions
	{
		EXPORT_PYTHON ZipperObjectType objectType;              // Zipper part type. Determines the output file format.
		EXPORT_PYTHON std::string objFilePath;                  // Full path to the primary OBJ file.
		EXPORT_PYTHON std::string secondObjFilePath;            // Full path to the secondary OBJ file. Required for ZIPPER_OBJECT_TOP_STOPPER and ZIPPER_OBJECT_BOTTOM_OPEN_STOPPER.
		EXPORT_PYTHON std::vector<std::string> sliderMeshNames; // OBJ group names to assign as Slider mesh(es). Empty list triggers auto-assignment. (ZIPPER_OBJECT_SLIDER_PULLER only)
		EXPORT_PYTHON std::vector<std::string> pullerMeshNames; // OBJ group names to assign as Puller mesh(es). Empty list triggers auto-assignment. (ZIPPER_OBJECT_SLIDER_PULLER only)
		EXPORT_PYTHON ZipperScaleUnit scaleUnit;                // Measurement unit. Combined with scaleValue to compute the final scale factor.
		EXPORT_PYTHON double scaleValue;                        // Scale percentage (e.g., 100.0 = 100%). Multiplied by the unit factor (e.g., 0.01 for MM yields 1.0 at 100%).
		EXPORT_PYTHON int axisX;                                // OBJ axis mapped to CLO X (0=X, 1=Y, 2=Z). Default: 0.
		EXPORT_PYTHON int axisY;                                // OBJ axis mapped to CLO Y (0=X, 1=Y, 2=Z). Default: 1.
		EXPORT_PYTHON int axisZ;                                // OBJ axis mapped to CLO Z (0=X, 1=Y, 2=Z). Default: 2.
		EXPORT_PYTHON bool invertX;                             // Invert the mapped X axis. Default: false.
		EXPORT_PYTHON bool invertY;                             // Invert the mapped Y axis. Default: false.
		EXPORT_PYTHON bool invertZ;                             // Invert the mapped Z axis. Default: false.
		EXPORT_PYTHON float pullerPositionX;                    // Puller anchor X position in the zipper coordinate system. (ZIPPER_OBJECT_SLIDER type only)
		EXPORT_PYTHON float pullerPositionY;                    // Puller anchor Y position in the zipper coordinate system. (ZIPPER_OBJECT_SLIDER type only)
		EXPORT_PYTHON float pullerPositionZ;                    // Puller anchor Z position in the zipper coordinate system. (ZIPPER_OBJECT_SLIDER type only)
		EXPORT_PYTHON double teethSpace;                        // Spacing between zipper teeth rows in CLO units. (ZIPPER_OBJECT_TEETH type only) Default: 0.0.
		EXPORT_PYTHON bool addToObjectBrowser;                  // If true, refreshes the Object Browser asset list after saving so the new preset appears in the dropdown.

		ObjRegisterOptions() :
			objectType(ZIPPER_OBJECT_SLIDER_PULLER),
			objFilePath(""),
			secondObjFilePath(""),
			sliderMeshNames({}),
			pullerMeshNames({}),
			scaleUnit(ZIPPER_SCALE_MM),
			scaleValue(100.0),
			axisX(0),
			axisY(1),
			axisZ(2),
			invertX(false),
			invertY(false),
			invertZ(false),
			pullerPositionX(0.0f),
			pullerPositionY(0.0f),
			pullerPositionZ(0.0f),
			teethSpace(0.0),
			addToObjectBrowser(false)
		{
		}
	};

}
