[Insight-users] ComputOffset in the class CenteredAffineTransform
Shuzai Fan
fanshuzai at gmail.com
Wed Jun 27 18:41:00 EDT 2007
Dear All,
We have to use ComputeOffset() before actually using the
CenteredAffineTransform. However, the visual.Net 2003 keeps telling me the
following compiling error:
'itk::MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::ComputeOffset'
: cannot access protected member declared in class
'itk::MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
with
[
TScalarType=double,
NInputDimensions=3,
NOutputDimensions=3
]
and
[
TScalarType=double,
NInputDimensions=3,
NOutputDimensions=3
]
The code is something like:
typedef itk::CenteredAffineTransform< double, 3 > TransformType;
TransformType::Pointer transform = TransformType::New();
...
transform->Rotate3D( axis, angle, false );
transform->ComputeOffset();
Any help would be appreciated.
Thank you very much,
Shuzai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070627/8844ed2c/attachment.htm
More information about the Insight-users
mailing list