]> 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 07da598..42883f7 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 d5dd7a0..15badeb 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 924048d..e638f0f 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 d0e470f..e1697e4 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 *,"");