summaryrefslogtreecommitdiffstats
path: root/include/astra
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be>2014-04-16 11:13:17 +0000
committerwpalenst <WillemJan.Palenstijn@uantwerpen.be>2014-04-16 11:13:17 +0000
commit8b046691e7cf5ba603b690e5a820869f7aba0bb6 (patch)
treef46b1b2ff42e93d1c5a8d99416c6b1c58925184f /include/astra
parent26033e740147510683e499ceda3b52b51cc67e41 (diff)
downloadastra-8b046691e7cf5ba603b690e5a820869f7aba0bb6.tar.gz
astra-8b046691e7cf5ba603b690e5a820869f7aba0bb6.tar.bz2
astra-8b046691e7cf5ba603b690e5a820869f7aba0bb6.tar.xz
astra-8b046691e7cf5ba603b690e5a820869f7aba0bb6.zip
Clean up sstream include
Diffstat (limited to 'include/astra')
-rw-r--r--include/astra/Float32Data2D.h12
-rw-r--r--include/astra/Float32Data3D.h12
2 files changed, 0 insertions, 24 deletions
diff --git a/include/astra/Float32Data2D.h b/include/astra/Float32Data2D.h
index c89e9f8..062feb5 100644
--- a/include/astra/Float32Data2D.h
+++ b/include/astra/Float32Data2D.h
@@ -32,8 +32,6 @@ $Id$
#include "Globals.h"
#include "Float32Data.h"
-#include <sstream>
-
namespace astra {
/**
@@ -434,16 +432,6 @@ inline int CFloat32Data2D::getDimensionCount() const
}
//----------------------------------------------------------------------------------------
-inline std::string CFloat32Data2D::description() const
-{
- std::stringstream res;
- res << m_iWidth << "x" << m_iHeight;
- if (getType() == CFloat32Data2D::PROJECTION) res << " sinogram data \t";
- if (getType() == CFloat32Data2D::VOLUME) res << " volume data \t";
- return res.str();
-}
-
-//----------------------------------------------------------------------------------------
// Get the type of this object.
inline CFloat32Data2D::EDataType CFloat32Data2D::getType() const
{
diff --git a/include/astra/Float32Data3D.h b/include/astra/Float32Data3D.h
index 8666890..ee385f0 100644
--- a/include/astra/Float32Data3D.h
+++ b/include/astra/Float32Data3D.h
@@ -182,18 +182,6 @@ inline CFloat32Data3D::EDataType CFloat32Data3D::getType() const
return BASE;
}
-//----------------------------------------------------------------------------------------
-// To String
-inline std::string CFloat32Data3D::description() const
-{
- std::stringstream res;
- res << m_iWidth << "x" << m_iHeight << "x" << m_iDepth;
- if (getType() == CFloat32Data3D::PROJECTION) res << " sinogram data \t";
- if (getType() == CFloat32Data3D::VOLUME) res << " volume data \t";
- return res.str();
-}
-//----------------------------------------------------------------------------------------
-
} // end namespace astra
#endif // _INC_ASTRA_FLOAT32DATA2D