[Insight-developers] Roadblock in Filling CSwig wrapping gaps

Kent Williams norman-k-williams at uiowa.edu
Wed Jan 12 11:12:00 EST 2005


I've tried not to be a pest about this, and figured out nearly 
everything myself with respect to wrapping all classes, but I've come to 
a point where I need help moving forward.

The Scenario:

The compilation of wrap_itkHistogramMatchingImageFilterTcl.cxx was 
warning that
itk::TreeNode<itk::SpatialObject<3> > and 
itk::TreeNode<itk::SpatialObject<3> > were not wrapped.

So to wrap these classes, I added this to 
wrap_itkHistogramMatchingImageFilter.cxx:

+     typedef itk::SpatialObject<2> SO2;
+     typedef itk::SpatialObject<3> SO3;
+     ITK_WRAP_OBJECT1(TreeNode,SO2,TreeeNodeSO2);   
+     ITK_WRAP_OBJECT1(TreeNode,SO3,TreeeNodeSO3);

Now compilation fails -- because, among other things,  
SwigValueWrapper<T>::~SwigValueWrapper() wants to call ~T(), and 
itk::SpatialObject's destructor is private. Full error message below.

The question is -- what can I do to get beyond this? For now I'm just 
going to let TreeNode stay unwrapped.

Error messages:
Building object file wrap_itkHistogramMatchingImageFilterTcl.o...
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In destructor `SwigValueWrapper<T>::~SwigValueWrapper() [with T = 
itk::SpatialObject<3>]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5016:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:20: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkDataObject.h: 
In copy constructor `itk::SpatialObject<3>::SpatialObject(const 
itk::SpatialObject<3>&)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkDataObject.h:452: 
error: `itk::DataObject::DataObject(const itk::DataObject&)' is private
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5025: 
error: within this context
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx: 
In function `int _wrap_TreeeNodeSO3_ChildPosition__SWIG_1(void*, 
Tcl_Interp*, int, Tcl_Obj* const*)':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5025: 
error:   initializing argument 1 of `int 
itk::TreeNode<TValueType>::ChildPosition(TValueType) const [with 
TValueType = itk::SpatialObject<3>]' from result of 
`SwigValueWrapper<T>::operator T&() const [with T = itk::SpatialObject<3>]'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5025: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In function `int _wrap_TreeeNodeSO3_Set(void*, Tcl_Interp*, int, 
Tcl_Obj* const*)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5472: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5472: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkObject.h: 
In copy constructor `itk::TreeNode<itk::SpatialObject<3> 
 >::TreeNode(const itk::TreeNode<itk::SpatialObject<3> >&)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkObject.h:167: 
error: `itk::Object::Object(const itk::Object&)' is private
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5525: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5525: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In function `int _wrap_TreeeNodeSO3_Pointer_ChildPosition__SWIG_1(void*, 
Tcl_Interp*, int, Tcl_Obj* const*)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5959: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In function `int _wrap_TreeeNodeSO3_Pointer_Set(void*, Tcl_Interp*, int, 
Tcl_Obj* const*)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:6380: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:6380: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In destructor `SwigValueWrapper<T>::~SwigValueWrapper() [with T = 
itk::SpatialObject<2>]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:9998:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:20: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkDataObject.h: 
In copy constructor `itk::SpatialObject<2>::SpatialObject(const 
itk::SpatialObject<2>&)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkDataObject.h:452: 
error: `itk::DataObject::DataObject(const itk::DataObject&)' is private
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10007: 
error: within this context
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx: 
In function `int _wrap_TreeeNodeSO2_ChildPosition__SWIG_1(void*, 
Tcl_Interp*, int, Tcl_Obj* const*)':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10007: 
error:   initializing argument 1 of `int 
itk::TreeNode<TValueType>::ChildPosition(TValueType) const [with 
TValueType = itk::SpatialObject<2>]' from result of 
`SwigValueWrapper<T>::operator T&() const [with T = itk::SpatialObject<2>]'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10007: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In function `int _wrap_TreeeNodeSO2_Set(void*, Tcl_Interp*, int, 
Tcl_Obj* const*)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10454: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10454: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkObject.h: 
In copy constructor `itk::TreeNode<itk::SpatialObject<2> 
 >::TreeNode(const itk::TreeNode<itk::SpatialObject<2> >&)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkObject.h:167: 
error: `itk::Object::Object(const itk::Object&)' is private
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10507: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10507: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In function `int _wrap_TreeeNodeSO2_Pointer_ChildPosition__SWIG_1(void*, 
Tcl_Interp*, int, Tcl_Obj* const*)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10941: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In function `int _wrap_TreeeNodeSO2_Pointer_Set(void*, Tcl_Interp*, int, 
Tcl_Obj* const*)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:11362: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:11362: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In member function `SwigValueWrapper<T>& 
SwigValueWrapper<T>::operator=(const T&) [with T = itk::SpatialObject<3>]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5023:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:21: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx: 
In member function `int 
itk::TreeNode<TValueType>::ChildPosition(TValueType) const [with 
TValueType = itk::SpatialObject<3>]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5025:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:178: 
error: no match for 'operator==' in '(+(this + 300)->std::vector<_Tp, 
_Alloc>::operator[] [with _Tp = 
itk::SmartPointer<itk::TreeNode<itk::SpatialObject<3> > >, _Alloc = 
std::allocator<itk::SmartPointer<itk::TreeNode<itk::SpatialObject<3> > > 
 >](i))->itk::SmartPointer<TObjectType>::operator-> [with TObjectType = 
itk::TreeNode<itk::SpatialObject<3> >]()->itk::TreeNode<TValueType>::Get 
[with TValueType =
   itk::SpatialObject<3>]() == element'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In member function `TValueType 
