 |
DATAKIT API
V2025.1
|
|
Go to the documentation of this file.
13 #ifndef _UTIL_CGR_DTK_H
14 #define _UTIL_CGR_DTK_H
16 #define DTK_CGR_CRV_WIREFRAME_INDICE 0
17 #define DTK_CGR_CRV_WIREFRAME_PNTS 1
18 #define DTK_CGR_CRV_BOUNDARY_INDICE 2
19 #define DTK_CGR_CRV_BOUNDARY_PNTS 3
20 #define DTK_CGR_CRV_NO_BOUNDARY_INDICE 4
21 #define DTK_CGR_CRV_NO_BOUNDARY_PNTS 5
Dtk_string Name
Definition: util_cgr_dtk.hpp:113
@ AsrTypeRestrictedArea
Definition: util_cgr_dtk.hpp:88
Dtk_matrix * Matrix
Transformation matrix.
Definition: util_cgr_dtk.hpp:155
Dtk_tab< Dtk_AxisSystemPtr > axis_system
Mesh list (bodies) of the part.
Definition: util_cgr_dtk.hpp:132
@ AsrTypeTotalRunout
Definition: util_cgr_dtk.hpp:59
Gathers all the bounding boxes (faces, bodies, curves...) related to a part.
Definition: util_cgr_dtk.hpp:96
@ AsrTypePositionSurfacicProfile
Definition: util_cgr_dtk.hpp:53
@ AsrTypePosition
Definition: util_cgr_dtk.hpp:49
This class gathers asm node related datas.
Definition: util_cgr_dtk.hpp:178
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
@ DTK_CGR_NODE
Definition: util_cgr_dtk.hpp:28
int add_wireframe(Dtk_tab< Dtk_mesh_curve * > *inWireframe, Dtk_transfo *matrix)
Add an Dtk_mesh_curve in Dtk_mesh_asm_node in the current asm node.
void set_material(Dtk_MaterialPtr inMaterial)
Set an material.
@ AsrTypeSymmetry
Definition: util_cgr_dtk.hpp:51
@ AsrTypeCoordinateDimension
Definition: util_cgr_dtk.hpp:78
This class gathers asm instance related datas. Only Part or Asm has to be filled.
Definition: util_cgr_dtk.hpp:150
@ AsrTypeLinearSize
Definition: util_cgr_dtk.hpp:54
Dtk_bool is_asm()
Return true if asm is filled.
void set_id(int inId)
Set an Id.
Dtk_mesh_asm_node()
Default constructor.
const Dtk_string const Dtk_transfo & inTransfo
Definition: catiav5w.hpp:619
int id
Definition: util_cgr_dtk.hpp:116
int add_axis_system(Dtk_AxisSystemPtr inAxisSystem)
Add an Dtk_AxisSystemPtr in Dtk_mesh_asm_node in the current asm node.
Dtk_tab< Dtk_mesh_curve * > * wireframe
Free 3D curves.
Definition: util_cgr_dtk.hpp:126
dtk_cgr_bbs bbs
Used to store computed bounding boxes.
Definition: util_cgr_dtk.hpp:119
@ AsrTypeChamferDimension
Definition: util_cgr_dtk.hpp:57
int add_mesh_instance(Dtk_mesh_part *inMeshPart, Dtk_transfo *inTransfo)
Add a mesh instance (a part) to the current asm node.
This is a high level string class.
Definition: dtk_string.hpp:58
@ AsrTypeGeometricalTolerance
Definition: util_cgr_dtk.hpp:46
@ DTK_CGR_FREE_VERTEX
Definition: util_cgr_dtk.hpp:29
size_t Dtk_Size_t
Definition: define.h:712
@ DTK_CGR_AXIS_SYSTEM
Definition: util_cgr_dtk.hpp:35
@ DTK_CGR_CURVE
Definition: util_cgr_dtk.hpp:33
This class gathers part related datas.
Definition: util_cgr_dtk.hpp:111
@ AsrTypeRestrictedArea2
Definition: util_cgr_dtk.hpp:89
Definition: dtk_status.hpp:16
@ DTK_CGR_TEXT
Definition: util_cgr_dtk.hpp:30
char Dtk_bool
Definition: define.h:725
@ AsrTypeParallelism
Definition: util_cgr_dtk.hpp:61
Dtk_bounding_box all_bb
Definition: util_cgr_dtk.hpp:105
@ AsrTypeCircularity
Definition: util_cgr_dtk.hpp:66
void set_color(Dtk_RGB &inColor)
set color on Dtk_mesh_asm_node
~Dtk_mesh_instance()
Destructor.
@ AsrTypeAngularity
Definition: util_cgr_dtk.hpp:63
@ DTK_CGR_BODY
Definition: util_cgr_dtk.hpp:36
@ AsrTypeDatumSystem
Definition: util_cgr_dtk.hpp:75
@ AsrTypeOrientedAngularDimension
Definition: util_cgr_dtk.hpp:79
@ AsrTypePatternLocation
Definition: util_cgr_dtk.hpp:70
@ AsrTypeSimpleDatum
Definition: util_cgr_dtk.hpp:47
Dtk_mesh_part * Mesh
Part node to be written.
Definition: util_cgr_dtk.hpp:157
Dtk_mesh_instance * get_instance(int i)
Return the i-th instance.
@ AsrTypeCircularRunout
Definition: util_cgr_dtk.hpp:60
dtk_mesh_per_body_face_bb faces_bbs
Definition: util_cgr_dtk.hpp:99
Dtk_tab< Dtk_MeshPtr > mesh
Mesh list (bodies) of the part.
Definition: util_cgr_dtk.hpp:122
@ AsrTypeSecondLinearSize
Definition: util_cgr_dtk.hpp:56
@ AsrTypeStraightness
Definition: util_cgr_dtk.hpp:64
int id
Definition: util_cgr_dtk.hpp:152
Dtk_status cgrw_ComputeBBs(Dtk_transfo &)
Once the Dtk_mesh_part is filled.
@ AsrTypeProfileToleranceOfAnySurface
Definition: util_cgr_dtk.hpp:69
@ AsrTypePositionLinearProfile
Definition: util_cgr_dtk.hpp:52
@ AsrTypeDatumReferenceFrame
Definition: util_cgr_dtk.hpp:74
@ AsrTypeConstructedGeometry
Definition: util_cgr_dtk.hpp:81
dtk_mesh_per_crv_bb crvs_bbs
Definition: util_cgr_dtk.hpp:102
DTK_CGR_TYPE_BLOCK
Definition: util_cgr_dtk.hpp:26
@ DTK_CGR_STRING
Definition: util_cgr_dtk.hpp:37
@ AsrTypeConcentricity
Definition: util_cgr_dtk.hpp:50
Dtk_mesh_instance(Dtk_mesh_asm_node *, Dtk_matrix *)
Constructor with Asm node and a matrix.
dtk_mesh_all_crvs_bb all_crvs_bb
Definition: util_cgr_dtk.hpp:101
@ AsrTypeDimension
Definition: util_cgr_dtk.hpp:76
Definition: dtk_matrix.hpp:8
@ AsrTypeAngularSize
Definition: util_cgr_dtk.hpp:55
Dtk_RGB get_color()
get color on Dtk_mesh_asm_node
@ AsrTypeText
Definition: util_cgr_dtk.hpp:43
Dtk_Size_t get_nb_instances()
Return the nb of instances in the current node.
@ AsrTypeNote
Definition: util_cgr_dtk.hpp:44
Dtk_status cgrw_ComputeBBs()
Compute Bounding Boxes.
int add_mesh(Dtk_MeshPtr mesh)
Add an Dtk_mesh in Dtk_mesh_asm_node in the current asm node.
Dtk_tab< Dtk_pnt * > vertex
Free 3D vertices.
Definition: util_cgr_dtk.hpp:128
@ DTK_CGR_ANNOTATION
Definition: util_cgr_dtk.hpp:31
@ DTK_CGR_MESH
Definition: util_cgr_dtk.hpp:34
Dtk_RenderInfosPtr get_render_infos()
Get an material.
@ DTK_CGR_UNKNOWN_TYPE
Definition: util_cgr_dtk.hpp:27
@ AsrTypeBasicDimension
Definition: util_cgr_dtk.hpp:58
int type
Definition: util_cgr_dtk.hpp:115
@ DTK_CGR_FREE_CURVE
Definition: util_cgr_dtk.hpp:32
This is a high level array class.
Definition: util_stl_dtk.hpp:85
g5r_ASR_Type
Definition: util_cgr_dtk.hpp:41
@ AsrTypeProfileToleranceOfAnyLine
Definition: util_cgr_dtk.hpp:68
Dtk_MaterialPtr get_material()
Get an material.
dtk_mesh_all_bodies_bb all_bodies_bb
Definition: util_cgr_dtk.hpp:97
@ AsrTypeFlatness
Definition: util_cgr_dtk.hpp:65
Dtk_tab< Dtk_tab< Dtk_mesh_curve * > * > * perBodyCurves
3D Edges "per body"
Definition: util_cgr_dtk.hpp:124
@ AsrTypePerpendicularity
Definition: util_cgr_dtk.hpp:62
@ AsrTypeWeldingSymbol
Definition: util_cgr_dtk.hpp:73
Dtk_tab< Dtk_BodyPtr > body
Mesh list (bodies) of the part.
Definition: util_cgr_dtk.hpp:134
~Dtk_mesh_asm_node()
Default destructor.
Dtk_tab< Dtk_RGB > rgb
Free 3D vertices attributs.
Definition: util_cgr_dtk.hpp:130
@ AsrTypeDatumFeatures
Definition: util_cgr_dtk.hpp:77
Dtk_mesh_asm_node * Asm
Asm node to be written.
Definition: util_cgr_dtk.hpp:159
const Dtk_string TypeEnumASRToString(const g5r_ASR_Type &inEnum)
void set_render_infos(Dtk_RenderInfosPtr inRender)
Set an render.
Definition: dtk_rgb.hpp:7
Dtk_bounding_box BB
Used to store global computed bounding box.
Definition: util_cgr_dtk.hpp:188
@ AsrTypeDatumTarget
Definition: util_cgr_dtk.hpp:48
Dtk_mesh_instance(Dtk_mesh_part *, Dtk_matrix *)
constructor with Part node and a matrix
@ AsrTypeCylindricity
Definition: util_cgr_dtk.hpp:67
@ AsrTypeUnknown
Definition: util_cgr_dtk.hpp:42
Dtk_bool is_mesh()
Return true if mesh is filled.
@ AsrTypeOrientedLinearDimension
Definition: util_cgr_dtk.hpp:80
int add_asm_instance(Dtk_mesh_asm_node *inMeshAsm, Dtk_transfo *inTransfo)
Add an asm instance to the current asm node.
@ AsrTypeRoughness
Definition: util_cgr_dtk.hpp:71
@ AsrTypeDatum
Definition: util_cgr_dtk.hpp:45
dtk_mesh_bodies_bb bodies_bbs
Definition: util_cgr_dtk.hpp:98
@ AsrTypeNoteNoa
Definition: util_cgr_dtk.hpp:72