[Insight-users] Re: SimplexMesh contribution

Benoit devilleb at gmail.com
Wed Jul 27 11:33:29 EDT 2005


Hi...

Hum...
I already found something wrong in my contribution...
Sorry to bother you
Lines 374 to 377 are replaced by neighborhood->erase( index );

Regards
Ben

2005/7/27, Benoit <devilleb at gmail.com>:
> Hi all !
> 
> Here is a contribution for itkSimplexMesh.txx, if you think this is useful.
> I changed it because I found the
> itk::DeformableSimplexMesh3DFilter::Initialize method was too long
> when itk::DeformableSimplexMesh3DFilter ::m_Rigidity was higher than 5
> or 6.
> 
> In itkSimplexMesh.txx / .h, I only changed the
> itk::SimplexMesh::GetNeighbors method.
> Instead of using a std::list, I use directly a std::set and it is no
> more recursive.
> 
> There's a slight difference with the original version on the
> signification of m_Rigidity
> A value of 0 creates an empty set
> A value of 1 makes itk::SimplexMesh::GetNeighbors return the direct
> neighbours of the point in parameter
> A value of 2 adds the direct neighbours of the neighbours
> ...
> 
> I also join the associated itkDeformableSimplexMesh3DFilter.txx
> 
> I hope you'll find it interesting enough to use it.
> 
> Regards,
> Ben
> 
> 
>


More information about the Insight-users mailing list