diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2014-12-02 14:20:46 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2014-12-02 14:22:02 +0100 |
commit | b3e8338a7fa4c7ed9a5954ca02fa3126aefff530 (patch) | |
tree | e68d4cfeb680ad2d491cc92a3efe5f9a4c9210c2 /src/ConeVecProjectionGeometry3D.cpp | |
parent | bdc9cc8c8c06b1bf25d24ae242cad708fc0f9b14 (diff) | |
download | astra-b3e8338a7fa4c7ed9a5954ca02fa3126aefff530.tar.gz astra-b3e8338a7fa4c7ed9a5954ca02fa3126aefff530.tar.bz2 astra-b3e8338a7fa4c7ed9a5954ca02fa3126aefff530.tar.xz astra-b3e8338a7fa4c7ed9a5954ca02fa3126aefff530.zip |
Add ProjectionGeometry3D::projectPoint for par3d and cone.
Par3d_vec and cone_vec to follow.
Diffstat (limited to 'src/ConeVecProjectionGeometry3D.cpp')
-rw-r--r-- | src/ConeVecProjectionGeometry3D.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ConeVecProjectionGeometry3D.cpp b/src/ConeVecProjectionGeometry3D.cpp index 875a2c7..29d84b7 100644 --- a/src/ConeVecProjectionGeometry3D.cpp +++ b/src/ConeVecProjectionGeometry3D.cpp @@ -220,6 +220,15 @@ CVector3D CConeVecProjectionGeometry3D::getProjectionDirection(int _iProjectionI return CVector3D(p.fDetSX + (u+0.5)*p.fDetUX + (v+0.5)*p.fDetVX - p.fSrcX, p.fDetSY + (u+0.5)*p.fDetUY + (v+0.5)*p.fDetVY - p.fSrcY, p.fDetSZ + (u+0.5)*p.fDetUZ + (v+0.5)*p.fDetVZ - p.fSrcZ); } +void CConeVecProjectionGeometry3D::projectPoint(float32 fX, float32 fY, float32 fZ, + int iAngleIndex, + float32 &fU, float32 &fV) const +{ +#warning implementme + fU = 0.0f/0.0f; + fV = 0.0f/0.0f; +} + //---------------------------------------------------------------------------------------- |