[Insight-users] VTKPolyDataWriter and SurfaceExtraction
David Fuentes
fuentes at ices.utexas.edu
Mon Nov 12 12:50:04 EST 2007
Hello,
In
InsightToolkit-3.4.0/Examples/Filtering/SurfaceExtraction.cxx
I want view the extracted mesh in paraview.
The example
InsightToolkit-3.4.0/Testing/Code/Review/itkVTKPolyDataWriterTest.cxx
shows how to write out a to a .vtk file from a variable of type:
typedef itk::Mesh< PointType, PointDimension > MeshType;
MeshType::Pointer mesh
The mesh from SurfaceExtraction.cxx is stored somewhere in a variable of type
itk::BinaryMask3DMeshSource< ImageType, MeshType > MeshSourceType;
MeshSourceType::Pointer meshSource
How would I extract a variable of type
MeshType::Pointer
from a variable of type
MeshSourceType::Pointer
Thank you very much,
David Fuentes
More information about the Insight-users
mailing list