itk::TreeNode<TValueType>::Set(TValueType) [with TValueType = 
itk::SpatialObject<3>]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5472:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:80: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:80: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkDataObject.h: 
In member function `itk::SpatialObject<3>& 
itk::SpatialObject<3>::operator=(const itk::SpatialObject<3>&)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkDataObject.h:453: 
error: `void itk::DataObject::operator=(const itk::DataObject&)' is private
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:81: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In member function `TValueType 
itk::TreeNode<TValueType>::Set(TValueType) [with TValueType = 
itk::SpatialObject<3>]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5472:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:82: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h: 
In member function `itk::Index<VIndexDimension> 
itk::SpatialObject<TDimension>::ComputeIndex(typename 
itk::Offset<VOffsetDimension>::OffsetValueType) const [with unsigned int 
TDimension = 3]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:7298:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h:316: 
warning: converting to `long int' from `double'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h: 
In member function `typename 
itk::Offset<VOffsetDimension>::OffsetValueType 
itk::SpatialObject<TDimension>::ComputeOffset(const 
itk::Index<VIndexDimension>&) const [with unsigned int TDimension = 3]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:7398:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h:299: 
warning: converting to `long int' from `double'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h: 
In member function `typename 
itk::Offset<VOffsetDimension>::OffsetValueType* 
itk::SpatialObject<TDimension>::GetOffsetTable() const [with unsigned 
int TDimension = 3]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:8392:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h:285: 
error: cannot convert `const double*' to `const long int*' in return
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h: 
In member function `typename 
itk::SpatialObjectTreeNode<TDimension>::ConstPointer 
itk::SpatialObject<TDimension>::GetTreeNode() const [with unsigned int 
TDimension = 3]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:8719:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h:394: 
error: conversion from `const 
itk::SmartPointer<itk::SpatialObjectTreeNode<3> >' to non-scalar type 
`itk::SmartPointer<const itk::SpatialObjectTreeNode<3> >' requested
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In member function `void 
itk::SpatialObject<TDimension>::SetProperty(const 
itk::SpatialObjectProperty<float>*) [with unsigned int TDimension = 3]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:9340:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:898: 
error: invalid conversion from `const 
itk::SpatialObjectProperty<float>*' to `itk::SpatialObjectProperty<float>*'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:898: 
error:   initializing argument 1 of `itk::SmartPointer<TObjectType>& 
itk::SmartPointer<TObjectType>::operator=(TObjectType*) [with 
TObjectType = itk::SpatialObjectProperty<float>]'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In member function `SwigValueWrapper<T>& 
SwigValueWrapper<T>::operator=(const T&) [with T = itk::SpatialObject<2>]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10005:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:21: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx: 
In member function `int 
itk::TreeNode<TValueType>::ChildPosition(TValueType) const [with 
TValueType = itk::SpatialObject<2>]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10007:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:178: 
error: no match for 'operator==' in '(+(this + 276)->std::vector<_Tp, 
_Alloc>::operator[] [with _Tp = 
itk::SmartPointer<itk::TreeNode<itk::SpatialObject<2> > >, _Alloc = 
std::allocator<itk::SmartPointer<itk::TreeNode<itk::SpatialObject<2> > > 
 >](i))->itk::SmartPointer<TObjectType>::operator-> [with TObjectType = 
itk::TreeNode<itk::SpatialObject<2> >]()->itk::TreeNode<TValueType>::Get 
[with TValueType =
   itk::SpatialObject<2>]() == element'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In member function `TValueType 
