17 #if !defined(OPENNURBS_INSTANCE_INC_)
18 #define OPENNURBS_INSTANCE_INC_
49 linked_and_embedded_def = 2,
69 force_32bit_idef_update_type = 0xFFFFFFFF
82 idef_name_setting = 1,
83 idef_description_setting = 2,
85 idef_units_setting = 8,
86 idef_source_archive_setting = 0x10,
87 idef_userdata_setting = 0x20,
88 all_idef_settings = 0xFFFFFFFF
131 const wchar_t*
URL()
const;
168 const wchar_t* source_archive,
213 const wchar_t* alternate_source_archive_path,
311 #if defined(ON_32BIT_POINTER)
318 unsigned int m_reserved1;
355 unsigned char m_reserved2[2];
357 #if defined(ON_64BIT_POINTER)
364 unsigned int m_reserved1;
bool HasLinkedIdefLayerSettings() const
ON_wString m_source_archive
void UpdateLinkedIdefParentLayerSettings(const ON_Layer *linked_idef_parent_layer)
const wchar_t * URL_Tag() const
ON::object_type ObjectType() const
void SetUnitSystem(const ON_UnitSystem &us)
const wchar_t * URL() const
ON_CheckSum m_source_archive_checksum
const wchar_t * Name() const
void SetBoundingBox(ON_BoundingBox bbox)
void DestroySourceArchive()
void SetUuid(ON_UUID uuid)
ON_SimpleArray< ON_UUID > m_object_uuid
const ON_Layer * LinkedIdefParentLayerSettings() const
bool m_source_bRelativePath
void Dump(ON_TextLog &) const
void SetName(const wchar_t *name)
ON_BOOL32 Read(ON_BinaryArchive &binary_archive)
ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const
ON_BOOL32 Write(ON_BinaryArchive &binary_archive) const
ON_BOOL32 GetBBox(double *boxmin, double *boxmax, int bGrowBox=false) const
const wchar_t * Description() const
const wchar_t * SourceArchive() const
void UpdateLinkedIdefLayerSettings(unsigned int layer_count, const ON_Layer *const *layer_settings)
bool GetAlternateSourceArchivePath(ON_wString &alternate_source_archive_path, bool &bRelativePath) const
void SetURL_Tag(const wchar_t *url_tag)
IDEF_UPDATE_TYPE IdefUpdateType() const
void SetDescription(const wchar_t *description)
void UpdateLinkedIdefReferenceFileLayerSettings(unsigned int layer_count, ON_Layer **layer_settings)
void SetSourceArchive(const wchar_t *source_archive, ON_CheckSum checksum, IDEF_UPDATE_TYPE update_type)
unsigned int SizeOf() const
const ON_UnitSystem & UnitSystem() const
static IDEF_UPDATE_TYPE IdefUpdateType(int i)
ON_UUID ModelObjectId() const
ON_BOOL32 Transform(const ON_Xform &xform)
void UpdateLinkedIdefReferenceFileLayerRuntimeId(const ON_UuidPairList &id_map)
void SetUnitSystem(ON::unit_system us)
unsigned char m_idef_layer_style
ON_CheckSum SourceArchiveCheckSum() const
void SetURL(const wchar_t *url)
void SetAlternateSourceArchivePath(const wchar_t *alternate_source_archive_path, bool bRelativePath)
IDEF_UPDATE_TYPE m_idef_update_type
ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const
ON_BOOL32 Write(ON_BinaryArchive &binary_archive) const
bool IsDeformable() const
ON_UUID m_instance_definition_uuid
ON_BOOL32 GetBBox(double *boxmin, double *boxmax, int bGrowBox=false) const
ON_BOOL32 Read(ON_BinaryArchive &binary_archive)
ON_BOOL32 Transform(const ON_Xform &xform)
ON::object_type ObjectType() const
static const double m_singular_xform_tol