[osg-submissions] Enhanced Intersection Results for PolytopeIntersector
Peter Hrenka
p.hrenka at science-computing.de
Tue Oct 30 01:02:47 PDT 2007
Hi Robert,
Due to popular demand I would like to submit this
enhanced version of PolytopeIntersector.
New features of PolytopeIntersector :
* Dimension mask: The user may specify the dimensions of the
primitives to be tested. Checking polytope-triangle and
polytope-quad intersections is rather slow so this can
be turned off.
* Reference plane: The resulting intersections are sorted
by the distance to this plane.
New memebers of PolytopeIntersector::Intersection :
* distance: Distance of localIntersectionPoint to the reference plane
* maxDistance: Maximum distance of all intersectionPoints to the
reference plane.
* intersectionPoints: The points intersecting the planes of the polytope
or points completely inside the polytope.
* localIntersectionPoint: arithmetic mean of all intersection points
* primitiveIndex: Index of the primitive that intersected
I added some more output to the example osgkeyboardmouse.
Cheers
Peter
--
________________________________creating IT solutions
Peter Hrenka science + computing ag
Software Solutions Hagellocher Weg 73
phone +49 7071 9457 263 72070 Tuebingen, Germany
fax +49 7071 9457 511
p.hrenka at science-computing.de www.science-computing.de
--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PolytopeIntersector_Results.zip
Type: application/zip
Size: 10523 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071030/779f9df7/attachment.zip
More information about the osg-submissions
mailing list