From dd49b36606174edff546eda80fb5adddaeda0869 Mon Sep 17 00:00:00 2001 From: Jan Orend <56254096+3dJan@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:50:40 +0100 Subject: [PATCH] Align enum values to start from zero for ImplicitNodeType, ImplicitPortType, and ImplicitNodeConfiguration --- Autogenerated/Bindings/C/lib3mf_types.h | 118 ++++----- .../Bindings/CDynamic/lib3mf_types.h | 118 ++++----- Autogenerated/Bindings/CSharp/Lib3MF.cs | 118 ++++----- Autogenerated/Bindings/Cpp/lib3mf_types.hpp | 118 ++++----- .../Bindings/CppDynamic/lib3mf_types.hpp | 118 ++++----- Autogenerated/Bindings/Go/lib3mf.go | 118 ++++----- Autogenerated/Bindings/Go/lib3mf_types.h | 118 ++++----- .../Bindings/NodeJS/lib3mf_nodewrapper.cc | 118 ++++----- Autogenerated/Bindings/NodeJS/lib3mf_types.h | 118 ++++----- Autogenerated/Bindings/Pascal/Unit_Lib3MF.pas | 236 +++++++++--------- Autogenerated/Bindings/Python/Lib3MF.py | 118 ++++----- Autogenerated/Source/lib3mf_types.hpp | 118 ++++----- 12 files changed, 767 insertions(+), 767 deletions(-) diff --git a/Autogenerated/Bindings/C/lib3mf_types.h b/Autogenerated/Bindings/C/lib3mf_types.h index 52b76837..a5d436da 100644 --- a/Autogenerated/Bindings/C/lib3mf_types.h +++ b/Autogenerated/Bindings/C/lib3mf_types.h @@ -450,77 +450,77 @@ typedef enum eLib3MFCompositionSpace { * enum eLib3MFImplicitNodeType - The type of the node */ typedef enum eLib3MFImplicitNodeType { - eImplicitNodeTypeAddition = 1, /** Adds to values (scalar or vector) */ - eImplicitNodeTypeSubtraction = 2, /** Subtracts two values (scalar or vector) */ - eImplicitNodeTypeMultiplication = 3, /** Multiplies two values (scalar or vector) */ - eImplicitNodeTypeDivision = 4, /** Divides two values (scalar or vector) */ - eImplicitNodeTypeConstant = 5, /** A constant scalar value */ - eImplicitNodeTypeConstVec = 6, /** A constant vector value */ - eImplicitNodeTypeConstMat = 7, /** A constant matrix value */ - eImplicitNodeTypeComposeVector = 8, /** Creates a vector from three scalar values */ - eImplicitNodeTypeDecomposeVector = 9, /** Decomposes a vector into three scalar values */ - eImplicitNodeTypeComposeMatrix = 10, /** Creates a matrix from nine scalar values */ - eImplicitNodeTypeMatrixFromColumns = 11, /** Creates a matrix from three column vector values */ - eImplicitNodeTypeMatrixFromRows = 12, /** Creates a matrix from three row vector values */ - eImplicitNodeTypeDot = 13, /** Calculates the dot product of two vector values */ - eImplicitNodeTypeCross = 14, /** Calculates the cross product of two vector values */ - eImplicitNodeTypeMatVecMultiplication = 15, /** Multiplies a matrix with a vector */ - eImplicitNodeTypeTranspose = 16, /** Transposes a matrix */ - eImplicitNodeTypeInverse = 17, /** Computes the inverse of a matrix */ - eImplicitNodeTypeSinus = 18, /** Calculates the sinus */ - eImplicitNodeTypeCosinus = 19, /** Calculates the cosinus */ - eImplicitNodeTypeTan = 20, /** Calculates the tangent */ - eImplicitNodeTypeArcSin = 21, /** Calculates the arcsinus */ - eImplicitNodeTypeArcCos = 22, /** Calculates the arccosinus */ - eImplicitNodeTypeArcTan = 23, /** Calculates the arctangent */ - eImplicitNodeTypeArcTan2 = 24, /** Calculates the arctangent */ - eImplicitNodeTypeMin = 25, /** Calculates the minimum of two values */ - eImplicitNodeTypeMax = 26, /** Calculates the maximum of two values */ - eImplicitNodeTypeAbs = 27, /** Calculates the absolute value */ - eImplicitNodeTypeFmod = 28, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ - eImplicitNodeTypePow = 29, /** Calculates the power A^B */ - eImplicitNodeTypeSqrt = 30, /** Calculates the square root */ - eImplicitNodeTypeExp = 31, /** Exponential function */ - eImplicitNodeTypeLog = 32, /** Natural logarithmus */ - eImplicitNodeTypeLog2 = 33, /** Logarithmus to the base 2 */ - eImplicitNodeTypeLog10 = 34, /** Logarithmus to the base 10 */ - eImplicitNodeTypeSelect = 35, /** If A is less than B returns C, else D */ - eImplicitNodeTypeClamp = 36, /** Clamps the input value to min and max */ - eImplicitNodeTypeSinh = 37, /** Calculates the hyperbolic sine */ - eImplicitNodeTypeCosh = 38, /** Calculates the hyperbolic cosine */ - eImplicitNodeTypeTanh = 39, /** Calculates the hyperbolic tangent */ - eImplicitNodeTypeRound = 40, /** Rounds a scalar value to the nearest integer */ - eImplicitNodeTypeCeil = 41, /** Rounds a scalar value up to the nearest integer */ - eImplicitNodeTypeFloor = 42, /** Rounds a scalar value down to the nearest integer */ - eImplicitNodeTypeSign = 43, /** Returns the sign */ - eImplicitNodeTypeFract = 44, /** Returns the fractional part */ - eImplicitNodeTypeFunctionCall = 45, /** Calls a function */ - eImplicitNodeTypeMesh = 46, /** Calculates the signed distance to a mesh */ - eImplicitNodeTypeLength = 47, /** Calculates the length of a vector */ - eImplicitNodeTypeConstResourceID = 48, /** Selects a resource (function, mesh etc.) */ - eImplicitNodeTypeVectorFromScalar = 49, /** Creates a vector from one scalar values */ - eImplicitNodeTypeUnsignedMesh = 50, /** Calculates the unsigned distance to a mesh */ - eImplicitNodeTypeMod = 51 /** Calculates the modulo of two values (same behaviour as glsl mod) */ + eImplicitNodeTypeAddition = 0, /** Adds to values (scalar or vector) */ + eImplicitNodeTypeSubtraction = 1, /** Subtracts two values (scalar or vector) */ + eImplicitNodeTypeMultiplication = 2, /** Multiplies two values (scalar or vector) */ + eImplicitNodeTypeDivision = 3, /** Divides two values (scalar or vector) */ + eImplicitNodeTypeConstant = 4, /** A constant scalar value */ + eImplicitNodeTypeConstVec = 5, /** A constant vector value */ + eImplicitNodeTypeConstMat = 6, /** A constant matrix value */ + eImplicitNodeTypeComposeVector = 7, /** Creates a vector from three scalar values */ + eImplicitNodeTypeDecomposeVector = 8, /** Decomposes a vector into three scalar values */ + eImplicitNodeTypeComposeMatrix = 9, /** Creates a matrix from nine scalar values */ + eImplicitNodeTypeMatrixFromColumns = 10, /** Creates a matrix from three column vector values */ + eImplicitNodeTypeMatrixFromRows = 11, /** Creates a matrix from three row vector values */ + eImplicitNodeTypeDot = 12, /** Calculates the dot product of two vector values */ + eImplicitNodeTypeCross = 13, /** Calculates the cross product of two vector values */ + eImplicitNodeTypeMatVecMultiplication = 14, /** Multiplies a matrix with a vector */ + eImplicitNodeTypeTranspose = 15, /** Transposes a matrix */ + eImplicitNodeTypeInverse = 16, /** Computes the inverse of a matrix */ + eImplicitNodeTypeSinus = 17, /** Calculates the sinus */ + eImplicitNodeTypeCosinus = 18, /** Calculates the cosinus */ + eImplicitNodeTypeTan = 19, /** Calculates the tangent */ + eImplicitNodeTypeArcSin = 20, /** Calculates the arcsinus */ + eImplicitNodeTypeArcCos = 21, /** Calculates the arccosinus */ + eImplicitNodeTypeArcTan = 22, /** Calculates the arctangent */ + eImplicitNodeTypeArcTan2 = 23, /** Calculates the arctangent */ + eImplicitNodeTypeMin = 24, /** Calculates the minimum of two values */ + eImplicitNodeTypeMax = 25, /** Calculates the maximum of two values */ + eImplicitNodeTypeAbs = 26, /** Calculates the absolute value */ + eImplicitNodeTypeFmod = 27, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ + eImplicitNodeTypePow = 28, /** Calculates the power A^B */ + eImplicitNodeTypeSqrt = 29, /** Calculates the square root */ + eImplicitNodeTypeExp = 30, /** Exponential function */ + eImplicitNodeTypeLog = 31, /** Natural logarithmus */ + eImplicitNodeTypeLog2 = 32, /** Logarithmus to the base 2 */ + eImplicitNodeTypeLog10 = 33, /** Logarithmus to the base 10 */ + eImplicitNodeTypeSelect = 34, /** If A is less than B returns C, else D */ + eImplicitNodeTypeClamp = 35, /** Clamps the input value to min and max */ + eImplicitNodeTypeSinh = 36, /** Calculates the hyperbolic sine */ + eImplicitNodeTypeCosh = 37, /** Calculates the hyperbolic cosine */ + eImplicitNodeTypeTanh = 38, /** Calculates the hyperbolic tangent */ + eImplicitNodeTypeRound = 39, /** Rounds a scalar value to the nearest integer */ + eImplicitNodeTypeCeil = 40, /** Rounds a scalar value up to the nearest integer */ + eImplicitNodeTypeFloor = 41, /** Rounds a scalar value down to the nearest integer */ + eImplicitNodeTypeSign = 42, /** Returns the sign */ + eImplicitNodeTypeFract = 43, /** Returns the fractional part */ + eImplicitNodeTypeFunctionCall = 44, /** Calls a function */ + eImplicitNodeTypeMesh = 45, /** Calculates the signed distance to a mesh */ + eImplicitNodeTypeLength = 46, /** Calculates the length of a vector */ + eImplicitNodeTypeConstResourceID = 47, /** Selects a resource (function, mesh etc.) */ + eImplicitNodeTypeVectorFromScalar = 48, /** Creates a vector from one scalar values */ + eImplicitNodeTypeUnsignedMesh = 49, /** Calculates the unsigned distance to a mesh */ + eImplicitNodeTypeMod = 50 /** Calculates the modulo of two values (same behaviour as glsl mod) */ } eLib3MFImplicitNodeType; /** * enum eLib3MFImplicitPortType - The type of the port */ typedef enum eLib3MFImplicitPortType { - eImplicitPortTypeScalar = 1, /** Scalar */ - eImplicitPortTypeVector = 2, /** Vector */ - eImplicitPortTypeMatrix = 3, /** 4x4 Matrix */ - eImplicitPortTypeResourceID = 4 /** Resource ID */ + eImplicitPortTypeScalar = 0, /** Scalar */ + eImplicitPortTypeVector = 1, /** Vector */ + eImplicitPortTypeMatrix = 2, /** 4x4 Matrix */ + eImplicitPortTypeResourceID = 3 /** Resource ID */ } eLib3MFImplicitPortType; /** * enum eLib3MFImplicitNodeConfiguration - Defines the input and output types of a node */ typedef enum eLib3MFImplicitNodeConfiguration { - eImplicitNodeConfigurationDefault = 1, /** Default */ - eImplicitNodeConfigurationScalarToScalar = 2, /** Scalar -> Scalar */ - eImplicitNodeConfigurationVectorToVector = 3, /** Vector -> Vector */ - eImplicitNodeConfigurationMatrixToMatrix = 4 /** Matrix -> Matrix */ + eImplicitNodeConfigurationDefault = 0, /** Default */ + eImplicitNodeConfigurationScalarToScalar = 1, /** Scalar -> Scalar */ + eImplicitNodeConfigurationVectorToVector = 2, /** Vector -> Vector */ + eImplicitNodeConfigurationMatrixToMatrix = 3 /** Matrix -> Matrix */ } eLib3MFImplicitNodeConfiguration; typedef enum eLib3MFEncryptionAlgorithm { diff --git a/Autogenerated/Bindings/CDynamic/lib3mf_types.h b/Autogenerated/Bindings/CDynamic/lib3mf_types.h index 52b76837..a5d436da 100644 --- a/Autogenerated/Bindings/CDynamic/lib3mf_types.h +++ b/Autogenerated/Bindings/CDynamic/lib3mf_types.h @@ -450,77 +450,77 @@ typedef enum eLib3MFCompositionSpace { * enum eLib3MFImplicitNodeType - The type of the node */ typedef enum eLib3MFImplicitNodeType { - eImplicitNodeTypeAddition = 1, /** Adds to values (scalar or vector) */ - eImplicitNodeTypeSubtraction = 2, /** Subtracts two values (scalar or vector) */ - eImplicitNodeTypeMultiplication = 3, /** Multiplies two values (scalar or vector) */ - eImplicitNodeTypeDivision = 4, /** Divides two values (scalar or vector) */ - eImplicitNodeTypeConstant = 5, /** A constant scalar value */ - eImplicitNodeTypeConstVec = 6, /** A constant vector value */ - eImplicitNodeTypeConstMat = 7, /** A constant matrix value */ - eImplicitNodeTypeComposeVector = 8, /** Creates a vector from three scalar values */ - eImplicitNodeTypeDecomposeVector = 9, /** Decomposes a vector into three scalar values */ - eImplicitNodeTypeComposeMatrix = 10, /** Creates a matrix from nine scalar values */ - eImplicitNodeTypeMatrixFromColumns = 11, /** Creates a matrix from three column vector values */ - eImplicitNodeTypeMatrixFromRows = 12, /** Creates a matrix from three row vector values */ - eImplicitNodeTypeDot = 13, /** Calculates the dot product of two vector values */ - eImplicitNodeTypeCross = 14, /** Calculates the cross product of two vector values */ - eImplicitNodeTypeMatVecMultiplication = 15, /** Multiplies a matrix with a vector */ - eImplicitNodeTypeTranspose = 16, /** Transposes a matrix */ - eImplicitNodeTypeInverse = 17, /** Computes the inverse of a matrix */ - eImplicitNodeTypeSinus = 18, /** Calculates the sinus */ - eImplicitNodeTypeCosinus = 19, /** Calculates the cosinus */ - eImplicitNodeTypeTan = 20, /** Calculates the tangent */ - eImplicitNodeTypeArcSin = 21, /** Calculates the arcsinus */ - eImplicitNodeTypeArcCos = 22, /** Calculates the arccosinus */ - eImplicitNodeTypeArcTan = 23, /** Calculates the arctangent */ - eImplicitNodeTypeArcTan2 = 24, /** Calculates the arctangent */ - eImplicitNodeTypeMin = 25, /** Calculates the minimum of two values */ - eImplicitNodeTypeMax = 26, /** Calculates the maximum of two values */ - eImplicitNodeTypeAbs = 27, /** Calculates the absolute value */ - eImplicitNodeTypeFmod = 28, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ - eImplicitNodeTypePow = 29, /** Calculates the power A^B */ - eImplicitNodeTypeSqrt = 30, /** Calculates the square root */ - eImplicitNodeTypeExp = 31, /** Exponential function */ - eImplicitNodeTypeLog = 32, /** Natural logarithmus */ - eImplicitNodeTypeLog2 = 33, /** Logarithmus to the base 2 */ - eImplicitNodeTypeLog10 = 34, /** Logarithmus to the base 10 */ - eImplicitNodeTypeSelect = 35, /** If A is less than B returns C, else D */ - eImplicitNodeTypeClamp = 36, /** Clamps the input value to min and max */ - eImplicitNodeTypeSinh = 37, /** Calculates the hyperbolic sine */ - eImplicitNodeTypeCosh = 38, /** Calculates the hyperbolic cosine */ - eImplicitNodeTypeTanh = 39, /** Calculates the hyperbolic tangent */ - eImplicitNodeTypeRound = 40, /** Rounds a scalar value to the nearest integer */ - eImplicitNodeTypeCeil = 41, /** Rounds a scalar value up to the nearest integer */ - eImplicitNodeTypeFloor = 42, /** Rounds a scalar value down to the nearest integer */ - eImplicitNodeTypeSign = 43, /** Returns the sign */ - eImplicitNodeTypeFract = 44, /** Returns the fractional part */ - eImplicitNodeTypeFunctionCall = 45, /** Calls a function */ - eImplicitNodeTypeMesh = 46, /** Calculates the signed distance to a mesh */ - eImplicitNodeTypeLength = 47, /** Calculates the length of a vector */ - eImplicitNodeTypeConstResourceID = 48, /** Selects a resource (function, mesh etc.) */ - eImplicitNodeTypeVectorFromScalar = 49, /** Creates a vector from one scalar values */ - eImplicitNodeTypeUnsignedMesh = 50, /** Calculates the unsigned distance to a mesh */ - eImplicitNodeTypeMod = 51 /** Calculates the modulo of two values (same behaviour as glsl mod) */ + eImplicitNodeTypeAddition = 0, /** Adds to values (scalar or vector) */ + eImplicitNodeTypeSubtraction = 1, /** Subtracts two values (scalar or vector) */ + eImplicitNodeTypeMultiplication = 2, /** Multiplies two values (scalar or vector) */ + eImplicitNodeTypeDivision = 3, /** Divides two values (scalar or vector) */ + eImplicitNodeTypeConstant = 4, /** A constant scalar value */ + eImplicitNodeTypeConstVec = 5, /** A constant vector value */ + eImplicitNodeTypeConstMat = 6, /** A constant matrix value */ + eImplicitNodeTypeComposeVector = 7, /** Creates a vector from three scalar values */ + eImplicitNodeTypeDecomposeVector = 8, /** Decomposes a vector into three scalar values */ + eImplicitNodeTypeComposeMatrix = 9, /** Creates a matrix from nine scalar values */ + eImplicitNodeTypeMatrixFromColumns = 10, /** Creates a matrix from three column vector values */ + eImplicitNodeTypeMatrixFromRows = 11, /** Creates a matrix from three row vector values */ + eImplicitNodeTypeDot = 12, /** Calculates the dot product of two vector values */ + eImplicitNodeTypeCross = 13, /** Calculates the cross product of two vector values */ + eImplicitNodeTypeMatVecMultiplication = 14, /** Multiplies a matrix with a vector */ + eImplicitNodeTypeTranspose = 15, /** Transposes a matrix */ + eImplicitNodeTypeInverse = 16, /** Computes the inverse of a matrix */ + eImplicitNodeTypeSinus = 17, /** Calculates the sinus */ + eImplicitNodeTypeCosinus = 18, /** Calculates the cosinus */ + eImplicitNodeTypeTan = 19, /** Calculates the tangent */ + eImplicitNodeTypeArcSin = 20, /** Calculates the arcsinus */ + eImplicitNodeTypeArcCos = 21, /** Calculates the arccosinus */ + eImplicitNodeTypeArcTan = 22, /** Calculates the arctangent */ + eImplicitNodeTypeArcTan2 = 23, /** Calculates the arctangent */ + eImplicitNodeTypeMin = 24, /** Calculates the minimum of two values */ + eImplicitNodeTypeMax = 25, /** Calculates the maximum of two values */ + eImplicitNodeTypeAbs = 26, /** Calculates the absolute value */ + eImplicitNodeTypeFmod = 27, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ + eImplicitNodeTypePow = 28, /** Calculates the power A^B */ + eImplicitNodeTypeSqrt = 29, /** Calculates the square root */ + eImplicitNodeTypeExp = 30, /** Exponential function */ + eImplicitNodeTypeLog = 31, /** Natural logarithmus */ + eImplicitNodeTypeLog2 = 32, /** Logarithmus to the base 2 */ + eImplicitNodeTypeLog10 = 33, /** Logarithmus to the base 10 */ + eImplicitNodeTypeSelect = 34, /** If A is less than B returns C, else D */ + eImplicitNodeTypeClamp = 35, /** Clamps the input value to min and max */ + eImplicitNodeTypeSinh = 36, /** Calculates the hyperbolic sine */ + eImplicitNodeTypeCosh = 37, /** Calculates the hyperbolic cosine */ + eImplicitNodeTypeTanh = 38, /** Calculates the hyperbolic tangent */ + eImplicitNodeTypeRound = 39, /** Rounds a scalar value to the nearest integer */ + eImplicitNodeTypeCeil = 40, /** Rounds a scalar value up to the nearest integer */ + eImplicitNodeTypeFloor = 41, /** Rounds a scalar value down to the nearest integer */ + eImplicitNodeTypeSign = 42, /** Returns the sign */ + eImplicitNodeTypeFract = 43, /** Returns the fractional part */ + eImplicitNodeTypeFunctionCall = 44, /** Calls a function */ + eImplicitNodeTypeMesh = 45, /** Calculates the signed distance to a mesh */ + eImplicitNodeTypeLength = 46, /** Calculates the length of a vector */ + eImplicitNodeTypeConstResourceID = 47, /** Selects a resource (function, mesh etc.) */ + eImplicitNodeTypeVectorFromScalar = 48, /** Creates a vector from one scalar values */ + eImplicitNodeTypeUnsignedMesh = 49, /** Calculates the unsigned distance to a mesh */ + eImplicitNodeTypeMod = 50 /** Calculates the modulo of two values (same behaviour as glsl mod) */ } eLib3MFImplicitNodeType; /** * enum eLib3MFImplicitPortType - The type of the port */ typedef enum eLib3MFImplicitPortType { - eImplicitPortTypeScalar = 1, /** Scalar */ - eImplicitPortTypeVector = 2, /** Vector */ - eImplicitPortTypeMatrix = 3, /** 4x4 Matrix */ - eImplicitPortTypeResourceID = 4 /** Resource ID */ + eImplicitPortTypeScalar = 0, /** Scalar */ + eImplicitPortTypeVector = 1, /** Vector */ + eImplicitPortTypeMatrix = 2, /** 4x4 Matrix */ + eImplicitPortTypeResourceID = 3 /** Resource ID */ } eLib3MFImplicitPortType; /** * enum eLib3MFImplicitNodeConfiguration - Defines the input and output types of a node */ typedef enum eLib3MFImplicitNodeConfiguration { - eImplicitNodeConfigurationDefault = 1, /** Default */ - eImplicitNodeConfigurationScalarToScalar = 2, /** Scalar -> Scalar */ - eImplicitNodeConfigurationVectorToVector = 3, /** Vector -> Vector */ - eImplicitNodeConfigurationMatrixToMatrix = 4 /** Matrix -> Matrix */ + eImplicitNodeConfigurationDefault = 0, /** Default */ + eImplicitNodeConfigurationScalarToScalar = 1, /** Scalar -> Scalar */ + eImplicitNodeConfigurationVectorToVector = 2, /** Vector -> Vector */ + eImplicitNodeConfigurationMatrixToMatrix = 3 /** Matrix -> Matrix */ } eLib3MFImplicitNodeConfiguration; typedef enum eLib3MFEncryptionAlgorithm { diff --git a/Autogenerated/Bindings/CSharp/Lib3MF.cs b/Autogenerated/Bindings/CSharp/Lib3MF.cs index dfe4a97b..b43b8beb 100644 --- a/Autogenerated/Bindings/CSharp/Lib3MF.cs +++ b/Autogenerated/Bindings/CSharp/Lib3MF.cs @@ -160,71 +160,71 @@ public enum eCompositionSpace { }; public enum eImplicitNodeType { - Addition = 1, - Subtraction = 2, - Multiplication = 3, - Division = 4, - Constant = 5, - ConstVec = 6, - ConstMat = 7, - ComposeVector = 8, - DecomposeVector = 9, - ComposeMatrix = 10, - MatrixFromColumns = 11, - MatrixFromRows = 12, - Dot = 13, - Cross = 14, - MatVecMultiplication = 15, - Transpose = 16, - Inverse = 17, - Sinus = 18, - Cosinus = 19, - Tan = 20, - ArcSin = 21, - ArcCos = 22, - ArcTan = 23, - ArcTan2 = 24, - Min = 25, - Max = 26, - Abs = 27, - Fmod = 28, - Pow = 29, - Sqrt = 30, - Exp = 31, - Log = 32, - Log2 = 33, - Log10 = 34, - Select = 35, - Clamp = 36, - Sinh = 37, - Cosh = 38, - Tanh = 39, - Round = 40, - Ceil = 41, - Floor = 42, - Sign = 43, - Fract = 44, - FunctionCall = 45, - Mesh = 46, - Length = 47, - ConstResourceID = 48, - VectorFromScalar = 49, - UnsignedMesh = 50, - Mod = 51 + Addition = 0, + Subtraction = 1, + Multiplication = 2, + Division = 3, + Constant = 4, + ConstVec = 5, + ConstMat = 6, + ComposeVector = 7, + DecomposeVector = 8, + ComposeMatrix = 9, + MatrixFromColumns = 10, + MatrixFromRows = 11, + Dot = 12, + Cross = 13, + MatVecMultiplication = 14, + Transpose = 15, + Inverse = 16, + Sinus = 17, + Cosinus = 18, + Tan = 19, + ArcSin = 20, + ArcCos = 21, + ArcTan = 22, + ArcTan2 = 23, + Min = 24, + Max = 25, + Abs = 26, + Fmod = 27, + Pow = 28, + Sqrt = 29, + Exp = 30, + Log = 31, + Log2 = 32, + Log10 = 33, + Select = 34, + Clamp = 35, + Sinh = 36, + Cosh = 37, + Tanh = 38, + Round = 39, + Ceil = 40, + Floor = 41, + Sign = 42, + Fract = 43, + FunctionCall = 44, + Mesh = 45, + Length = 46, + ConstResourceID = 47, + VectorFromScalar = 48, + UnsignedMesh = 49, + Mod = 50 }; public enum eImplicitPortType { - Scalar = 1, - Vector = 2, - Matrix = 3, - ResourceID = 4 + Scalar = 0, + Vector = 1, + Matrix = 2, + ResourceID = 3 }; public enum eImplicitNodeConfiguration { - Default = 1, - ScalarToScalar = 2, - VectorToVector = 3, - MatrixToMatrix = 4 + Default = 0, + ScalarToScalar = 1, + VectorToVector = 2, + MatrixToMatrix = 3 }; public enum eEncryptionAlgorithm { diff --git a/Autogenerated/Bindings/Cpp/lib3mf_types.hpp b/Autogenerated/Bindings/Cpp/lib3mf_types.hpp index c059421a..4ba95915 100644 --- a/Autogenerated/Bindings/Cpp/lib3mf_types.hpp +++ b/Autogenerated/Bindings/Cpp/lib3mf_types.hpp @@ -451,77 +451,77 @@ namespace Lib3MF { * enum class eImplicitNodeType - The type of the node */ enum class eImplicitNodeType : Lib3MF_int32 { - Addition = 1, /** Adds to values (scalar or vector) */ - Subtraction = 2, /** Subtracts two values (scalar or vector) */ - Multiplication = 3, /** Multiplies two values (scalar or vector) */ - Division = 4, /** Divides two values (scalar or vector) */ - Constant = 5, /** A constant scalar value */ - ConstVec = 6, /** A constant vector value */ - ConstMat = 7, /** A constant matrix value */ - ComposeVector = 8, /** Creates a vector from three scalar values */ - DecomposeVector = 9, /** Decomposes a vector into three scalar values */ - ComposeMatrix = 10, /** Creates a matrix from nine scalar values */ - MatrixFromColumns = 11, /** Creates a matrix from three column vector values */ - MatrixFromRows = 12, /** Creates a matrix from three row vector values */ - Dot = 13, /** Calculates the dot product of two vector values */ - Cross = 14, /** Calculates the cross product of two vector values */ - MatVecMultiplication = 15, /** Multiplies a matrix with a vector */ - Transpose = 16, /** Transposes a matrix */ - Inverse = 17, /** Computes the inverse of a matrix */ - Sinus = 18, /** Calculates the sinus */ - Cosinus = 19, /** Calculates the cosinus */ - Tan = 20, /** Calculates the tangent */ - ArcSin = 21, /** Calculates the arcsinus */ - ArcCos = 22, /** Calculates the arccosinus */ - ArcTan = 23, /** Calculates the arctangent */ - ArcTan2 = 24, /** Calculates the arctangent */ - Min = 25, /** Calculates the minimum of two values */ - Max = 26, /** Calculates the maximum of two values */ - Abs = 27, /** Calculates the absolute value */ - Fmod = 28, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ - Pow = 29, /** Calculates the power A^B */ - Sqrt = 30, /** Calculates the square root */ - Exp = 31, /** Exponential function */ - Log = 32, /** Natural logarithmus */ - Log2 = 33, /** Logarithmus to the base 2 */ - Log10 = 34, /** Logarithmus to the base 10 */ - Select = 35, /** If A is less than B returns C, else D */ - Clamp = 36, /** Clamps the input value to min and max */ - Sinh = 37, /** Calculates the hyperbolic sine */ - Cosh = 38, /** Calculates the hyperbolic cosine */ - Tanh = 39, /** Calculates the hyperbolic tangent */ - Round = 40, /** Rounds a scalar value to the nearest integer */ - Ceil = 41, /** Rounds a scalar value up to the nearest integer */ - Floor = 42, /** Rounds a scalar value down to the nearest integer */ - Sign = 43, /** Returns the sign */ - Fract = 44, /** Returns the fractional part */ - FunctionCall = 45, /** Calls a function */ - Mesh = 46, /** Calculates the signed distance to a mesh */ - Length = 47, /** Calculates the length of a vector */ - ConstResourceID = 48, /** Selects a resource (function, mesh etc.) */ - VectorFromScalar = 49, /** Creates a vector from one scalar values */ - UnsignedMesh = 50, /** Calculates the unsigned distance to a mesh */ - Mod = 51 /** Calculates the modulo of two values (same behaviour as glsl mod) */ + Addition = 0, /** Adds to values (scalar or vector) */ + Subtraction = 1, /** Subtracts two values (scalar or vector) */ + Multiplication = 2, /** Multiplies two values (scalar or vector) */ + Division = 3, /** Divides two values (scalar or vector) */ + Constant = 4, /** A constant scalar value */ + ConstVec = 5, /** A constant vector value */ + ConstMat = 6, /** A constant matrix value */ + ComposeVector = 7, /** Creates a vector from three scalar values */ + DecomposeVector = 8, /** Decomposes a vector into three scalar values */ + ComposeMatrix = 9, /** Creates a matrix from nine scalar values */ + MatrixFromColumns = 10, /** Creates a matrix from three column vector values */ + MatrixFromRows = 11, /** Creates a matrix from three row vector values */ + Dot = 12, /** Calculates the dot product of two vector values */ + Cross = 13, /** Calculates the cross product of two vector values */ + MatVecMultiplication = 14, /** Multiplies a matrix with a vector */ + Transpose = 15, /** Transposes a matrix */ + Inverse = 16, /** Computes the inverse of a matrix */ + Sinus = 17, /** Calculates the sinus */ + Cosinus = 18, /** Calculates the cosinus */ + Tan = 19, /** Calculates the tangent */ + ArcSin = 20, /** Calculates the arcsinus */ + ArcCos = 21, /** Calculates the arccosinus */ + ArcTan = 22, /** Calculates the arctangent */ + ArcTan2 = 23, /** Calculates the arctangent */ + Min = 24, /** Calculates the minimum of two values */ + Max = 25, /** Calculates the maximum of two values */ + Abs = 26, /** Calculates the absolute value */ + Fmod = 27, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ + Pow = 28, /** Calculates the power A^B */ + Sqrt = 29, /** Calculates the square root */ + Exp = 30, /** Exponential function */ + Log = 31, /** Natural logarithmus */ + Log2 = 32, /** Logarithmus to the base 2 */ + Log10 = 33, /** Logarithmus to the base 10 */ + Select = 34, /** If A is less than B returns C, else D */ + Clamp = 35, /** Clamps the input value to min and max */ + Sinh = 36, /** Calculates the hyperbolic sine */ + Cosh = 37, /** Calculates the hyperbolic cosine */ + Tanh = 38, /** Calculates the hyperbolic tangent */ + Round = 39, /** Rounds a scalar value to the nearest integer */ + Ceil = 40, /** Rounds a scalar value up to the nearest integer */ + Floor = 41, /** Rounds a scalar value down to the nearest integer */ + Sign = 42, /** Returns the sign */ + Fract = 43, /** Returns the fractional part */ + FunctionCall = 44, /** Calls a function */ + Mesh = 45, /** Calculates the signed distance to a mesh */ + Length = 46, /** Calculates the length of a vector */ + ConstResourceID = 47, /** Selects a resource (function, mesh etc.) */ + VectorFromScalar = 48, /** Creates a vector from one scalar values */ + UnsignedMesh = 49, /** Calculates the unsigned distance to a mesh */ + Mod = 50 /** Calculates the modulo of two values (same behaviour as glsl mod) */ }; /** * enum class eImplicitPortType - The type of the port */ enum class eImplicitPortType : Lib3MF_int32 { - Scalar = 1, /** Scalar */ - Vector = 2, /** Vector */ - Matrix = 3, /** 4x4 Matrix */ - ResourceID = 4 /** Resource ID */ + Scalar = 0, /** Scalar */ + Vector = 1, /** Vector */ + Matrix = 2, /** 4x4 Matrix */ + ResourceID = 3 /** Resource ID */ }; /** * enum class eImplicitNodeConfiguration - Defines the input and output types of a node */ enum class eImplicitNodeConfiguration : Lib3MF_int32 { - Default = 1, /** Default */ - ScalarToScalar = 2, /** Scalar -> Scalar */ - VectorToVector = 3, /** Vector -> Vector */ - MatrixToMatrix = 4 /** Matrix -> Matrix */ + Default = 0, /** Default */ + ScalarToScalar = 1, /** Scalar -> Scalar */ + VectorToVector = 2, /** Vector -> Vector */ + MatrixToMatrix = 3 /** Matrix -> Matrix */ }; enum class eEncryptionAlgorithm : Lib3MF_int32 { diff --git a/Autogenerated/Bindings/CppDynamic/lib3mf_types.hpp b/Autogenerated/Bindings/CppDynamic/lib3mf_types.hpp index c059421a..4ba95915 100644 --- a/Autogenerated/Bindings/CppDynamic/lib3mf_types.hpp +++ b/Autogenerated/Bindings/CppDynamic/lib3mf_types.hpp @@ -451,77 +451,77 @@ namespace Lib3MF { * enum class eImplicitNodeType - The type of the node */ enum class eImplicitNodeType : Lib3MF_int32 { - Addition = 1, /** Adds to values (scalar or vector) */ - Subtraction = 2, /** Subtracts two values (scalar or vector) */ - Multiplication = 3, /** Multiplies two values (scalar or vector) */ - Division = 4, /** Divides two values (scalar or vector) */ - Constant = 5, /** A constant scalar value */ - ConstVec = 6, /** A constant vector value */ - ConstMat = 7, /** A constant matrix value */ - ComposeVector = 8, /** Creates a vector from three scalar values */ - DecomposeVector = 9, /** Decomposes a vector into three scalar values */ - ComposeMatrix = 10, /** Creates a matrix from nine scalar values */ - MatrixFromColumns = 11, /** Creates a matrix from three column vector values */ - MatrixFromRows = 12, /** Creates a matrix from three row vector values */ - Dot = 13, /** Calculates the dot product of two vector values */ - Cross = 14, /** Calculates the cross product of two vector values */ - MatVecMultiplication = 15, /** Multiplies a matrix with a vector */ - Transpose = 16, /** Transposes a matrix */ - Inverse = 17, /** Computes the inverse of a matrix */ - Sinus = 18, /** Calculates the sinus */ - Cosinus = 19, /** Calculates the cosinus */ - Tan = 20, /** Calculates the tangent */ - ArcSin = 21, /** Calculates the arcsinus */ - ArcCos = 22, /** Calculates the arccosinus */ - ArcTan = 23, /** Calculates the arctangent */ - ArcTan2 = 24, /** Calculates the arctangent */ - Min = 25, /** Calculates the minimum of two values */ - Max = 26, /** Calculates the maximum of two values */ - Abs = 27, /** Calculates the absolute value */ - Fmod = 28, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ - Pow = 29, /** Calculates the power A^B */ - Sqrt = 30, /** Calculates the square root */ - Exp = 31, /** Exponential function */ - Log = 32, /** Natural logarithmus */ - Log2 = 33, /** Logarithmus to the base 2 */ - Log10 = 34, /** Logarithmus to the base 10 */ - Select = 35, /** If A is less than B returns C, else D */ - Clamp = 36, /** Clamps the input value to min and max */ - Sinh = 37, /** Calculates the hyperbolic sine */ - Cosh = 38, /** Calculates the hyperbolic cosine */ - Tanh = 39, /** Calculates the hyperbolic tangent */ - Round = 40, /** Rounds a scalar value to the nearest integer */ - Ceil = 41, /** Rounds a scalar value up to the nearest integer */ - Floor = 42, /** Rounds a scalar value down to the nearest integer */ - Sign = 43, /** Returns the sign */ - Fract = 44, /** Returns the fractional part */ - FunctionCall = 45, /** Calls a function */ - Mesh = 46, /** Calculates the signed distance to a mesh */ - Length = 47, /** Calculates the length of a vector */ - ConstResourceID = 48, /** Selects a resource (function, mesh etc.) */ - VectorFromScalar = 49, /** Creates a vector from one scalar values */ - UnsignedMesh = 50, /** Calculates the unsigned distance to a mesh */ - Mod = 51 /** Calculates the modulo of two values (same behaviour as glsl mod) */ + Addition = 0, /** Adds to values (scalar or vector) */ + Subtraction = 1, /** Subtracts two values (scalar or vector) */ + Multiplication = 2, /** Multiplies two values (scalar or vector) */ + Division = 3, /** Divides two values (scalar or vector) */ + Constant = 4, /** A constant scalar value */ + ConstVec = 5, /** A constant vector value */ + ConstMat = 6, /** A constant matrix value */ + ComposeVector = 7, /** Creates a vector from three scalar values */ + DecomposeVector = 8, /** Decomposes a vector into three scalar values */ + ComposeMatrix = 9, /** Creates a matrix from nine scalar values */ + MatrixFromColumns = 10, /** Creates a matrix from three column vector values */ + MatrixFromRows = 11, /** Creates a matrix from three row vector values */ + Dot = 12, /** Calculates the dot product of two vector values */ + Cross = 13, /** Calculates the cross product of two vector values */ + MatVecMultiplication = 14, /** Multiplies a matrix with a vector */ + Transpose = 15, /** Transposes a matrix */ + Inverse = 16, /** Computes the inverse of a matrix */ + Sinus = 17, /** Calculates the sinus */ + Cosinus = 18, /** Calculates the cosinus */ + Tan = 19, /** Calculates the tangent */ + ArcSin = 20, /** Calculates the arcsinus */ + ArcCos = 21, /** Calculates the arccosinus */ + ArcTan = 22, /** Calculates the arctangent */ + ArcTan2 = 23, /** Calculates the arctangent */ + Min = 24, /** Calculates the minimum of two values */ + Max = 25, /** Calculates the maximum of two values */ + Abs = 26, /** Calculates the absolute value */ + Fmod = 27, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ + Pow = 28, /** Calculates the power A^B */ + Sqrt = 29, /** Calculates the square root */ + Exp = 30, /** Exponential function */ + Log = 31, /** Natural logarithmus */ + Log2 = 32, /** Logarithmus to the base 2 */ + Log10 = 33, /** Logarithmus to the base 10 */ + Select = 34, /** If A is less than B returns C, else D */ + Clamp = 35, /** Clamps the input value to min and max */ + Sinh = 36, /** Calculates the hyperbolic sine */ + Cosh = 37, /** Calculates the hyperbolic cosine */ + Tanh = 38, /** Calculates the hyperbolic tangent */ + Round = 39, /** Rounds a scalar value to the nearest integer */ + Ceil = 40, /** Rounds a scalar value up to the nearest integer */ + Floor = 41, /** Rounds a scalar value down to the nearest integer */ + Sign = 42, /** Returns the sign */ + Fract = 43, /** Returns the fractional part */ + FunctionCall = 44, /** Calls a function */ + Mesh = 45, /** Calculates the signed distance to a mesh */ + Length = 46, /** Calculates the length of a vector */ + ConstResourceID = 47, /** Selects a resource (function, mesh etc.) */ + VectorFromScalar = 48, /** Creates a vector from one scalar values */ + UnsignedMesh = 49, /** Calculates the unsigned distance to a mesh */ + Mod = 50 /** Calculates the modulo of two values (same behaviour as glsl mod) */ }; /** * enum class eImplicitPortType - The type of the port */ enum class eImplicitPortType : Lib3MF_int32 { - Scalar = 1, /** Scalar */ - Vector = 2, /** Vector */ - Matrix = 3, /** 4x4 Matrix */ - ResourceID = 4 /** Resource ID */ + Scalar = 0, /** Scalar */ + Vector = 1, /** Vector */ + Matrix = 2, /** 4x4 Matrix */ + ResourceID = 3 /** Resource ID */ }; /** * enum class eImplicitNodeConfiguration - Defines the input and output types of a node */ enum class eImplicitNodeConfiguration : Lib3MF_int32 { - Default = 1, /** Default */ - ScalarToScalar = 2, /** Scalar -> Scalar */ - VectorToVector = 3, /** Vector -> Vector */ - MatrixToMatrix = 4 /** Matrix -> Matrix */ + Default = 0, /** Default */ + ScalarToScalar = 1, /** Scalar -> Scalar */ + VectorToVector = 2, /** Vector -> Vector */ + MatrixToMatrix = 3 /** Matrix -> Matrix */ }; enum class eEncryptionAlgorithm : Lib3MF_int32 { diff --git a/Autogenerated/Bindings/Go/lib3mf.go b/Autogenerated/Bindings/Go/lib3mf.go index 517c7677..f1955083 100644 --- a/Autogenerated/Bindings/Go/lib3mf.go +++ b/Autogenerated/Bindings/Go/lib3mf.go @@ -5670,77 +5670,77 @@ const ( type ImplicitNodeType int const ( - ImplicitNodeType_Addition = 1 - ImplicitNodeType_Subtraction = 2 - ImplicitNodeType_Multiplication = 3 - ImplicitNodeType_Division = 4 - ImplicitNodeType_Constant = 5 - ImplicitNodeType_ConstVec = 6 - ImplicitNodeType_ConstMat = 7 - ImplicitNodeType_ComposeVector = 8 - ImplicitNodeType_DecomposeVector = 9 - ImplicitNodeType_ComposeMatrix = 10 - ImplicitNodeType_MatrixFromColumns = 11 - ImplicitNodeType_MatrixFromRows = 12 - ImplicitNodeType_Dot = 13 - ImplicitNodeType_Cross = 14 - ImplicitNodeType_MatVecMultiplication = 15 - ImplicitNodeType_Transpose = 16 - ImplicitNodeType_Inverse = 17 - ImplicitNodeType_Sinus = 18 - ImplicitNodeType_Cosinus = 19 - ImplicitNodeType_Tan = 20 - ImplicitNodeType_ArcSin = 21 - ImplicitNodeType_ArcCos = 22 - ImplicitNodeType_ArcTan = 23 - ImplicitNodeType_ArcTan2 = 24 - ImplicitNodeType_Min = 25 - ImplicitNodeType_Max = 26 - ImplicitNodeType_Abs = 27 - ImplicitNodeType_Fmod = 28 - ImplicitNodeType_Pow = 29 - ImplicitNodeType_Sqrt = 30 - ImplicitNodeType_Exp = 31 - ImplicitNodeType_Log = 32 - ImplicitNodeType_Log2 = 33 - ImplicitNodeType_Log10 = 34 - ImplicitNodeType_Select = 35 - ImplicitNodeType_Clamp = 36 - ImplicitNodeType_Sinh = 37 - ImplicitNodeType_Cosh = 38 - ImplicitNodeType_Tanh = 39 - ImplicitNodeType_Round = 40 - ImplicitNodeType_Ceil = 41 - ImplicitNodeType_Floor = 42 - ImplicitNodeType_Sign = 43 - ImplicitNodeType_Fract = 44 - ImplicitNodeType_FunctionCall = 45 - ImplicitNodeType_Mesh = 46 - ImplicitNodeType_Length = 47 - ImplicitNodeType_ConstResourceID = 48 - ImplicitNodeType_VectorFromScalar = 49 - ImplicitNodeType_UnsignedMesh = 50 - ImplicitNodeType_Mod = 51 + ImplicitNodeType_Addition = 0 + ImplicitNodeType_Subtraction = 1 + ImplicitNodeType_Multiplication = 2 + ImplicitNodeType_Division = 3 + ImplicitNodeType_Constant = 4 + ImplicitNodeType_ConstVec = 5 + ImplicitNodeType_ConstMat = 6 + ImplicitNodeType_ComposeVector = 7 + ImplicitNodeType_DecomposeVector = 8 + ImplicitNodeType_ComposeMatrix = 9 + ImplicitNodeType_MatrixFromColumns = 10 + ImplicitNodeType_MatrixFromRows = 11 + ImplicitNodeType_Dot = 12 + ImplicitNodeType_Cross = 13 + ImplicitNodeType_MatVecMultiplication = 14 + ImplicitNodeType_Transpose = 15 + ImplicitNodeType_Inverse = 16 + ImplicitNodeType_Sinus = 17 + ImplicitNodeType_Cosinus = 18 + ImplicitNodeType_Tan = 19 + ImplicitNodeType_ArcSin = 20 + ImplicitNodeType_ArcCos = 21 + ImplicitNodeType_ArcTan = 22 + ImplicitNodeType_ArcTan2 = 23 + ImplicitNodeType_Min = 24 + ImplicitNodeType_Max = 25 + ImplicitNodeType_Abs = 26 + ImplicitNodeType_Fmod = 27 + ImplicitNodeType_Pow = 28 + ImplicitNodeType_Sqrt = 29 + ImplicitNodeType_Exp = 30 + ImplicitNodeType_Log = 31 + ImplicitNodeType_Log2 = 32 + ImplicitNodeType_Log10 = 33 + ImplicitNodeType_Select = 34 + ImplicitNodeType_Clamp = 35 + ImplicitNodeType_Sinh = 36 + ImplicitNodeType_Cosh = 37 + ImplicitNodeType_Tanh = 38 + ImplicitNodeType_Round = 39 + ImplicitNodeType_Ceil = 40 + ImplicitNodeType_Floor = 41 + ImplicitNodeType_Sign = 42 + ImplicitNodeType_Fract = 43 + ImplicitNodeType_FunctionCall = 44 + ImplicitNodeType_Mesh = 45 + ImplicitNodeType_Length = 46 + ImplicitNodeType_ConstResourceID = 47 + ImplicitNodeType_VectorFromScalar = 48 + ImplicitNodeType_UnsignedMesh = 49 + ImplicitNodeType_Mod = 50 ) // ImplicitPortType represents a Lib3MF enum. type ImplicitPortType int const ( - ImplicitPortType_Scalar = 1 - ImplicitPortType_Vector = 2 - ImplicitPortType_Matrix = 3 - ImplicitPortType_ResourceID = 4 + ImplicitPortType_Scalar = 0 + ImplicitPortType_Vector = 1 + ImplicitPortType_Matrix = 2 + ImplicitPortType_ResourceID = 3 ) // ImplicitNodeConfiguration represents a Lib3MF enum. type ImplicitNodeConfiguration int const ( - ImplicitNodeConfiguration_Default = 1 - ImplicitNodeConfiguration_ScalarToScalar = 2 - ImplicitNodeConfiguration_VectorToVector = 3 - ImplicitNodeConfiguration_MatrixToMatrix = 4 + ImplicitNodeConfiguration_Default = 0 + ImplicitNodeConfiguration_ScalarToScalar = 1 + ImplicitNodeConfiguration_VectorToVector = 2 + ImplicitNodeConfiguration_MatrixToMatrix = 3 ) // EncryptionAlgorithm represents a Lib3MF enum. diff --git a/Autogenerated/Bindings/Go/lib3mf_types.h b/Autogenerated/Bindings/Go/lib3mf_types.h index 52b76837..a5d436da 100644 --- a/Autogenerated/Bindings/Go/lib3mf_types.h +++ b/Autogenerated/Bindings/Go/lib3mf_types.h @@ -450,77 +450,77 @@ typedef enum eLib3MFCompositionSpace { * enum eLib3MFImplicitNodeType - The type of the node */ typedef enum eLib3MFImplicitNodeType { - eImplicitNodeTypeAddition = 1, /** Adds to values (scalar or vector) */ - eImplicitNodeTypeSubtraction = 2, /** Subtracts two values (scalar or vector) */ - eImplicitNodeTypeMultiplication = 3, /** Multiplies two values (scalar or vector) */ - eImplicitNodeTypeDivision = 4, /** Divides two values (scalar or vector) */ - eImplicitNodeTypeConstant = 5, /** A constant scalar value */ - eImplicitNodeTypeConstVec = 6, /** A constant vector value */ - eImplicitNodeTypeConstMat = 7, /** A constant matrix value */ - eImplicitNodeTypeComposeVector = 8, /** Creates a vector from three scalar values */ - eImplicitNodeTypeDecomposeVector = 9, /** Decomposes a vector into three scalar values */ - eImplicitNodeTypeComposeMatrix = 10, /** Creates a matrix from nine scalar values */ - eImplicitNodeTypeMatrixFromColumns = 11, /** Creates a matrix from three column vector values */ - eImplicitNodeTypeMatrixFromRows = 12, /** Creates a matrix from three row vector values */ - eImplicitNodeTypeDot = 13, /** Calculates the dot product of two vector values */ - eImplicitNodeTypeCross = 14, /** Calculates the cross product of two vector values */ - eImplicitNodeTypeMatVecMultiplication = 15, /** Multiplies a matrix with a vector */ - eImplicitNodeTypeTranspose = 16, /** Transposes a matrix */ - eImplicitNodeTypeInverse = 17, /** Computes the inverse of a matrix */ - eImplicitNodeTypeSinus = 18, /** Calculates the sinus */ - eImplicitNodeTypeCosinus = 19, /** Calculates the cosinus */ - eImplicitNodeTypeTan = 20, /** Calculates the tangent */ - eImplicitNodeTypeArcSin = 21, /** Calculates the arcsinus */ - eImplicitNodeTypeArcCos = 22, /** Calculates the arccosinus */ - eImplicitNodeTypeArcTan = 23, /** Calculates the arctangent */ - eImplicitNodeTypeArcTan2 = 24, /** Calculates the arctangent */ - eImplicitNodeTypeMin = 25, /** Calculates the minimum of two values */ - eImplicitNodeTypeMax = 26, /** Calculates the maximum of two values */ - eImplicitNodeTypeAbs = 27, /** Calculates the absolute value */ - eImplicitNodeTypeFmod = 28, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ - eImplicitNodeTypePow = 29, /** Calculates the power A^B */ - eImplicitNodeTypeSqrt = 30, /** Calculates the square root */ - eImplicitNodeTypeExp = 31, /** Exponential function */ - eImplicitNodeTypeLog = 32, /** Natural logarithmus */ - eImplicitNodeTypeLog2 = 33, /** Logarithmus to the base 2 */ - eImplicitNodeTypeLog10 = 34, /** Logarithmus to the base 10 */ - eImplicitNodeTypeSelect = 35, /** If A is less than B returns C, else D */ - eImplicitNodeTypeClamp = 36, /** Clamps the input value to min and max */ - eImplicitNodeTypeSinh = 37, /** Calculates the hyperbolic sine */ - eImplicitNodeTypeCosh = 38, /** Calculates the hyperbolic cosine */ - eImplicitNodeTypeTanh = 39, /** Calculates the hyperbolic tangent */ - eImplicitNodeTypeRound = 40, /** Rounds a scalar value to the nearest integer */ - eImplicitNodeTypeCeil = 41, /** Rounds a scalar value up to the nearest integer */ - eImplicitNodeTypeFloor = 42, /** Rounds a scalar value down to the nearest integer */ - eImplicitNodeTypeSign = 43, /** Returns the sign */ - eImplicitNodeTypeFract = 44, /** Returns the fractional part */ - eImplicitNodeTypeFunctionCall = 45, /** Calls a function */ - eImplicitNodeTypeMesh = 46, /** Calculates the signed distance to a mesh */ - eImplicitNodeTypeLength = 47, /** Calculates the length of a vector */ - eImplicitNodeTypeConstResourceID = 48, /** Selects a resource (function, mesh etc.) */ - eImplicitNodeTypeVectorFromScalar = 49, /** Creates a vector from one scalar values */ - eImplicitNodeTypeUnsignedMesh = 50, /** Calculates the unsigned distance to a mesh */ - eImplicitNodeTypeMod = 51 /** Calculates the modulo of two values (same behaviour as glsl mod) */ + eImplicitNodeTypeAddition = 0, /** Adds to values (scalar or vector) */ + eImplicitNodeTypeSubtraction = 1, /** Subtracts two values (scalar or vector) */ + eImplicitNodeTypeMultiplication = 2, /** Multiplies two values (scalar or vector) */ + eImplicitNodeTypeDivision = 3, /** Divides two values (scalar or vector) */ + eImplicitNodeTypeConstant = 4, /** A constant scalar value */ + eImplicitNodeTypeConstVec = 5, /** A constant vector value */ + eImplicitNodeTypeConstMat = 6, /** A constant matrix value */ + eImplicitNodeTypeComposeVector = 7, /** Creates a vector from three scalar values */ + eImplicitNodeTypeDecomposeVector = 8, /** Decomposes a vector into three scalar values */ + eImplicitNodeTypeComposeMatrix = 9, /** Creates a matrix from nine scalar values */ + eImplicitNodeTypeMatrixFromColumns = 10, /** Creates a matrix from three column vector values */ + eImplicitNodeTypeMatrixFromRows = 11, /** Creates a matrix from three row vector values */ + eImplicitNodeTypeDot = 12, /** Calculates the dot product of two vector values */ + eImplicitNodeTypeCross = 13, /** Calculates the cross product of two vector values */ + eImplicitNodeTypeMatVecMultiplication = 14, /** Multiplies a matrix with a vector */ + eImplicitNodeTypeTranspose = 15, /** Transposes a matrix */ + eImplicitNodeTypeInverse = 16, /** Computes the inverse of a matrix */ + eImplicitNodeTypeSinus = 17, /** Calculates the sinus */ + eImplicitNodeTypeCosinus = 18, /** Calculates the cosinus */ + eImplicitNodeTypeTan = 19, /** Calculates the tangent */ + eImplicitNodeTypeArcSin = 20, /** Calculates the arcsinus */ + eImplicitNodeTypeArcCos = 21, /** Calculates the arccosinus */ + eImplicitNodeTypeArcTan = 22, /** Calculates the arctangent */ + eImplicitNodeTypeArcTan2 = 23, /** Calculates the arctangent */ + eImplicitNodeTypeMin = 24, /** Calculates the minimum of two values */ + eImplicitNodeTypeMax = 25, /** Calculates the maximum of two values */ + eImplicitNodeTypeAbs = 26, /** Calculates the absolute value */ + eImplicitNodeTypeFmod = 27, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ + eImplicitNodeTypePow = 28, /** Calculates the power A^B */ + eImplicitNodeTypeSqrt = 29, /** Calculates the square root */ + eImplicitNodeTypeExp = 30, /** Exponential function */ + eImplicitNodeTypeLog = 31, /** Natural logarithmus */ + eImplicitNodeTypeLog2 = 32, /** Logarithmus to the base 2 */ + eImplicitNodeTypeLog10 = 33, /** Logarithmus to the base 10 */ + eImplicitNodeTypeSelect = 34, /** If A is less than B returns C, else D */ + eImplicitNodeTypeClamp = 35, /** Clamps the input value to min and max */ + eImplicitNodeTypeSinh = 36, /** Calculates the hyperbolic sine */ + eImplicitNodeTypeCosh = 37, /** Calculates the hyperbolic cosine */ + eImplicitNodeTypeTanh = 38, /** Calculates the hyperbolic tangent */ + eImplicitNodeTypeRound = 39, /** Rounds a scalar value to the nearest integer */ + eImplicitNodeTypeCeil = 40, /** Rounds a scalar value up to the nearest integer */ + eImplicitNodeTypeFloor = 41, /** Rounds a scalar value down to the nearest integer */ + eImplicitNodeTypeSign = 42, /** Returns the sign */ + eImplicitNodeTypeFract = 43, /** Returns the fractional part */ + eImplicitNodeTypeFunctionCall = 44, /** Calls a function */ + eImplicitNodeTypeMesh = 45, /** Calculates the signed distance to a mesh */ + eImplicitNodeTypeLength = 46, /** Calculates the length of a vector */ + eImplicitNodeTypeConstResourceID = 47, /** Selects a resource (function, mesh etc.) */ + eImplicitNodeTypeVectorFromScalar = 48, /** Creates a vector from one scalar values */ + eImplicitNodeTypeUnsignedMesh = 49, /** Calculates the unsigned distance to a mesh */ + eImplicitNodeTypeMod = 50 /** Calculates the modulo of two values (same behaviour as glsl mod) */ } eLib3MFImplicitNodeType; /** * enum eLib3MFImplicitPortType - The type of the port */ typedef enum eLib3MFImplicitPortType { - eImplicitPortTypeScalar = 1, /** Scalar */ - eImplicitPortTypeVector = 2, /** Vector */ - eImplicitPortTypeMatrix = 3, /** 4x4 Matrix */ - eImplicitPortTypeResourceID = 4 /** Resource ID */ + eImplicitPortTypeScalar = 0, /** Scalar */ + eImplicitPortTypeVector = 1, /** Vector */ + eImplicitPortTypeMatrix = 2, /** 4x4 Matrix */ + eImplicitPortTypeResourceID = 3 /** Resource ID */ } eLib3MFImplicitPortType; /** * enum eLib3MFImplicitNodeConfiguration - Defines the input and output types of a node */ typedef enum eLib3MFImplicitNodeConfiguration { - eImplicitNodeConfigurationDefault = 1, /** Default */ - eImplicitNodeConfigurationScalarToScalar = 2, /** Scalar -> Scalar */ - eImplicitNodeConfigurationVectorToVector = 3, /** Vector -> Vector */ - eImplicitNodeConfigurationMatrixToMatrix = 4 /** Matrix -> Matrix */ + eImplicitNodeConfigurationDefault = 0, /** Default */ + eImplicitNodeConfigurationScalarToScalar = 1, /** Scalar -> Scalar */ + eImplicitNodeConfigurationVectorToVector = 2, /** Vector -> Vector */ + eImplicitNodeConfigurationMatrixToMatrix = 3 /** Matrix -> Matrix */ } eLib3MFImplicitNodeConfiguration; typedef enum eLib3MFEncryptionAlgorithm { diff --git a/Autogenerated/Bindings/NodeJS/lib3mf_nodewrapper.cc b/Autogenerated/Bindings/NodeJS/lib3mf_nodewrapper.cc index daeac933..1914e2c2 100644 --- a/Autogenerated/Bindings/NodeJS/lib3mf_nodewrapper.cc +++ b/Autogenerated/Bindings/NodeJS/lib3mf_nodewrapper.cc @@ -23658,65 +23658,65 @@ void CLib3MFWrapper::New(const FunctionCallbackInfo& args) newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eCompositionMethod_Mask"), Integer::New(isolate, 4)); newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eCompositionSpace_Raw"), Integer::New(isolate, 0)); newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eCompositionSpace_LinearColor"), Integer::New(isolate, 1)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Addition"), Integer::New(isolate, 1)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Subtraction"), Integer::New(isolate, 2)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Multiplication"), Integer::New(isolate, 3)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Division"), Integer::New(isolate, 4)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Constant"), Integer::New(isolate, 5)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ConstVec"), Integer::New(isolate, 6)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ConstMat"), Integer::New(isolate, 7)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ComposeVector"), Integer::New(isolate, 8)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_DecomposeVector"), Integer::New(isolate, 9)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ComposeMatrix"), Integer::New(isolate, 10)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_MatrixFromColumns"), Integer::New(isolate, 11)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_MatrixFromRows"), Integer::New(isolate, 12)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Dot"), Integer::New(isolate, 13)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Cross"), Integer::New(isolate, 14)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_MatVecMultiplication"), Integer::New(isolate, 15)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Transpose"), Integer::New(isolate, 16)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Inverse"), Integer::New(isolate, 17)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Sinus"), Integer::New(isolate, 18)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Cosinus"), Integer::New(isolate, 19)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Tan"), Integer::New(isolate, 20)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ArcSin"), Integer::New(isolate, 21)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ArcCos"), Integer::New(isolate, 22)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ArcTan"), Integer::New(isolate, 23)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ArcTan2"), Integer::New(isolate, 24)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Min"), Integer::New(isolate, 25)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Max"), Integer::New(isolate, 26)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Abs"), Integer::New(isolate, 27)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Fmod"), Integer::New(isolate, 28)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Pow"), Integer::New(isolate, 29)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Sqrt"), Integer::New(isolate, 30)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Exp"), Integer::New(isolate, 31)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Log"), Integer::New(isolate, 32)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Log2"), Integer::New(isolate, 33)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Log10"), Integer::New(isolate, 34)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Select"), Integer::New(isolate, 35)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Clamp"), Integer::New(isolate, 36)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Sinh"), Integer::New(isolate, 37)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Cosh"), Integer::New(isolate, 38)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Tanh"), Integer::New(isolate, 39)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Round"), Integer::New(isolate, 40)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Ceil"), Integer::New(isolate, 41)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Floor"), Integer::New(isolate, 42)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Sign"), Integer::New(isolate, 43)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Fract"), Integer::New(isolate, 44)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_FunctionCall"), Integer::New(isolate, 45)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Mesh"), Integer::New(isolate, 46)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Length"), Integer::New(isolate, 47)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ConstResourceID"), Integer::New(isolate, 48)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_VectorFromScalar"), Integer::New(isolate, 49)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_UnsignedMesh"), Integer::New(isolate, 50)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Mod"), Integer::New(isolate, 51)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitPortType_Scalar"), Integer::New(isolate, 1)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitPortType_Vector"), Integer::New(isolate, 2)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitPortType_Matrix"), Integer::New(isolate, 3)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitPortType_ResourceID"), Integer::New(isolate, 4)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeConfiguration_Default"), Integer::New(isolate, 1)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeConfiguration_ScalarToScalar"), Integer::New(isolate, 2)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeConfiguration_VectorToVector"), Integer::New(isolate, 3)); - newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeConfiguration_MatrixToMatrix"), Integer::New(isolate, 4)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Addition"), Integer::New(isolate, 0)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Subtraction"), Integer::New(isolate, 1)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Multiplication"), Integer::New(isolate, 2)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Division"), Integer::New(isolate, 3)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Constant"), Integer::New(isolate, 4)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ConstVec"), Integer::New(isolate, 5)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ConstMat"), Integer::New(isolate, 6)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ComposeVector"), Integer::New(isolate, 7)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_DecomposeVector"), Integer::New(isolate, 8)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ComposeMatrix"), Integer::New(isolate, 9)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_MatrixFromColumns"), Integer::New(isolate, 10)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_MatrixFromRows"), Integer::New(isolate, 11)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Dot"), Integer::New(isolate, 12)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Cross"), Integer::New(isolate, 13)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_MatVecMultiplication"), Integer::New(isolate, 14)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Transpose"), Integer::New(isolate, 15)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Inverse"), Integer::New(isolate, 16)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Sinus"), Integer::New(isolate, 17)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Cosinus"), Integer::New(isolate, 18)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Tan"), Integer::New(isolate, 19)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ArcSin"), Integer::New(isolate, 20)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ArcCos"), Integer::New(isolate, 21)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ArcTan"), Integer::New(isolate, 22)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ArcTan2"), Integer::New(isolate, 23)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Min"), Integer::New(isolate, 24)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Max"), Integer::New(isolate, 25)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Abs"), Integer::New(isolate, 26)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Fmod"), Integer::New(isolate, 27)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Pow"), Integer::New(isolate, 28)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Sqrt"), Integer::New(isolate, 29)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Exp"), Integer::New(isolate, 30)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Log"), Integer::New(isolate, 31)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Log2"), Integer::New(isolate, 32)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Log10"), Integer::New(isolate, 33)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Select"), Integer::New(isolate, 34)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Clamp"), Integer::New(isolate, 35)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Sinh"), Integer::New(isolate, 36)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Cosh"), Integer::New(isolate, 37)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Tanh"), Integer::New(isolate, 38)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Round"), Integer::New(isolate, 39)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Ceil"), Integer::New(isolate, 40)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Floor"), Integer::New(isolate, 41)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Sign"), Integer::New(isolate, 42)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Fract"), Integer::New(isolate, 43)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_FunctionCall"), Integer::New(isolate, 44)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Mesh"), Integer::New(isolate, 45)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Length"), Integer::New(isolate, 46)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_ConstResourceID"), Integer::New(isolate, 47)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_VectorFromScalar"), Integer::New(isolate, 48)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_UnsignedMesh"), Integer::New(isolate, 49)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeType_Mod"), Integer::New(isolate, 50)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitPortType_Scalar"), Integer::New(isolate, 0)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitPortType_Vector"), Integer::New(isolate, 1)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitPortType_Matrix"), Integer::New(isolate, 2)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitPortType_ResourceID"), Integer::New(isolate, 3)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeConfiguration_Default"), Integer::New(isolate, 0)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeConfiguration_ScalarToScalar"), Integer::New(isolate, 1)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeConfiguration_VectorToVector"), Integer::New(isolate, 2)); + newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eImplicitNodeConfiguration_MatrixToMatrix"), Integer::New(isolate, 3)); newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eEncryptionAlgorithm_AES256_GCM"), Integer::New(isolate, 1)); newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eWrappingAlgorithm_RSA_OAEP"), Integer::New(isolate, 0)); newObject->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "eMgfAlgorithm_MGF1_SHA1"), Integer::New(isolate, 160)); diff --git a/Autogenerated/Bindings/NodeJS/lib3mf_types.h b/Autogenerated/Bindings/NodeJS/lib3mf_types.h index 52b76837..a5d436da 100644 --- a/Autogenerated/Bindings/NodeJS/lib3mf_types.h +++ b/Autogenerated/Bindings/NodeJS/lib3mf_types.h @@ -450,77 +450,77 @@ typedef enum eLib3MFCompositionSpace { * enum eLib3MFImplicitNodeType - The type of the node */ typedef enum eLib3MFImplicitNodeType { - eImplicitNodeTypeAddition = 1, /** Adds to values (scalar or vector) */ - eImplicitNodeTypeSubtraction = 2, /** Subtracts two values (scalar or vector) */ - eImplicitNodeTypeMultiplication = 3, /** Multiplies two values (scalar or vector) */ - eImplicitNodeTypeDivision = 4, /** Divides two values (scalar or vector) */ - eImplicitNodeTypeConstant = 5, /** A constant scalar value */ - eImplicitNodeTypeConstVec = 6, /** A constant vector value */ - eImplicitNodeTypeConstMat = 7, /** A constant matrix value */ - eImplicitNodeTypeComposeVector = 8, /** Creates a vector from three scalar values */ - eImplicitNodeTypeDecomposeVector = 9, /** Decomposes a vector into three scalar values */ - eImplicitNodeTypeComposeMatrix = 10, /** Creates a matrix from nine scalar values */ - eImplicitNodeTypeMatrixFromColumns = 11, /** Creates a matrix from three column vector values */ - eImplicitNodeTypeMatrixFromRows = 12, /** Creates a matrix from three row vector values */ - eImplicitNodeTypeDot = 13, /** Calculates the dot product of two vector values */ - eImplicitNodeTypeCross = 14, /** Calculates the cross product of two vector values */ - eImplicitNodeTypeMatVecMultiplication = 15, /** Multiplies a matrix with a vector */ - eImplicitNodeTypeTranspose = 16, /** Transposes a matrix */ - eImplicitNodeTypeInverse = 17, /** Computes the inverse of a matrix */ - eImplicitNodeTypeSinus = 18, /** Calculates the sinus */ - eImplicitNodeTypeCosinus = 19, /** Calculates the cosinus */ - eImplicitNodeTypeTan = 20, /** Calculates the tangent */ - eImplicitNodeTypeArcSin = 21, /** Calculates the arcsinus */ - eImplicitNodeTypeArcCos = 22, /** Calculates the arccosinus */ - eImplicitNodeTypeArcTan = 23, /** Calculates the arctangent */ - eImplicitNodeTypeArcTan2 = 24, /** Calculates the arctangent */ - eImplicitNodeTypeMin = 25, /** Calculates the minimum of two values */ - eImplicitNodeTypeMax = 26, /** Calculates the maximum of two values */ - eImplicitNodeTypeAbs = 27, /** Calculates the absolute value */ - eImplicitNodeTypeFmod = 28, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ - eImplicitNodeTypePow = 29, /** Calculates the power A^B */ - eImplicitNodeTypeSqrt = 30, /** Calculates the square root */ - eImplicitNodeTypeExp = 31, /** Exponential function */ - eImplicitNodeTypeLog = 32, /** Natural logarithmus */ - eImplicitNodeTypeLog2 = 33, /** Logarithmus to the base 2 */ - eImplicitNodeTypeLog10 = 34, /** Logarithmus to the base 10 */ - eImplicitNodeTypeSelect = 35, /** If A is less than B returns C, else D */ - eImplicitNodeTypeClamp = 36, /** Clamps the input value to min and max */ - eImplicitNodeTypeSinh = 37, /** Calculates the hyperbolic sine */ - eImplicitNodeTypeCosh = 38, /** Calculates the hyperbolic cosine */ - eImplicitNodeTypeTanh = 39, /** Calculates the hyperbolic tangent */ - eImplicitNodeTypeRound = 40, /** Rounds a scalar value to the nearest integer */ - eImplicitNodeTypeCeil = 41, /** Rounds a scalar value up to the nearest integer */ - eImplicitNodeTypeFloor = 42, /** Rounds a scalar value down to the nearest integer */ - eImplicitNodeTypeSign = 43, /** Returns the sign */ - eImplicitNodeTypeFract = 44, /** Returns the fractional part */ - eImplicitNodeTypeFunctionCall = 45, /** Calls a function */ - eImplicitNodeTypeMesh = 46, /** Calculates the signed distance to a mesh */ - eImplicitNodeTypeLength = 47, /** Calculates the length of a vector */ - eImplicitNodeTypeConstResourceID = 48, /** Selects a resource (function, mesh etc.) */ - eImplicitNodeTypeVectorFromScalar = 49, /** Creates a vector from one scalar values */ - eImplicitNodeTypeUnsignedMesh = 50, /** Calculates the unsigned distance to a mesh */ - eImplicitNodeTypeMod = 51 /** Calculates the modulo of two values (same behaviour as glsl mod) */ + eImplicitNodeTypeAddition = 0, /** Adds to values (scalar or vector) */ + eImplicitNodeTypeSubtraction = 1, /** Subtracts two values (scalar or vector) */ + eImplicitNodeTypeMultiplication = 2, /** Multiplies two values (scalar or vector) */ + eImplicitNodeTypeDivision = 3, /** Divides two values (scalar or vector) */ + eImplicitNodeTypeConstant = 4, /** A constant scalar value */ + eImplicitNodeTypeConstVec = 5, /** A constant vector value */ + eImplicitNodeTypeConstMat = 6, /** A constant matrix value */ + eImplicitNodeTypeComposeVector = 7, /** Creates a vector from three scalar values */ + eImplicitNodeTypeDecomposeVector = 8, /** Decomposes a vector into three scalar values */ + eImplicitNodeTypeComposeMatrix = 9, /** Creates a matrix from nine scalar values */ + eImplicitNodeTypeMatrixFromColumns = 10, /** Creates a matrix from three column vector values */ + eImplicitNodeTypeMatrixFromRows = 11, /** Creates a matrix from three row vector values */ + eImplicitNodeTypeDot = 12, /** Calculates the dot product of two vector values */ + eImplicitNodeTypeCross = 13, /** Calculates the cross product of two vector values */ + eImplicitNodeTypeMatVecMultiplication = 14, /** Multiplies a matrix with a vector */ + eImplicitNodeTypeTranspose = 15, /** Transposes a matrix */ + eImplicitNodeTypeInverse = 16, /** Computes the inverse of a matrix */ + eImplicitNodeTypeSinus = 17, /** Calculates the sinus */ + eImplicitNodeTypeCosinus = 18, /** Calculates the cosinus */ + eImplicitNodeTypeTan = 19, /** Calculates the tangent */ + eImplicitNodeTypeArcSin = 20, /** Calculates the arcsinus */ + eImplicitNodeTypeArcCos = 21, /** Calculates the arccosinus */ + eImplicitNodeTypeArcTan = 22, /** Calculates the arctangent */ + eImplicitNodeTypeArcTan2 = 23, /** Calculates the arctangent */ + eImplicitNodeTypeMin = 24, /** Calculates the minimum of two values */ + eImplicitNodeTypeMax = 25, /** Calculates the maximum of two values */ + eImplicitNodeTypeAbs = 26, /** Calculates the absolute value */ + eImplicitNodeTypeFmod = 27, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ + eImplicitNodeTypePow = 28, /** Calculates the power A^B */ + eImplicitNodeTypeSqrt = 29, /** Calculates the square root */ + eImplicitNodeTypeExp = 30, /** Exponential function */ + eImplicitNodeTypeLog = 31, /** Natural logarithmus */ + eImplicitNodeTypeLog2 = 32, /** Logarithmus to the base 2 */ + eImplicitNodeTypeLog10 = 33, /** Logarithmus to the base 10 */ + eImplicitNodeTypeSelect = 34, /** If A is less than B returns C, else D */ + eImplicitNodeTypeClamp = 35, /** Clamps the input value to min and max */ + eImplicitNodeTypeSinh = 36, /** Calculates the hyperbolic sine */ + eImplicitNodeTypeCosh = 37, /** Calculates the hyperbolic cosine */ + eImplicitNodeTypeTanh = 38, /** Calculates the hyperbolic tangent */ + eImplicitNodeTypeRound = 39, /** Rounds a scalar value to the nearest integer */ + eImplicitNodeTypeCeil = 40, /** Rounds a scalar value up to the nearest integer */ + eImplicitNodeTypeFloor = 41, /** Rounds a scalar value down to the nearest integer */ + eImplicitNodeTypeSign = 42, /** Returns the sign */ + eImplicitNodeTypeFract = 43, /** Returns the fractional part */ + eImplicitNodeTypeFunctionCall = 44, /** Calls a function */ + eImplicitNodeTypeMesh = 45, /** Calculates the signed distance to a mesh */ + eImplicitNodeTypeLength = 46, /** Calculates the length of a vector */ + eImplicitNodeTypeConstResourceID = 47, /** Selects a resource (function, mesh etc.) */ + eImplicitNodeTypeVectorFromScalar = 48, /** Creates a vector from one scalar values */ + eImplicitNodeTypeUnsignedMesh = 49, /** Calculates the unsigned distance to a mesh */ + eImplicitNodeTypeMod = 50 /** Calculates the modulo of two values (same behaviour as glsl mod) */ } eLib3MFImplicitNodeType; /** * enum eLib3MFImplicitPortType - The type of the port */ typedef enum eLib3MFImplicitPortType { - eImplicitPortTypeScalar = 1, /** Scalar */ - eImplicitPortTypeVector = 2, /** Vector */ - eImplicitPortTypeMatrix = 3, /** 4x4 Matrix */ - eImplicitPortTypeResourceID = 4 /** Resource ID */ + eImplicitPortTypeScalar = 0, /** Scalar */ + eImplicitPortTypeVector = 1, /** Vector */ + eImplicitPortTypeMatrix = 2, /** 4x4 Matrix */ + eImplicitPortTypeResourceID = 3 /** Resource ID */ } eLib3MFImplicitPortType; /** * enum eLib3MFImplicitNodeConfiguration - Defines the input and output types of a node */ typedef enum eLib3MFImplicitNodeConfiguration { - eImplicitNodeConfigurationDefault = 1, /** Default */ - eImplicitNodeConfigurationScalarToScalar = 2, /** Scalar -> Scalar */ - eImplicitNodeConfigurationVectorToVector = 3, /** Vector -> Vector */ - eImplicitNodeConfigurationMatrixToMatrix = 4 /** Matrix -> Matrix */ + eImplicitNodeConfigurationDefault = 0, /** Default */ + eImplicitNodeConfigurationScalarToScalar = 1, /** Scalar -> Scalar */ + eImplicitNodeConfigurationVectorToVector = 2, /** Vector -> Vector */ + eImplicitNodeConfigurationMatrixToMatrix = 3 /** Matrix -> Matrix */ } eLib3MFImplicitNodeConfiguration; typedef enum eLib3MFEncryptionAlgorithm { diff --git a/Autogenerated/Bindings/Pascal/Unit_Lib3MF.pas b/Autogenerated/Bindings/Pascal/Unit_Lib3MF.pas index db3e9db5..98b5dd22 100644 --- a/Autogenerated/Bindings/Pascal/Unit_Lib3MF.pas +++ b/Autogenerated/Bindings/Pascal/Unit_Lib3MF.pas @@ -10806,57 +10806,57 @@ implementation function convertImplicitNodeTypeToConst(const AValue: TLib3MFImplicitNodeType): Integer; begin case AValue of - eImplicitNodeTypeAddition: Result := 1; - eImplicitNodeTypeSubtraction: Result := 2; - eImplicitNodeTypeMultiplication: Result := 3; - eImplicitNodeTypeDivision: Result := 4; - eImplicitNodeTypeConstant: Result := 5; - eImplicitNodeTypeConstVec: Result := 6; - eImplicitNodeTypeConstMat: Result := 7; - eImplicitNodeTypeComposeVector: Result := 8; - eImplicitNodeTypeDecomposeVector: Result := 9; - eImplicitNodeTypeComposeMatrix: Result := 10; - eImplicitNodeTypeMatrixFromColumns: Result := 11; - eImplicitNodeTypeMatrixFromRows: Result := 12; - eImplicitNodeTypeDot: Result := 13; - eImplicitNodeTypeCross: Result := 14; - eImplicitNodeTypeMatVecMultiplication: Result := 15; - eImplicitNodeTypeTranspose: Result := 16; - eImplicitNodeTypeInverse: Result := 17; - eImplicitNodeTypeSinus: Result := 18; - eImplicitNodeTypeCosinus: Result := 19; - eImplicitNodeTypeTan: Result := 20; - eImplicitNodeTypeArcSin: Result := 21; - eImplicitNodeTypeArcCos: Result := 22; - eImplicitNodeTypeArcTan: Result := 23; - eImplicitNodeTypeArcTan2: Result := 24; - eImplicitNodeTypeMin: Result := 25; - eImplicitNodeTypeMax: Result := 26; - eImplicitNodeTypeAbs: Result := 27; - eImplicitNodeTypeFmod: Result := 28; - eImplicitNodeTypePow: Result := 29; - eImplicitNodeTypeSqrt: Result := 30; - eImplicitNodeTypeExp: Result := 31; - eImplicitNodeTypeLog: Result := 32; - eImplicitNodeTypeLog2: Result := 33; - eImplicitNodeTypeLog10: Result := 34; - eImplicitNodeTypeSelect: Result := 35; - eImplicitNodeTypeClamp: Result := 36; - eImplicitNodeTypeSinh: Result := 37; - eImplicitNodeTypeCosh: Result := 38; - eImplicitNodeTypeTanh: Result := 39; - eImplicitNodeTypeRound: Result := 40; - eImplicitNodeTypeCeil: Result := 41; - eImplicitNodeTypeFloor: Result := 42; - eImplicitNodeTypeSign: Result := 43; - eImplicitNodeTypeFract: Result := 44; - eImplicitNodeTypeFunctionCall: Result := 45; - eImplicitNodeTypeMesh: Result := 46; - eImplicitNodeTypeLength: Result := 47; - eImplicitNodeTypeConstResourceID: Result := 48; - eImplicitNodeTypeVectorFromScalar: Result := 49; - eImplicitNodeTypeUnsignedMesh: Result := 50; - eImplicitNodeTypeMod: Result := 51; + eImplicitNodeTypeAddition: Result := 0; + eImplicitNodeTypeSubtraction: Result := 1; + eImplicitNodeTypeMultiplication: Result := 2; + eImplicitNodeTypeDivision: Result := 3; + eImplicitNodeTypeConstant: Result := 4; + eImplicitNodeTypeConstVec: Result := 5; + eImplicitNodeTypeConstMat: Result := 6; + eImplicitNodeTypeComposeVector: Result := 7; + eImplicitNodeTypeDecomposeVector: Result := 8; + eImplicitNodeTypeComposeMatrix: Result := 9; + eImplicitNodeTypeMatrixFromColumns: Result := 10; + eImplicitNodeTypeMatrixFromRows: Result := 11; + eImplicitNodeTypeDot: Result := 12; + eImplicitNodeTypeCross: Result := 13; + eImplicitNodeTypeMatVecMultiplication: Result := 14; + eImplicitNodeTypeTranspose: Result := 15; + eImplicitNodeTypeInverse: Result := 16; + eImplicitNodeTypeSinus: Result := 17; + eImplicitNodeTypeCosinus: Result := 18; + eImplicitNodeTypeTan: Result := 19; + eImplicitNodeTypeArcSin: Result := 20; + eImplicitNodeTypeArcCos: Result := 21; + eImplicitNodeTypeArcTan: Result := 22; + eImplicitNodeTypeArcTan2: Result := 23; + eImplicitNodeTypeMin: Result := 24; + eImplicitNodeTypeMax: Result := 25; + eImplicitNodeTypeAbs: Result := 26; + eImplicitNodeTypeFmod: Result := 27; + eImplicitNodeTypePow: Result := 28; + eImplicitNodeTypeSqrt: Result := 29; + eImplicitNodeTypeExp: Result := 30; + eImplicitNodeTypeLog: Result := 31; + eImplicitNodeTypeLog2: Result := 32; + eImplicitNodeTypeLog10: Result := 33; + eImplicitNodeTypeSelect: Result := 34; + eImplicitNodeTypeClamp: Result := 35; + eImplicitNodeTypeSinh: Result := 36; + eImplicitNodeTypeCosh: Result := 37; + eImplicitNodeTypeTanh: Result := 38; + eImplicitNodeTypeRound: Result := 39; + eImplicitNodeTypeCeil: Result := 40; + eImplicitNodeTypeFloor: Result := 41; + eImplicitNodeTypeSign: Result := 42; + eImplicitNodeTypeFract: Result := 43; + eImplicitNodeTypeFunctionCall: Result := 44; + eImplicitNodeTypeMesh: Result := 45; + eImplicitNodeTypeLength: Result := 46; + eImplicitNodeTypeConstResourceID: Result := 47; + eImplicitNodeTypeVectorFromScalar: Result := 48; + eImplicitNodeTypeUnsignedMesh: Result := 49; + eImplicitNodeTypeMod: Result := 50; else raise ELib3MFException.CreateCustomMessage(LIB3MF_ERROR_INVALIDPARAM, 'invalid enum value'); end; @@ -10865,57 +10865,57 @@ implementation function convertConstToImplicitNodeType(const AValue: Integer): TLib3MFImplicitNodeType; begin case AValue of - 1: Result := eImplicitNodeTypeAddition; - 2: Result := eImplicitNodeTypeSubtraction; - 3: Result := eImplicitNodeTypeMultiplication; - 4: Result := eImplicitNodeTypeDivision; - 5: Result := eImplicitNodeTypeConstant; - 6: Result := eImplicitNodeTypeConstVec; - 7: Result := eImplicitNodeTypeConstMat; - 8: Result := eImplicitNodeTypeComposeVector; - 9: Result := eImplicitNodeTypeDecomposeVector; - 10: Result := eImplicitNodeTypeComposeMatrix; - 11: Result := eImplicitNodeTypeMatrixFromColumns; - 12: Result := eImplicitNodeTypeMatrixFromRows; - 13: Result := eImplicitNodeTypeDot; - 14: Result := eImplicitNodeTypeCross; - 15: Result := eImplicitNodeTypeMatVecMultiplication; - 16: Result := eImplicitNodeTypeTranspose; - 17: Result := eImplicitNodeTypeInverse; - 18: Result := eImplicitNodeTypeSinus; - 19: Result := eImplicitNodeTypeCosinus; - 20: Result := eImplicitNodeTypeTan; - 21: Result := eImplicitNodeTypeArcSin; - 22: Result := eImplicitNodeTypeArcCos; - 23: Result := eImplicitNodeTypeArcTan; - 24: Result := eImplicitNodeTypeArcTan2; - 25: Result := eImplicitNodeTypeMin; - 26: Result := eImplicitNodeTypeMax; - 27: Result := eImplicitNodeTypeAbs; - 28: Result := eImplicitNodeTypeFmod; - 29: Result := eImplicitNodeTypePow; - 30: Result := eImplicitNodeTypeSqrt; - 31: Result := eImplicitNodeTypeExp; - 32: Result := eImplicitNodeTypeLog; - 33: Result := eImplicitNodeTypeLog2; - 34: Result := eImplicitNodeTypeLog10; - 35: Result := eImplicitNodeTypeSelect; - 36: Result := eImplicitNodeTypeClamp; - 37: Result := eImplicitNodeTypeSinh; - 38: Result := eImplicitNodeTypeCosh; - 39: Result := eImplicitNodeTypeTanh; - 40: Result := eImplicitNodeTypeRound; - 41: Result := eImplicitNodeTypeCeil; - 42: Result := eImplicitNodeTypeFloor; - 43: Result := eImplicitNodeTypeSign; - 44: Result := eImplicitNodeTypeFract; - 45: Result := eImplicitNodeTypeFunctionCall; - 46: Result := eImplicitNodeTypeMesh; - 47: Result := eImplicitNodeTypeLength; - 48: Result := eImplicitNodeTypeConstResourceID; - 49: Result := eImplicitNodeTypeVectorFromScalar; - 50: Result := eImplicitNodeTypeUnsignedMesh; - 51: Result := eImplicitNodeTypeMod; + 0: Result := eImplicitNodeTypeAddition; + 1: Result := eImplicitNodeTypeSubtraction; + 2: Result := eImplicitNodeTypeMultiplication; + 3: Result := eImplicitNodeTypeDivision; + 4: Result := eImplicitNodeTypeConstant; + 5: Result := eImplicitNodeTypeConstVec; + 6: Result := eImplicitNodeTypeConstMat; + 7: Result := eImplicitNodeTypeComposeVector; + 8: Result := eImplicitNodeTypeDecomposeVector; + 9: Result := eImplicitNodeTypeComposeMatrix; + 10: Result := eImplicitNodeTypeMatrixFromColumns; + 11: Result := eImplicitNodeTypeMatrixFromRows; + 12: Result := eImplicitNodeTypeDot; + 13: Result := eImplicitNodeTypeCross; + 14: Result := eImplicitNodeTypeMatVecMultiplication; + 15: Result := eImplicitNodeTypeTranspose; + 16: Result := eImplicitNodeTypeInverse; + 17: Result := eImplicitNodeTypeSinus; + 18: Result := eImplicitNodeTypeCosinus; + 19: Result := eImplicitNodeTypeTan; + 20: Result := eImplicitNodeTypeArcSin; + 21: Result := eImplicitNodeTypeArcCos; + 22: Result := eImplicitNodeTypeArcTan; + 23: Result := eImplicitNodeTypeArcTan2; + 24: Result := eImplicitNodeTypeMin; + 25: Result := eImplicitNodeTypeMax; + 26: Result := eImplicitNodeTypeAbs; + 27: Result := eImplicitNodeTypeFmod; + 28: Result := eImplicitNodeTypePow; + 29: Result := eImplicitNodeTypeSqrt; + 30: Result := eImplicitNodeTypeExp; + 31: Result := eImplicitNodeTypeLog; + 32: Result := eImplicitNodeTypeLog2; + 33: Result := eImplicitNodeTypeLog10; + 34: Result := eImplicitNodeTypeSelect; + 35: Result := eImplicitNodeTypeClamp; + 36: Result := eImplicitNodeTypeSinh; + 37: Result := eImplicitNodeTypeCosh; + 38: Result := eImplicitNodeTypeTanh; + 39: Result := eImplicitNodeTypeRound; + 40: Result := eImplicitNodeTypeCeil; + 41: Result := eImplicitNodeTypeFloor; + 42: Result := eImplicitNodeTypeSign; + 43: Result := eImplicitNodeTypeFract; + 44: Result := eImplicitNodeTypeFunctionCall; + 45: Result := eImplicitNodeTypeMesh; + 46: Result := eImplicitNodeTypeLength; + 47: Result := eImplicitNodeTypeConstResourceID; + 48: Result := eImplicitNodeTypeVectorFromScalar; + 49: Result := eImplicitNodeTypeUnsignedMesh; + 50: Result := eImplicitNodeTypeMod; else raise ELib3MFException.CreateCustomMessage(LIB3MF_ERROR_INVALIDPARAM, 'invalid enum constant'); end; @@ -10925,10 +10925,10 @@ implementation function convertImplicitPortTypeToConst(const AValue: TLib3MFImplicitPortType): Integer; begin case AValue of - eImplicitPortTypeScalar: Result := 1; - eImplicitPortTypeVector: Result := 2; - eImplicitPortTypeMatrix: Result := 3; - eImplicitPortTypeResourceID: Result := 4; + eImplicitPortTypeScalar: Result := 0; + eImplicitPortTypeVector: Result := 1; + eImplicitPortTypeMatrix: Result := 2; + eImplicitPortTypeResourceID: Result := 3; else raise ELib3MFException.CreateCustomMessage(LIB3MF_ERROR_INVALIDPARAM, 'invalid enum value'); end; @@ -10937,10 +10937,10 @@ implementation function convertConstToImplicitPortType(const AValue: Integer): TLib3MFImplicitPortType; begin case AValue of - 1: Result := eImplicitPortTypeScalar; - 2: Result := eImplicitPortTypeVector; - 3: Result := eImplicitPortTypeMatrix; - 4: Result := eImplicitPortTypeResourceID; + 0: Result := eImplicitPortTypeScalar; + 1: Result := eImplicitPortTypeVector; + 2: Result := eImplicitPortTypeMatrix; + 3: Result := eImplicitPortTypeResourceID; else raise ELib3MFException.CreateCustomMessage(LIB3MF_ERROR_INVALIDPARAM, 'invalid enum constant'); end; @@ -10950,10 +10950,10 @@ implementation function convertImplicitNodeConfigurationToConst(const AValue: TLib3MFImplicitNodeConfiguration): Integer; begin case AValue of - eImplicitNodeConfigurationDefault: Result := 1; - eImplicitNodeConfigurationScalarToScalar: Result := 2; - eImplicitNodeConfigurationVectorToVector: Result := 3; - eImplicitNodeConfigurationMatrixToMatrix: Result := 4; + eImplicitNodeConfigurationDefault: Result := 0; + eImplicitNodeConfigurationScalarToScalar: Result := 1; + eImplicitNodeConfigurationVectorToVector: Result := 2; + eImplicitNodeConfigurationMatrixToMatrix: Result := 3; else raise ELib3MFException.CreateCustomMessage(LIB3MF_ERROR_INVALIDPARAM, 'invalid enum value'); end; @@ -10962,10 +10962,10 @@ implementation function convertConstToImplicitNodeConfiguration(const AValue: Integer): TLib3MFImplicitNodeConfiguration; begin case AValue of - 1: Result := eImplicitNodeConfigurationDefault; - 2: Result := eImplicitNodeConfigurationScalarToScalar; - 3: Result := eImplicitNodeConfigurationVectorToVector; - 4: Result := eImplicitNodeConfigurationMatrixToMatrix; + 0: Result := eImplicitNodeConfigurationDefault; + 1: Result := eImplicitNodeConfigurationScalarToScalar; + 2: Result := eImplicitNodeConfigurationVectorToVector; + 3: Result := eImplicitNodeConfigurationMatrixToMatrix; else raise ELib3MFException.CreateCustomMessage(LIB3MF_ERROR_INVALIDPARAM, 'invalid enum constant'); end; diff --git a/Autogenerated/Bindings/Python/Lib3MF.py b/Autogenerated/Bindings/Python/Lib3MF.py index 8c37925c..9469dda4 100644 --- a/Autogenerated/Bindings/Python/Lib3MF.py +++ b/Autogenerated/Bindings/Python/Lib3MF.py @@ -851,71 +851,71 @@ class CompositionSpace(CTypesEnum): '''Definition of ImplicitNodeType ''' class ImplicitNodeType(CTypesEnum): - Addition = 1 - Subtraction = 2 - Multiplication = 3 - Division = 4 - Constant = 5 - ConstVec = 6 - ConstMat = 7 - ComposeVector = 8 - DecomposeVector = 9 - ComposeMatrix = 10 - MatrixFromColumns = 11 - MatrixFromRows = 12 - Dot = 13 - Cross = 14 - MatVecMultiplication = 15 - Transpose = 16 - Inverse = 17 - Sinus = 18 - Cosinus = 19 - Tan = 20 - ArcSin = 21 - ArcCos = 22 - ArcTan = 23 - ArcTan2 = 24 - Min = 25 - Max = 26 - Abs = 27 - Fmod = 28 - Pow = 29 - Sqrt = 30 - Exp = 31 - Log = 32 - Log2 = 33 - Log10 = 34 - Select = 35 - Clamp = 36 - Sinh = 37 - Cosh = 38 - Tanh = 39 - Round = 40 - Ceil = 41 - Floor = 42 - Sign = 43 - Fract = 44 - FunctionCall = 45 - Mesh = 46 - Length = 47 - ConstResourceID = 48 - VectorFromScalar = 49 - UnsignedMesh = 50 - Mod = 51 + Addition = 0 + Subtraction = 1 + Multiplication = 2 + Division = 3 + Constant = 4 + ConstVec = 5 + ConstMat = 6 + ComposeVector = 7 + DecomposeVector = 8 + ComposeMatrix = 9 + MatrixFromColumns = 10 + MatrixFromRows = 11 + Dot = 12 + Cross = 13 + MatVecMultiplication = 14 + Transpose = 15 + Inverse = 16 + Sinus = 17 + Cosinus = 18 + Tan = 19 + ArcSin = 20 + ArcCos = 21 + ArcTan = 22 + ArcTan2 = 23 + Min = 24 + Max = 25 + Abs = 26 + Fmod = 27 + Pow = 28 + Sqrt = 29 + Exp = 30 + Log = 31 + Log2 = 32 + Log10 = 33 + Select = 34 + Clamp = 35 + Sinh = 36 + Cosh = 37 + Tanh = 38 + Round = 39 + Ceil = 40 + Floor = 41 + Sign = 42 + Fract = 43 + FunctionCall = 44 + Mesh = 45 + Length = 46 + ConstResourceID = 47 + VectorFromScalar = 48 + UnsignedMesh = 49 + Mod = 50 '''Definition of ImplicitPortType ''' class ImplicitPortType(CTypesEnum): - Scalar = 1 - Vector = 2 - Matrix = 3 - ResourceID = 4 + Scalar = 0 + Vector = 1 + Matrix = 2 + ResourceID = 3 '''Definition of ImplicitNodeConfiguration ''' class ImplicitNodeConfiguration(CTypesEnum): - Default = 1 - ScalarToScalar = 2 - VectorToVector = 3 - MatrixToMatrix = 4 + Default = 0 + ScalarToScalar = 1 + VectorToVector = 2 + MatrixToMatrix = 3 '''Definition of EncryptionAlgorithm ''' class EncryptionAlgorithm(CTypesEnum): diff --git a/Autogenerated/Source/lib3mf_types.hpp b/Autogenerated/Source/lib3mf_types.hpp index c059421a..4ba95915 100644 --- a/Autogenerated/Source/lib3mf_types.hpp +++ b/Autogenerated/Source/lib3mf_types.hpp @@ -451,77 +451,77 @@ namespace Lib3MF { * enum class eImplicitNodeType - The type of the node */ enum class eImplicitNodeType : Lib3MF_int32 { - Addition = 1, /** Adds to values (scalar or vector) */ - Subtraction = 2, /** Subtracts two values (scalar or vector) */ - Multiplication = 3, /** Multiplies two values (scalar or vector) */ - Division = 4, /** Divides two values (scalar or vector) */ - Constant = 5, /** A constant scalar value */ - ConstVec = 6, /** A constant vector value */ - ConstMat = 7, /** A constant matrix value */ - ComposeVector = 8, /** Creates a vector from three scalar values */ - DecomposeVector = 9, /** Decomposes a vector into three scalar values */ - ComposeMatrix = 10, /** Creates a matrix from nine scalar values */ - MatrixFromColumns = 11, /** Creates a matrix from three column vector values */ - MatrixFromRows = 12, /** Creates a matrix from three row vector values */ - Dot = 13, /** Calculates the dot product of two vector values */ - Cross = 14, /** Calculates the cross product of two vector values */ - MatVecMultiplication = 15, /** Multiplies a matrix with a vector */ - Transpose = 16, /** Transposes a matrix */ - Inverse = 17, /** Computes the inverse of a matrix */ - Sinus = 18, /** Calculates the sinus */ - Cosinus = 19, /** Calculates the cosinus */ - Tan = 20, /** Calculates the tangent */ - ArcSin = 21, /** Calculates the arcsinus */ - ArcCos = 22, /** Calculates the arccosinus */ - ArcTan = 23, /** Calculates the arctangent */ - ArcTan2 = 24, /** Calculates the arctangent */ - Min = 25, /** Calculates the minimum of two values */ - Max = 26, /** Calculates the maximum of two values */ - Abs = 27, /** Calculates the absolute value */ - Fmod = 28, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ - Pow = 29, /** Calculates the power A^B */ - Sqrt = 30, /** Calculates the square root */ - Exp = 31, /** Exponential function */ - Log = 32, /** Natural logarithmus */ - Log2 = 33, /** Logarithmus to the base 2 */ - Log10 = 34, /** Logarithmus to the base 10 */ - Select = 35, /** If A is less than B returns C, else D */ - Clamp = 36, /** Clamps the input value to min and max */ - Sinh = 37, /** Calculates the hyperbolic sine */ - Cosh = 38, /** Calculates the hyperbolic cosine */ - Tanh = 39, /** Calculates the hyperbolic tangent */ - Round = 40, /** Rounds a scalar value to the nearest integer */ - Ceil = 41, /** Rounds a scalar value up to the nearest integer */ - Floor = 42, /** Rounds a scalar value down to the nearest integer */ - Sign = 43, /** Returns the sign */ - Fract = 44, /** Returns the fractional part */ - FunctionCall = 45, /** Calls a function */ - Mesh = 46, /** Calculates the signed distance to a mesh */ - Length = 47, /** Calculates the length of a vector */ - ConstResourceID = 48, /** Selects a resource (function, mesh etc.) */ - VectorFromScalar = 49, /** Creates a vector from one scalar values */ - UnsignedMesh = 50, /** Calculates the unsigned distance to a mesh */ - Mod = 51 /** Calculates the modulo of two values (same behaviour as glsl mod) */ + Addition = 0, /** Adds to values (scalar or vector) */ + Subtraction = 1, /** Subtracts two values (scalar or vector) */ + Multiplication = 2, /** Multiplies two values (scalar or vector) */ + Division = 3, /** Divides two values (scalar or vector) */ + Constant = 4, /** A constant scalar value */ + ConstVec = 5, /** A constant vector value */ + ConstMat = 6, /** A constant matrix value */ + ComposeVector = 7, /** Creates a vector from three scalar values */ + DecomposeVector = 8, /** Decomposes a vector into three scalar values */ + ComposeMatrix = 9, /** Creates a matrix from nine scalar values */ + MatrixFromColumns = 10, /** Creates a matrix from three column vector values */ + MatrixFromRows = 11, /** Creates a matrix from three row vector values */ + Dot = 12, /** Calculates the dot product of two vector values */ + Cross = 13, /** Calculates the cross product of two vector values */ + MatVecMultiplication = 14, /** Multiplies a matrix with a vector */ + Transpose = 15, /** Transposes a matrix */ + Inverse = 16, /** Computes the inverse of a matrix */ + Sinus = 17, /** Calculates the sinus */ + Cosinus = 18, /** Calculates the cosinus */ + Tan = 19, /** Calculates the tangent */ + ArcSin = 20, /** Calculates the arcsinus */ + ArcCos = 21, /** Calculates the arccosinus */ + ArcTan = 22, /** Calculates the arctangent */ + ArcTan2 = 23, /** Calculates the arctangent */ + Min = 24, /** Calculates the minimum of two values */ + Max = 25, /** Calculates the maximum of two values */ + Abs = 26, /** Calculates the absolute value */ + Fmod = 27, /** Computes the remainder of the divison of the inputs (same behavior as C fmod) */ + Pow = 28, /** Calculates the power A^B */ + Sqrt = 29, /** Calculates the square root */ + Exp = 30, /** Exponential function */ + Log = 31, /** Natural logarithmus */ + Log2 = 32, /** Logarithmus to the base 2 */ + Log10 = 33, /** Logarithmus to the base 10 */ + Select = 34, /** If A is less than B returns C, else D */ + Clamp = 35, /** Clamps the input value to min and max */ + Sinh = 36, /** Calculates the hyperbolic sine */ + Cosh = 37, /** Calculates the hyperbolic cosine */ + Tanh = 38, /** Calculates the hyperbolic tangent */ + Round = 39, /** Rounds a scalar value to the nearest integer */ + Ceil = 40, /** Rounds a scalar value up to the nearest integer */ + Floor = 41, /** Rounds a scalar value down to the nearest integer */ + Sign = 42, /** Returns the sign */ + Fract = 43, /** Returns the fractional part */ + FunctionCall = 44, /** Calls a function */ + Mesh = 45, /** Calculates the signed distance to a mesh */ + Length = 46, /** Calculates the length of a vector */ + ConstResourceID = 47, /** Selects a resource (function, mesh etc.) */ + VectorFromScalar = 48, /** Creates a vector from one scalar values */ + UnsignedMesh = 49, /** Calculates the unsigned distance to a mesh */ + Mod = 50 /** Calculates the modulo of two values (same behaviour as glsl mod) */ }; /** * enum class eImplicitPortType - The type of the port */ enum class eImplicitPortType : Lib3MF_int32 { - Scalar = 1, /** Scalar */ - Vector = 2, /** Vector */ - Matrix = 3, /** 4x4 Matrix */ - ResourceID = 4 /** Resource ID */ + Scalar = 0, /** Scalar */ + Vector = 1, /** Vector */ + Matrix = 2, /** 4x4 Matrix */ + ResourceID = 3 /** Resource ID */ }; /** * enum class eImplicitNodeConfiguration - Defines the input and output types of a node */ enum class eImplicitNodeConfiguration : Lib3MF_int32 { - Default = 1, /** Default */ - ScalarToScalar = 2, /** Scalar -> Scalar */ - VectorToVector = 3, /** Vector -> Vector */ - MatrixToMatrix = 4 /** Matrix -> Matrix */ + Default = 0, /** Default */ + ScalarToScalar = 1, /** Scalar -> Scalar */ + VectorToVector = 2, /** Vector -> Vector */ + MatrixToMatrix = 3 /** Matrix -> Matrix */ }; enum class eEncryptionAlgorithm : Lib3MF_int32 {