DATAKIT API  V2025.4
util_draw_dtk.hpp File Reference

Go to the source code of this file.

Data Structures

class  Dtk_2dEntity
 This is the abstract Dtk_2dEntity class.
Gathers Dtk_Annotation and Dtk_Dimension. More...
 
class  Dtk_Annotation
 This is abstract Dtk_Annotation class. More...
 
class  Dtk_Camera
 This is the Camera class.
This class lets you define elements to create frustum.
. More...
 
class  Dtk_CompositeEntity
 This is the Dtk_CompositeEntity class. More...
 
class  Dtk_CompositeText
 This is the composite text class.
It's basically a Dtk_Text Container.
This class represents a group of several base_texts.
It contains an inner Dtk_Oriented2dBBox and a outer Dtk_Oriented2dBBox.
The Dtk_CompositeText uses a lot of informations. The most important ones are shown in the picture below:
. More...
 
class  Dtk_DatumTarget
 This is the Datum Target. More...
 
class  Dtk_Dimension
 This is the general dimension. More...
 
class  Dtk_Drawing
 This is the drawing class.
It basically contains a Dtk_View array. More...
 
class  Dtk_FCFFeatureIndicator
 This is the Feature Indicator.
It is part of the Dtk_ToleranceSpecification.
It's basically composed of a type, a symbol and a Datum feature identifier. More...
 
class  Dtk_FCFFeatureIndicatorType
 This is the Feature Indicator.
It is part of the Dtk_FCFFeatureIndicator.
. More...
 
class  Dtk_Fdt
 This is the FD&T class.
The base PMI Class contains a Dtk_2dEntity and Transformation Matrix to locate the FDT into 3D Space.
. More...
 
class  Dtk_Font
 This is the font class This class lets you access to font information (name, type ...) More...
 
class  Dtk_Frame
 This is the frame class.
It's used to gather all frame information. More...
 
class  Dtk_GeometricalTolerance
 This is the geometrical tolerance.
It's basically composed by one - or more - Dtk_ToleranceSpecificationContainer. More...
 
class  Dtk_Grid
 Represents the grids. More...
 
class  Dtk_Hatching
 This is the Hatching class. The hatching fills a close area delimited by boundaries (a set of Dtk_Polyline polylines). The first boundary is the outer bounday, following boundaries are inner boundaries. A hatching area can include several Dtk_HatchingPattern patterns (repetition of decorated/styled lines, dots or simple solid coloring). More...
 
class  Dtk_HatchingPattern
 This is the Hatching Pattern class. This describes a repetition of lines/dots or coloring. It includes line style and colors as well. More...
 
class  Dtk_Leader
 This class graphically represents leader of annotations.
It is part of Dtk_Annotation and Dtk_Dimension. More...
 
class  Dtk_Leader::ApplicationZone
 This is the application zone class.
It is used to gather all application zone information. More...
 
class  Dtk_Leader::ArrowHead
 This class graphically represents a leader head. More...
 
class  Dtk_OneCell
 Allows the representation of cell. More...
 
class  Dtk_Oriented2dBBox
 This is the base bounding box class.
It's used into a lot of 2D Entities
This class represents the base bounding box used in the texts entities.

The Dtk_Oriented2dBBox uses an anchor point notion. Here the 9 anchor point types:

. More...
 
class  Dtk_ReferenceBlock
 This is the Dtk_ReferenceBlock Class.
It is part of the Dtk_ReferenceFrame entity. More...
 
class  Dtk_ReferenceFrame
 This is the Reference Frame Class.
It is part of the Dtk_ToleranceSpecification entity.
It's basically composed by one - or more - Dtk_ReferenceBlock. More...
 
class  Dtk_Region
 This is the Region class. The region that designates areas of your model for special purposes, such as an area affected by a datum target. The region can contain a hatching and boundaries that are stored as geometries. More...
 
class  Dtk_Roughness
 This is the Roughness class. More...
 
class  Dtk_Symbol
 This is the general symbol class.
It's basically composed of Dtk_CompositeText and geometrical elements. More...
 
class  Dtk_Table
 Represents the tables. More...
 
class  Dtk_Text
 This is the base text class. It's part of Dtk_CompositeText.
It's used into a lot of 2D Entities
It contains an inner Dtk_Oriented2dBBox and a outer Dtk_Oriented2dBBox.
This class represents the base texts used in the annotations entities...
The Dtk_Text uses a lot of informations. The most important ones are shown in the picture below:
. More...
 
class  DTK_Text_subtype
 This is the DTK_Text_subtype class.
It's used to provide semantic data about Dtk_Text type.
See the How to find semantic data link to know how to handle it. More...
 
class  Dtk_TextStyle
 This is the text_style. This class gathers information about text style. More...
 
