]> Creatis software - bbtk.git/commitdiff
Improve Comments
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 4 Jun 2009 14:11:24 +0000 (14:11 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 4 Jun 2009 14:11:24 +0000 (14:11 +0000)
packages/gdcmvtk/src/bbgdcmvtkGetInfoGdcmReader.cxx
packages/gdcmvtk/src/bbgdcmvtkGetInfoGdcmReader.h
packages/gdcmvtk/src/bbgdcmvtkGetXCoherentInfoGdcmReader.cxx
packages/gdcmvtk/src/bbgdcmvtkGetXCoherentInfoGdcmReader.h

index 07da598549592d325533c17d2c0a8562c57c2218..42883f78e86c0c7b706eea4669dba5f2edabe899 100644 (file)
@@ -26,7 +26,7 @@ void GetInfoGdcmReader::Process()
       bbSetOutputOut(0);
       return;
    }
- // Get info from the image file
+ // Get info from THE image file (only *one* as input)
    int i;
    std::vector<double> v_iop;
    float iop[6];
index d5dd7a08c57910e2ffe57464105bf353fb9242e3..15badeb65964b24837a2488bce38f996656ee817 100644 (file)
@@ -38,7 +38,7 @@ class bbgdcmvtk_EXPORT GetInfoGdcmReader
 BBTK_BEGIN_DESCRIBE_BLACK_BOX(GetInfoGdcmReader,bbtk::AtomicBlackBox);
 BBTK_NAME("GetInfoGdcmReader");
 BBTK_AUTHOR("jpr, eduardo");
-BBTK_DESCRIPTION("Get Dicom info and read (as a vtkImageData)");
+BBTK_DESCRIPTION("Get Dicom info (for a single File) and read (as a vtkImageData)");
 BBTK_CATEGORY("");
 
 BBTK_INPUT(GetInfoGdcmReader,In,           "Dicom image file name",       std::string,"");
index 924048da37c094762fd710d6d33e8ef065af8275..e638f0ffa55f62b4d3b0e950319668ce83602f4e 100644 (file)
@@ -14,7 +14,7 @@ BBTK_ADD_BLACK_BOX_TO_PACKAGE(gdcmvtk,GetXCoherentInfoGdcmReader)
 BBTK_BLACK_BOX_IMPLEMENTATION(GetXCoherentInfoGdcmReader,bbtk::AtomicBlackBox);
 void GetXCoherentInfoGdcmReader::Process()
 {
- // Read the first image file    
+ // Read the *first* image file (a SET of file names is given as input) 
    f = GDCM_NAME_SPACE::File::New();
    f->SetFileName( bbGetInputIn()[0] );
    bool res = f->Load();  
@@ -41,7 +41,7 @@ void GetXCoherentInfoGdcmReader::Process()
    bbSetOutputIPP(v_ipp );
 
 
-// Add all the files to the SerieHelper
+// Add *all the files* to the SerieHelper
    sh = GDCM_NAME_SPACE::SerieHelper::New();
    std::vector<std::string> gii = bbGetInputIn();
    for(std::vector<std::string>::iterator it = gii.begin();
index d0e470fe69c2a63eb0342daeb60b3b1679f943fe..e1697e4227513376ced046171b8bb369a0c7b725 100644 (file)
@@ -42,10 +42,10 @@ class bbgdcmvtk_EXPORT GetXCoherentInfoGdcmReader
 BBTK_BEGIN_DESCRIBE_BLACK_BOX(GetXCoherentInfoGdcmReader,bbtk::AtomicBlackBox);
 BBTK_NAME("GetXCoherentInfoGdcmReader");
 BBTK_AUTHOR("jpr, eduardo");
-BBTK_DESCRIPTION("Get Dicom info from a File Set and read (as a vtkImageData)");
+BBTK_DESCRIPTION("Get Dicom info from a File Set (a list of Dicom image file names) and read (as a vtkImageData)");
 BBTK_CATEGORY("");
 
-BBTK_INPUT(GetXCoherentInfoGdcmReader,In,     "Dicom image file name",std::vector<std::string>,"");
+BBTK_INPUT(GetXCoherentInfoGdcmReader,In,     "List of Dicom image file names", std::vector<std::string>,"");
 BBTK_INPUT(GetXCoherentInfoGdcmReader,IPPSort,"Sort on Image Position Patient",bool,"");
 
 BBTK_OUTPUT(GetXCoherentInfoGdcmReader,Out,         "Output image",                vtkImageData *,"");