[cgma-dev] Observer question?
David Thompson
david.thompson at kitware.com
Mon Jul 22 11:01:34 CDT 2013
Hi Tim,
> Good hearing from you, when did you leave Sandia?
It's been about a year.
> On the observer question, entities that are not intersected will persist, including the RefEntity's, though whether something isn't modified depends on what the engine does (it's keyed off whether the underlying engine changes its topological entity). With Cubit, we've had mostly expected results that way, so no big worries.
Any idea about the OCC backend? I ask because the attached program calls webcut on one of the example models (62_shaver1.brep) and faces to both sides of the cut sheet (as well as one that intersects the sheet) all report GEOMETRY_TOPOLOGY_MODIFIED.
The notify_observer() method called on observers doesn't appear to provide information about the entity(-ies) replacing those being modified. Is there a way to obtain the resulting split or merged entities? If I create an attribute to hold an ID on faces or edges of interest, how fast will lookup be?
Thanks,
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Persistence.cpp
Type: application/octet-stream
Size: 7515 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20130722/ebdc3828/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20130722/ebdc3828/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CGM.cmake
Type: application/octet-stream
Size: 2454 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20130722/ebdc3828/attachment-0001.obj>
More information about the cgma-dev
mailing list