KiCad PCB EDA Suite
Loading...
Searching...
No Matches
S3D::MODEL_IMPORT_OPTIONS Struct Reference

#include <model_import.h>

Public Member Functions

bool IsCanceled () const noexcept
 

Public Attributes

MODEL_IMPORT_FORMAT format = MODEL_IMPORT_FORMAT::AUTO
 
double stepLinearDeflection = 0.14
 
double stepAngularDeflectionDegrees = 30.0
 
bool vrmlEnableInline = true
 
bool vrmlApplyLegacyUnitConversion = true
 
std::uint64_t maxCompressedBytes = 64U * 1024U * 1024U
 
std::uint64_t maxExpandedBytes = 512U * 1024U * 1024U
 
std::uint64_t maxMeshBytes = 1024U * 1024U * 1024U
 
bool(* isCanceled )(void *aContext) noexcept = nullptr
 
void * cancellationContext = nullptr
 

Detailed Description

Definition at line 66 of file model_import.h.

Member Function Documentation

◆ IsCanceled()

bool S3D::MODEL_IMPORT_OPTIONS::IsCanceled ( ) const
inlinenoexcept

Definition at line 79 of file model_import.h.

References cancellationContext, and isCanceled.

Referenced by S3D::ImportModel(), and LoadX3D().

Member Data Documentation

◆ cancellationContext

void* S3D::MODEL_IMPORT_OPTIONS::cancellationContext = nullptr

Definition at line 77 of file model_import.h.

Referenced by IsCanceled().

◆ format

MODEL_IMPORT_FORMAT S3D::MODEL_IMPORT_OPTIONS::format = MODEL_IMPORT_FORMAT::AUTO

Definition at line 68 of file model_import.h.

Referenced by S3D::ImportModel(), LoadModel(), and LoadVRMLModel().

◆ isCanceled

bool(* S3D::MODEL_IMPORT_OPTIONS::isCanceled) (void *aContext) noexcept = nullptr
noexcept

Definition at line 76 of file model_import.h.

Referenced by IsCanceled().

◆ maxCompressedBytes

std::uint64_t S3D::MODEL_IMPORT_OPTIONS::maxCompressedBytes = 64U * 1024U * 1024U

Definition at line 73 of file model_import.h.

Referenced by LoadVRML(), S3D::PreviewImportOptions(), and readSTEPZ().

◆ maxExpandedBytes

std::uint64_t S3D::MODEL_IMPORT_OPTIONS::maxExpandedBytes = 512U * 1024U * 1024U

Definition at line 74 of file model_import.h.

Referenced by S3D::ImportModel(), LoadVRML(), S3D::PreviewImportOptions(), and readSTEPZ().

◆ maxMeshBytes

std::uint64_t S3D::MODEL_IMPORT_OPTIONS::maxMeshBytes = 1024U * 1024U * 1024U

Definition at line 75 of file model_import.h.

Referenced by S3D::PreviewImportOptions().

◆ stepAngularDeflectionDegrees

double S3D::MODEL_IMPORT_OPTIONS::stepAngularDeflectionDegrees = 30.0

Definition at line 70 of file model_import.h.

Referenced by S3D::ImportModel(), Load(), and processFace().

◆ stepLinearDeflection

double S3D::MODEL_IMPORT_OPTIONS::stepLinearDeflection = 0.14

Definition at line 69 of file model_import.h.

Referenced by S3D::ImportModel(), Load(), LoadModel(), processFace(), and readSTEPZ().

◆ vrmlApplyLegacyUnitConversion

bool S3D::MODEL_IMPORT_OPTIONS::vrmlApplyLegacyUnitConversion = true

Definition at line 72 of file model_import.h.

Referenced by WRL2BASE::GetInlineData(), and LoadVRML().

◆ vrmlEnableInline

bool S3D::MODEL_IMPORT_OPTIONS::vrmlEnableInline = true

Definition at line 71 of file model_import.h.

Referenced by WRL2BASE::GetInlineData(), LoadVRML(), and S3D::PreviewImportOptions().


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