[Insight-users] Get the coordinate of source and destination of a QuadEdge
David Doria
daviddoria+itk at gmail.com
Wed Sep 16 09:07:10 EDT 2009
On Wed, Sep 16, 2009 at 5:22 AM, Alexandre GOUAILLARD <agouaillard at gmail.com
> wrote:
> Hi david,
> Thanks for your interest in Meshes implementations in ITK. SOrry to take so
> long to answer, I will be more responsive now.
>
> You can find a little bit more information on QE here:
> http://www.itk.org/Wiki/Proposals:New_Mesh_Class
>
> You also have TONS of inspiration in the tests. Here is a short list to
> begin with that implements the kind of basic operation you're struggling
> with now (bad documentation, my bad), other tests are more advanced:
> /Insight/Testing/Code/Review/
> itkGeometricalQuadEdgeTest1.cxx
> itkQuadEdgeMeshAddFaceTest1.cxx
> itkQuadEdgeMeshAddFaceTest2.cxx
> itkQuadEdgeMeshBasicLayerTest.cxx
> itkQuadEdgeMeshCellInterfaceTest.cxx
> itkQuadEdgeMeshCountingCellsTest.cxx
> itkQuadEdgeMeshDeleteEdgeTest.cxx
> itkQuadEdgeMeshDeletePointAndReorderIDsTest.cxx
> itkQuadEdgeMeshFrontIteratorTest.cxx
> itkQuadEdgeMeshIteratorTest.cxx
> itkQuadEdgeMeshPointTest1.cxx
> itkQuadEdgeMeshPolygonCellTest.cxx
> itkQuadEdgeMeshTest1.cxx
> itkQuadEdgeMeshTest2.cxx
> itkQuadEdgeMeshTest3.cxx
> itkQuadEdgeTest1.cxx
>
> when you do a Mesh->GetEdge() without arguments, you get the first edge in
> the cell container (well, the first edge in the edge container, as QEMesh
> has two cells containers). Some algorithms on surface just need one edge,
> any edge and that s why we provide this argument-less flavor of GetEdge().
>
> Send me your code, I ll troubleshot it.
>
> alex.
>
Alex,
Ah, I always forget to look in testing. Typically the lack of comments in
testing makes it quite daunting to look through. We should certainly add
some comments to some of those tests and throw them in the Examples
directory (where I'd imagine many people look).
More information about the Insight-users
mailing list