#include <Session.h>
◆ FSession()
| UE::CADKernel::FSession::FSession |
( |
double |
InGeometricTolerance | ) |
|
|
inline |
◆ AddDatabase()
| void UE::CADKernel::FSession::AddDatabase |
( |
const TArray< uint8 > & |
InRawData | ) |
|
Add a database defined by a RawData in the current session database Entity ID is set for all loaded entities
◆ Clear()
| void UE::CADKernel::FSession::Clear |
( |
| ) |
|
|
inline |
◆ GetDatabase()
| FDatabase & UE::CADKernel::FSession::GetDatabase |
( |
| ) |
|
|
inline |
◆ GetGeometricTolerance()
| double UE::CADKernel::FSession::GetGeometricTolerance |
( |
| ) |
const |
|
inline |
◆ GetLastHostId()
| int32 UE::CADKernel::FSession::GetLastHostId |
( |
| ) |
const |
|
inline |
◆ GetModel()
| FModel & UE::CADKernel::FSession::GetModel |
( |
| ) |
|
|
inline |
◆ GetModelAsShared()
◆ LoadDatabase() [1/2]
| bool UE::CADKernel::FSession::LoadDatabase |
( |
const TArray< uint8 > & |
Bytes | ) |
|
◆ LoadDatabase() [2/2]
| bool UE::CADKernel::FSession::LoadDatabase |
( |
const TCHAR * |
FilePath | ) |
|
Load and add a database in the current session database Entity ID is set for all loaded entities
◆ NewHostId()
| int32 UE::CADKernel::FSession::NewHostId |
( |
| ) |
|
|
inline |
◆ SaveDatabase() [1/6]
Save a selection and all the dependencies as a FAchive in a file Mandatory: all entity have to have a defined ID Use SpawnEntityIdent if needed
◆ SaveDatabase() [2/6]
Save a selection and all the dependencies as a FAchive in a file Mandatory: all entity have to have a defined ID Use SpawnEntityIdent if needed
◆ SaveDatabase() [3/6]
Save a selection and all the dependencies as a FAchive in a file Mandatory: all entity have to have a defined ID Use SpawnEntityIdent if needed
◆ SaveDatabase() [4/6]
| void UE::CADKernel::FSession::SaveDatabase |
( |
const TCHAR * |
FileName, |
|
|
FEntity & |
Entity |
|
) |
| |
|
inline |
Save a selection and all the dependencies as a FAchive in a file Mandatory: all entity have to have a defined ID Use SpawnEntityIdent if needed
◆ SaveDatabase() [5/6]
| bool UE::CADKernel::FSession::SaveDatabase |
( |
const TCHAR * |
FilePath | ) |
|
Save the database as a FAchive in a file Mandatory: all entity have to have a defined ID Use SpawnEntityIdent if needed
◆ SaveDatabase() [6/6]
◆ Serialize()
◆ SetFirstNewHostId()
| void UE::CADKernel::FSession::SetFirstNewHostId |
( |
int32 |
StartHostId | ) |
|
|
inline |
For stitching purpose, stitching can generate new body needing a host id. To avoid duplicate, the first generated host id can be set.
◆ SetGeometricTolerance()
| void UE::CADKernel::FSession::SetGeometricTolerance |
( |
double |
NewTolerance | ) |
|
Tolerance must not be modified as soon as a geometric entity has been build.
◆ SpawnEntityIdent()
To be consistent, all entity to save have to had an Id. This method browses all sub entities and set their Id if needed
- Parameters
-
| bForceSpawning | If false, the process does not iterate through the children of entities with a defined ID |
◆ SpawnEntityIdents() [1/2]
◆ SpawnEntityIdents() [2/2]
◆ SharedPointerInternals::TIntrusiveReferenceController
◆ Database
◆ GeometricTolerance
| double UE::CADKernel::FSession::GeometricTolerance |
|
protected |
◆ LastHostId
| int32 UE::CADKernel::FSession::LastHostId |
|
protected |
The documentation for this class was generated from the following files:
- Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Core/Session.h
- Engine/Source/Runtime/Datasmith/CADKernel/Base/Private/Core/Session.cpp