[Insight-users] VTK to ITK using JAVA
Oliveira Marcelo
marceloitk at yahoo.com.br
Tue Oct 26 16:30:24 EDT 2004
Hi users !!!
What is the right way to convert VTK to ITK using JAVA
???
In C++ i used (below), what is the same in JAVA ??
tanx a lot for your help !!!!
vtkImageExport *exportaVTK = vtkImageExport :: New():
exportaVTK->SetInput( vtkImageData *imagemVTK );
typedef itk::VTKImageImport<ImageType>
ImageImportType;
ImageImportType::Pointer itkImporter;
itkImporter->SetUpdateInformationCallback(
exporter->GetUpdateInformationCallback());
itkImporter->SetPipelineModifiedCallback(
exporter->GetPipelineModifiedCallback());
itkImporter->SetWholeExtentCallback(
exporter->GetWholeExtentCallback());
itkImporter->SetSpacingCallback(
exporter->GetSpacingCallback());
itkImporter->SetOriginCallback(
exporter->GetOriginCallback());
itkImporter->SetScalarTypeCallback(
exporter->GetScalarTypeCallback());
itkImporter->SetNumberOfComponentsCallback(
exporter->GetNumberOfComponentsCallback());
itkImporter->SetPropagateUpdateExtentCallback(
exporter->GetPropagateUpdateExtentCallback());
itkImporter->SetUpdateDataCallback(
exporter->GetUpdateDataCallback());
itkImporter->SetDataExtentCallback(
exporter->GetDataExtentCallback());
itkImporter->SetBufferPointerCallback(
exporter->GetBufferPointerCallback());
itkImporter->SetCallbackUserData(
exporter->GetCallbackUserData());
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Insight-users
mailing list