17 #if !defined(OPENNURBS_3DM_SETTINGS_INC_)
18 #define OPENNURBS_3DM_SETTINGS_INC_
48 double Scale( ON::unit_system )
const;
168 float m_world_view_text_scale;
169 float m_world_view_hatch_scale;
194 unsigned char m_bEnableAnnotationScaling;
196 unsigned char m_bEnableHatchScaling;
199 unsigned char m_reserved[6];
290 #if defined(ON_DLL_TEMPLATE)
294 #pragma warning( push )
295 #pragma warning( disable : 4231 )
297 #pragma warning( pop )
334 unsigned char m_reserved_1;
335 unsigned char m_reserved_2;
336 unsigned char m_reserved_3;
540 #if defined(ON_DLL_TEMPLATE)
544 #pragma warning( push )
545 #pragma warning( disable : 4231 )
547 #pragma warning( pop )
581 bool m_bScaleBackgroundToFit;
582 unsigned char m_reserved1[3];
638 unsigned char m_reserved2[3];
void Dump(ON_TextLog &text_log) const
double WorldViewTextScale() const
ON::unit_system m_dimunits
ON_3dmAnnotationSettings()
bool Read(ON_BinaryArchive &)
ON_3dmAnnotationSettings(const ON_3dmAnnotationSettings &)
bool IsHatchScalingEnabled() const
ON_3dmAnnotationSettings & operator=(const ON_3dmAnnotationSettings &)
bool Write(ON_BinaryArchive &) const
void EnableAnnotationScaling(bool bEnable)
~ON_3dmAnnotationSettings()
void EnableHatchScaling(bool bEnable)
bool IsAnnotationScalingEnabled() const
double WorldViewHatchScale() const
void SetWorldViewTextScale(double world_view_text_scale)
void SetWorldViewHatchScale(double world_view_hatch_scale)
ON_BOOL32 m_bShowWorldAxes
ON_3dmConstructionPlaneGridDefaults()
bool Read(ON_BinaryArchive &)
ON_BOOL32 m_bShowGridAxes
void Dump(ON_TextLog &text_log) const
~ON_3dmConstructionPlaneGridDefaults()
ON_3dmConstructionPlaneGridDefaults & operator=(const ON_3dmConstructionPlaneGridDefaults &)
int m_grid_thick_frequency
ON_3dmConstructionPlaneGridDefaults(const ON_3dmConstructionPlaneGridDefaults &)
bool Write(ON_BinaryArchive &) const
void Dump(ON_TextLog &text_log) const
ON_3dmConstructionPlane()
bool Write(ON_BinaryArchive &) const
int m_grid_thick_frequency
bool Read(ON_BinaryArchive &)
~ON_3dmConstructionPlane()
bool Write(ON_BinaryArchive &) const
bool Read(ON_BinaryArchive &)
bool m_bSaveTextureBitmapsInFile
double m_bottom_margin_mm
ON_wString m_printer_name
bool IsValid(ON_TextLog *text_log=0) const
bool Write(ON_BinaryArchive &archive) const
bool Read(ON_BinaryArchive &archive)
ON::unit_system m_image_us
bool Read(ON_BinaryArchive &)
ON_BOOL32 m_bRenderAnnotation
ON_BOOL32 m_bRenderPoints
bool Write(ON_BinaryArchive &) const
ON_BOOL32 m_bRenderMeshEdges
ON_BOOL32 m_bCustomImageSize
ON_Color m_background_bottom_color
ON_3dmRenderSettings & operator=(const ON_3dmRenderSettings &)
ON_BOOL32 m_bRenderBackfaces
bool ScaleBackgroundToFit() const
ON_3dmRenderSettings(const ON_3dmRenderSettings &)
void Dump(ON_TextLog &text_log) const
bool m_bUsesHiddenLightsAttr
ON_wString m_background_bitmap_filename
ON_BOOL32 m_bUseHiddenLights
ON_Color m_background_color
void SetScaleBackgroundToFit(bool bScaleBackgroundToFit)
bool m_bUsesMeshEdgesAttr
bool m_bUsesBackgroundAttr
bool m_bUsesAnnotationAttr
ON_BOOL32 m_bRenderCurves
ON_BOOL32 m_bRenderIsoparams
double m_shadowmap_offset
ON_3dPoint m_model_basepoint
int m_current_material_index
ON_ClassArray< ON_3dmConstructionPlane > m_named_cplanes
ON_3dmUnitsAndTolerances m_PageUnitsAndTolerances
ON_3dmIOSettings m_IO_settings
ON_ClassArray< ON_3dmView > m_views
ON_MeshParameters m_RenderMeshSettings
ON_ClassArray< ON_PlugInRef > m_plugin_list
ON::object_material_source m_current_material_source
void Dump(ON_TextLog &) const
ON_ClassArray< ON_3dmView > m_named_views
bool Read(ON_BinaryArchive &)
ON::object_linetype_source m_current_linetype_source
ON_3dmAnnotationSettings m_AnnotationSettings
int m_current_linetype_index
ON::plot_color_source m_current_plot_color_source
double m_linetype_display_scale
ON_3dmUnitsAndTolerances m_ModelUnitsAndTolerances
ON_EarthAnchorPoint m_earth_anchor_point
ON_3dmRenderSettings m_RenderSettings
ON_MeshParameters m_CustomRenderMeshSettings
ON_3dmConstructionPlaneGridDefaults m_GridDefaults
int m_current_layer_index
ON_MeshParameters m_AnalysisMeshSettings
ON::object_color_source m_current_color_source
int m_current_wire_density
ON_Color m_current_plot_color
int m_current_dimstyle_index
bool Write(ON_BinaryArchive &) const
double m_relative_tolerance
double Scale(ON::unit_system) const
ON_3dmUnitsAndTolerances(const ON_3dmUnitsAndTolerances &)
ON_3dmUnitsAndTolerances & operator=(const ON_3dmUnitsAndTolerances &)
bool Write(ON_BinaryArchive &) const
ON_UnitSystem m_unit_system
ON::distance_display_mode m_distance_display_mode
~ON_3dmUnitsAndTolerances()
bool Read(ON_BinaryArchive &)
double m_absolute_tolerance
void Dump(ON_TextLog &) const
int m_distance_display_precision
ON_3dmUnitsAndTolerances()
bool Write(ON_BinaryArchive &) const
ON_3dmWallpaperImage m_wallpaper_image
ON::view_type m_view_type
bool Read(ON_BinaryArchive &)
bool SetTargetPoint(ON_3dPoint target_point)
ON_SimpleArray< ON_ClippingPlaneInfo > m_clipping_planes
ON_3dmConstructionPlane m_cplane
ON_3dPoint TargetPoint() const
ON_UUID m_display_mode_id
bool IsValid(ON_TextLog *text_log=0) const
ON_3dmViewPosition m_position
ON_3dmViewTraceImage m_trace_image
void Dump(ON_TextLog &text_log) const
bool m_bShowConstructionAxes
ON_3dmPageSettings m_page_settings
bool m_bShowConstructionGrid
ON::display_mode m_display_mode
bool Read(ON_BinaryArchive &)
unsigned char m_floating_viewport
ON_3dmViewPosition(const ON_3dmViewPosition &)
bool Write(ON_BinaryArchive &) const
ON_3dmViewPosition & operator=(const ON_3dmViewPosition &)
bool operator!=(const ON_3dmViewTraceImage &) const
bool operator==(const ON_3dmViewTraceImage &) const
ON_wString m_bitmap_filename
bool Read(ON_BinaryArchive &)
bool Write(ON_BinaryArchive &) const
bool Write(ON_BinaryArchive &) const
bool operator==(const ON_3dmWallpaperImage &) const
bool Read(ON_BinaryArchive &)
bool operator!=(const ON_3dmWallpaperImage &) const
ON_wString m_bitmap_filename
ON_3dPoint m_model_basepoint
static int CompareEarthLocation(const ON_EarthAnchorPoint *, const ON_EarthAnchorPoint *)
ON_3dVector m_model_north
double m_earth_basepoint_longitude
bool Write(ON_BinaryArchive &) const
int m_earth_basepoint_elevation_zero
bool Read(ON_BinaryArchive &)
double m_earth_basepoint_elevation
double m_earth_basepoint_latitude
bool GetModelToEarthXform(const ON_UnitSystem &model_unit_system, ON_Xform &model_to_earth) const
static int CompareModelDirection(const ON_EarthAnchorPoint *, const ON_EarthAnchorPoint *)
bool GetModelCompass(ON_Plane &model_compass) const
static int Compare(const ON_EarthAnchorPoint *, const ON_EarthAnchorPoint *)
static int CompareIdentification(const ON_EarthAnchorPoint *, const ON_EarthAnchorPoint *)