From 295ad96290c78a57ef982100014b1242a89d915c Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 3 Nov 2021 11:42:13 +0100 Subject: Remove unused backprojectPointX/Y/Z functions --- include/astra/ConeProjectionGeometry3D.h | 6 ------ include/astra/ConeVecProjectionGeometry3D.h | 6 ------ include/astra/ParallelProjectionGeometry3D.h | 7 ------- include/astra/ParallelVecProjectionGeometry3D.h | 6 ------ include/astra/ProjectionGeometry3D.h | 15 --------------- 5 files changed, 40 deletions(-) (limited to 'include/astra') diff --git a/include/astra/ConeProjectionGeometry3D.h b/include/astra/ConeProjectionGeometry3D.h index c1750b0..8e811ea 100644 --- a/include/astra/ConeProjectionGeometry3D.h +++ b/include/astra/ConeProjectionGeometry3D.h @@ -188,12 +188,6 @@ public: virtual void projectPoint(double fX, double fY, double fZ, int iAngleIndex, double &fU, double &fV) const; - virtual void backprojectPointX(int iAngleIndex, double fU, double fV, - double fX, double &fY, double &fZ) const; - virtual void backprojectPointY(int iAngleIndex, double fU, double fV, - double fY, double &fX, double &fZ) const; - virtual void backprojectPointZ(int iAngleIndex, double fU, double fV, - double fZ, double &fX, double &fY) const; }; diff --git a/include/astra/ConeVecProjectionGeometry3D.h b/include/astra/ConeVecProjectionGeometry3D.h index 81adb98..924b89b 100644 --- a/include/astra/ConeVecProjectionGeometry3D.h +++ b/include/astra/ConeVecProjectionGeometry3D.h @@ -150,12 +150,6 @@ public: virtual void projectPoint(double fX, double fY, double fZ, int iAngleIndex, double &fU, double &fV) const; - virtual void backprojectPointX(int iAngleIndex, double fU, double fV, - double fX, double &fY, double &fZ) const; - virtual void backprojectPointY(int iAngleIndex, double fU, double fV, - double fY, double &fX, double &fZ) const; - virtual void backprojectPointZ(int iAngleIndex, double fU, double fV, - double fZ, double &fX, double &fY) const; protected: virtual bool initializeAngles(const Config& _cfg); diff --git a/include/astra/ParallelProjectionGeometry3D.h b/include/astra/ParallelProjectionGeometry3D.h index d4b34ea..998decc 100644 --- a/include/astra/ParallelProjectionGeometry3D.h +++ b/include/astra/ParallelProjectionGeometry3D.h @@ -149,13 +149,6 @@ public: virtual void projectPoint(double fX, double fY, double fZ, int iAngleIndex, double &fU, double &fV) const; - virtual void backprojectPointX(int iAngleIndex, double fU, double fV, - double fX, double &fY, double &fZ) const; - virtual void backprojectPointY(int iAngleIndex, double fU, double fV, - double fY, double &fX, double &fZ) const; - virtual void backprojectPointZ(int iAngleIndex, double fU, double fV, - double fZ, double &fX, double &fY) const; - /** * Creates (= allocates) a 2D projection geometry used when projecting one slice using a 2D projector diff --git a/include/astra/ParallelVecProjectionGeometry3D.h b/include/astra/ParallelVecProjectionGeometry3D.h index 01e7295..a937c17 100644 --- a/include/astra/ParallelVecProjectionGeometry3D.h +++ b/include/astra/ParallelVecProjectionGeometry3D.h @@ -151,12 +151,6 @@ public: virtual void projectPoint(double fX, double fY, double fZ, int iAngleIndex, double &fU, double &fV) const; - virtual void backprojectPointX(int iAngleIndex, double fU, double fV, - double fX, double &fY, double &fZ) const; - virtual void backprojectPointY(int iAngleIndex, double fU, double fV, - double fY, double &fX, double &fZ) const; - virtual void backprojectPointZ(int iAngleIndex, double fU, double fV, - double fZ, double &fX, double &fY) const; protected: virtual bool initializeAngles(const Config& _cfg); diff --git a/include/astra/ProjectionGeometry3D.h b/include/astra/ProjectionGeometry3D.h index a665c6c..2cff9f1 100644 --- a/include/astra/ProjectionGeometry3D.h +++ b/include/astra/ProjectionGeometry3D.h @@ -320,21 +320,6 @@ public: int iAngleIndex, double &fU, double &fV) const = 0; - /* Backproject a point onto a plane parallel to a coordinate plane. - * The 2D point coordinates are the (unrounded) indices of the detector - * column and row. The output is in 3D coordinates in units. - * are in units. The output fU,fV are the (unrounded) indices of the - * detector column and row. - * This may fall outside of the actual detector. - */ - virtual void backprojectPointX(int iAngleIndex, double fU, double fV, - double fX, double &fY, double &fZ) const = 0; - virtual void backprojectPointY(int iAngleIndex, double fU, double fV, - double fY, double &fX, double &fZ) const = 0; - virtual void backprojectPointZ(int iAngleIndex, double fU, double fV, - double fZ, double &fX, double &fY) const = 0; - - /** Returns true if the type of geometry defined in this class is the one specified in _sType. * * @param _sType geometry type to compare to. -- cgit v1.2.3