Context for an annotation object. This context is required when converting current annotation objects to and from formats used in earlier versions and is typically used when reading and writing 3dm archives. More...
#include <opennurbs_archive.h>
Public Member Functions | |
ON_3dmAnnotationContext ()=default | |
ON_3dmAnnotationContext (const ON_3dmAnnotationContext &) | |
~ON_3dmAnnotationContext () | |
const class ON_3dmAnnotationSettings & | AnnotationSettings () const |
bool | AnnotationSettingsAreSet () const |
const class ON_BinaryArchive * | BinaryArchive () const |
bool | BinaryArchiveIsSet () const |
const class ON_DimStyle & | DimStyle () const |
bool | DimStyleIsSet () const |
bool | IsOverrideDimStyle () const |
ON::LengthUnitSystem | ModelLengthUnitSystem () const |
ON_3dmAnnotationContext & | operator= (const ON_3dmAnnotationContext &) |
ON::LengthUnitSystem | PageLengthUnitSystem () const |
const class ON_DimStyle & | ParentDimStyle () const |
ON_UUID | ParentDimStyleId () const |
void | SetManagedAnnotationSettings (const class ON_3dmAnnotationSettings &annotation_settings) |
void | SetManagedDimStyle (const class ON_DimStyle &parent_dim_style, const class ON_DimStyle *override_dim_style, int V5_3dm_archive_index) |
void | SetModelLengthUnitSystem (ON::LengthUnitSystem model_length_unit_system) |
void | SetPageLengthUnitSystem (ON::LengthUnitSystem page_length_unit_system) |
void | SetReferencedAnnotationSettings (const class ON_3dmAnnotationSettings *annotation_settings) |
void | SetReferencedBinaryArchive (const class ON_BinaryArchive *binary_archive) |
void | SetReferencedDimStyle (const class ON_DimStyle *parent_dim_style, const class ON_DimStyle *override_dim_style, int V5_3dm_archive_index) |
void | SetViewContext (ON::active_space) |
void | UpdateReferencedDimStyle (const class ON_DimStyle *old_pointer, const class ON_DimStyle *new_pointer) |
int | V5_ArchiveDimStyleIndex () const |
ON::active_space | ViewContext () const |
Static Public Attributes | |
static const ON_3dmAnnotationContext | Default |
Context for an annotation object. This context is required when converting current annotation objects to and from formats used in earlier versions and is typically used when reading and writing 3dm archives.
|
default |
ON_3dmAnnotationContext::~ON_3dmAnnotationContext | ( | ) |
ON_3dmAnnotationContext::ON_3dmAnnotationContext | ( | const ON_3dmAnnotationContext & | ) |
const class ON_3dmAnnotationSettings& ON_3dmAnnotationContext::AnnotationSettings | ( | ) | const |
bool ON_3dmAnnotationContext::AnnotationSettingsAreSet | ( | ) | const |
const class ON_BinaryArchive* ON_3dmAnnotationContext::BinaryArchive | ( | ) | const |
bool ON_3dmAnnotationContext::BinaryArchiveIsSet | ( | ) | const |
const class ON_DimStyle& ON_3dmAnnotationContext::DimStyle | ( | ) | const |
bool ON_3dmAnnotationContext::DimStyleIsSet | ( | ) | const |
bool ON_3dmAnnotationContext::IsOverrideDimStyle | ( | ) | const |
bRequireSetOverrides | [in] true if explicit overrides are required. |
ON::LengthUnitSystem ON_3dmAnnotationContext::ModelLengthUnitSystem | ( | ) | const |
ON_3dmAnnotationContext& ON_3dmAnnotationContext::operator= | ( | const ON_3dmAnnotationContext & | ) |
ON::LengthUnitSystem ON_3dmAnnotationContext::PageLengthUnitSystem | ( | ) | const |
const class ON_DimStyle& ON_3dmAnnotationContext::ParentDimStyle | ( | ) | const |
ON_UUID ON_3dmAnnotationContext::ParentDimStyleId | ( | ) | const |
void ON_3dmAnnotationContext::SetManagedAnnotationSettings | ( | const class ON_3dmAnnotationSettings & | annotation_settings | ) |
annotation_settings | [in] A copy of annotation_settings is stored and manged by the ON_3dmAnnotationContext class instance. |
void ON_3dmAnnotationContext::SetManagedDimStyle | ( | const class ON_DimStyle & | parent_dim_style, |
const class ON_DimStyle * | override_dim_style, | ||
int | V5_3dm_archive_index | ||
) |
dim_style | [in] A copy of a dim_style is stored and manged by the ON_3dmAnnotationContext class instance. |
void ON_3dmAnnotationContext::SetModelLengthUnitSystem | ( | ON::LengthUnitSystem | model_length_unit_system | ) |
void ON_3dmAnnotationContext::SetPageLengthUnitSystem | ( | ON::LengthUnitSystem | page_length_unit_system | ) |
void ON_3dmAnnotationContext::SetReferencedAnnotationSettings | ( | const class ON_3dmAnnotationSettings * | annotation_settings | ) |
annotation_settings | [in] Annotation settings that are externally managed and will exist during the lifetime of the ON_3dmAnnotationContext class instance. |
void ON_3dmAnnotationContext::SetReferencedBinaryArchive | ( | const class ON_BinaryArchive * | binary_archive | ) |
binary_archive | [in] Binary archive that is externally managed and will exist during the lifetime of the ON_3dmAnnotationContext class instance. |
void ON_3dmAnnotationContext::SetReferencedDimStyle | ( | const class ON_DimStyle * | parent_dim_style, |
const class ON_DimStyle * | override_dim_style, | ||
int | V5_3dm_archive_index | ||
) |
dim_style | [in] A dimension style that is externally managed and will exist during the lifetime of the ON_3dmAnnotationContext class instance. |
void ON_3dmAnnotationContext::SetViewContext | ( | ON::active_space | ) |
void ON_3dmAnnotationContext::UpdateReferencedDimStyle | ( | const class ON_DimStyle * | old_pointer, |
const class ON_DimStyle * | new_pointer | ||
) |
int ON_3dmAnnotationContext::V5_ArchiveDimStyleIndex | ( | ) | const |
ON::active_space ON_3dmAnnotationContext::ViewContext | ( | ) | const |
|
static |