#include <opennurbs_3dm_settings.h>

Public Member Functions

 ON_3dmAnnotationSettings ()=default
 
 ON_3dmAnnotationSettings (const ON_3dmAnnotationSettings &)=default
 
 ~ON_3dmAnnotationSettings ()=default
 
void Dump (ON_TextLog &text_log) const
 
void Enable_V5_AnnotationScaling (bool bEnable)
 
void EnableHatchScaling (bool bEnable)
 
void EnableLayoutSpaceAnnotationScaling (bool bEnable)
 
void EnableModelSpaceAnnotationScaling (bool bEnable)
 
bool Is_V5_AnnotationScalingEnabled () const
 
bool IsHatchScalingEnabled () const
 
bool IsLayoutSpaceAnnotationScalingEnabled () const
 
bool IsModelSpaceAnnotationScalingEnabled () const
 
ON_3dmAnnotationSettingsoperator= (const ON_3dmAnnotationSettings &)=default
 
bool Read (ON_BinaryArchive &)
 
void SetWorldViewHatchScale (double world_view_hatch_scale)
 
void SetWorldViewTextScale (double world_view_text_scale)
 
double WorldViewHatchScale () const
 
double WorldViewTextScale () const
 
bool Write (ON_BinaryArchive &) const
 

Public Attributes

int m_angleformat = 0
 
int m_angularunits = 0
 
double m_arrowlength = 1.0
 
int m_arrowtype = 0
 
double m_arrowwidth = 1.0
 
double m_centermark = 1.0
 
double m_dimexe = 1.0
 
double m_dimexo = 1.0
 
double m_dimscale = 1.0
 
ON::LengthUnitSystem m_dimunits = ON::LengthUnitSystem::None
 
ON_wString m_facename
 
int m_lengthformat = 0
 
int m_resolution = 0
 
double m_textheight = 1.0
 

Static Public Attributes

static const ON_3dmAnnotationSettings Default
 

Constructor & Destructor Documentation

◆ ON_3dmAnnotationSettings() [1/2]

ON_3dmAnnotationSettings::ON_3dmAnnotationSettings ( )
default

◆ ~ON_3dmAnnotationSettings()

ON_3dmAnnotationSettings::~ON_3dmAnnotationSettings ( )
default

◆ ON_3dmAnnotationSettings() [2/2]

ON_3dmAnnotationSettings::ON_3dmAnnotationSettings ( const ON_3dmAnnotationSettings )
default

Member Function Documentation

◆ Dump()

void ON_3dmAnnotationSettings::Dump ( ON_TextLog text_log) const

◆ Enable_V5_AnnotationScaling()

void ON_3dmAnnotationSettings::Enable_V5_AnnotationScaling ( bool  bEnable)
Parameters
bEnable[in] Sets value of m_b_V5_EnableAnnotationScaling.

◆ EnableHatchScaling()

void ON_3dmAnnotationSettings::EnableHatchScaling ( bool  bEnable)
Parameters
bEnable[in] Sets value of m_bEnableHatchScaling.

◆ EnableLayoutSpaceAnnotationScaling()

void ON_3dmAnnotationSettings::EnableLayoutSpaceAnnotationScaling ( bool  bEnable)
Parameters
bEnable[in] Sets value of m_bEnableLayoutSpaceAnnotationScaling.

◆ EnableModelSpaceAnnotationScaling()

void ON_3dmAnnotationSettings::EnableModelSpaceAnnotationScaling ( bool  bEnable)
Parameters
bEnable[in] Sets value of m_bEnableModelSpaceAnnotationScaling.

◆ Is_V5_AnnotationScalingEnabled()

bool ON_3dmAnnotationSettings::Is_V5_AnnotationScalingEnabled ( ) const
Returns
Value of m_b_V5_EnableAnnotationScaling;

◆ IsHatchScalingEnabled()

bool ON_3dmAnnotationSettings::IsHatchScalingEnabled ( ) const
Returns
Value of m_bEnableHatchScaling;

◆ IsLayoutSpaceAnnotationScalingEnabled()

bool ON_3dmAnnotationSettings::IsLayoutSpaceAnnotationScalingEnabled ( ) const
Returns
Value of m_bEnableLayoutSpaceAnnotationScaling;

◆ IsModelSpaceAnnotationScalingEnabled()

bool ON_3dmAnnotationSettings::IsModelSpaceAnnotationScalingEnabled ( ) const
Returns
Value of m_bEnableModelSpaceAnnotationScaling;

◆ operator=()

ON_3dmAnnotationSettings& ON_3dmAnnotationSettings::operator= ( const ON_3dmAnnotationSettings )
default

◆ Read()

bool ON_3dmAnnotationSettings::Read ( ON_BinaryArchive )

◆ SetWorldViewHatchScale()

void ON_3dmAnnotationSettings::SetWorldViewHatchScale ( double  world_view_hatch_scale)
Parameters
world_view_hatch_scale[in] Sets value of m_world_view_hatch_scale.

◆ SetWorldViewTextScale()

void ON_3dmAnnotationSettings::SetWorldViewTextScale ( double  world_view_text_scale)
Parameters
world_view_text_scale[in] Sets value of m_world_view_text_scale.

◆ WorldViewHatchScale()

double ON_3dmAnnotationSettings::WorldViewHatchScale ( ) const
Returns
Value of m_world_view_hatch_scale;

◆ WorldViewTextScale()

double ON_3dmAnnotationSettings::WorldViewTextScale ( ) const
Returns
Value of m_world_view_text_scale;

◆ Write()

bool ON_3dmAnnotationSettings::Write ( ON_BinaryArchive ) const

Member Data Documentation

◆ Default

const ON_3dmAnnotationSettings ON_3dmAnnotationSettings::Default
static

◆ m_angleformat

int ON_3dmAnnotationSettings::m_angleformat = 0

◆ m_angularunits

int ON_3dmAnnotationSettings::m_angularunits = 0

◆ m_arrowlength

double ON_3dmAnnotationSettings::m_arrowlength = 1.0

◆ m_arrowtype

int ON_3dmAnnotationSettings::m_arrowtype = 0

◆ m_arrowwidth

double ON_3dmAnnotationSettings::m_arrowwidth = 1.0

◆ m_centermark

double ON_3dmAnnotationSettings::m_centermark = 1.0

◆ m_dimexe

double ON_3dmAnnotationSettings::m_dimexe = 1.0

◆ m_dimexo

double ON_3dmAnnotationSettings::m_dimexo = 1.0

◆ m_dimscale

double ON_3dmAnnotationSettings::m_dimscale = 1.0

◆ m_dimunits

ON::LengthUnitSystem ON_3dmAnnotationSettings::m_dimunits = ON::LengthUnitSystem::None

◆ m_facename

ON_wString ON_3dmAnnotationSettings::m_facename

◆ m_lengthformat

int ON_3dmAnnotationSettings::m_lengthformat = 0

◆ m_resolution

int ON_3dmAnnotationSettings::m_resolution = 0

◆ m_textheight

double ON_3dmAnnotationSettings::m_textheight = 1.0