[OpendTect_Developers] Access horizon and fault geometry data

David d'Angelo david.d-angelo at iais.fraunhofer.de
Fri Oct 18 11:57:23 CEST 2013


Hi Yuancheng,

thank you for your help.
Do I have to do the triangulation myself, as in the function *bool 
ExplFaultStickSurface::reTriangulateSurface()*, or can I directly access 
the triangulated data from the *visSurvey::HorizonDisplay* or 
*visSurvey::FaultDisplay*? Or should I use the *EM::Horizon3D*?

Thanks and best regards,
David

On 10/16/13 4:03 PM, Yuancheng Liu wrote:
> Hello, David,
>
> for the triangulated mesh of Horizons and faults, you can look at 
>  examples in explplaneintersection.cc/explfaultsticksurface.cc 
> <http://explplaneintersection.cc/explfaultsticksurface.cc> in 
> Geometry,  they are done based on IndexedGeometry, which will give you 
> coordinate indices of they own triangulated mesh, they may depend on 
> the geometry type they have. If the type is triangles, for horizons, 
> every 3 indices give you a triangle, for faults, will be 4 indices (3 
> vertices plus -1 as a separator index).
>
> Let me know if you need more details.
>
> Best regards,
>
> Yuancheng
>
>
>
>
> On Wed, Oct 16, 2013 at 2:36 AM, David d'Angelo 
> <david.d-angelo at iais.fraunhofer.de 
> <mailto:david.d-angelo at iais.fraunhofer.de>> wrote:
>
>     Hi everybody,
>
>     I am working on a plugin which needs to access triangulated
>     horizon and fault geometry data. I had a look at the
>     uiHorizonAttrib extension sample, on how to access the z-values of
>     horizons. However, I need to get the triangle mesh in
>     Inline/Crossline or UTM coordinates.
>     Any suggestions on how to do this?
>
>     Thanks in advance and best regards,
>     David
>
>     -- 
>     David d'Angelo, M. Sc.
>     Adaptive Reflective Teams
>     Fraunhofer IAIS
>     Schloss Birlinghoven
>     53757 Sankt Augustin
>     Germany
>     Fon: +49 (0) 2241 14 3444 <tel:%2B49%20%280%29%202241%2014%203444>
>     Fax: +49 (0) 2241 14 2040 <tel:%2B49%20%280%29%202241%2014%202040>
>
>
>     _____________________________________________________________
>     OpendTect Developers mailing list Developers at opendtect.org
>     <mailto:Developers at opendtect.org>
>     http://lists.opendtect.org/mailman/listinfo/developers
>
>     You receive this mail because you are listed on
>     developers at opendtect.org <mailto:developers at opendtect.org> To
>     unsubscribe please go to
>     http://lists.opendtect.org/mailman/options/developers . If you
>     encounter any problems, please contact support at opendtect.org
>     <mailto:support at opendtect.org> .
>
>
>
>
> -- 
> Yuancheng Liu
> Software Engineer
>
> dGB Earth Sciences
> 1 Sugar Creek Center Blvd - Suite 935
> Sugar Land, TX 77478 - USA
> Phone: +1 281-240-3939, Fax: +1 281-240-3944
> http://www.dgbes.com , http://www.opendtect.org
>


-- 
David d'Angelo, M. Sc.
Adaptive Reflective Teams
Fraunhofer IAIS
Schloss Birlinghoven
53757 Sankt Augustin
Germany
Fon: +49 (0) 2241 14 3444
Fax: +49 (0) 2241 14 2040

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendtect.org/pipermail/developers/attachments/20131018/99fc873a/attachment.html>


More information about the Developers mailing list