class  Dtk_ToleranceSpecification
 This is the geometrical tolerance specification.
It is part of the Dtk_ToleranceSpecificationContainer.
It may contain a Dtk_ReferenceFrame and/or Dtk_FCFFeatureIndicator. More...
 
class  Dtk_ToleranceSpecificationContainer
 This is the tolerance specification container.
It is part of the Dtk_GeometricalTolerance.
It's basically composed by one - or more - Dtk_ToleranceSpecification. More...
 
class  Dtk_View
 This is the view class. More...
 
class  Dtk_ViewDisplay
 This is the Dtk_ViewDisplay class to set the Display mode for the bodies stored in a view. More...
 
class  Dtk_Welding
 This is the Welding Symbol class. More...
 

Enumerations

enum  Dtk_alignment_type {
  DTK_ALIGN_NONE = 0, DTK_ALIGN_LEFT, DTK_ALIGN_RIGHT, DTK_ALIGN_CENTER,
  DTK_ALIGN_JUSTIFIED
}
 
enum  Dtk_anchor_type {
  DTK_ANCHOR_TOP_LEFT = 0, DTK_ANCHOR_TOP_CENTER, DTK_ANCHOR_TOP_RIGHT, DTK_ANCHOR_MIDDLE_LEFT,
  DTK_ANCHOR_MIDDLE_CENTER, DTK_ANCHOR_MIDDLE_RIGHT, DTK_ANCHOR_BOTTOM_LEFT, DTK_ANCHOR_BOTTOM_CENTER,
  DTK_ANCHOR_BOTTOM_RIGHT, DTK_NB_ANCHOR_TYPES
}
 
enum  DTK_DATUM_COMPOSING_RULE { DTK_UNKNOWN = 0, DTK_WITH_HIERARCHY, DTK_WITHOUT_HIERARCHY, DTK_INDIFFERENT_HIERARCHY }
 This is the several references composing rules. More...
 
enum  DTK_FDT_MODIFIER {
  DTK_FDT_MODIFIER_NOT_SET = 0, DTK_FDT_MODIFIER_MAX_MATERIAL = 1, DTK_FDT_MODIFIER_LEAST_MATERIAL = 2, DTK_FDT_MODIFIER_REGARDLESS_OF_FEATURE_SIZE = 3,
  DTK_FDT_MODIFIER_NONE = 9
}
 This is the several tolerances modifiers list. More...
 
enum  Dtk_frame_type {
  DTK_FRAME_TYPE_NONE = 0, DTK_FRAME_TYPE_RECTANGLE = 1, DTK_FRAME_TYPE_SQUARE = 2, DTK_FRAME_TYPE_CIRCLE = 3,
  DTK_FRAME_TYPE_SCORED_CIRCLE = 4, DTK_FRAME_TYPE_DIAMOND = 5, DTK_FRAME_TYPE_TRIANGLE = 6, DTK_FRAME_TYPE_FLAG_RIGHT = 7,
  DTK_FRAME_TYPE_FLAG_LEFT = 8, DTK_FRAME_TYPE_FLAG_BOTH = 9, DTK_FRAME_TYPE_OBLONG = 10, DTK_FRAME_TYPE_OBLONG_RIGHT = 11,
  DTK_FRAME_TYPE_OBLONG_LEFT = 12, DTK_FRAME_TYPE_ELLIPSE = 13, DTK_FRAME_TYPE_STICKING = 14, DTK_FRAME_TYPE_SET = 15,
  DTK_FRAME_TYPE_FIXED_SUPPORT = 16, DTK_FRAME_TYPE_NOTA = 17, DTK_FRAME_TYPE_SYMMETRICAL_PART = 18, DTK_FRAME_TYPE_SYMMETRICAL_SET = 19,
  DTK_FRAME_TYPE_SCORED_RECTANGLE = 20, DTK_FRAME_TYPE_PARALLELOGRAM = 21, DTK_FRAME_TYPE_OCTANGLE = 22, DTK_FRAME_TYPE_FLAG_RIGHT_TRIANGLE = 23,
  DTK_FRAME_TYPE_SQUARE_CIRCLE = 24, DTK_FRAME_TYPE_PENTAGON = 25, DTK_FRAME_TYPE_HEXAGON = 26, DTK_FRAME_TYPE_POLYGON = 27,
  DTK_FRAME_TYPE_UNDERLINE = 28
}
 
enum  Dtk_HatchingStyle { Dtk_HatchingStyle_Unknown, Dtk_HatchingStyle_Hatching, Dtk_HatchingStyle_Coloring, Dtk_HatchingStyle_Dotting }
 
enum  Dtk_justication_type { DTK_JUSTIFY_LEFT = 0, DTK_JUSTIFY_CENTER, DTK_JUSTIFY_RIGHT }
 
