03.05.2013 Views

Slides - Ocean - Schlumberger

Slides - Ocean - Schlumberger

Slides - Ocean - Schlumberger

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18: User Interface - Interaction<br />

IIntersectionPicking<br />

IIntersectionPicking gives intersection hit/pick info<br />

pick string is displayed if user moves mouse over domain<br />

object<br />

public interface IIntersectionPicking<br />

{<br />

void GetPickInfo(object o, IntersectionPickedPoint pt,<br />

IntersectionRendererContext cxt);<br />

}<br />

horizontal position<br />

on-plane world coordinate<br />

may be null<br />

will always be defined<br />

public class IntersectionPickedPoint : PickedPoint<br />

{ ...<br />

double HorizontalHit { get; }<br />

Point3 IntersectionHit { get; }<br />

bool IsHit { get; set; }<br />

Ray3 Ray { get; }<br />

Point3 World { get; set; }<br />

double ZHit { get; }<br />

}<br />

© 2012 <strong>Schlumberger</strong>. All rights reserved. www.ocean.slb.com/developers<br />

15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!