C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
conv_annotation_item.h File Reference

Objects used for import and export of annotation and dimensions. More...

#include <reference_item.h>
#include <mb_placement.h>
#include <mb_placement3d.h>
#include <mb_pmi.h>
#include <vector>
#include <set>

Classes

class  MaTextItem
 Text object. More...
 
class  MaCompositeText
 Set of text blocks. More...
 
class  MaTextLiteral
 Text with specification of LCS, font, align. More...
 
class  MaTextLiteralExtent
 Text with specification of LCS, font, alignment, size. More...
 
class  MaSpecificSymbol
 Specific symbol. More...
 
struct  MaTerminatorSymbol
 Description of the terminator symbol. More...
 
class  MaDecoratedCurve
 Curve and terminators. More...
 
class  MaAnnotationItem
 Annotation object. More...
 
class  MaDimension
 Dimension is the parent of all classes for dimensions of different types. More...
 
class  MaLinearDimension
 Linear dimension. More...
 
class  MaAngularDimension
 Angular dimension. More...
 
class  MaRadialDimension
 Radial dimension. More...
 
class  MaDiameterDimension
 Diameter dimension. More...
 
class  MaCallout
 Callout is the parent of all classes for callouts of different types. More...
 
class  MaSurfaceCondition
 Surface condition. More...
 
class  MaShapeTolerance
 Shape tolerance. More...
 

Typedefs

typedef std::vector< AnnotationSPtrvector_of_annotation
 Container of annotation objects.
 
typedef std::map< SPtr< const MbItem >, AnnotationSptrVector > map_of_visual_items
 Association of sets of annotation objects with elements with reference counter.
 
typedef std::vector< SPtr< MaTextItem > > vector_of_text
 Container of text blocks.
 

Enumerations

enum  Mae_AnnotationType {
  nt_AnnotationItem , nt_Dimension , nt_LinearDimension , nt_DiameterDimension ,
  nt_RadialDimension , nt_AngularDimension , nt_Callout , nt_Marking ,
  nt_Datum , nt_Note , nt_Centreline , nt_FeatureControlFrame ,
  nt_ReferencePoint , nt_SurfaceRoughness , nt_ShapeTolerance
}
 Type of annotation element. More...
 
enum  MaeTextType { xt_CompositeText , xt_TextLiteral , xt_TextLiteralExtent , xt_SpecificSymbol }
 Type of a text object. More...
 
enum  MaeTextFormatTag {
  xft_Enumeration , xft_Paragraph , xft_Ground , xft_Upper ,
  xft_Lower , xft_Fraction , xft_Index , xft_OverUnder ,
  xft_Undefined
}
 Purpose tag of a text object. More...
 
enum  eTextPath { txp_Left , txp_Right , txp_Up , txp_Down }
 Text direction. More...
 
enum  MbeDefinedDimensionSymbol {
  dds_ArcLength , dds_ConicalTaper , dds_Counterbore , dds_Countersink ,
  dds_Depth , dds_Diameter , dds_PlusMinus , dds_Radius ,
  dds_Slope , dds_SphericalDiameter , dds_SphericalRadius , dds_Square ,
  dds_MetricThread , dds_SurfaceCondition , dds_SurfaceCondition_010 , dds_SurfaceCondition_020 ,
  dds_SurfaceCondition_030 , dds_SurfaceCondition_040 , dds_SurfaceCondition_050 , dds_SurfaceCondition_060 ,
  dds_SurfaceCondition_070 , dds_SurfaceCondition_001 , dds_SurfaceCondition_011 , dds_SurfaceCondition_021 ,
  dds_SurfaceCondition_031 , dds_SurfaceCondition_041 , dds_SurfaceCondition_051 , dds_SurfaceCondition_061 ,
  dds_SurfaceCondition_071 , dds_SurfaceCondition_100 , dds_SurfaceCondition_110 , dds_SurfaceCondition_120 ,
  dds_SurfaceCondition_130 , dds_SurfaceCondition_140 , dds_SurfaceCondition_150 , dds_SurfaceCondition_160 ,
  dds_SurfaceCondition_170 , dds_SurfaceCondition_101 , dds_SurfaceCondition_111 , dds_SurfaceCondition_121 ,
  dds_SurfaceCondition_131 , dds_SurfaceCondition_141 , dds_SurfaceCondition_151 , dds_SurfaceCondition_161 ,
  dds_SurfaceCondition_171 , dds_SurfaceCondition_200 , dds_SurfaceCondition_210 , dds_SurfaceCondition_220 ,
  dds_SurfaceCondition_230 , dds_SurfaceCondition_240 , dds_SurfaceCondition_250 , dds_SurfaceCondition_260 ,
  dds_SurfaceCondition_270 , dds_SurfaceCondition_201 , dds_SurfaceCondition_211 , dds_SurfaceCondition_221 ,
  dds_SurfaceCondition_231 , dds_SurfaceCondition_241 , dds_SurfaceCondition_251 , dds_SurfaceCondition_261 ,
  dds_SurfaceCondition_271 , dds_Angularity , dds_CircularRunout , dds_Circularity ,
  dds_Concentricity , dds_Cylindricity , dds_DiameterTol , dds_Flatness ,
  dds_LeastMaterialCondition , dds_MaximumMaterialCondition , dds_Parallelism , dds_Perpendicularity ,
  dds_Position , dds_LineProfile , dds_SurfaceProfile , dds_ProjectedToleranceZone ,
  dds_RegardlessOfFeatureSize , dds_Straightness , dds_Symmetry , dds_TotlaRunout ,
  dds_StringDefinedSymbol
}
 Special symbols. More...
 
