32#ifndef KICAD_3D_IMPORT_API
33#if defined( COMPILE_3D_IMPORT )
34#define KICAD_3D_IMPORT_API APIEXPORT
36#define KICAD_3D_IMPORT_API APIIMPORT
76 bool ( *
isCanceled )(
void* aContext )
noexcept =
nullptr;
93 explicit operator bool() const noexcept;
140 const MODEL_IMPORT_OPTIONS& aOptions = {} )
noexcept;
define an internal structure to be used by the 3D renders
MODEL_IMPORT_ERROR m_error
const S3DMODEL * GetModel() const noexcept
MODEL_IMPORT_RESULT & operator=(const MODEL_IMPORT_RESULT &)=delete
MODEL_IMPORT_ERROR GetError() const noexcept
std::string_view GetDiagnostic() const noexcept
MODEL_IMPORT_RESULT(MODEL_IMPORT_RESULT &&aOther) noexcept
MODEL_IMPORT_RESULT & operator=(MODEL_IMPORT_RESULT &&aOther) noexcept
friend KICAD_3D_IMPORT_API MODEL_IMPORT_RESULT ImportModel(const std::string &aFileName, const MODEL_IMPORT_OPTIONS &aOptions) noexcept
Import and flatten one model without invoking GUI facilities.
MODEL_IMPORT_RESULT(const MODEL_IMPORT_RESULT &)=delete
#define KICAD_3D_IMPORT_API
MODEL_IMPORT_OPTIONS PreviewImportOptions() noexcept
Options for previewing a file the user has not opened.
Store the a model based on meshes and materials.
void * cancellationContext
bool IsCanceled() const noexcept
double stepLinearDeflection
MODEL_IMPORT_FORMAT format
std::uint64_t maxCompressedBytes
std::uint64_t maxExpandedBytes
std::uint64_t maxMeshBytes
bool(* isCanceled)(void *aContext) noexcept
double stepAngularDeflectionDegrees
bool vrmlApplyLegacyUnitConversion