enum  Dtk_Unit {
  DTK_UNIT_UNKNOWN = 0, DTK_UNIT_MM, DTK_UNIT_CM, DTK_UNIT_M,
  DTK_UNIT_KM, DTK_UNIT_INCH, DTK_UNIT_FOOT, DTK_UNIT_DEGREE,
  DTK_UNIT_RADIAN, DTK_UNIT_GRADE, DTK_UNIT_DMS
}
 

Enumeration Type Documentation

◆ Dtk_alignment_type

Enumerator
DTK_ALIGN_NONE 
DTK_ALIGN_LEFT 
DTK_ALIGN_RIGHT 
DTK_ALIGN_CENTER 
DTK_ALIGN_JUSTIFIED 

◆ Dtk_anchor_type

Enumerator
DTK_ANCHOR_TOP_LEFT 
DTK_ANCHOR_TOP_CENTER 
DTK_ANCHOR_TOP_RIGHT 
DTK_ANCHOR_MIDDLE_LEFT 
DTK_ANCHOR_MIDDLE_CENTER 
DTK_ANCHOR_MIDDLE_RIGHT 
DTK_ANCHOR_BOTTOM_LEFT 
DTK_ANCHOR_BOTTOM_CENTER 
DTK_ANCHOR_BOTTOM_RIGHT 
DTK_NB_ANCHOR_TYPES 

◆ DTK_DATUM_COMPOSING_RULE

This is the several references composing rules.

Enumerator
DTK_UNKNOWN 
DTK_WITH_HIERARCHY 
DTK_WITHOUT_HIERARCHY 
DTK_INDIFFERENT_HIERARCHY 

◆ DTK_FDT_MODIFIER

This is the several tolerances modifiers list.

Enumerator
DTK_FDT_MODIFIER_NOT_SET 
DTK_FDT_MODIFIER_MAX_MATERIAL 
DTK_FDT_MODIFIER_LEAST_MATERIAL 
DTK_FDT_MODIFIER_REGARDLESS_OF_FEATURE_SIZE 
DTK_FDT_MODIFIER_NONE 

◆ Dtk_frame_type

Enumerator
DTK_FRAME_TYPE_NONE 
DTK_FRAME_TYPE_RECTANGLE 
DTK_FRAME_TYPE_SQUARE 
DTK_FRAME_TYPE_CIRCLE 
DTK_FRAME_TYPE_SCORED_CIRCLE 
DTK_FRAME_TYPE_DIAMOND 
DTK_FRAME_TYPE_TRIANGLE 
DTK_FRAME_TYPE_FLAG_RIGHT 
DTK_FRAME_TYPE_FLAG_LEFT 
DTK_FRAME_TYPE_FLAG_BOTH 
DTK_FRAME_TYPE_OBLONG 
DTK_FRAME_TYPE_OBLONG_RIGHT 
DTK_FRAME_TYPE_OBLONG_LEFT 
DTK_FRAME_TYPE_ELLIPSE 
DTK_FRAME_TYPE_STICKING 
DTK_FRAME_TYPE_SET 
DTK_FRAME_TYPE_FIXED_SUPPORT 
DTK_FRAME_TYPE_NOTA 
DTK_FRAME_TYPE_SYMMETRICAL_PART 
DTK_FRAME_TYPE_SYMMETRICAL_SET 
DTK_FRAME_TYPE_SCORED_RECTANGLE 
DTK_FRAME_TYPE_PARALLELOGRAM 
DTK_FRAME_TYPE_OCTANGLE 
DTK_FRAME_TYPE_FLAG_RIGHT_TRIANGLE 
DTK_FRAME_TYPE_SQUARE_CIRCLE 
DTK_FRAME_TYPE_PENTAGON 
DTK_FRAME_TYPE_HEXAGON 
DTK_FRAME_TYPE_POLYGON 
DTK_FRAME_TYPE_UNDERLINE 

◆ Dtk_HatchingStyle

Enumerator
Dtk_HatchingStyle_Unknown 
Dtk_HatchingStyle_Hatching 
Dtk_HatchingStyle_Coloring 
Dtk_HatchingStyle_Dotting 

◆ Dtk_justication_type

Enumerator
DTK_JUSTIFY_LEFT 
DTK_JUSTIFY_CENTER 
DTK_JUSTIFY_RIGHT 

◆ Dtk_Unit

enum Dtk_Unit
Enumerator
DTK_UNIT_UNKNOWN 
DTK_UNIT_MM 
DTK_UNIT_CM 
DTK_UNIT_M 
DTK_UNIT_KM 
DTK_UNIT_INCH 
DTK_UNIT_FOOT 
DTK_UNIT_DEGREE 
DTK_UNIT_RADIAN 
DTK_UNIT_GRADE 
DTK_UNIT_DMS