[vtkusers] FW:

Johan Hakansson jhakansson at sti-hawaii.com
Mon Apr 26 18:28:34 EDT 2004



>  -----Original Message-----
> From: 	Johan Hakansson  
> Sent:	den 26 april 2004 11:53
> To:	'vtkusers at vtk.org'
> Subject:	
> 
> Hi, 
> 
> I am trying to use Your excellent packages ITK and VTK to put texture on a 3D object.
> 
> I am trying to connect ITK to VTK with the following sequence :
> 
> 
> ImageType::Pointer		p_Im	= ImageType::New();
> 	
> p_Im					= reader->GetOutput();
> 	 
> typedef itk::VTKImageExport< ImageType, PixelTypeB >	itkVTKImageExportType; 
> typedef vtkImageImport					vtkITKImageImportType;
> 	
> itkVTKImageExportType::Pointer	p_itkVTKExporter	= itkVTKImageExportType::New(); 
> void*				p_vtkImporter		= vtkITKImageImportType::New(); 
> 	
> p_itkVTKExporter->SetInput( p_Im);
> 
> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> 
> vtkPipelineConnectorITK2VTK<ImageExportType, vtkImageImport*>::
> 	ConnectPipelines( itkVTKExporter, vtkImporter);   
> 
> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> 
> Now, the last line does not compile because I do not find the header in my downloaded package, 
> nor do I find it in the CVS repository. In fact I do not find any of the folowing files :
> 
> #include "vtkPipelineConnectorITK2VTK.h"   
> #include "itkVTKImageToImageFilter.h"
> #include "itkImageToVTKImageFilter.h"
> 
> Has there been a design change and the files are no longer existing ? What in that case is the alternate method ? 
> 
> 
> Aloha
> /Johan 
> 
> Johan Håkansson     MSc. 
> Scientist / Algorithm developer
> -----------------------------------------------------------
> STI - Science & Technology International 
> 733 Bishop Street, Suite 3100
> 96813 Honolulu, Hawaii
> 
> Phone  : 808 - 540 - 4765
> Cell      : 808 - 551 - 1693
> Fax      : 808 - 540 - 4850
> -----------------------------------------------------------
> >  <<Johan Hakansson.vcf>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Johan Hakansson.vcf
Type: text/x-vcard
Size: 375 bytes
Desc: Johan Hakansson.vcf
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040426/accf31ff/attachment.vcf>


More information about the vtkusers mailing list