From: Simon Rit Date: Sat, 18 Jun 2011 16:21:53 +0000 (+0200) Subject: uint is not a type X-Git-Tag: v1.3.0~318^2~1 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=aec94df9bf0c625df38d54ba51117cca98503768;p=clitk.git uint is not a type --- diff --git a/segmentation/clitkExtractLymphStation_2RL.txx b/segmentation/clitkExtractLymphStation_2RL.txx index 7e8c834..71298eb 100644 --- a/segmentation/clitkExtractLymphStation_2RL.txx +++ b/segmentation/clitkExtractLymphStation_2RL.txx @@ -35,7 +35,7 @@ void HypercubeCorners(std::vector > & out) { std::vector > previous; HypercubeCorners(previous); out.resize(previous.size()*2); - for(uint i=0; i p; if (i & bounds) { // Get image max/min coordinates - const uint dim=ImageType::ImageDimension; + const unsigned int dim=ImageType::ImageDimension; typedef typename ImageType::PointType PointType; typedef typename ImageType::IndexType IndexType; PointType min_c, max_c; IndexType min_i, max_i; min_i = image->GetLargestPossibleRegion().GetIndex(); - for(uint i=0; iGetLargestPossibleRegion().GetSize()[i] + min_i[i]; + for(unsigned int i=0; iGetLargestPossibleRegion().GetSize()[i] + min_i[i]; image->TransformIndexToPhysicalPoint(min_i, min_c); image->TransformIndexToPhysicalPoint(max_i, max_c); // Get corners coordinates HypercubeCorners(bounds); - for(uint i=0; i(Aorta, 2, slices_Aorta); std::vector slices_Trachea; clitk::ExtractSlices(Trachea, 2, slices_Trachea); - uint n= slices_BrachioCephalicArtery.size(); + unsigned int n= slices_BrachioCephalicArtery.size(); // Get the boundaries of one slice std::vector bounds; @@ -382,7 +383,7 @@ ExtractStation_2RL_Ant_Limits2() std::vector p3D; vtkSmartPointer append = vtkSmartPointer::New(); - for(uint i=0; i(slices_CommonCarotidArtery[i], GetBackgroundValue(), true, 1); @@ -425,12 +426,12 @@ ExtractStation_2RL_Ant_Limits2() centroids6.clear(); } - for(uint j=1; j(slices_Trachea[i], GetBackgroundValue(), centroids_trachea); typedef std::pair PointAngleType; std::vector angles; - for(uint j=0; j()); - for(uint j=0; j toadd; - uint index = 0; + unsigned int index = 0; double dmax = 5; while (index points3D; clitk::PointsUtils::Convert2DListTo3DList(points2D, i, m_Working_Support, points3D); - for(uint x=0; x mesh = Build3DMeshFrom2DContour(points3D);