summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-11-14 14:56:02 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-11-14 16:52:12 +0100
commitbd2798bed2fddfe00dac006013a9fb1363417f20 (patch)
treea7384779e6f40e213e21648db02707642ff6c24c /include
parentbfceef4da377c32cd59d1e51efb9aa1a21c7f4bd (diff)
downloadastra-bd2798bed2fddfe00dac006013a9fb1363417f20.tar.gz
astra-bd2798bed2fddfe00dac006013a9fb1363417f20.tar.bz2
astra-bd2798bed2fddfe00dac006013a9fb1363417f20.tar.xz
astra-bd2798bed2fddfe00dac006013a9fb1363417f20.zip
Remove unused code
Diffstat (limited to 'include')
-rw-r--r--include/astra/Float32Data3DMemory.h33
1 files changed, 2 insertions, 31 deletions
diff --git a/include/astra/Float32Data3DMemory.h b/include/astra/Float32Data3DMemory.h
index 876aa37..4ebe60b 100644
--- a/include/astra/Float32Data3DMemory.h
+++ b/include/astra/Float32Data3DMemory.h
@@ -52,22 +52,10 @@ protected:
*/
float32* m_pfData;
- /** Array of float32 pointers, each pointing to a single row
- * in the m_pfData memory block.
- * To access element (ix, iy, iz) internally, use m_ppfDataRowInd[iz * m_iHeight + iy][ix]
- */
- float32** m_ppfDataRowInd;
-
- /** Array of float32 pointers, each pointing to a single slice
- * in the m_pfData memory block.
- * To access element (ix, iy, iz) internally, use m_pppfDataSliceInd[iz][iy][ix]
- */
- float32*** m_pppfDataSliceInd;
-
float32 m_fGlobalMin; ///< minimum value of the data
float32 m_fGlobalMax; ///< maximum value of the data
- /** Allocate memory for m_pfData, m_ppfDataRowInd and m_pppfDataSliceInd arrays.
+ /** Allocate memory for m_pfData.
*
* The allocated block consists of m_iSize float32s. The block is
* not cleared after allocation and its contents is undefined.
@@ -75,7 +63,7 @@ protected:
*/
void _allocateData();
- /** Free memory for m_pfData, m_ppfDataRowInd and m_pppfDataSliceInd arrays.
+ /** Free memory for m_pfData.
*
* This function may ONLY be called if the memory for both blocks has been
* allocated before.
@@ -299,23 +287,6 @@ inline const float32* CFloat32Data3DMemory::getDataConst() const
return (const float32*)m_pfData;
}
-//----------------------------------------------------------------------------------------
-// Get a float32** to the data block, represented as a 3-dimensional array of float32 values.
-inline float32*** CFloat32Data3DMemory::getData3D()
-{
- ASTRA_ASSERT(m_bInitialized);
- return m_pppfDataSliceInd;
-}
-
-//----------------------------------------------------------------------------------------
-// Get a const float32** to the data block, represented as a 3-dimensional array of float32 values.
-inline const float32*** CFloat32Data3DMemory::getData3DConst() const
-{
- ASTRA_ASSERT(m_bInitialized);
- return (const float32***)m_pppfDataSliceInd;
-}
-//----------------------------------------------------------------------------------------
-
} // end namespace astra
#endif // _INC_ASTRA_FLOAT32DATA2D