FDatasmithUtils Class Reference

Public Types

enum  EModelCoordSystem : uint8 { ZUp_LeftHanded, ZUp_RightHanded, YUp_LeftHanded, YUp_RightHanded }
 

Static Public Member Functions

static void SanitizeNameInplace (FString &InString)
 
static FString SanitizeName (FString InString)
 
static FString SanitizeObjectName (FString InString)
 
static FString SanitizeFileName (FString InString)
 
static float GetEnterpriseVersionAsFloat ()
 
static int32 GetEnterpriseVersionAsInt ()
 
static FString GetEnterpriseVersionAsString ()
 
static float GetDatasmithFormatVersionAsFloat ()
 Returns the Datasmith data format version. More...
 
static int32 GetDatasmithFormatVersionAsInt ()
 
static FString GetDatasmithFormatVersionAsString ()
 
static const TCHAR * GetFileExtension ()
 Returns the file extension without the dot, of the DatasmithScene. More...
 
static const TCHAR * GetLongAppName ()
 Returns the long name of Datasmith. More...
 
static const TCHAR * GetShortAppName ()
 Returns the abbreviated name of Datasmith. More...
 
static double AreaTriangle3D (FVector v0, FVector v1, FVector v2)
 Computes the area of a triangle. More...
 
template<typename VecType >
static FVector ConvertVector (EModelCoordSystem ModelCoordSys, const VecType &V)
 
static FTransform ConvertTransform (EModelCoordSystem SourceCoordSystem, const FTransform &LocalTransform)
 
static FMatrix GetSymmetricMatrix (const FVector &Origin, const FVector &Normal)
 

Member Function Documentation

◆ AreaTriangle3D()

static double FDatasmithUtils::AreaTriangle3D ( FVector  v0,
FVector  v1,
FVector  v2 
)
static

Computes the area of a triangle.

◆ GetDatasmithFormatVersionAsFloat()

static float FDatasmithUtils::GetDatasmithFormatVersionAsFloat ( )
static

Returns the Datasmith data format version.

◆ GetFileExtension()

static const TCHAR* FDatasmithUtils::GetFileExtension ( )
static

Returns the file extension without the dot, of the DatasmithScene.

Currently udatasmith

◆ GetLongAppName()

static const TCHAR* FDatasmithUtils::GetLongAppName ( )
static

Returns the long name of Datasmith.

◆ GetShortAppName()

static const TCHAR* FDatasmithUtils::GetShortAppName ( )
static

Returns the abbreviated name of Datasmith.


The documentation for this class was generated from the following file: