MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029032Open CASCADE[OCCT] OCCT:Data Exchangepublic2017-08-22 14:482017-08-23 22:23
Reporterssv 
Assigned Tossv 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0029032: Provide XDE interface for exploration of assembly structure
DescriptionIn the scope of this issue, it is proposed to add:

- XCAFDoc_AssemblyGraph for read-only accessing component structure of assemblies.
- XCAFDoc_AssemblyGraph::Iterator for depth-first iteration.
- Documentation on XDE basics.

The idea behind this contribution is to provide a simple entry point to the assembly structure of a product data available in XDE (e.g. upon STEP import). The graph itself explicitly defines the "part-of" relations between the assembly components. Each node in a graph corresponds to one or another type of STEP entity (either a "product" or "next_assembly_usage_occurrence"). Therefore, visiting the nodes in a graph, the user may easily distinguish between roots, subassemblies, part occurrences and parts (this terminology is also explicit in the developed exploration tool).

Each node in a graph has its internal numeric ID (vertex ID) and the associated persistent ID being the string entry of the corresponding OCAF label. Therefore, for each node in a graph the user may take its corresponding ID in the XDE document and query all remaining data (colors, layers, PMIs, etc.).

Also, iterating the graph structure in a depth-first manner, the user obtains a scene graph which can be shown to the user in a dedicated tree view (like it is done in CAD Assistant).
TagsNo tags attached.
Test case number
Attached Filespng file icon xde_assm_vtk.png (17,307 bytes) 2017-08-22 22:15

- Relationships

-  Notes
(0069752)
git (administrator)
2017-08-22 16:27

Branch CR29032 has been created by ssv.

SHA-1: 51bb1b8d6d1798974d1ff452ff5a1c1f3dec1de3


Detailed log of new commits:

Author: ssv
Date: Tue Aug 22 16:27:26 2017 +0300

    0029032: Provide XDE interface for exploration of assembly structure
    
    Add assembly graph exploration tool with unit tests.
(0069758)
git (administrator)
2017-08-22 17:59

Branch CR29032 has been updated by ssv.

SHA-1: 5bd3885f0dc6cdd31c638c746df5b5b086b8d98a


Detailed log of new commits:

Author: ssv
Date: Tue Aug 22 17:59:26 2017 +0300

    Documentation.
    

(0069762)
git (administrator)
2017-08-22 22:04

Branch CR29032 has been updated forcibly by ssv.

SHA-1: f045b9fa8b5acb5dcf4cff46e7c802387ad03565
(0069763)
git (administrator)
2017-08-22 22:06

Branch CR29032 has been updated forcibly by ssv.

SHA-1: 848b03409511b37721c603973b35d2d0dc3840ec
(0069805)
git (administrator)
2017-08-23 22:18

Branch CR29032 has been updated forcibly by ssv.

SHA-1: df890960566ac343f53e26040ef5f9cc367f9216
(0069806)
git (administrator)
2017-08-23 22:23

Branch CR29032 has been updated forcibly by ssv.

SHA-1: d6dfeac244d42bcd78435d10f47064c4c65562d1

- Issue History
Date Modified Username Field Change
2017-08-22 14:48 ssv New Issue
2017-08-22 14:48 ssv Assigned To => ssv
2017-08-22 16:27 git Note Added: 0069752
2017-08-22 16:28 ssv Status new => assigned
2017-08-22 17:59 git Note Added: 0069758
2017-08-22 22:04 git Note Added: 0069762
2017-08-22 22:06 git Note Added: 0069763
2017-08-22 22:14 ssv Description Updated View Revisions
2017-08-22 22:15 ssv File Added: xde_assm_vtk.png
2017-08-23 22:18 git Note Added: 0069805
2017-08-23 22:23 git Note Added: 0069806


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker