TTransform3

[TTransform3](API\Plugins\GeometricObjects\TTransform3) is a double/float templated version of standard UE[FTransform](API\Runtime\Core\Math\FTransform).

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/TransformTypes.h

Include

#include "TransformTypes.h"

Syntax

template<typename RealType>
class TTransform3

Remarks

TTransform3 is a double/float templated version of standard UEFTransform.

Variables

Name Description

Protected variable

TQuaternion< Re...

 

Rotation

Protected variable

FVector3< RealT...

 

Scale3D

Protected variable

FVector3< RealT...

 

Translation

Constructors

Name Description

Public function

TTransform3()

Public function

TTransform3

(
    const FVector3< RealType >& Transl...
)

Public function

TTransform3

(
    const FTransform& Transform
)

Public function

TTransform3

(
    const TQuaternion< RealType >& Rot...,
    const FVector3< RealType >& Transl...
)

Public function

TTransform3

(
    const TQuaternion< RealType >& Rot...,
    const FVector3< RealType >& Transl...,
    const FVector3< RealType >& ScaleI...
)

Functions

Name Description

Public function

void

 

ClampMinimumScale

(
    RealType MinimumScale
)

Clamp all scale components to a minimum value.

Public function

RealType

 

GetDeterminant()

Public function Const

const TQuate...

 

GetRotation()

Public function Static

FVector3< Re...

 

GetSafeScaleReciprocal

(
    const FVector3< RealType >& InScal...,
    RealType Tolerance
)

Public function Const

const FVecto...

 

GetScale()

Public function Const

const FVecto...

 

GetTranslation()

Public function Static

TTransform3<...

 

Identity()

Public function Const

TTransform3<...

 

Inverse()

Public function Const

FVector3< Re...

 

InverseTransformNormal

(
    const FVector3< RealType2 >& V
)

Public function Const

FVector3< Re...

 

InverseTransformNormal

(
    const FVector3< RealType >& Normal
)

Surface Normals are special, their inverse transform is InverseRotate( Normalize(Scale * Normal) ) )

Public function Const

FVector3< Re...

 

InverseTransformPosition

(
    const FVector3< RealType2 >& P
)

Public function Const

FVector3< Re...

 

InverseTransformPosition

(
    const FVector3< RealType >& P
)

Public function Const

FVector3< Re...

 

InverseTransformVector

(
    const FVector3< RealType2 >& V
)

Public function Const

FVector3< Re...

 

InverseTransformVector

(
    const FVector3< RealType >& V
)

Public function Const

FVector3< Re...

 

InverseTransformVectorNoScale

(
    const FVector3< RealType >& V
)

Public function Const

FVector3< Re...

 

InverseTransformVectorNoScale

(
    const FVector3< RealType2 >& V
)

Public function

void

 

SetRotation

(
    const TQuaternion< RealType >& Rot...
)

Set Rotation portion of Transform

Public function

void

 

SetScale

(
    const FVector3< RealType >& ScaleI...
)

Set Scale portion of transform

Public function

void

 

SetTranslation

(
    const FVector3< RealType >& Transl...
)

Set Translation portion of transform

Public function Const

FVector3< Re...

 

TransformNormal

(
    const FVector3< RealType >& Normal
)

Surface Normals are special, their transform is Rotate( Normalize( (1/Scale) * Normal) ) ). However 1/Scale requires special handling in case any component is near-zero.

Public function Const

FVector3< Re...

 

TransformNormal

(
    const FVector3< RealType2 >& V
)

Public function Const

FVector3< Re...

 

TransformPosition

(
    const FVector3< RealType2 >& P
)

Vector-type-conversion variants.

Public function Const

FVector3< Re...

 

TransformPosition

(
    const FVector3< RealType >& P
)

Public function Const

FVector3< Re...

 

TransformVector

(
    const FVector3< RealType >& V
)

Public function Const

FVector3< Re...

 

TransformVector

(
    const FVector3< RealType2 >& V
)

Public function Const

FVector3< Re...

 

TransformVectorNoScale

(
    const FVector3< RealType >& V
)

Public function Const

FVector3< Re...

 

TransformVectorNoScale

(
    const FVector3< RealType2 >& V
)

Operators

Name Description

Public function Const

 

operator FTransform()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss