From b3e8338a7fa4c7ed9a5954ca02fa3126aefff530 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Tue, 2 Dec 2014 14:20:46 +0100 Subject: Add ProjectionGeometry3D::projectPoint for par3d and cone. Par3d_vec and cone_vec to follow. --- include/astra/ConeVecProjectionGeometry3D.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/astra/ConeVecProjectionGeometry3D.h') diff --git a/include/astra/ConeVecProjectionGeometry3D.h b/include/astra/ConeVecProjectionGeometry3D.h index 1765cdd..e58200a 100644 --- a/include/astra/ConeVecProjectionGeometry3D.h +++ b/include/astra/ConeVecProjectionGeometry3D.h @@ -147,6 +147,10 @@ public: virtual CVector3D getProjectionDirection(int _iProjectionIndex, int _iDetectorIndex) const; const SConeProjection* getProjectionVectors() const { return m_pProjectionAngles; } + + virtual void projectPoint(float32 fX, float32 fY, float32 fZ, + int iAngleIndex, + float32 &fU, float32 &fV) const; }; } // namespace astra -- cgit v1.2.3