Closed JacquesOlivierLachaud closed 10 years ago
There are a few type issues in Display3D which impose the KhalimskySpace and the Space to use int32_t. For instance, in Display3D.ih
template < typename Space ,typename KSpace > inline typename DGtal::CanonicEmbedder::RealPoint DGtal::Display3D< Space ,KSpace >::embed( const DGtal::Z3i::Point & dp ) const { ASSERT( myEmbedder->isValid()); return myEmbedder->embed(dp); }
template < typename Space ,typename KSpace > inline typename DGtal::CanonicSCellEmbedder::RealPoint DGtal::Display3D< Space ,KSpace >::embedKS( const DGtal::Z3i::SCell & scell ) const { ASSERT( mySCellEmbedder->isValid()); return mySCellEmbedder->embed(scell); }
The methods embed and embedKS should take "typename Space::Point" and "typename KSpace::SCell".
Yes right thank, I do it
done
can this issue be closed?
Yes sure ;) I close.
There are a few type issues in Display3D which impose the KhalimskySpace and the Space to use int32_t. For instance, in Display3D.ih
template < typename Space ,typename KSpace > inline typename DGtal::CanonicEmbedder::RealPoint
DGtal::Display3D< Space ,KSpace >::embed( const DGtal::Z3i::Point & dp ) const
{
ASSERT( myEmbedder->isValid());
return myEmbedder->embed(dp);
}
template < typename Space ,typename KSpace > inline typename DGtal::CanonicSCellEmbedder::RealPoint
DGtal::Display3D< Space ,KSpace >::embedKS( const DGtal::Z3i::SCell & scell ) const
{
ASSERT( mySCellEmbedder->isValid());
return mySCellEmbedder->embed(scell);
}
The methods embed and embedKS should take "typename Space::Point" and "typename KSpace::SCell".