Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #ifndef __cmtkIntersection_h_included_
00034 #define __cmtkIntersection_h_included_
00035
00036 #include <Base/cmtkVector3D.h>
00037
00038 namespace
00039 cmtk
00040 {
00041
00044
00064 class Intersection
00065 {
00066 public:
00106 static int IntersectX ( Types::Coordinate& fromFactor, Types::Coordinate& toFactor,
00107 const Vector3D& offset, const Vector3D& dX,
00108 const Types::Coordinate Size[3],
00109 const Types::Coordinate initFromFactor = 0,
00110 const Types::Coordinate initToFactor = 1,
00111 const int lowerClosed = 0,
00112 const int upperClosed = 0 );
00113
00151 static int IntersectY ( Types::Coordinate& fromFactor, Types::Coordinate& toFactor,
00152 const Vector3D& offset, const Vector3D& dX,
00153 const Vector3D& dY, const Types::Coordinate Size[3],
00154 const Types::Coordinate initFromFactor = 0,
00155 const Types::Coordinate initToFactor = 1 );
00156
00200 static int IntersectZ ( Types::Coordinate& fromFactor, Types::Coordinate& toFactor,
00201 const Vector3D& offset, const Vector3D& dX,
00202 const Vector3D& dY, const Vector3D& dZ,
00203 const Types::Coordinate Size[3],
00204 const Types::Coordinate initFromFactor = 0,
00205 const Types::Coordinate initToFactor = 1 );
00206
00207 };
00208
00210
00211 }
00212
00213 #endif // #ifndef __cmtkIntersection_h_included_