[Insight-users] Missing: typedef TInputImage InputImageType;
Lorensen, William E (Research)
lorensen at crd.ge.com
Mon Aug 2 09:07:48 EDT 2004
What compiler are you using?
-----Original Message-----
From: Steven Philips [mailto:philips1962 at hotmail.com]
Sent: Monday, August 02, 2004 6:22 AM
To: insight-users at itk.org
Subject: [Insight-users] Missing: typedef TInputImage InputImageType;
Hi
I want to use itkCropImageFilter.h, but I keep getting the below
error message. This also happens when I try and include
itkRegionOfInterestImageFilter.h
I think these two lines are needed in the *.h files.
typedef TInputImage InputImageType;
typedef TOutputImage OutputImageType;
Is this correct or am I missing something???
Steven
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx: In
member function `virtual void itk::ExtractImageFilter<TInputImage,
TOutputImage>::GenerateOutputInformation()':
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:146
:
`
InputImageType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:146
:
`
SpacingType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:147
:
`
InputImageType' fails to be a typedef or built in type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:147
:
warning: ISO
C++ forbids declaration of `inputSpacing' with no type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:148
:
`
InputImageType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:148
:
`
PointType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:149
:
`
InputImageType' fails to be a typedef or built in type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:149
:
warning: ISO
C++ forbids declaration of `inputOrigin' with no type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:151
:
`
OutputImageType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:151
:
`
SpacingType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:151
:
`
OutputImageType' fails to be a typedef or built in type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:151
:
warning: ISO
C++ forbids declaration of `outputSpacing' with no type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:152
:
`
OutputImageType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:152
:
`
PointType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:152
:
`
OutputImageType' fails to be a typedef or built in type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:152
:
warning: ISO
C++ forbids declaration of `outputOrigin' with no type
In file included from imagesegmentation.h:85,
from imagesegmentation.cpp:1:
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
_______________________________________________
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