QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_3dm_settings.h
Go to the documentation of this file.
1/* $NoKeywords: $ */
2/*
3//
4// Copyright (c) 1993-2007 Robert McNeel & Associates. All rights reserved.
5// Rhinoceros is a registered trademark of Robert McNeel & Assoicates.
6//
7// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
8// ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF
9// MERCHANTABILITY ARE HEREBY DISCLAIMED.
10//
11// For complete openNURBS copyright information see <http://www.opennurbs.org>.
12//
14*/
15
16#if !defined(OPENNURBS_3DM_SETTINGS_INC_)
17#define OPENNURBS_3DM_SETTINGS_INC_
18
19
21//
22// units and tolerances
23//
24
26{
27public:
32
33 void Default();
34
35 bool Read( ON_BinaryArchive& );
36 bool Write( ON_BinaryArchive& ) const;
37
38 void Dump( ON_TextLog& ) const;
39
41 // Returns scale factor that needs to be applied to change from
42 // the argument's unit system to m_unit_system.
43 // When m_unit_system is not ON::custom_unit_system,
44 // Scale(us) = ON::UnitScale(us,m_unit_system). When Scale(us)
45 // When m_unit_system is ON::custom_unit_system,
46 // Scale(us) = ON::UnitScale(us,ON::meters)*m_custom_unit_scale.
47 double Scale( ON::unit_system ) const;
48
49 //ON::unit_system m_unit_system;
51
52 double m_absolute_tolerance; // in units (default = 1/100)
53 double m_angle_tolerance; // in radians (default = 3 degrees)
54 double m_relative_tolerance; // fraction >= 0 and < 1 (default = 1%)
55
56 ON::distance_display_mode m_distance_display_mode;
57 int m_distance_display_precision; // decimal mode: number of decimal places
58 // fractional modes:
59 // denominator = (1/2)^m_distance_display_precision
60
62 // These settings apply when m_unit_system is ON::custom_unit_system
63 //
64 //double m_custom_unit_scale; // 1 meter = m_custom_unit_scale custom units
65 //ON_wString m_custom_unit_name; // name of custom units
66};
67
69//
70// Model settings
71// render mesh defaults
72// viewports
73// construction planes
74//
75
77{
78public:
83
84 void Default();
85
86 bool Read( ON_BinaryArchive& );
87 bool Write( ON_BinaryArchive& ) const;
88
89 void Dump( ON_TextLog& text_log ) const;
90
91 // these are the running defaults for making dimensions
92 // they are also the things written to the 3dm file as dimension settings
93 double m_dimscale; // model size / plotted size
95 double m_dimexe;
96 double m_dimexo;
100
101 // added 12/28/05 LW
102 double m_dimdle;
103 double m_dimgap;
104
105 ON::unit_system m_dimunits; // units used to measure the dimension
106 int m_arrowtype; // 0: filled narrow triangular arrow
107 int m_angularunits; // 0: degrees, 1: radians
108 int m_lengthformat; // 0: decimal, ...
109 int m_angleformat; // 0: decimal degrees, ...
110 int m_textalign; // 0: above line, 1: in line, 2: horizontal
111 int m_resolution; // depends on m_lengthformat
112 // for decimal, digits past the decimal point
113
114 ON_wString m_facename; // [LF_FACESIZE] // windows font name
115};
116
118//
119// ON_3dmConstructionPlaneGridDefaults
120//
121// Default settings used for construction plane grids
123{
124public:
129
130 void Default();
131
132 bool Write( ON_BinaryArchive& ) const;
133 bool Read( ON_BinaryArchive& );
134
135 void Dump( ON_TextLog& text_log ) const;
136
137 double m_grid_spacing; // distance between grid lines
138 double m_snap_spacing; // when "grid snap" is enabled, the
139 // distance between snap points. Typically
140 // this is the same distance as grid spacing.
141 int m_grid_line_count; // number of grid lines in each direction
142 int m_grid_thick_frequency; // thick line frequency
143 // 0: none,
144 // 1: all lines are thick,
145 // 2: every other is thick, ...
146
150};
151
153//
154// ON_3dmConstructionPlane
155//
157{
158public:
161
162 // default copy constructor and operator= work fine
163 //ON_3dmConstructionPlane(const ON_3dmConstructionPlane&);
164 //ON_3dmConstructionPlane& operator=(const ON_3dmConstructionPlane&);
165
166 void Default();
167
168 bool Write( ON_BinaryArchive& ) const;
169 bool Read( ON_BinaryArchive& );
170
171 void Dump( ON_TextLog& text_log ) const;
172
174
175 // construction grid appearance
176 double m_grid_spacing; // distance between grid lines
177 double m_snap_spacing; // when "grid snap" is enabled, the
178 // distance between snap points. Typically
179 // this is the same distance as grid spacing.
180 int m_grid_line_count; // number of grid lines in each direction
181 int m_grid_thick_frequency; // thick line frequency
182 // 0: none,
183 // 1: all lines are thick,
184 // 2: every other is thick, ...
185 bool m_bDepthBuffer; // false=grid is always drawn behind 3d geometry
186 // true=grid is drawn at its depth as a 3d plane
187 // and grid lines obscure things behind the grid.
188
190};
191
192#if defined(ON_DLL_TEMPLATE)
193// This stuff is here because of a limitation in the way Microsoft
194// handles templates and DLLs. See Microsoft's knowledge base
195// article ID Q168958 for details.
196#pragma warning( push )
197#pragma warning( disable : 4231 )
198ON_DLL_TEMPLATE template class ON_CLASS ON_ClassArray<ON_3dmConstructionPlane>;
199#pragma warning( pop )
200#endif
201
203//
204// ON_3dmViewPosition
205//
207{
208public:
209 // view window relative position and state in parent frame
213 ON_3dmViewPosition& operator=(const ON_3dmViewPosition&);
214
215 void Default();
216
217 bool Write( ON_BinaryArchive& ) const;
218 bool Read( ON_BinaryArchive& );
219
220 // relative position of view window in main frame
221 // if m_floating_viewport>0, this is relative position of the view window
222 // on the virtual screen (union of potentially multiple monitors)
223 double m_wnd_left; // 0.0 to 1.0
225 double m_wnd_top;
227 ON_BOOL32 m_bMaximized; // true if view window is maximized
228
229 // m_floating_viewport is used to track floating viewport information.
230 // 0 = the view is docked in the main application window.
231 // >0 = the view is floating. When floating, this corresponds to the
232 // number of monitors on on the user's computer when the file was saved
233 unsigned char m_floating_viewport;
234private:
235 // reserved for future use
236 unsigned char m_reserved_1;
237 unsigned char m_reserved_2;
238 unsigned char m_reserved_3;
239};
240
242//
243// ON_3dmViewTraceImage
244//
246{
247public:
250 bool operator==( const ON_3dmViewTraceImage& ) const;
251 bool operator!=( const ON_3dmViewTraceImage& ) const;
252
253 void Default();
254
255 bool Write( ON_BinaryArchive& ) const;
256 bool Read( ON_BinaryArchive& );
257
258 // view window relative position and state in parent frame
260 double m_width;
261 double m_height;
262
264 bool m_bGrayScale; // true if image should be black and white
265 bool m_bHidden; // true if image is currently hidden from view
266 bool m_bFiltered; // true if image should be filtered (bilinear) before displayed.
267};
268
269
271//
272// ON_3dmViewTraceImage
273//
275{
276public:
279 bool operator==( const ON_3dmWallpaperImage& ) const;
280 bool operator!=( const ON_3dmWallpaperImage& ) const;
281
282 void Default();
283
284 bool Write( ON_BinaryArchive& ) const;
285 bool Read( ON_BinaryArchive& );
286
288 bool m_bGrayScale; // true if image should be black and white
289 bool m_bHidden; // true if image is currently hidden from view
290};
291
293//
294// ON_3dmView
295//
296
298{
299public:
302
303 bool IsValid( ON_TextLog* text_log = 0 ) const;
304
305 void Default();
306
308
309 // Overall size of the page in millimeters
312
313 // Page margins in millimeters
318
320
321 bool Write(ON_BinaryArchive& archive) const;
322 bool Read(ON_BinaryArchive& archive);
323};
324
325
327{
328public:
329 ON_3dmView();
330 ~ON_3dmView();
331
332 // The C++ default copy constructor and operator= work fine.
333 // Do not provide customized versions.
334 // NO // ON_3dmView(const ON_3dmView&);
335 // NO // ON_3dmView& operator=(const ON_3dmView&);
336
337 void Default();
338
339 bool Write( ON_BinaryArchive& ) const;
340 bool Read( ON_BinaryArchive& );
341
342 void Dump( ON_TextLog& text_log ) const;
343
344 bool IsValid( ON_TextLog* text_log = 0 ) const;
345
346 // view projection information
348
349 // clipping planes
350 // These are not saved with the view. They are set up and used during runtime
352
353 // If true, the the camera location, camera direction,
354 // and lens angle should not be changed.
355 // It is ok to adjust clipping planes.
357
359 //
360 // target point
361 //
362
363 /*
364 Returns:
365 Target point. This point is saved on m_vp.m_target_point.
366 The default constructor sets the target point to
367 ON_3dPoint::UnsetPoint. You must explicitly set the target
368 point if you want to use it.
369 Remarks:
370 The target point is stored on m_vp.m_target_point. The
371 value ON_3dmView.m_target is obsolete. This function always
372 returns the value of m_vp.m_target_point.
373
374 */
375 ON_3dPoint TargetPoint() const;
376
377 /*
378 Description:
379 Sets the target point.
380 Parameters:
381 target_point - [in]
382 When in double, the point m_vp.FrustumCenterPoint(ON_UNSET_VALUE)
383 is a good choice.
384 Remarks:
385 This point is saved on m_vp.m_target_point. Using this function
386 keeps the obsolete ON_3dmView.m_target value equal to
387 m_vp.m_target_point.
388 */
389 bool SetTargetPoint(ON_3dPoint target_point);
390
392 // OBSOLETE //
393 // Use ON_3dmView::SetTargetPoint() and ON_3dmView::TargetPoint() //
394 // functions to set and get the target point. The m_target member //
395 // will be removed in V6. The only reason m_target is still here //
396 // is to avoid breaking the public SDK. //
397 /* OBSOLETE */ ON_3dPoint m_target; // OBSOLETE //
398 // Hmm, did you notice that m_target is obsolete? Try using the //
399 // SetTargetPoint() and TargetPoint() functions instead. //
400 // OBSOLETE //
402
403 //
405
406 ON_wString m_name; // name on window
407
408 // If m_display_mode_id is nil, then use m_display_mode
409 // to show one of the "standard" (wireframe, shaded, rendered)
410 // display modes. If m_display_mode_id is not nil, then
411 // ignore m_display_mode.
413 ON::display_mode m_display_mode;
414
415 // position of view in parent window
416 // (relative display device coordinates)
418
419 ON::view_type m_view_type; // model, page, or nested
420
421 // If m_view_type == ON::page_view_type, then the m_page_settings
422 // records the page size. Otherwise, m_page_settings should
423 // be ignored.
425
426 // construction plane
430
431 // world axes icon
433
434 // tracing image
436
437 // wallpaper image
439};
440
441#if defined(ON_DLL_TEMPLATE)
442// This stuff is here because of a limitation in the way Microsoft
443// handles templates and DLLs. See Microsoft's knowledge base
444// article ID Q168958 for details.
445#pragma warning( push )
446#pragma warning( disable : 4231 )
447ON_DLL_TEMPLATE template class ON_CLASS ON_ClassArray<ON_3dmView>;
448#pragma warning( pop )
449#endif
450
452//
453// ON_3dmRenderSettings
454//
455
457{
458public:
463
464 void Default();
465
466 bool Write( ON_BinaryArchive& ) const;
467 bool Read( ON_BinaryArchive& );
468
469 void Dump( ON_TextLog& text_log ) const;
470
472 // false: image pixel size = current viewport size
473 // true: image pixel size = m_image_width X m_image_height pixels
475 int m_image_width; // image width in pixels
476 int m_image_height; // image height in pixels
478 // Number of dots/inch (dots=pixels) to use when printing and
479 // saving bitmaps. The default is 72.0 dots/inch.
480 double m_image_dpi;
482 // unit system to use when converting image pixel size and dpi
483 // information into a print size. Default = inches
484 ON::unit_system m_image_us;
485
487
488 int m_background_style; // 0 = solid color, 1 = "wallpaper" image, 2 = Gradient
489 ON_Color m_background_color; // also Top color of gradient...
491
493
496
503
504 int m_antialias_style; // 0 = none, 1 = normal, 2 = best
505
506 int m_shadowmap_style; // 0 = none, 1 = normal, 2 = best
510
512
513 // Flags that are used to determine which render settings a render
514 // plugin uses, and which ones the display pipeline should use.
515 // Note: Render plugins set these, and they don't need to persist
516 // in the document...Also, when set, they turn OFF their
517 // corresponding setting in the Display Attributes Manager's
518 // UI pages for "Rendered" mode.
528};
529
530
532//
533// ON_EarthAnchorPoint
534//
535
537{
538public:
541
542 static
543 int Compare(
544 const ON_EarthAnchorPoint*,
546 );
547
548 static
549 int CompareEarthLocation(
550 const ON_EarthAnchorPoint*,
552 );
553
554 static
555 int CompareModelDirection(
556 const ON_EarthAnchorPoint*,
558 );
559
560 static
561 int CompareIdentification(
562 const ON_EarthAnchorPoint*,
564 );
565
566 void Default();
567 bool Read( ON_BinaryArchive& );
568 bool Write( ON_BinaryArchive& ) const;
569
570 // Point on the Earth
571 // Latitude (degrees): +90 = north pole, 0 = equator, -90 = south pole
572 // Longitude (degrees): 0 = prime meridian (Greenwich meridian)
573 // Elevation (meters):
574 double m_earth_basepoint_latitude; // in decimal degrees
575 double m_earth_basepoint_longitude; // in decimal degrees
576 double m_earth_basepoint_elevation; // in meters
577 int m_earth_basepoint_elevation_zero; // 0 = ground level
578 // 1 = mean sea level
579 // 2 = center of earth
580
581 // Corresponding model point in model coordinates.
582 ON_3dPoint m_model_basepoint; // in model coordinates
583
584 // Earth directions in model coordinates
585 ON_3dVector m_model_north; // in model coordinates
586 ON_3dVector m_model_east; // in model coordinates
587
588 // Identification information about this location
589 ON_UUID m_id; // unique id for this anchor point
593 ON_wString m_url_tag; // UI link text for m_url
594
595 /*
596 Parameters:
597 model_compass - [out]
598 A plane in model coordinates whose xaxis points East,
599 yaxis points North and zaxis points up. The origin
600 is set to m_model_basepoint.
601 */
602 bool GetModelCompass(
603 ON_Plane& model_compass
604 ) const;
605
606 /*
607 Description:
608 Get a transformation from model coordinates to earth coordinates.
609 This transformation assumes the model is small enough that
610 the curvature of the earth can be ignored.
611 Parameters:
612 model_unit_system - [in]
613 model_to_earth - [out]
614 Transformation from model coordinates to earth locations
615 (degrees latitude,degrees longitude,elevation in meters)
616 Remarks:
617 If M is a point in model coordinates and E = model_to_earth*M,
618 then
619 E.x = latitude in decimal degrees
620 E.y = longitude in decimal degrees
621 E.z = elevation in meters above mean sea level
622
623 Because the earth is not flat, there is a small amount of error
624 when using a linear transformation to calculate oblate spherical
625 coordinates. This error is small. If the distance from P to M
626 is d meters, then the approximation error is
627
628 latitude error <=
629 longitude error <=
630 elevation error <= 6379000*((1 + (d/6356000)^2)-1) meters
631
632 In particular, if every point in the model is within 1000 meters of
633 the m_model_basepoint, then the maximum approximation errors are
634
635 latitude error <=
636 longitude error <=
637 elevation error <= 8 centimeters
638 */
639 bool GetModelToEarthXform(
640 const ON_UnitSystem& model_unit_system,
641 ON_Xform& model_to_earth
642 ) const;
643};
644
645
646
648{
649public:
651
652 void Default();
653
654 bool Read(ON_BinaryArchive&);
655 bool Write(ON_BinaryArchive&) const;
656
657 // bitmaps associated with rendering materials
659
660 // linked instance defintion settings
661 int m_idef_link_update; // 0 = use ON_InstanceDefinition setting
662 // The ON_InstanceDefinition::m_idef_update_type
663 // field controls when and with how much
664 // prompting embedded or linked idefs get updated.
665 // 1 = prompt
666 // Ignore m_idef_update_type settings.
667 // If an embedded or linked idef needs to
668 // be updated, ask the user what to do.
669 // 2 = always update - no prompting
670 // Ignore m_idef_update_type settings.
671 // If an embedded or linked idef needs to
672 // be updated, silently update it.
673 // 3 = never update - no prompting
674 // Ignore m_idef_update_type settings.
675 // Do not update embedded or linked idefs.
676};
677
679//
680// ON_3dmSettings
681//
682
684{
685public:
688
689 // C++ copy constructor and operator= work fine.
690 // Do not provide custom versions.
691 // NO // ON_3dmSettings(const ON_3dmSettings&);
692 // NO // ON_3dmSettings& operator=(const ON_3dmSettings&);
693
694 void Default();
695
696 bool Read(ON_BinaryArchive&);
697 bool Write(ON_BinaryArchive&) const;
698
699 void Dump( ON_TextLog& ) const;
700
701 // model URL (can be empty)
703
704 // Model basepoint is used when the file is read as
705 // an instance definition and is the point that is
706 // mapped to the origin in the instance definition.
708
709
710 // If set, this is the model's location on the earth.
711 // This information is used when the model is used
712 // with GIS information.
714
715 // Model space tolerances and unit system
717
718 // Page space (printing/paper) tolerances and unit system
720
721 // settings used for automatically created rendering meshes
723
724 // saved custom settings
726
727 // settings used for automatically created analysis meshes
729
730 // settings used when annotation objects are created
732
735 ON_ClassArray<ON_3dmView> m_views; // current viewports
736 ON_UUID m_active_view_id; // id of "active" viewport
737
738 // These fields determine what layer, material, color, line style, and
739 // wire density are used for new objects.
741
743 ON::object_material_source m_current_material_source;
744
746 ON::object_color_source m_current_color_source;
747
749 ON::plot_color_source m_current_plot_color_source;
750
752 ON::object_linetype_source m_current_linetype_source;
753
755
757
758 // Surface wireframe density
759 //
760 // @untitled table
761 // 0 boundary + "knot" wires
762 // 1 boundary + "knot" wires + 1 interior wire if no interior "knots"
763 // N>=2 boundry + "knot" wires + (N-1) interior wires
765
767
768 // default settings for construction plane grids
770
771 // World scale factor to apply to non-solid linetypes
772 // for model display. For plotting, the linetype settings
773 // are used without scaling.
775
776 // Plugins that were loaded when the file was saved.
778
780private:
781 bool Read_v1(ON_BinaryArchive&);
782 bool Read_v2(ON_BinaryArchive&);
783 bool Write_v1(ON_BinaryArchive&) const;
784 bool Write_v2(ON_BinaryArchive&) const;
785};
786
787#endif
Definition opennurbs_point.h:403
Definition opennurbs_point.h:931
Definition opennurbs_3dm_settings.h:77
double m_dimexe
Definition opennurbs_3dm_settings.h:95
int m_angularunits
Definition opennurbs_3dm_settings.h:107
int m_angleformat
Definition opennurbs_3dm_settings.h:109
int m_lengthformat
Definition opennurbs_3dm_settings.h:108
ON::unit_system m_dimunits
Definition opennurbs_3dm_settings.h:105
double m_dimdle
Definition opennurbs_3dm_settings.h:102
double m_centermark
Definition opennurbs_3dm_settings.h:99
int m_resolution
Definition opennurbs_3dm_settings.h:111
double m_dimexo
Definition opennurbs_3dm_settings.h:96
double m_arrowlength
Definition opennurbs_3dm_settings.h:97
double m_arrowwidth
Definition opennurbs_3dm_settings.h:98
int m_arrowtype
Definition opennurbs_3dm_settings.h:106
double m_dimscale
Definition opennurbs_3dm_settings.h:93
double m_dimgap
Definition opennurbs_3dm_settings.h:103
ON_wString m_facename
Definition opennurbs_3dm_settings.h:114
double m_textheight
Definition opennurbs_3dm_settings.h:94
int m_textalign
Definition opennurbs_3dm_settings.h:110
Definition opennurbs_3dm_settings.h:123
ON_BOOL32 m_bShowWorldAxes
Definition opennurbs_3dm_settings.h:149
ON_BOOL32 m_bShowGridAxes
Definition opennurbs_3dm_settings.h:148
int m_grid_thick_frequency
Definition opennurbs_3dm_settings.h:142
double m_snap_spacing
Definition opennurbs_3dm_settings.h:138
int m_grid_line_count
Definition opennurbs_3dm_settings.h:141
ON_BOOL32 m_bShowGrid
Definition opennurbs_3dm_settings.h:147
double m_grid_spacing
Definition opennurbs_3dm_settings.h:137
Definition opennurbs_3dm_settings.h:157
int m_grid_thick_frequency
Definition opennurbs_3dm_settings.h:181
double m_snap_spacing
Definition opennurbs_3dm_settings.h:177
bool m_bDepthBuffer
Definition opennurbs_3dm_settings.h:185
int m_grid_line_count
Definition opennurbs_3dm_settings.h:180
ON_wString m_name
Definition opennurbs_3dm_settings.h:189
ON_Plane m_plane
Definition opennurbs_3dm_settings.h:173
double m_grid_spacing
Definition opennurbs_3dm_settings.h:176
Definition opennurbs_3dm_settings.h:648
int m_idef_link_update
Definition opennurbs_3dm_settings.h:661
bool m_bSaveTextureBitmapsInFile
Definition opennurbs_3dm_settings.h:658
Definition opennurbs_3dm_settings.h:298
double m_bottom_margin_mm
Definition opennurbs_3dm_settings.h:317
double m_top_margin_mm
Definition opennurbs_3dm_settings.h:316
int m_page_number
Definition opennurbs_3dm_settings.h:307
double m_right_margin_mm
Definition opennurbs_3dm_settings.h:315
ON_wString m_printer_name
Definition opennurbs_3dm_settings.h:319
double m_left_margin_mm
Definition opennurbs_3dm_settings.h:314
double m_height_mm
Definition opennurbs_3dm_settings.h:311
double m_width_mm
Definition opennurbs_3dm_settings.h:310
Definition opennurbs_3dm_settings.h:457
ON::unit_system m_image_us
Definition opennurbs_3dm_settings.h:484
bool m_bUsesBackfaceAttr
Definition opennurbs_3dm_settings.h:521
int m_antialias_style
Definition opennurbs_3dm_settings.h:504
ON_BOOL32 m_bRenderAnnotation
Definition opennurbs_3dm_settings.h:502
ON_BOOL32 m_bRenderPoints
Definition opennurbs_3dm_settings.h:498
bool m_bUsesPointsAttr
Definition opennurbs_3dm_settings.h:522
bool m_bUsesIsoparmsAttr
Definition opennurbs_3dm_settings.h:524
ON_BOOL32 m_bDepthCue
Definition opennurbs_3dm_settings.h:494
ON_BOOL32 m_bRenderMeshEdges
Definition opennurbs_3dm_settings.h:501
ON_BOOL32 m_bCustomImageSize
Definition opennurbs_3dm_settings.h:474
int m_image_height
Definition opennurbs_3dm_settings.h:476
double m_image_dpi
Definition opennurbs_3dm_settings.h:480
ON_Color m_background_bottom_color
Definition opennurbs_3dm_settings.h:511
ON_BOOL32 m_bRenderBackfaces
Definition opennurbs_3dm_settings.h:497
bool m_bUsesCurvesAttr
Definition opennurbs_3dm_settings.h:523
bool m_bUsesHiddenLightsAttr
Definition opennurbs_3dm_settings.h:527
ON_wString m_background_bitmap_filename
Definition opennurbs_3dm_settings.h:490
ON_BOOL32 m_bUseHiddenLights
Definition opennurbs_3dm_settings.h:492
int m_background_style
Definition opennurbs_3dm_settings.h:488
ON_BOOL32 m_bFlatShade
Definition opennurbs_3dm_settings.h:495
ON_Color m_background_color
Definition opennurbs_3dm_settings.h:489
bool m_bUsesMeshEdgesAttr
Definition opennurbs_3dm_settings.h:525
int m_shadowmap_height
Definition opennurbs_3dm_settings.h:508
bool m_bUsesBackgroundAttr
Definition opennurbs_3dm_settings.h:520
ON_Color m_ambient_light
Definition opennurbs_3dm_settings.h:486
bool m_bUsesAnnotationAttr
Definition opennurbs_3dm_settings.h:526
ON_BOOL32 m_bRenderCurves
Definition opennurbs_3dm_settings.h:499
int m_image_width
Definition opennurbs_3dm_settings.h:475
int m_shadowmap_width
Definition opennurbs_3dm_settings.h:507
ON_BOOL32 m_bRenderIsoparams
Definition opennurbs_3dm_settings.h:500
double m_shadowmap_offset
Definition opennurbs_3dm_settings.h:509
bool m_bUsesAmbientAttr
Definition opennurbs_3dm_settings.h:519
int m_shadowmap_style
Definition opennurbs_3dm_settings.h:506
Definition opennurbs_3dm_settings.h:684
ON_3dPoint m_model_basepoint
Definition opennurbs_3dm_settings.h:707
int m_current_material_index
Definition opennurbs_3dm_settings.h:742
ON_ClassArray< ON_3dmConstructionPlane > m_named_cplanes
Definition opennurbs_3dm_settings.h:733
ON_3dmUnitsAndTolerances m_PageUnitsAndTolerances
Definition opennurbs_3dm_settings.h:719
ON_3dmIOSettings m_IO_settings
Definition opennurbs_3dm_settings.h:779
ON_ClassArray< ON_3dmView > m_views
Definition opennurbs_3dm_settings.h:735
int m_current_font_index
Definition opennurbs_3dm_settings.h:754
ON_MeshParameters m_RenderMeshSettings
Definition opennurbs_3dm_settings.h:722
ON_ClassArray< ON_PlugInRef > m_plugin_list
Definition opennurbs_3dm_settings.h:777
ON::object_material_source m_current_material_source
Definition opennurbs_3dm_settings.h:743
ON_ClassArray< ON_3dmView > m_named_views
Definition opennurbs_3dm_settings.h:734
ON::object_linetype_source m_current_linetype_source
Definition opennurbs_3dm_settings.h:752
ON_Color m_current_color
Definition opennurbs_3dm_settings.h:745
ON_3dmAnnotationSettings m_AnnotationSettings
Definition opennurbs_3dm_settings.h:731
int m_current_linetype_index
Definition opennurbs_3dm_settings.h:751
ON::plot_color_source m_current_plot_color_source
Definition opennurbs_3dm_settings.h:749
double m_linetype_display_scale
Definition opennurbs_3dm_settings.h:774
ON_3dmUnitsAndTolerances m_ModelUnitsAndTolerances
Definition opennurbs_3dm_settings.h:716
ON_wString m_model_URL
Definition opennurbs_3dm_settings.h:702
ON_EarthAnchorPoint m_earth_anchor_point
Definition opennurbs_3dm_settings.h:713
ON_UUID m_active_view_id
Definition opennurbs_3dm_settings.h:736
ON_3dmRenderSettings m_RenderSettings
Definition opennurbs_3dm_settings.h:766
ON_MeshParameters m_CustomRenderMeshSettings
Definition opennurbs_3dm_settings.h:725
ON_3dmConstructionPlaneGridDefaults m_GridDefaults
Definition opennurbs_3dm_settings.h:769
int m_current_layer_index
Definition opennurbs_3dm_settings.h:740
ON_MeshParameters m_AnalysisMeshSettings
Definition opennurbs_3dm_settings.h:728
ON::object_color_source m_current_color_source
Definition opennurbs_3dm_settings.h:746
int m_current_wire_density
Definition opennurbs_3dm_settings.h:764
ON_Color m_current_plot_color
Definition opennurbs_3dm_settings.h:748
int m_current_dimstyle_index
Definition opennurbs_3dm_settings.h:756
Definition opennurbs_3dm_settings.h:26
double m_relative_tolerance
Definition opennurbs_3dm_settings.h:54
ON_UnitSystem m_unit_system
Definition opennurbs_3dm_settings.h:50
ON::distance_display_mode m_distance_display_mode
Definition opennurbs_3dm_settings.h:56
double m_absolute_tolerance
Definition opennurbs_3dm_settings.h:52
double m_angle_tolerance
Definition opennurbs_3dm_settings.h:53
int m_distance_display_precision
Definition opennurbs_3dm_settings.h:57
Definition opennurbs_3dm_settings.h:327
ON_wString m_name
Definition opennurbs_3dm_settings.h:406
ON_Viewport m_vp
Definition opennurbs_3dm_settings.h:347
ON_3dPoint m_target
Definition opennurbs_3dm_settings.h:397
ON_3dmWallpaperImage m_wallpaper_image
Definition opennurbs_3dm_settings.h:438
ON::view_type m_view_type
Definition opennurbs_3dm_settings.h:419
ON_SimpleArray< ON_ClippingPlaneInfo > m_clipping_planes
Definition opennurbs_3dm_settings.h:351
ON_3dmConstructionPlane m_cplane
Definition opennurbs_3dm_settings.h:427
ON_UUID m_display_mode_id
Definition opennurbs_3dm_settings.h:412
ON_3dmViewPosition m_position
Definition opennurbs_3dm_settings.h:417
ON_3dmViewTraceImage m_trace_image
Definition opennurbs_3dm_settings.h:435
bool m_bShowConstructionAxes
Definition opennurbs_3dm_settings.h:429
ON_3dmPageSettings m_page_settings
Definition opennurbs_3dm_settings.h:424
bool m_bShowWorldAxes
Definition opennurbs_3dm_settings.h:432
bool m_bLockedProjection
Definition opennurbs_3dm_settings.h:356
bool m_bShowConstructionGrid
Definition opennurbs_3dm_settings.h:428
ON::display_mode m_display_mode
Definition opennurbs_3dm_settings.h:413
Definition opennurbs_3dm_settings.h:207
unsigned char m_floating_viewport
Definition opennurbs_3dm_settings.h:233
double m_wnd_left
Definition opennurbs_3dm_settings.h:223
double m_wnd_bottom
Definition opennurbs_3dm_settings.h:226
ON_BOOL32 m_bMaximized
Definition opennurbs_3dm_settings.h:227
unsigned char m_reserved_1
Definition opennurbs_3dm_settings.h:236
double m_wnd_top
Definition opennurbs_3dm_settings.h:225
unsigned char m_reserved_3
Definition opennurbs_3dm_settings.h:238
unsigned char m_reserved_2
Definition opennurbs_3dm_settings.h:237
double m_wnd_right
Definition opennurbs_3dm_settings.h:224
Definition opennurbs_3dm_settings.h:246
bool m_bFiltered
Definition opennurbs_3dm_settings.h:266
bool m_bGrayScale
Definition opennurbs_3dm_settings.h:264
double m_height
Definition opennurbs_3dm_settings.h:261
bool m_bHidden
Definition opennurbs_3dm_settings.h:265
ON_wString m_bitmap_filename
Definition opennurbs_3dm_settings.h:263
ON_Plane m_plane
Definition opennurbs_3dm_settings.h:259
double m_width
Definition opennurbs_3dm_settings.h:260
Definition opennurbs_3dm_settings.h:275
bool m_bGrayScale
Definition opennurbs_3dm_settings.h:288
ON_wString m_bitmap_filename
Definition opennurbs_3dm_settings.h:287
bool m_bHidden
Definition opennurbs_3dm_settings.h:289
Definition opennurbs_archive.h:152
Definition opennurbs_array.h:760
Definition opennurbs_color.h:24
Definition opennurbs_3dm_settings.h:537
ON_UUID m_id
Definition opennurbs_3dm_settings.h:589
ON_wString m_url
Definition opennurbs_3dm_settings.h:592
ON_3dPoint m_model_basepoint
Definition opennurbs_3dm_settings.h:582
ON_3dVector m_model_north
Definition opennurbs_3dm_settings.h:585
double m_earth_basepoint_longitude
Definition opennurbs_3dm_settings.h:575
int m_earth_basepoint_elevation_zero
Definition opennurbs_3dm_settings.h:577
ON_wString m_url_tag
Definition opennurbs_3dm_settings.h:593
double m_earth_basepoint_elevation
Definition opennurbs_3dm_settings.h:576
double m_earth_basepoint_latitude
Definition opennurbs_3dm_settings.h:574
ON_wString m_description
Definition opennurbs_3dm_settings.h:591
ON_3dVector m_model_east
Definition opennurbs_3dm_settings.h:586
ON_wString m_name
Definition opennurbs_3dm_settings.h:590
Definition opennurbs_mesh.h:33
Definition opennurbs_plane.h:20
Definition opennurbs_array.h:46
Definition opennurbs_textlog.h:20
Definition opennurbs_uuid.h:31
Definition opennurbs_string.h:688
Definition opennurbs_viewport.h:31
Definition opennurbs_xform.h:28
Definition opennurbs_string.h:392
Scales selected entities.
Definition Scale.js:11
#define ON_CLASS
Definition opennurbs_defines.h:91
int ON_BOOL32
Definition opennurbs_system.h:362