Summer Work:3d Viewer
Medial Axis ViewerMesh Editor
Alexander K. Bowman30 August 2004
June 2004: 3d Viewer
• Need for viewing 3d objects emerged from LEMS research- Shape Representation - Medical Imaging- Object Recognition
3d Viewer: Requirements
• Views OpenInventor Files• Platform Independent• Easy viewing
– Rotation: spin around a focus point
– Zoom: get closer to interest point
– Translation: pan over an area
• Animation– Have the scene rotate without
interaction
• Seek– Focus on an object by click
• Orthogonal/Perspective Camera
3d Viewer: Features• Camera mode
– For changing the view– Event handled by camera
• Scene graph mode– For altering the scene– Event handled by scene graph
Camera Mode
Scene GraphMode
July 2004: Medial Axis Viewer
• Kimia, Giblin, Leymarie and Chang research on Medial Axis representation
• Processing– G3D (*.g3d) – data points– IV (*.iv) – OpenInventor/VRML – Pruning– Matching– Transition Removal– Reconstruction– Smoothing
• Viewing– G3D, IV, Full Shock, Scaffold
Full Shock
• Goal: Ability to access the underlying data structure while viewing
• Keep the data structure and the view separate• Can interrogate structure to help debug
August 2004: Mesh Editor
• Reads OpenInventor Files– IndexedFaceSets– TriangleStripSets
• Addition• Deletion• Interrogation• Translation
Extracting individual faces
Scene Graph
SoC
oord
inat
e3S
oNor
mal
SoI
ndex
edFa
ceS
et changes to
SoIndexedFaceSetsSoCoordinate3
• Turn one IndexedFaceSet into many
Interrogation
• Interrogating a face tells you its vertices• Interrogating a vertex tells you how many faces its
attached to and the position of the vertex
Deletion• Deleting a face just
removes the face• Deleting a vertex removes
all the attached faces
Addition• Add Vertices
– From menu, specify coordinates• Add Faces
– Click cubes in counterclockwise order– Face added when you click first vertex
again
Alteration
• Change the position of Vertices
Saving
SoIndexedFaceSetsSoCoordinate3 SoC
oord
inat
e3
SoIn
dexe
dFac
eSet
• Merged back into SoIndexedFaceSets as previously arranged
Near Future
• Scaffold editor
The last slide
• Questions?• Comments?• Criticisms?