<div>Hi Luis,</div>
<div> </div>
<div>Maybe the following is the full error message:</div>
<div>//+++++++++++++++++++++++++++++++++++</div>
<div>for Method 1: Use TransformMeshFilter<PointSetType, PointSetType, TransformType></div>
<div>1>c:\steven\installation\itk\insighttoolkit-3.2.0\code\basicfilters\itktransformmeshfilter.txx(95) : error C2664: 'itk::MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformPoint' : cannot convert parameter 1 from 'const itk::Point<TCoordRep,NPointDimension>' to 'const itk::Point<TCoordRep,NPointDimension> &'
<br>1> with<br>1> [<br>1> TScalarType=double,<br>1> NInputDimensions=3,<br>1> NOutputDimensions=3<br>1> ]<br>1> and<br>1> [<br>1> TCoordRep=float,
<br>1> NPointDimension=3<br>1> ]<br>1> and<br>1> [<br>1> TCoordRep=double,<br>1> NPointDimension=3<br>1> ]<br>1> Reason: cannot convert from 'const itk::Point<TCoordRep,NPointDimension>' to 'const itk::Point<TCoordRep,NPointDimension>'
<br>1> with<br>1> [<br>1> TCoordRep=float,<br>1> NPointDimension=3<br>1> ]<br>1> and<br>1> [<br>1> TCoordRep=double,<br>1> NPointDimension=3
<br>1> ]<br>1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called<br>1> c:\steven\installation\itk\insighttoolkit-3.2.0\code\basicfilters\itktransformmeshfilter.txx
(60) : while compiling class template member function 'void itk::TransformMeshFilter<TInputMesh,TOutputMesh,TTransform>::GenerateData(void)'<br>1> with<br>1> [<br>1> TInputMesh=PointSetType,
<br>1> TOutputMesh=PointSetType,<br>1> TTransform=TransformType<br>1> ]<br>1> c:\steven\gdc\segmentation.cpp(1362) : see reference to class template instantiation 'itk::TransformMeshFilter<TInputMesh,TOutputMesh,TTransform>' being compiled
<br>1> with<br>1> [<br>1> TInputMesh=PointSetType,<br>1> TOutputMesh=PointSetType,<br>1> TTransform=TransformType<br>1> ]<br>1>c:\steven\installation\itk\insighttoolkit-
3.2.0\code\basicfilters\itktransformmeshfilter.txx(105) : error C2039: 'SetCellLinks' : is not a member of 'itk::PointSet<TPixelType,VDimension>'<br>1> with<br>1> [<br>1> TPixelType=double,
<br>1> VDimension=3<br>1> ]<br>1>c:\steven\installation\itk\insighttoolkit-3.2.0\code\basicfilters\itktransformmeshfilter.txx(105) : error C2039: 'GetCellLinks' : is not a member of 'itk::PointSet<TPixelType,VDimension>'
<br>1> with<br>1> [<br>1> TPixelType=double,<br>1> VDimension=3<br>1> ]<br>1>c:\steven\installation\itk\insighttoolkit-3.2.0\code\basicfilters\itktransformmeshfilter.txx
(107) : error C2039: 'SetCells' : is not a member of 'itk::PointSet<TPixelType,VDimension>'<br>1> with<br>1> [<br>1> TPixelType=double,<br>1> VDimension=3
<br>1> ]<br>1>c:\steven\installation\itk\insighttoolkit-3.2.0\code\basicfilters\itktransformmeshfilter.txx(107) : error C2039: 'GetCells' : is not a member of 'itk::PointSet<TPixelType,VDimension>'
<br>1> with<br>1> [<br>1> TPixelType=double,<br>1> VDimension=3<br>1> ]<br>1>c:\steven\installation\itk\insighttoolkit-3.2.0\code\basicfilters\itktransformmeshfilter.txx
(108) : error C2039: 'SetCellData' : is not a member of 'itk::PointSet<TPixelType,VDimension>'<br>1> with<br>1> [<br>1> TPixelType=double,<br>1> VDimension=3
<br>1> ]<br>1>c:\steven\installation\itk\insighttoolkit-3.2.0\code\basicfilters\itktransformmeshfilter.txx(108) : error C2039: 'GetCellData' : is not a member of 'itk::PointSet<TPixelType,VDimension>'
<br>1> with<br>1> [<br>1> TPixelType=double,<br>1> VDimension=3<br>1> ]<br>1>c:\steven\installation\itk\insighttoolkit-3.2.0\code\basicfilters\itktransformmeshfilter.txx
(111) : error C2039: 'MaxTopologicalDimension' : is not a member of 'itk::PointSet<TPixelType,VDimension>'<br>1> with<br>1> [<br>1> TPixelType=double,<br>1> VDimension=3
<br>1> ]<br>1>c:\steven\installation\itk\insighttoolkit-3.2.0\code\basicfilters\itktransformmeshfilter.txx(111) : error C2065: 'MaxTopologicalDimension' : undeclared identifier<br>1>c:\steven\installation\itk\insighttoolkit-
3.2.0\code\basicfilters\itktransformmeshfilter.txx(115) : error C2039: 'SetBoundaryAssignments' : is not a member of 'itk::PointSet<TPixelType,VDimension>'<br>1> with<br>1> [<br>1> TPixelType=double,
<br>1> VDimension=3<br>1> ]<br>1>c:\steven\installation\itk\insighttoolkit-3.2.0\code\basicfilters\itktransformmeshfilter.txx(116) : error C2039: 'GetBoundaryAssignments' : is not a member of 'itk::PointSet<TPixelType,VDimension>'
<br>1> with<br>1> [<br>1> TPixelType=double,<br>1> VDimension=3<br>1> ]<br>1>Build log was saved at "<a>file://c:\Steven\GDC\Debug\BuildLog.htm </a>"<br>
1>GDC - 11 error(s), 0 warning(s)<br>========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========</div>
<div> </div>
<div>//+++++++++++++++++++++++++++++++++++</div>
<div> </div>
<div>For Method 2: : Use TransformPoint for each individual point</div>
<div>1>c:\steven\gdc\GDC.cpp(1379) : error C2664: 'itk::MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformPoint' : cannot convert parameter 1 from 'PointType' to 'const itk::Point<TCoordRep,NPointDimension> &'
<br>1> with<br>1> [<br>1> TScalarType=double,<br>1> NInputDimensions=3,<br>1> NOutputDimensions=3<br>1> ]<br>1> and<br>1> [<br>1> TCoordRep=double,
<br>1> NPointDimension=3<br>1> ]<br>1> Reason: cannot convert from 'PointType' to 'const itk::Point<TCoordRep,NPointDimension>'<br>1> with<br>1> [
<br>1> TCoordRep=double,<br>1> NPointDimension=3<br>1> ]<br>1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
<br>1>Build log was saved at "<a>file://c:\Steven\GDC\Debug\BuildLog.htm</a>"</div>
<div>//+++++++++++++++++++++++++++++++++++</div>
<div> </div>
<div>I noticed that in the error message for Method 1, one TCoordRep is float type,</div>
<div>1> and<br>1> [<br>1> TCoordRep=float,<br>1> NPointDimension=3<br>1> ]</div>
<div> </div>
<div>but I don't know what I should do to change it to double. </div>
<div>Thank you.</div>
<div> </div>
<div>Regards,</div><span class="sg">
<div>Steven</div></span>