API Documentation
Loading...
Searching...
No Matches
CADEntities.h
Go to the documentation of this file.
1/**--------------------------------------------------------------------------------------------
2Copyright (c) 2019, NDEVR LLC
3tyler.parke@ndevr.org
4 __ __ ____ _____ __ __ _______
5 | \ | | | __ \ | ___|\ \ / / | __ \
6 | \ | | | | \ \ | |___ \ \ / / | |__) |
7 | . \| | | |__/ / | |___ \ V / | _ /
8 | |\ |_|_____/__|_____|___\_/____| | \ \
9 |__| \__________________________________| \__\
10
11Subject to the terms of the Enterprise+ Agreement, NDEVR hereby grants
12Licensee a limited, non-exclusive, non-transferable, royalty-free license
13(without the right to sublicense) to use the API solely for the purpose of
14Licensee's internal development efforts to develop applications for which
15the API was provided.
16
17The above copyright notice and this permission notice shall be included in all
18copies or substantial portions of the Software.
19
20THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
21INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
22PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
23FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
24OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25DEALINGS IN THE SOFTWARE.
26
27Library: CAD
28File: CADEntities
29Included in API: True
30Author(s): Tyler Parke
31 *-----------------------------------------------------------------------------------------**/
32#pragma once
33#include <utility>
34#include "Base/Headers/File.h"
35#include "Base/Headers/Angle.h"
36#include "Base/Headers/Line.hpp"
37#include "Base/Headers/Font.h"
39namespace NDEVR
40{
68 {
71 bool operator==(const CADColorInfo& other) const
72 {
73 return mode == other.mode && color == other.color;
74 }
75 bool operator!=(const CADColorInfo& other) const
76 {
77 return mode != other.mode || color != other.color;
78 }
79 };
80
82 {
93 : label(label)
94 {}
95 CADVariable(const String& label, sint04 key_label, const fltp08& value)
96 : label(label)
97 {
99 values.add({key_label , String(value) });
100 }
101 CADVariable(const String& label, sint04 key_label, const uint04& value)
102 : label(label)
103 {
105 values.add({ key_label , String(value) });
106 }
107 CADVariable(const String& label, sint04 key_label, const String& value)
108 : label(label)
109 {
111 values.add({ key_label , String(value) });
112 }
114 : label(label)
115 {
117 values.add({ 10 , String(data[X]) });
118 values.add({ 20 , String(data[Y]) });
119 }
121 : label(label)
122 {
124 values.add({ 10 , String(data[X]) });
125 values.add({ 20 , String(data[Y]) });
126 values.add({ 30 , String(data[Z]) });
127 }
131 };
151
152
170
181
188 {
189 LineTypeData(const String& name, const String& description, int flags, uint04 numberOfDashes, double patternLength)
190 : name(name)
192 , flags(flags)
193 , number_of_dashes(numberOfDashes)
194 , pattern_length(patternLength)
195 {}
196 LineTypeData(const String& name, const String& description, int flags, uint04 numberOfDashes, double patternLength, const Buffer<fltp08>& pattern)
197 : name(name)
199 , flags(flags)
200 , number_of_dashes(numberOfDashes)
201 , pattern_length(patternLength)
203 {}
210 };
211 /**--------------------------------------------------------------------------------------------------
212 Class: ArcData
213
214 \brief logic for storing a style data in a CAD-friendly way for exporting and importing.
215 *-----------------------------------------------------------------------------------------------**/
217 {
219 : name()
220 , flags(0)
222 , width_factor(1.0)
223 , oblique_angle(0.0)
228 , bold(false)
229 , italic(false)
230 {}
231 StyleData(const String& name, int flags, double fixedTextHeight, double widthFactor, double obliqueAngle,
232 int textGenerationFlags, double lastHeightUsed, const String& primaryFontFile, const String& bigFontFile)
233 : name(name)
234 , flags(flags)
235 , fixed_text_height(fixedTextHeight)
236 , width_factor(widthFactor)
237 , oblique_angle(obliqueAngle)
238 , text_generation_flags(textGenerationFlags)
239 , last_height_used(lastHeightUsed)
240 , primary_font_file(primaryFontFile)
241 , big_font_file(bigFontFile)
242 , bold(false)
243 , italic(false)
244 {}
245
246 bool operator==(const StyleData& other) const
247 {
248 // ignore lastHeightUsed:
249 return (name == other.name && flags == other.flags && fixed_text_height == other.fixed_text_height &&
250 width_factor == other.width_factor && oblique_angle == other.oblique_angle && /*textGenerationFlags == other.textGenerationFlags &&*/
252 }
254 int flags;
262 bool bold;
263 bool italic;
264 };
265 /**--------------------------------------------------------------------------------------------------
266 Class: ArcData
267
268 \brief logic for storing a arc data in a CAD-friendly way for exporting and importing.
269 *-----------------------------------------------------------------------------------------------**/
270 struct ArcData : public ExtrusionData, public EntityData
271 {
272 ArcData(const Vector<3, fltp08>& center_point, fltp08 aRadius, Angle<fltp08> aAngle1, Angle<fltp08> aAngle2)
273 : offset(center_point)
274 , radius(aRadius)
275 , thickness(Constant<fltp08>::NaN)
276 , angle1(aAngle1)
277 , angle2(aAngle2)
278 {}
279
285 };
286
287 /**--------------------------------------------------------------------------------------------------
288 Class: PolylineData
289
290 \brief logic for storing a polyline data in a CAD-friendly way for exporting and importing.
291 *-----------------------------------------------------------------------------------------------**/
292 struct PolylineData : public ExtrusionData, public EntityData
293 {
306 {
307 e_no_smooth = 0
311 };
317 uint04 m = Constant<uint04>::NaN;//Number of vertices in m direction if polyline is a polygon mesh.
318 uint04 n = Constant<uint04>::NaN;//Number of vertices in n direction if polyline is a polygon mesh.
319 /*
320 * e_closed = This is a closed polyline (or a polygon mesh closed in the M direction).
321 e_curve_fits = Curve-fit vertices have been added.
322 e_spline_fits = Spline-fit vertices have been added.
323 e_is_3D_polyline = This is a 3D polyline.
324 e_is_3D_polygon = This is a 3D polygon mesh.
325 e_is_closed_n = The polygon mesh is closed in the N direction.
326 e_is_polyface_mesh = The polyline is a polyface mesh.
327 e_line_continuous = The linetype pattern is generated continuously around the vertices of this polyline.
328 */
330 };
331 /**--------------------------------------------------------------------------------------------------
332 Class: TraceData
333
334 \brief logic for storing a trace data in a CAD-friendly way for exporting and importing.
335 *-----------------------------------------------------------------------------------------------**/
346 /**--------------------------------------------------------------------------------------------------
347 Class: SplineData
348
349 \brief logic for storing a spline data in a CAD-friendly way for exporting and importing.
350 *-----------------------------------------------------------------------------------------------**/
398 {
400 Vector<2, fltp08> size, int attachmentPoint, int drawingDirection,
401 int lineSpacingStyle, fltp04 lineSpacingFactor, const String& text, const String& style, Angle<fltp08> angle)
403 , direction_vector(direction)
404 , text_size(size)
405 , attachment_point(attachmentPoint)
406 , drawing_direction(drawingDirection)
407 , line_spacing_style(lineSpacingStyle)
408 , line_spacing_factor(lineSpacingFactor)
409 , text(text)
410 , style(style)
411 , angle(angle)
412 {}
416 /**
417 * Attachment point.
418 *
419 * 1 = Top left, 2 = Top center, 3 = Top right,
420 * 4 = Middle left, 5 = Middle center, 6 = Middle right,
421 * 7 = Bottom left, 8 = Bottom center, 9 = Bottom right
422 */
424 int drawing_direction;//1 = left to right, 3 = top to bottom, 5 = by style
425 int line_spacing_style;//1 = at least, 2 = exact
430 };
431 /**--------------------------------------------------------------------------------------------------
432 Class: SplineData
433
434 \brief logic for storing a text data in a CAD-friendly way for exporting and importing.
435 *-----------------------------------------------------------------------------------------------**/
452 /**--------------------------------------------------------------------------------------------------
453 Class: SplineData
454
455 \brief logic for storing a attribue data in a CAD-friendly way for exporting and importing.
456 *-----------------------------------------------------------------------------------------------**/
471 /**--------------------------------------------------------------------------------------------------
472 Class: CircleData
473
474 \brief logic for storing a circle data in a CAD-friendly way for exporting and importing.
475 *-----------------------------------------------------------------------------------------------**/
514 struct DimensionData : public ExtrusionData, public EntityData
515 {
518 /**
519 * Dimension type.
520 *
521 * 0 Rotated, horizontal, or vertical
522 * 1 Aligned
523 * 2 Angular
524 * 3 Diametric
525 * 4 Radius
526 * 5 Angular 3-point
527 * 6 Ordinate
528 * 64 Ordinate type. This is a bit value (bit 7)
529 * used only with integer value 6. If set,
530 * ordinate is X-type; if not set, ordinate is
531 * Y-type
532 * 128 This is a bit value (bit 8) added to the
533 * other group 70 values if the dimension text
534 * has been positioned at a user-defined
535 * location rather than at the default location
536 */
537 int type;
539 int line_spacing_style;//1 = at least, 2 = exact
540 fltp08 line_spacing_factor;//line spacing factor 0.25-4.0
541 String text;//Text string entered explicitly by user or "<>" for the actual measurement or " " (one blank space). for supressing the text.
542 String dimension_style;// Dimension style (font name)
543 Angle<fltp08> angle;//Rotation angle of dimension text away from default orientation.
544 double linear_factor;//style override.
545 double dim_scale;//scale
549 };
550
551
560
584 /**--------------------------------------------------------------------------------------------------
585 Class: RadialDimension
586
587 \brief logic for storing a radial dimension in a CAD-friendly way for exporting and importing.
588 *-----------------------------------------------------------------------------------------------**/
590 {
593 , leader(dleader)
594 {}
595
597 fltp08 leader;//Leader length
598 };
599 /**--------------------------------------------------------------------------------------------------
600 Class: DiametricDimension
601
602 \brief logic for storing an diametric dimension in a CAD-friendly way for exporting and importing.
603 *-----------------------------------------------------------------------------------------------**/
605 {
608 , leader(dleader)
609 {}
611 fltp08 leader;//Leader length
612 };
613
614 /**--------------------------------------------------------------------------------------------------
615 Struct: AngularDimensionData
616
617 \brief logic for storing an angular dimension in a CAD-friendly way for exporting and importing.
618 *-----------------------------------------------------------------------------------------------**/
619 template<uint04 t_data_count>
621 {
622 AngularDimensionData(const Vector<3, fltp08>& def_point_1, const Vector<3, fltp08>& def_point_2, const Vector<3, fltp08>& def_point_3)
623 {
624 static_assert(t_data_count == 3, "Wrong Argument Count");
625 def_points[0] = def_point_1;
626 def_points[1] = def_point_2;
627 def_points[2] = def_point_3;
628 }
629 AngularDimensionData(const Vector<3, fltp08>& def_point_1, const Vector<3, fltp08>& def_point_2,
630 const Vector<3, fltp08>& def_point_3, const Vector<3, fltp08>& def_point_4)
631 {
632 static_assert(t_data_count == 4, "Wrong Argument Count");
633 def_points[0] = def_point_1;
634 def_points[1] = def_point_2;
635 def_points[2] = def_point_3;
636 def_points[3] = def_point_4;
637 }
639 };
640
641 struct DimOrdinateData : public LineSegment<3, fltp08>, public DimensionData
642 {
644 : LineSegment<3, fltp08>(p1, p2)
645 , xtype(type)
646 {}
647
649 : LineSegment<3, fltp08>(dimension)
650 , xtype(type)
651 {}
652 bool xtype;//True if the dimension indicates the X-value, false for Y-value
653 };
654 /**--------------------------------------------------------------------------------------------------
655 Class: LeaderData
656
657 \brief logic for storing a leader in a CAD-friendly way for exporting and importing.
658 *-----------------------------------------------------------------------------------------------**/
659 struct LeaderData : public EntityData
660 {
662 {
663 e_segments = 0
665 };
674 LeaderData(bool lArrowHeadFlag, LeaderPathType lLeaderPathType, int lLeaderCreationFlag, int lHooklineDirectionFlag
675 , int lHooklineFlag, fltp08 lTextAnnotationHeight, fltp08 lTextAnnotationWidth)
676 : text_annotation_size(lTextAnnotationWidth, lTextAnnotationHeight)
677 , use_arrowhead(lArrowHeadFlag)
678 , leader_path_type(lLeaderPathType)
679 , leader_creation_flag(lLeaderCreationFlag)
680 , hookline_direction_flag(lHooklineDirectionFlag)
681 , hookline_flag(lHooklineFlag)
682 {}
683
685 bool use_arrowhead;//Arrow head flag
687 BitFlag leader_creation_flag;//Leader creation flag
689 BitFlag hookline_flag;//Hookline flag
690 };
691 /**--------------------------------------------------------------------------------------------------
692 Class: HatchData
693
694 \brief logic for storing a hatch-data in a CAD-friendly way for exporting and importing.
695
696 Hatch patterns in CAD play an important role in architectural and mechanical drawings as they can be
697 used to identify and locate different types of materials, objects and space, to show materials used,
698 surface qualities, or add realism to a drawing.
699 *-----------------------------------------------------------------------------------------------**/
701 {
704 , scale(Constant<fltp08>::NaN)
705 , num_loops(Constant<uint04>::NaN)
706 , is_solid(false)
707 {}
708
709 HatchData(uint04 numLoops, bool solid, fltp08 scale, const Angle<fltp08>& angle, String pattern, const Vector<2, fltp08>& origin)
710 : pattern_origin(origin)
711 , pattern_name(std::move(pattern))
712 , scale(scale)
713 , num_loops(numLoops)
714 , angle(angle)
715 , is_solid(solid)
716 {}
723 };
724
726 {
731 : num_of_edges(num_edges)
732 {}
734 };
735
737 {
739 : line(Constant<LineSegment<2, fltp08>>::NaN)
742 , end_tangent(Constant<Vector<2, fltp08>>::NaN)
744 , radius(Constant<fltp08>::NaN)
745 , axis_ratio(Constant<fltp08>::NaN)
747 , degree(0)
748 , rational(false)
749 , periodic(false)
750 , is_ccw(false)
751 {}
753 : line(std::move(line))
756 , end_tangent(Constant<Vector<2, fltp08>>::NaN)
758 , radius(Constant<fltp08>::NaN)
759 , axis_ratio(Constant<fltp08>::NaN)
760 , type(e_line)
761 , degree(0)
762 , rational(false)
763 , periodic(false)
764 , is_ccw(false)
765 {}
766
768 : line(Constant<LineSegment<2, fltp08>>::NaN)
769 , center_point(arc_center)
771 , end_tangent(Constant<Vector<2, fltp08>>::NaN)
773 , radius(radius)
776 , axis_ratio(Constant<fltp08>::NaN)
777 , type(e_arc)
778 , degree(0)
779 , rational(false)
780 , periodic(false)
781 , is_ccw(ccw)
782 {}
783
784 HatchEdgeData(const Vector<2, fltp08>& center, const Vector<2, fltp08>& axis_major_point, double ratio, Angle<fltp08> angle1, Angle<fltp08> angle2, bool ccw)
785 : line(Constant<Vector<2, fltp08>>::NaN, Constant<Vector<2, fltp08>>::NaN)
786 , center_point(center)
788 , end_tangent(Constant<Vector<2, fltp08>>::NaN)
790 , radius(Constant<fltp08>::NaN)
791 , angle_start(angle1)
792 , angle_end(angle2)
793 , axis_ratio(ratio)
795 , degree(0)
796 , rational(false)
797 , periodic(false)
798 , is_ccw(ccw)
799 {}
800
803 Buffer<Buffer<fltp08>> controlPoints,
804 Buffer<Buffer<fltp08>> fitPoints,
808 : control_points(std::move(controlPoints))
809 , fit_points(std::move(fitPoints))
810 , knots(std::move(knots))
811 , weights(std::move(weights))
812 , line(Constant<LineSegment<2, fltp08>>::NaN)
817 , radius(Constant<fltp08>::NaN)
818 , axis_ratio(Constant<fltp08>::NaN)
819 , type(e_spline)
820 , degree(degree)
823 , is_ccw(false)
824 {}
826 {
827 e_undefined = 0
828 , e_line = 1
829 , e_arc = 2
832 };
836
839
845
850
855 bool is_ccw;
856
857 };
858
859 /**--------------------------------------------------------------------------------------------------
860 Class: ViewportData
861
862 \brief logic for storing a viewport in a CAD-friendly way for exporting and importing.
863 *-----------------------------------------------------------------------------------------------**/
864 struct ViewportData : public EntityData
865 {
871 Vector<3, fltp08> view_direction = Vector<3, fltp08>(0.0, 0.0, 1.0);//View Direction FROM target point
877 String id = "*Active";
878 enum Flags
879 {
880 e_perspective //1 (0x1) = Enables perspective mode
881 , e_enable_front_clipping //2 (0x2) = Enables front clipping
882 , e_enable_back_clipping // 4 (0x4) = Enables back clipping
883 , e_enable_ucs_follow //8 (0x8) = Enables UCS follow
884 , e_enable_front_clip // 16 (0x10) = Enables front clip not at eye
885 , e_enable_icon_visible // 32 (0x20) = Enables UCS icon visibility
886 , e_enable_ucs_icon_at_origin// 64 (0x40) = Enables UCS icon at origin
887 , e_enable_fast_zoom //128 (0x80) = Enables fast zoom
888 , e_enable_snaps // 256 (0x100) = Enables snap mode
889 , e_enable_grids // 512 (0x200) = Enables grid mode
890 , e_enable_iso_snap //1024 (0x400) = Enables isometric snap style
891 , e_enable_hide_plot // 2048 (0x800) = Enables hide plot mode
892 , e_is_pair_top // 4096 (0x1000) = kIsoPairTop.If set and kIsoPairRight is not set, then isopair top is enabled.If both kIsoPairTop and kIsoPairRight are set, then isopair left is enabled
893 , e_iso_pair_right // 8192 (0x2000) = kIsoPairRight.If set and kIsoPairTop is not set, then isopair right is enabled
894 , e_enable_viewport_zoom_lock //16384 (0x4000) = Enables viewport zoom locking
895 , e_always_enabled // 32768 (0x8000) = Currently always enabled
896 , e_enable_non_rect_clipping // 65536 (0x10000) = Enables non - rectangular clipping
897 , e_viewport_off // 131072 (0x20000) = Turns the viewport off
898 , e_grid_beyond_limits // 262144 (0x40000) = Enables the display of the grid beyond the drawing limits
899 , e_adaptive_grid // 524288 (0x80000) = Enable adaptive grid display
900 , e_grid_subdivide // 1048576 (0x100000) = Enables subdivision of the grid below the set grid spacing when the grid display is adaptive
901 , e_grid_follows_workplane // 2097152 (0x200000) = Enables grid follows workplane switching
902 };
922 bool has_grid = false;
925 };
926
927 /**--------------------------------------------------------------------------------------------------
928 Class: CADImageData
929
930 \brief logic for storing a image data in a CAD-friendly way for exporting and importing.
931 *-----------------------------------------------------------------------------------------------**/
933 {
935 , Vector<3, fltp08> left_side, int iwidth, int iheight, uint01 ibrightness = 50, uint01 icontrast = 50, uint01 ifade = 0)
936 : ref(iref)
940 , image_size(iwidth, iheight)
941 , brightness(ibrightness)
942 , contrast(icontrast)
943 , fade(ifade)
944 {}
945
951
952 uint01 brightness; //Brightness (0-100, default = 50).
953 uint01 contrast;//Contrast (0-100, default = 50).
954 uint01 fade;//Fade (0-100, default = 0)
955 };
990 {
991 ImageDefData(const String& iref, const File& ifile)
992 : ref(iref)
993 , file(ifile)
994 {}
995 String ref;//Reference to the image file (unique, used to refer to the image def object).
997 };
998 /**--------------------------------------------------------------------------------------------------
999 Class: CADImageData
1000
1001 \brief logic for storing a extrusion data in a CAD-friendly way for exporting and importing.
1002 *-----------------------------------------------------------------------------------------------**/
1004 {
1005 public:
1007 : m_direction(0)
1008 , m_elevation(0)
1009 {}
1010
1011 Extrusion(Vector<3, fltp08> direction, fltp08 elevation)
1012 : m_direction(direction)
1013 , m_elevation(elevation)
1014 {}
1015
1017 {
1018 m_direction[0] = dx;
1019 m_direction[1] = dy;
1020 m_direction[2] = dz;
1021 }
1022
1023 Vector<3, fltp08> getDirection() const { return m_direction; }
1024 void setElevation(double elevation) { m_elevation = elevation; }
1025 fltp08 getElevation() const { return m_elevation; }
1026 private:
1027 Vector<3, fltp08> m_direction;
1028 fltp08 m_elevation;
1029 };
1030}
1031
Stores an angle in an optimized format.
Definition StringStream.h:352
A bitset that stores 8 bits (elements with only two possible values: 0 or 1, true or false,...
Definition BitFlag.hpp:68
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:57
constexpr Ray< t_dims, t_type > span() const
The side lengths of these bounds. For each dimension, the span is max - min.
Definition Bounds.hpp:139
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
void add(t_type &&object)
Definition Buffer.hpp:199
logic for storing a extrusion data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:1004
fltp08 getElevation() const
Definition CADEntities.h:1025
void setDirection(fltp08 dx, fltp08 dy, fltp08 dz)
Definition CADEntities.h:1016
Extrusion()
Definition CADEntities.h:1006
void setElevation(double elevation)
Definition CADEntities.h:1024
Extrusion(Vector< 3, fltp08 > direction, fltp08 elevation)
Definition CADEntities.h:1011
Vector< 3, fltp08 > getDirection() const
Definition CADEntities.h:1023
Definition File.h:47
A line segment represented by two vertices, a start and end.
Definition Line.hpp:55
Definition Matrix.hpp:173
constexpr Matrix offset(const Vector< 2, t_type > &translation) const
Definition Matrix.hpp:561
constexpr Matrix scale(t_type scale) const
Definition Matrix.hpp:579
Represents a color in the RGB space with optional alpha transparency.
Definition RGBColor.h:53
A radial object.
Definition RadialObject.hpp:57
Definition String.h:40
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
A vertex.
Definition Vertex.hpp:54
Definition ACIColor.h:37
int32_t sint04
-Defines an alias representing a 4 byte, signed integer. -Can represent exact integer values -2147483...
Definition BaseValues.hpp:76
ColorMode
Definition CADEntities.h:42
@ e_background_contrast
Definition CADEntities.h:46
@ e_by_layer
Definition CADEntities.h:45
@ e_by_block
Definition CADEntities.h:44
@ e_use
Definition CADEntities.h:43
@ MIN
Definition BaseValues.hpp:226
float fltp04
Defines an alias representing a 4 byte floating-point number.
Definition BaseValues.hpp:157
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:98
@ DEGREES
Definition Angle.h:66
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
constexpr bool isNaN(const t_type &value)
Query if 'value' is valid or invalid.
Definition BaseFunctions.hpp:200
@ Y
Definition BaseValues.hpp:202
@ X
Definition BaseValues.hpp:200
@ Z
Definition BaseValues.hpp:204
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:181
Definition File.h:213
logic for storing an angular dimension in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:621
AngularDimensionData(const Vector< 3, fltp08 > &def_point_1, const Vector< 3, fltp08 > &def_point_2, const Vector< 3, fltp08 > &def_point_3)
Definition CADEntities.h:622
AngularDimensionData(const Vector< 3, fltp08 > &def_point_1, const Vector< 3, fltp08 > &def_point_2, const Vector< 3, fltp08 > &def_point_3, const Vector< 3, fltp08 > &def_point_4)
Definition CADEntities.h:629
Vector< 3, fltp08 > def_points[t_data_count]
Definition CADEntities.h:638
logic for storing a arc data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:271
fltp08 radius
Definition CADEntities.h:281
Angle< fltp08 > angle1
Definition CADEntities.h:283
Angle< fltp08 > angle2
Definition CADEntities.h:284
ArcData(const Vector< 3, fltp08 > &center_point, fltp08 aRadius, Angle< fltp08 > aAngle1, Angle< fltp08 > aAngle2)
Definition CADEntities.h:272
fltp08 thickness
Definition CADEntities.h:282
Vector< 3, fltp08 > offset
Definition CADEntities.h:280
logic for storing a attribue data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:458
BitFlag attrib_flags
Definition CADEntities.h:468
String tag
Definition CADEntities.h:466
bool is_locked
Definition CADEntities.h:469
Flags
Definition CADEntities.h:460
@ e_no_prompt_on_insertion
Definition CADEntities.h:464
@ e_attribute_invisible
Definition CADEntities.h:461
@ e_verification_required
Definition CADEntities.h:463
@ e_constant_attribute
Definition CADEntities.h:462
String default_value
Definition CADEntities.h:467
Definition CADEntities.h:172
Vertex< 3, fltp08 > offset
Definition CADEntities.h:178
BlockData(String name, const Vector< 8, bool > &flags)
Definition CADEntities.h:175
String description
Definition CADEntities.h:179
BlockData()
Definition CADEntities.h:173
Definition CADEntities.h:502
Vector< 2, fltp08 > grid_spacing
Definition CADEntities.h:505
bool attribute_to_follow
Definition CADEntities.h:506
String block_name
Definition CADEntities.h:503
Vector< 2, uint04 > grid_count
Definition CADEntities.h:504
Definition CADEntities.h:68
ColorMode mode
Definition CADEntities.h:69
bool operator==(const CADColorInfo &other) const
Definition CADEntities.h:71
RGBColor color
Definition CADEntities.h:70
bool operator!=(const CADColorInfo &other) const
Definition CADEntities.h:75
Definition CADEntities.h:572
Buffer< CADVariable > data
Definition CADEntities.h:576
uint04 parent_handle
Definition CADEntities.h:574
uint04 handle
Definition CADEntities.h:573
bool hard_owned
Definition CADEntities.h:575
void clear()
Definition CADEntities.h:577
logic for storing a image data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:933
Vector< 3, fltp08 > insertion_point
Definition CADEntities.h:947
uint01 contrast
Definition CADEntities.h:953
File ref
Definition CADEntities.h:946
uint01 brightness
Definition CADEntities.h:952
uint01 fade
Definition CADEntities.h:954
CADImageData(const File &iref, Vector< 3, fltp08 > insertion_point, Vector< 3, fltp08 > bottom_vector, Vector< 3, fltp08 > left_side, int iwidth, int iheight, uint01 ibrightness=50, uint01 icontrast=50, uint01 ifade=0)
Definition CADEntities.h:934
Vector< 3, fltp08 > bottom_vector
Definition CADEntities.h:948
Vector< 3, fltp08 > left_side
Definition CADEntities.h:949
Vector< 2, uint02 > image_size
Definition CADEntities.h:950
Definition CADEntities.h:377
uint04 sub_entity_marker
Definition CADEntities.h:378
PropertyOverrideType type
Definition CADEntities.h:379
Buffer< fltp08 > values
Definition CADEntities.h:380
Definition CADEntities.h:366
Buffer< fltp08 > edge_crease_values
Definition CADEntities.h:389
Buffer< MeshOverride > property_overrides
Definition CADEntities.h:390
uint04 version_number
Definition CADEntities.h:391
CADMeshData()
Definition CADEntities.h:374
Buffer< Vertex< 3, fltp08 > > normals
Definition CADEntities.h:384
uint04 data_dictionary_reference
Definition CADEntities.h:393
bool bend_crease
Definition CADEntities.h:394
Buffer< Vertex< 3, fltp08 > > textures
Definition CADEntities.h:385
Buffer< RGBColor > colors
Definition CADEntities.h:386
Buffer< uint04 > edge_points
Definition CADEntities.h:388
PropertyOverrideType
Definition CADEntities.h:368
@ e_color
Definition CADEntities.h:369
@ e_transparency
Definition CADEntities.h:371
@ e_material_mapper
Definition CADEntities.h:372
@ e_material
Definition CADEntities.h:370
Buffer< Vertex< 3, fltp08 > > vertices
Definition CADEntities.h:383
Buffer< uint04 > face_points
Definition CADEntities.h:387
uint04 subdivide_level
Definition CADEntities.h:392
Definition CADEntities.h:82
CADVARType var_type
Definition CADEntities.h:130
Buffer< std::pair< sint04, String > > values
Definition CADEntities.h:129
CADVARType
Definition CADEntities.h:84
@ e_double
Definition CADEntities.h:85
@ e_string
Definition CADEntities.h:87
@ e_int
Definition CADEntities.h:86
CADVariable(const String &label, Vector< 2, fltp08 > data)
Definition CADEntities.h:113
CADVariable()
Definition CADEntities.h:89
CADVariable(const String &label, Vector< 3, fltp08 > data)
Definition CADEntities.h:120
CADVariable(const String &label, sint04 key_label, const uint04 &value)
Definition CADEntities.h:101
CADVariable(const String &label, sint04 key_label, const fltp08 &value)
Definition CADEntities.h:95
CADVariable(const String &label)
Definition CADEntities.h:92
CADVariable(const String &label, sint04 key_label, const String &value)
Definition CADEntities.h:107
String label
Definition CADEntities.h:128
logic for storing a circle data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:477
RadialObject< 3, fltp08 > circle
Definition CADEntities.h:478
fltp08 thickness
Definition CADEntities.h:479
Definition BaseValues.hpp:272
Definition CADEntities.h:982
String description
Definition CADEntities.h:984
bool selectable
Definition CADEntities.h:986
bool is_named
Definition CADEntities.h:985
String name
Definition CADEntities.h:983
Buffer< uint04 > group_objects
Definition CADEntities.h:987
Definition CADEntities.h:970
String description
Definition CADEntities.h:972
MaterialUVOptions ambient
Definition CADEntities.h:973
String name
Definition CADEntities.h:971
MaterialUVImageOptions diffuse
Definition CADEntities.h:974
fltp08 opacity_percent
Definition CADEntities.h:977
Matrix< fltp08 > mat_matrix
Definition CADEntities.h:978
fltp08 specular_gloss_factor
Definition CADEntities.h:976
MaterialUVImageOptions specular
Definition CADEntities.h:975
logic for storing an diametric dimension in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:605
DiametricDimension(const Vector< 3, fltp08 > &def_point, double dleader)
Definition CADEntities.h:606
fltp08 leader
Definition CADEntities.h:611
Vector< 3, fltp08 > def_point
Definition CADEntities.h:610
Definition CADEntities.h:553
LineSegment< 3, fltp08 > alignment_data
Definition CADEntities.h:558
DimAlignedData()
Definition CADEntities.h:555
Definition CADEntities.h:642
DimOrdinateData(LineSegment< 3, fltp08 > &dimension, bool type)
Definition CADEntities.h:648
DimOrdinateData(const Vector< 3, fltp08 > &p1, const Vector< 3, fltp08 > &p2, bool type)
Definition CADEntities.h:643
bool xtype
Definition CADEntities.h:652
Definition CADEntities.h:515
String dimension_style
Definition CADEntities.h:542
fltp08 line_spacing_factor
Definition CADEntities.h:540
uint01 attachment_point_align
Definition CADEntities.h:538
String text
Definition CADEntities.h:541
int line_spacing_style
Definition CADEntities.h:539
Vector< 3, fltp08 > text_middle_point
Definition CADEntities.h:517
double dim_scale
Definition CADEntities.h:545
Angle< fltp08 > angle
Definition CADEntities.h:543
Angle< fltp08 > dim_hor_angle
Definition CADEntities.h:547
double linear_factor
Definition CADEntities.h:544
Vector< 3, fltp08 > definition_point
Definition CADEntities.h:516
int type
Definition CADEntities.h:537
Angle< fltp08 > text_angle
Definition CADEntities.h:546
String dimension_block_name
Definition CADEntities.h:548
Definition CADEntities.h:482
Vertex< 3, fltp08 > endpoint_of_major_axis
Definition CADEntities.h:484
fltp08 minor_to_major_ratio
Definition CADEntities.h:486
Vertex< 3, fltp08 > center
Definition CADEntities.h:483
Angle< fltp08 > angle1
Definition CADEntities.h:487
Angle< fltp08 > angle2
Definition CADEntities.h:488
fltp08 thickness
Definition CADEntities.h:485
Definition CADEntities.h:139
String line_type
Definition CADEntities.h:141
uint04 file_line_number
Definition CADEntities.h:146
uint04 material_handle
Definition CADEntities.h:145
bool paper_space
Definition CADEntities.h:149
bool visible
Definition CADEntities.h:148
fltp08 line_type_scale
Definition CADEntities.h:143
CADColorInfo color_info
Definition CADEntities.h:142
PaperSpace paper_space_info
Definition CADEntities.h:144
bool is_off
Definition CADEntities.h:147
String layer
Definition CADEntities.h:140
Definition CADEntities.h:183
fltp08 elevation
Definition CADEntities.h:185
Vector< 3, fltp08 > extrusion
Definition CADEntities.h:184
Definition CADEntities.h:133
uint04 file_line_number
Definition CADEntities.h:136
uint04 parent_handle
Definition CADEntities.h:135
uint04 handle
Definition CADEntities.h:134
logic for storing a hatch-data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:701
String pattern_name
Definition CADEntities.h:718
Vector< 2, fltp08 > pattern_origin
Definition CADEntities.h:717
fltp08 scale
Definition CADEntities.h:719
uint04 num_loops
Definition CADEntities.h:720
Angle< fltp08 > angle
Definition CADEntities.h:721
bool is_solid
Definition CADEntities.h:722
HatchData()
Definition CADEntities.h:702
HatchData(uint04 numLoops, bool solid, fltp08 scale, const Angle< fltp08 > &angle, String pattern, const Vector< 2, fltp08 > &origin)
Definition CADEntities.h:709
Definition CADEntities.h:737
bool periodic
Definition CADEntities.h:854
Angle< fltp08 > angle_start
Definition CADEntities.h:847
bool is_ccw
Definition CADEntities.h:855
HatchEdgeData(uint01 degree, bool rational, bool periodic, Buffer< fltp08 > knots, Buffer< Buffer< fltp08 > > controlPoints, Buffer< Buffer< fltp08 > > fitPoints, Buffer< fltp08 > weights, const Vector< 2, fltp08 > &start_tangent, const Vector< 2, fltp08 > &end_tangent)
Definition CADEntities.h:801
LineSegment< 2, fltp08 > line
Definition CADEntities.h:840
uint01 degree
Definition CADEntities.h:852
Buffer< Buffer< fltp08 > > vertices
Definition CADEntities.h:835
Vector< 2, fltp08 > end_tangent
Definition CADEntities.h:843
fltp08 radius
Definition CADEntities.h:846
EdgeType
Definition CADEntities.h:826
@ e_line
Definition CADEntities.h:828
@ e_elliptic_arc
Definition CADEntities.h:830
@ e_spline
Definition CADEntities.h:831
@ e_undefined
Definition CADEntities.h:827
@ e_arc
Definition CADEntities.h:829
Buffer< fltp08 > weights
Definition CADEntities.h:838
Angle< fltp08 > angle_end
Definition CADEntities.h:848
Buffer< Buffer< fltp08 > > control_points
Definition CADEntities.h:833
HatchEdgeData(const Vector< 2, fltp08 > &arc_center, fltp08 radius, Angle< fltp08 > angle_start, Angle< fltp08 > angle_end, bool ccw)
Definition CADEntities.h:767
Vector< 2, fltp08 > center_point
Definition CADEntities.h:841
HatchEdgeData(const Vector< 2, fltp08 > &center, const Vector< 2, fltp08 > &axis_major_point, double ratio, Angle< fltp08 > angle1, Angle< fltp08 > angle2, bool ccw)
Definition CADEntities.h:784
Vector< 2, fltp08 > axis_major_point
Definition CADEntities.h:844
Buffer< Buffer< fltp08 > > fit_points
Definition CADEntities.h:834
fltp08 axis_ratio
Definition CADEntities.h:849
EdgeType type
Definition CADEntities.h:851
HatchEdgeData(LineSegment< 2, fltp08 > line)
Definition CADEntities.h:752
bool rational
Definition CADEntities.h:853
Vector< 2, fltp08 > start_tangent
Definition CADEntities.h:842
HatchEdgeData()
Definition CADEntities.h:738
Buffer< fltp08 > knots
Definition CADEntities.h:837
Definition CADEntities.h:726
uint04 num_of_edges
Definition CADEntities.h:733
HatchLoopData(uint04 num_edges)
Definition CADEntities.h:730
HatchLoopData()
Definition CADEntities.h:727
Definition CADEntities.h:990
String ref
Definition CADEntities.h:995
File file
Definition CADEntities.h:996
ImageDefData(const String &iref, const File &ifile)
Definition CADEntities.h:991
Definition CADEntities.h:154
LayerData(String name, const Vector< 8, bool > &flags)
Definition CADEntities.h:163
LayerFlags
Definition CADEntities.h:156
@ e_frozen_by_default
Definition CADEntities.h:158
@ e_frozen
Definition CADEntities.h:157
@ e_locked
Definition CADEntities.h:159
Vector< 8, bool > flags
Definition CADEntities.h:168
String name
Definition CADEntities.h:167
LayerData()
Definition CADEntities.h:161
logic for storing a leader in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:660
LeaderData()
Definition CADEntities.h:666
LeaderPathType
Definition CADEntities.h:662
@ e_segments
Definition CADEntities.h:663
@ e_spline
Definition CADEntities.h:664
LeaderData(bool lArrowHeadFlag, LeaderPathType lLeaderPathType, int lLeaderCreationFlag, int lHooklineDirectionFlag, int lHooklineFlag, fltp08 lTextAnnotationHeight, fltp08 lTextAnnotationWidth)
Definition CADEntities.h:674
BitFlag hookline_direction_flag
Definition CADEntities.h:688
Vector< 2, fltp08 > text_annotation_size
Definition CADEntities.h:684
bool use_arrowhead
Definition CADEntities.h:685
LeaderPathType leader_path_type
Definition CADEntities.h:686
BitFlag leader_creation_flag
Definition CADEntities.h:687
BitFlag hookline_flag
Definition CADEntities.h:689
Definition CADEntities.h:491
LineSegment< 3, fltp08 > line
Definition CADEntities.h:492
fltp08 thickness
Definition CADEntities.h:493
Definition CADEntities.h:188
fltp08 pattern_length
Definition CADEntities.h:208
String description
Definition CADEntities.h:205
Vector< 32, bool > flags
Definition CADEntities.h:206
String name
Definition CADEntities.h:204
LineTypeData(const String &name, const String &description, int flags, uint04 numberOfDashes, double patternLength, const Buffer< fltp08 > &pattern)
Definition CADEntities.h:196
Buffer< fltp08 > pattern
Definition CADEntities.h:209
uint04 number_of_dashes
Definition CADEntities.h:207
LineTypeData(const String &name, const String &description, int flags, uint04 numberOfDashes, double patternLength)
Definition CADEntities.h:189
Definition CADEntities.h:562
LinearDimension()
Definition CADEntities.h:563
LineSegment< 3, fltp08 > alignment_data
Definition CADEntities.h:566
Angle< fltp08 > oblique_angle
Definition CADEntities.h:569
Angle< fltp08 > line_angle
Definition CADEntities.h:568
Definition CADEntities.h:398
Vector< 3, fltp08 > insertion_point
Definition CADEntities.h:413
String style
Definition CADEntities.h:428
int attachment_point
Definition CADEntities.h:423
Vector< 3, fltp08 > direction_vector
Definition CADEntities.h:414
String text
Definition CADEntities.h:427
int line_spacing_style
Definition CADEntities.h:425
fltp04 line_spacing_factor
Definition CADEntities.h:426
int drawing_direction
Definition CADEntities.h:424
Vector< 2, fltp08 > text_size
Definition CADEntities.h:415
MTextData(Vector< 3, fltp08 > insertion_point, Vector< 3, fltp08 > direction, Vector< 2, fltp08 > size, int attachmentPoint, int drawingDirection, int lineSpacingStyle, fltp04 lineSpacingFactor, const String &text, const String &style, Angle< fltp08 > angle)
Definition CADEntities.h:399
Angle< fltp08 > angle
Definition CADEntities.h:429
Definition CADEntities.h:963
fltp08 map_blend_factor
Definition CADEntities.h:964
bool use_current_scene
Definition CADEntities.h:965
RGBColor color
Definition CADEntities.h:967
File map_file
Definition CADEntities.h:966
Definition CADEntities.h:957
RGBColor color
Definition CADEntities.h:960
fltp08 color_intensity
Definition CADEntities.h:959
bool use_value
Definition CADEntities.h:958
Definition CADEntities.h:49
Bounds< 3, fltp08 > model_space_bounds
Definition CADEntities.h:50
Bounds< 3, fltp08 > paper_space_bounds
Definition CADEntities.h:51
Matrix< fltp08 > paperToModelMatrix() const
Definition CADEntities.h:53
Vertex< 3, fltp08 > paper_space_origin
Definition CADEntities.h:52
Definition CADEntities.h:496
Vector< 3, fltp08 > scale
Definition CADEntities.h:498
Angle< fltp08 > azimuth
Definition CADEntities.h:499
Vector< 3, fltp08 > offset
Definition CADEntities.h:497
Definition CADEntities.h:509
Angle< fltp08 > effect_angle
Definition CADEntities.h:511
Vector< 3, fltp08 > location
Definition CADEntities.h:510
fltp08 thickness
Definition CADEntities.h:512
logic for storing a polyline data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:293
CurveType
Definition CADEntities.h:306
@ e_quadratic_b
Definition CADEntities.h:308
@ e_no_smooth
Definition CADEntities.h:307
@ e_bezier
Definition CADEntities.h:310
@ e_cubic
Definition CADEntities.h:309
uint04 vertex_count
Definition CADEntities.h:316
uint04 n
Definition CADEntities.h:318
Vector< 32, bool > flags
Definition CADEntities.h:329
fltp08 start_width
Definition CADEntities.h:313
CurveType curve_type
Definition CADEntities.h:315
uint04 m
Definition CADEntities.h:317
PolyFlags
Definition CADEntities.h:295
@ e_line_continuous
Definition CADEntities.h:303
@ e_curve_fits
Definition CADEntities.h:297
@ e_is_3D_polyline
Definition CADEntities.h:299
@ e_is_closed_n
Definition CADEntities.h:301
@ e_is_3D_polygon
Definition CADEntities.h:300
@ e_spline_fits
Definition CADEntities.h:298
@ e_closed
Definition CADEntities.h:296
@ e_is_polyface_mesh
Definition CADEntities.h:302
fltp08 end_width
Definition CADEntities.h:314
fltp08 thickness
Definition CADEntities.h:312
logic for storing a radial dimension in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:590
fltp08 leader
Definition CADEntities.h:597
Vector< 3, fltp08 > coordinate
Definition CADEntities.h:596
RadialDimension(const Vector< 3, fltp08 > &coordinate, fltp08 dleader)
Definition CADEntities.h:591
logic for storing a spline data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:352
Vector< 3, fltp08 > tangent_end
Definition CADEntities.h:363
uint01 degree
Definition CADEntities.h:360
Vector< 3, fltp08 > tangent_start
Definition CADEntities.h:362
Vector< 32, bool > flags
Definition CADEntities.h:361
SplineData(uint01 degree, const Vector< 32, bool > &flags)
Definition CADEntities.h:353
logic for storing a style data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:217
fltp08 last_height_used
Definition CADEntities.h:259
fltp08 width_factor
Definition CADEntities.h:256
String big_font_file
Definition CADEntities.h:261
fltp08 oblique_angle
Definition CADEntities.h:257
String primary_font_file
Definition CADEntities.h:260
bool bold
Definition CADEntities.h:262
fltp08 fixed_text_height
Definition CADEntities.h:255
StyleData(const String &name, int flags, double fixedTextHeight, double widthFactor, double obliqueAngle, int textGenerationFlags, double lastHeightUsed, const String &primaryFontFile, const String &bigFontFile)
Definition CADEntities.h:231
String name
Definition CADEntities.h:253
bool operator==(const StyleData &other) const
Definition CADEntities.h:246
int flags
Definition CADEntities.h:254
bool italic
Definition CADEntities.h:263
Vector< 32, bool > text_generation_flags
Definition CADEntities.h:258
StyleData()
Definition CADEntities.h:218
logic for storing a text data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:437
fltp08 height
Definition CADEntities.h:442
fltp08 reference_width
Definition CADEntities.h:443
String style
Definition CADEntities.h:439
Angle< fltp08 > rotatation
Definition CADEntities.h:445
fltp08 line_spacing_factor
Definition CADEntities.h:448
String text
Definition CADEntities.h:438
uint01 alignment
Definition CADEntities.h:450
Angle< fltp08 > oblique_angle
Definition CADEntities.h:446
Vertex< 3, fltp08 > align_a
Definition CADEntities.h:440
uint01 flags
Definition CADEntities.h:449
fltp08 x_scale
Definition CADEntities.h:447
Vertex< 3, fltp08 > align_b
Definition CADEntities.h:441
fltp08 thickness
Definition CADEntities.h:444
logic for storing a trace data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:337
bool is_solid
Definition CADEntities.h:344
TraceData()
Definition CADEntities.h:338
Vertex< 3, fltp08 > points[4]
Definition CADEntities.h:342
fltp08 thickness
Definition CADEntities.h:343
logic for storing a viewport in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:865
bool has_grid
Definition CADEntities.h:922
Vector< 16, bool > flags
Definition CADEntities.h:903
BitFlag view_mode
Definition CADEntities.h:923
ViewMode
Definition CADEntities.h:915
@ e_front_clipping
Definition CADEntities.h:917
@ e_front_clipping_not_at_camera
Definition CADEntities.h:920
@ e_back_clipping
Definition CADEntities.h:918
@ e_ucs_follow_mode
Definition CADEntities.h:919
@ e_perspective_view
Definition CADEntities.h:916
Angle< fltp08 > twist_angle
Definition CADEntities.h:876
Vector< 2, fltp08 > grid_spacing
Definition CADEntities.h:870
fltp08 perspective_lens_length
Definition CADEntities.h:873
Vector< 2, fltp08 > center_point
Definition CADEntities.h:867
uint04 handle
Definition CADEntities.h:866
fltp08 view_height
Definition CADEntities.h:875
Flags
Definition CADEntities.h:879
@ e_is_pair_top
Definition CADEntities.h:892
@ e_enable_snaps
Definition CADEntities.h:888
@ e_grid_subdivide
Definition CADEntities.h:900
@ e_enable_icon_visible
Definition CADEntities.h:885
@ e_grid_beyond_limits
Definition CADEntities.h:898
@ e_enable_hide_plot
Definition CADEntities.h:891
@ e_enable_front_clip
Definition CADEntities.h:884
@ e_iso_pair_right
Definition CADEntities.h:893
@ e_enable_non_rect_clipping
Definition CADEntities.h:896
@ e_enable_grids
Definition CADEntities.h:889
@ e_viewport_off
Definition CADEntities.h:897
@ e_adaptive_grid
Definition CADEntities.h:899
@ e_enable_back_clipping
Definition CADEntities.h:882
@ e_enable_front_clipping
Definition CADEntities.h:881
@ e_enable_iso_snap
Definition CADEntities.h:890
@ e_enable_fast_zoom
Definition CADEntities.h:887
@ e_enable_viewport_zoom_lock
Definition CADEntities.h:894
@ e_enable_ucs_follow
Definition CADEntities.h:883
@ e_grid_follows_workplane
Definition CADEntities.h:901
@ e_enable_ucs_icon_at_origin
Definition CADEntities.h:886
@ e_always_enabled
Definition CADEntities.h:895
@ e_perspective
Definition CADEntities.h:880
Bounds< 2, fltp08 > screen_bounds
Definition CADEntities.h:868
RenderMode
Definition CADEntities.h:905
@ e_hidden_line
Definition CADEntities.h:908
@ e_wireframe
Definition CADEntities.h:907
@ e_gouraud_shaded
Definition CADEntities.h:910
@ e_flat_shaded
Definition CADEntities.h:909
@ e_2D_optimized
Definition CADEntities.h:906
@ e_gouraud_shaded_with_wireframe
Definition CADEntities.h:912
@ e_flat_shaded_with_wireframe
Definition CADEntities.h:911
Vector< 3, fltp08 > view_direction
Definition CADEntities.h:871
RenderMode render_mode
Definition CADEntities.h:924
Vector< 2, fltp08 > snap_spacing
Definition CADEntities.h:869
Vector< 3, fltp08 > target_point
Definition CADEntities.h:872
Vector< 2, fltp08 > clip_planes
Definition CADEntities.h:874