itk::TreeNode<TValueType>::Set(TValueType) [with TValueType = 
itk::SpatialObject<2>]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10454:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:80: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:80: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkDataObject.h: 
In member function `itk::SpatialObject<2>& 
itk::SpatialObject<2>::operator=(const itk::SpatialObject<2>&)':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkDataObject.h:453: 
error: `void itk::DataObject::operator=(const itk::DataObject&)' is private
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:81: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In member function `TValueType 
itk::TreeNode<TValueType>::Set(TValueType) [with TValueType = 
itk::SpatialObject<2>]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10454:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:82: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h: 
In member function `itk::Index<VIndexDimension> 
itk::SpatialObject<TDimension>::ComputeIndex(typename 
itk::Offset<VOffsetDimension>::OffsetValueType) const [with unsigned int 
TDimension = 2]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:12280:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h:316: 
warning: converting to `long int' from `double'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h: 
In member function `typename 
itk::Offset<VOffsetDimension>::OffsetValueType 
itk::SpatialObject<TDimension>::ComputeOffset(const 
itk::Index<VIndexDimension>&) const [with unsigned int TDimension = 2]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:12380:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h:299: 
warning: converting to `long int' from `double'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h: 
In member function `typename 
itk::Offset<VOffsetDimension>::OffsetValueType* 
itk::SpatialObject<TDimension>::GetOffsetTable() const [with unsigned 
int TDimension = 2]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:13374:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h:285: 
error: cannot convert `const double*' to `const long int*' in return
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h: 
In member function `typename 
itk::SpatialObjectTreeNode<TDimension>::ConstPointer 
itk::SpatialObject<TDimension>::GetTreeNode() const [with unsigned int 
TDimension = 2]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:13701:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.h:394: 
error: conversion from `const 
itk::SmartPointer<itk::SpatialObjectTreeNode<2> >' to non-scalar type 
`itk::SmartPointer<const itk::SpatialObjectTreeNode<2> >' requested
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In member function `void 
itk::SpatialObject<TDimension>::SetProperty(const 
itk::SpatialObjectProperty<float>*) [with unsigned int TDimension = 2]':
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:14322:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:898: 
error: invalid conversion from `const 
itk::SpatialObjectProperty<float>*' to `itk::SpatialObjectProperty<float>*'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:898: 
error:   initializing argument 1 of `itk::SmartPointer<TObjectType>& 
itk::SmartPointer<TObjectType>::operator=(TObjectType*) [with 
TObjectType = itk::SpatialObjectProperty<float>]'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In destructor `itk::TreeNode<TValueType>::~TreeNode() [with TValueType = 
itk::SpatialObject<3>]':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:213:   
instantiated from `void itk::TreeNode<TValueType>::AddChild(int, 
itk::TreeNode<TValueType>*) [with TValueType = itk::SpatialObject<3>]'
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:4904:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:35: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:213:   
instantiated from `void itk::TreeNode<TValueType>::AddChild(int, 
itk::TreeNode<TValueType>*) [with TValueType = itk::SpatialObject<3>]'
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:4904:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:48: 
error: no match for 'operator=' in 
'this->itk::TreeNode<itk::SpatialObject<3> >::m_Data = 0'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:81: 
error: candidates are: itk::SpatialObject<3>& 
itk::SpatialObject<3>::operator=(const itk::SpatialObject<3>&)
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In constructor `itk::TreeNode<TValueType>::TreeNode() [with TValueType = 
itk::SpatialObject<3>]':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.h:54:   
instantiated from `static itk::SmartPointer<itk::TreeNode<TValueType> > 
itk::TreeNode<TValueType>::New() [with TValueType = itk::SpatialObject<3>]'
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5386:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:33: 
error: `itk::SpatialObject<TDimension>::SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:28: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.h:54:   
instantiated from `static itk::SmartPointer<itk::TreeNode<TValueType> > 
itk::TreeNode<TValueType>::New() [with TValueType = itk::SpatialObject<3>]'
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:5386:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 3]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:28: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In destructor `itk::TreeNode<TValueType>::~TreeNode() [with TValueType = 
itk::SpatialObject<2>]':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:213:   
instantiated from `void itk::TreeNode<TValueType>::AddChild(int, 
itk::TreeNode<TValueType>*) [with TValueType = itk::SpatialObject<2>]'
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:9886:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:35: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:213:   
instantiated from `void itk::TreeNode<TValueType>::AddChild(int, 
itk::TreeNode<TValueType>*) [with TValueType = itk::SpatialObject<2>]'
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:9886:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:48: 
error: no match for 'operator=' in 
'this->itk::TreeNode<itk::SpatialObject<2> >::m_Data = 0'
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:81: 
error: candidates are: itk::SpatialObject<2>& 
itk::SpatialObject<2>::operator=(const itk::SpatialObject<2>&)
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx: 
In constructor `itk::TreeNode<TValueType>::TreeNode() [with TValueType = 
itk::SpatialObject<2>]':
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.h:54:   
instantiated from `static itk::SmartPointer<itk::TreeNode<TValueType> > 
itk::TreeNode<TValueType>::New() [with TValueType = itk::SpatialObject<2>]'
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10368:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:33: 
error: `itk::SpatialObject<TDimension>::SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:28: 
error: within this context
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.h:54:   
instantiated from `static itk::SmartPointer<itk::TreeNode<TValueType> > 
itk::TreeNode<TValueType>::New() [with TValueType = itk::SpatialObject<2>]'
/scratch/kent/brains2/iplFreeware/gcc3/DEBUG/Insight-build/Wrapping/CSwig/Algorithms/wrap_itkHistogramMatchingImageFilterTcl.cxx:10368:   
instantiated from here
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/SpatialObject/itkSpatialObject.txx:62: 
error: `itk::SpatialObject<TDimension>::~SpatialObject() [with unsigned 
int TDimension = 2]' is protected
/scratch/kent/brains2/iplFreeware/unpackdir/Insight/Code/Common/itkTreeNode.txx:28: 
error: within this context



More information about the Insight-developers mailing list