[Insight-users] [Insight users] itk::SimplexMeshToTriangleMeshFilter not exact ?

Leila baghdadi baghdadi at sickkids.ca
Mon Jul 18 12:38:44 EDT 2005


I am not sure if I understand what you are trying to do here!
You need to get data from one filter and send it to another (i.e,
pipeline)

I have modified the example at
Insight/Testing/Code/BasicFilters
itkSimplexMeshToTriangleMeshFilterTest.cxx

it should help clarify things

Leila

On Mon, 2005-07-18 at 12:32, Benoit wrote:
> Hi all !
> 
> With the following lines, I don't get back the initial mesh :
> 
> 	typename ToSimplexFilterType::Pointer	simplexFilter	=
> ToSimplexFilterType::New();
> 	typename ToTriangleFilterType::Pointer	triangleFilter	=
> ToTriangleFilterType::New();
> 	
> 	// connect components
> 	simplexFilter->SetInput( pMesh );
> 	triangleFilter->SetInput( simplexFilter->GetOutput() );
> 
> The output of triangleFilter is inside the input mesh.
> It acts as if the vertices of the resulting mesh where considered as
> the centers of the simplex mesh's faces.
> I think there should be a correction along the vertices normal.
> 
> Regards,
> Ben
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list