[Insight-users] VTKImageImport

Juan Carlos Prieto juanprietob at gmail.com
Fri Feb 26 13:44:29 EST 2010


Hello

I'm trying to make a VTKImageImport

I have a method define as a template like the following:

template<typename TypeImage>
void SegmentationMethod<TypeImage>::executeMethod() throw (char*){

    vtkImageExport * vtk_export = vtkImageExport::New();
    vtk_export->SetInput( _img );

    typedef itk::VTKImageImport<TypeImage> ImageImportType;
    ImageImportType::Pointer movingpointer = ImageImportType::New();
}

the variable _img is a vtkImageData*, what I'm trying to do is to connect
the vtkImageData to the filter and then get the itkImageData, I saw an
example were the procedure was like that but it is not working or I don't
know what I'm doing wrong. If I comment the line " ImageImportType::Pointer
movingpointer = ImageImportType::New();" it will compile with out problems.

I get the following errors


Error    54    error C2825:
'itk::ImageSource<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    55    error C2039: 'Pointer' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    56    error C2146: syntax error : missing ';' before identifier
'OutputImagePointer'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    57    error C2371: 'itk::ImageSource<TOutputImage>::Pointer' :
redefinition; different basic types    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    58    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    59    error C2825:
'itk::ImageSource<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    60    error C2039: 'RegionType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    61    error C2146: syntax error : missing ';' before identifier
'OutputImageRegionType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    62    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    63    error C2825:
'itk::ImageSource<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    64    error C2039: 'PixelType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    65    error C2146: syntax error : missing ';' before identifier
'OutputImagePixelType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    66    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    67    error C2825: 'TOutputImage': must be a class or namespace
when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    68    error C2039: 'ImageDimension' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    69    error C2275: 'TOutputImage' : illegal use of this type as an
expression    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    70    error C2057: expected constant expression    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    71    error C2146: syntax error : missing ';' before identifier
'ImageDimension'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    72    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    73    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
231
Error    74    error C2143: syntax error : missing ',' before '&'
c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
231
Error    75    error C2061: syntax error : identifier
'OutputImageRegionType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
272
Error    76    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    77    error C2039: 'Pointer' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    78    error C2146: syntax error : missing ';' before identifier
'OutputImagePointer'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    79    error C2371: 'itk::VTKImageImport<TOutputImage>::Pointer' :
redefinition; different basic types    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    80    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    81    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    82    error C2039: 'PixelType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    83    error C2146: syntax error : missing ';' before identifier
'OutputPixelType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    84    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    85    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
74
Error    86    error C2039: 'SizeType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
74
Error    87    error C2146: syntax error : missing ';' before identifier
'OutputSizeType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
74
Error    88    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
74
Error    89    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
75
Error    90    error C2039: 'IndexType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
75
Error    91    error C2146: syntax error : missing ';' before identifier
'OutputIndexType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
75
Error    92    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
75
Error    93    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
76
Error    94    error C2039: 'RegionType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
76
Error    95    error C2146: syntax error : missing ';' before identifier
'OutputRegionType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
76
Error    96    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
76
Error    97    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    98    error C2039: 'ImageDimension' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    99    error C2275:
'itk::VTKImageImport<TOutputImage>::OutputImageType' : illegal use of this
type as an expression    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    100    error C2057: expected constant expression    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    101    error C2146: syntax error : missing ';' before identifier
'ImageDimension'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    102    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    103    error C2825:
'itk::ImageSource<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    104    error C2039: 'Pointer' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    105    error C2146: syntax error : missing ';' before identifier
'OutputImagePointer'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    106    error C2371: 'itk::ImageSource<TOutputImage>::Pointer' :
redefinition; different basic types    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    107    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    108    error C2825:
'itk::ImageSource<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    109    error C2039: 'RegionType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    110    error C2146: syntax error : missing ';' before identifier
'OutputImageRegionType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    111    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    112    error C2825:
'itk::ImageSource<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    113    error C2039: 'PixelType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    114    error C2146: syntax error : missing ';' before identifier
'OutputImagePixelType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    115    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    116    error C2825: 'TOutputImage': must be a class or namespace
when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    117    error C2039: 'ImageDimension' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    118    error C2275: 'TOutputImage' : illegal use of this type as an
expression    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    119    error C2057: expected constant expression    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    120    error C2146: syntax error : missing ';' before identifier
'ImageDimension'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    121    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    122    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
231
Error    123    error C2143: syntax error : missing ',' before '&'
c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
231
Error    124    error C2061: syntax error : identifier
'OutputImageRegionType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
272
Error    125    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    126    error C2039: 'Pointer' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    127    error C2146: syntax error : missing ';' before identifier
'OutputImagePointer'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    128    error C2371: 'itk::VTKImageImport<TOutputImage>::Pointer' :
redefinition; different basic types    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    129    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    130    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    131    error C2039: 'PixelType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    132    error C2146: syntax error : missing ';' before identifier
'OutputPixelType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    133    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    134    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
74
Error    135    error C2039: 'SizeType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
74
Error    136    error C2146: syntax error : missing ';' before identifier
'OutputSizeType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
74
Error    137    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
74
Error    138    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
75
Error    139    error C2039: 'IndexType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
75
Error    140    error C2146: syntax error : missing ';' before identifier
'OutputIndexType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
75
Error    141    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
75
Error    142    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
76
Error    143    error C2039: 'RegionType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
76
Error    144    error C2146: syntax error : missing ';' before identifier
'OutputRegionType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
76
Error    145    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
76
Error    146    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    147    error C2039: 'ImageDimension' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    148    error C2275:
'itk::VTKImageImport<TOutputImage>::OutputImageType' : illegal use of this
type as an expression    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    149    error C2057: expected constant expression    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    150    error C2146: syntax error : missing ';' before identifier
'ImageDimension'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    151    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
79
Error    152    error C2825:
'itk::ImageSource<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    153    error C2039: 'Pointer' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    154    error C2146: syntax error : missing ';' before identifier
'OutputImagePointer'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    155    error C2371: 'itk::ImageSource<TOutputImage>::Pointer' :
redefinition; different basic types    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    156    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
69
Error    157    error C2825:
'itk::ImageSource<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    158    error C2039: 'RegionType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    159    error C2146: syntax error : missing ';' before identifier
'OutputImageRegionType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    160    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
70
Error    161    error C2825:
'itk::ImageSource<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    162    error C2039: 'PixelType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    163    error C2146: syntax error : missing ';' before identifier
'OutputImagePixelType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    164    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
71
Error    165    error C2825: 'TOutputImage': must be a class or namespace
when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    166    error C2039: 'ImageDimension' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    167    error C2275: 'TOutputImage' : illegal use of this type as an
expression    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    168    error C2057: expected constant expression    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    169    error C2146: syntax error : missing ';' before identifier
'ImageDimension'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    170    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
74
Error    171    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
231
Error    172    error C2143: syntax error : missing ',' before '&'
c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
231
Error    173    error C2061: syntax error : identifier
'OutputImageRegionType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\common\itkImageSource.h
272
Error    174    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    175    error C2039: 'Pointer' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    176    error C2146: syntax error : missing ';' before identifier
'OutputImagePointer'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    177    error C2371: 'itk::VTKImageImport<TOutputImage>::Pointer' :
redefinition; different basic types    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    178    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
72
Error    179    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    180    error C2039: 'PixelType' : is not a member of '`global
namespace''    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    181    error C2146: syntax error : missing ';' before identifier
'OutputPixelType'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    182    error C4430: missing type specifier - int assumed. Note: C++
does not support default-int    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
73
Error    183    error C2825:
'itk::VTKImageImport<TOutputImage>::OutputImageType': must be a class or
namespace when followed by '::'    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
74
Error    184    fatal error C1003: error count exceeds 100; stopping
compilation    c:\program
files\creatools\crea_thirdparty_libraries_d-3.0.0\library\itk-3.16.0\include\insighttoolkit\basicfilters\itkVTKImageImport.h
74
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100226/0b78d331/attachment-0001.htm>


More information about the Insight-users mailing list