enum  MbeDefinedTerminatorSymbol {
  dts_BlankedArrow , dts_BlankedBox , dts_BlankedDot , dts_DimensionOrigin ,
  dts_FilledArrow , dts_FilledBox , dts_FilledDot , dts_IntegralSymbol ,
  dts_OpenArrow , dts_Slash , dts_UnfilledArrow
}
 Type of tip. More...
 
enum  MbeDecoratedCurveRole { dcr_ProjectionCurve , dcr_DimensionCurve , dcr_LeaderCurve }
 Type of curve with terminators. More...
 

Functions

SPtr< MbPMIConvertPMI (const MaAnnotationItem &it)
 Transform annotation item.
 
SPtr< MbPMIConvertTechnicalRequirements (const MaAnnotationItem &it)
 Transform technical requirements.
 
SPtr< MaAnnotationItemConvertPMI (const MbPMI &it)
 Transform annotation item.
 

Detailed Description

Objects used for import and export of annotation and dimensions.

Enumeration Type Documentation

◆ Mae_AnnotationType

Type of annotation element.

Enumerator
nt_AnnotationItem 

Annotation without binding objects.

nt_Dimension 

Dimension.

nt_LinearDimension 

Linear dimension.

nt_DiameterDimension 

Diameter dimension.

nt_RadialDimension 

Radial dimension.

nt_AngularDimension 

Angular dimension.

nt_Callout 

Callout.

nt_Marking 

Marking.

nt_Datum 

Datum.

nt_Note 

Note.

nt_Centreline 

Centreline.

nt_FeatureControlFrame 

Feature Control Frame.

nt_ReferencePoint 

Reference Point.

nt_SurfaceRoughness 

Surface roughness.

◆ MaeTextType

Type of a text object.

Enumerator
xt_CompositeText 

Set of text blocks.

xt_TextLiteral 

Text with specification of LCS, font, alignment.

xt_TextLiteralExtent 

Text with specification of LCS, font, alignment, geometric dimension.

xt_SpecificSymbol 

Specific symbol.

◆ MaeTextFormatTag

Purpose tag of a text object.

Enumerator
xft_Enumeration 

Enumeration.

xft_Paragraph 

Paragraph.

xft_Ground 

Ground level text position.

xft_Upper 

Upper index or numerator.

xft_Lower 

Lower index or denominator.

xft_Fraction 

Fraction.

xft_Index 

Indexed item.

xft_OverUnder 

Overline and underline text present.

xft_Undefined 

Undefined can be never assigned to items.

◆ eTextPath

enum eTextPath

Text direction.

Enumerator
txp_Left 

To the left.

txp_Right 

To the right.

txp_Up 

Upward.

txp_Down 

Downward.

◆ MbeDefinedDimensionSymbol

Special symbols.

Enumerator
dds_ArcLength 

The arc length.

dds_ConicalTaper 

Conicity.

dds_Counterbore 

Counterbore.

dds_Countersink 

Countersink.

dds_Depth 

Depth.

dds_Diameter 

Diameter.

dds_PlusMinus 

Equal double-sided tolerance.

dds_Radius 

Radius.

dds_Slope 

Slope.

dds_SphericalDiameter 

Spherical diameter.

dds_SphericalRadius 

Spherical radius.

dds_Square 

Square.

dds_MetricThread 

Metric thread ( in STEP it corresponds M letter ).

dds_SurfaceCondition 

Surface condition in STEP (ISO 10303) codes.

dds_Angularity 

Angularity.

dds_CircularRunout 

Circular runout.

dds_Circularity 

Circularity.

dds_Concentricity 

Concentricity.

dds_Cylindricity 

Cylindricity.

dds_DiameterTol 

Diameter.

dds_Flatness 

Flatness.

dds_LeastMaterialCondition 

Least material condition.

dds_MaximumMaterialCondition 

Maximum material condition.

dds_Parallelism 

Parallelism.

dds_Perpendicularity 

Perpendicularity.

dds_Position 

Position.

dds_LineProfile 

Line profile.

dds_SurfaceProfile 

Surface profile.

dds_ProjectedToleranceZone 

ProejectedToleranceZone.

dds_RegardlessOfFeatureSize 
dds_Straightness 

Straightness.

dds_Symmetry 

.Symmetry

dds_TotlaRunout 

Full radial (or face) runout tolerance.

dds_StringDefinedSymbol 

String field should be used to identify the symbol.

◆ MbeDefinedTerminatorSymbol

Type of tip.

Enumerator
dts_BlankedArrow 

Blank arrow.

dts_BlankedBox 

Blank square.

dts_BlankedDot 

Blank point.

dts_DimensionOrigin 

Base object.

dts_FilledArrow 

Filled arrow.

dts_FilledBox 

Filled square.

dts_FilledDot 

Filled point.

dts_IntegralSymbol 

Integral symbol.

dts_OpenArrow 

Open arrow.

dts_Slash 

Slash.

dts_UnfilledArrow 

Unfilled arrow.

◆ MbeDecoratedCurveRole

Type of curve with terminators.

Enumerator
dcr_ProjectionCurve 

Projection curve of dimension.

dcr_DimensionCurve 

Dimension curve.

dcr_LeaderCurve 

Leader curve.