Program: gdcm
Module: $RCSfile: TestCommand.cxx,v $
Language: C++
- Date: $Date: 2005/11/28 17:28:58 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2005/11/30 08:48:15 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
fctExecuted = true;
}
-int TestCommand(int argc, char *argv[])
+int TestCommand(int , char *[])
{
int error=0;
Program: gdcm
Module: $RCSfile: gdcmDictEntry.cxx,v $
Language: C++
- Date: $Date: 2005/11/29 17:21:34 $
- Version: $Revision: 1.58 $
+ Date: $Date: 2005/11/30 08:48:17 $
+ Version: $Revision: 1.59 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* @param os ostream we want to print in
* @param indent Indentation string to be prepended during printing
*/
-void DictEntry::Print(std::ostream &os, std::string const &indent )
+void DictEntry::Print(std::ostream &os, std::string const & )
{
os << GetKey();
os << " [" << VR << "] ";
Program: gdcm
Module: $RCSfile: gdcmDocEntrySet.h,v $
Language: C++
- Date: $Date: 2005/11/29 12:48:47 $
- Version: $Revision: 1.66 $
+ Date: $Date: 2005/11/30 08:48:17 $
+ Version: $Revision: 1.67 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
VRKey const &vr = GDCM_VRUNKNOWN);
SeqEntry *NewSeqEntry(uint16_t group, uint16_t elem);
- virtual void Copy(DocEntrySet *set) {};
+ virtual void Copy(DocEntrySet *) {};
protected:
/// Canonical Constructor
Program: gdcm
Module: $RCSfile: gdcmSerieHelper.cxx,v $
Language: C++
- Date: $Date: 2005/11/28 17:23:37 $
- Version: $Revision: 1.38 $
+ Date: $Date: 2005/11/30 08:48:17 $
+ Version: $Revision: 1.39 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
double min = 0, max = 0;
bool first = true;
- std::multimap<float,File *> distmultimap;
+ std::multimap<double,File *> distmultimap;
// Use a multimap to sort the distances from 0,0,0
for ( FileList::const_iterator
it = fileList->begin();
dist += normal[i]*ipp[i];
}
- distmultimap.insert(std::pair<const float,File *>(dist, *it));
+ distmultimap.insert(std::pair<const double,File *>(dist, *it));
max = min = dist;
first = false;
dist += normal[i]*ipp[i];
}
- distmultimap.insert(std::pair<const float,File *>(dist, *it));
+ distmultimap.insert(std::pair<const double,File *>(dist, *it));
min = (min < dist) ? min : dist;
max = (max > dist) ? max : dist;
// Check to see if image shares a common position
bool ok = true;
- for (std::multimap<float, File *>::iterator it2 = distmultimap.begin();
+ for (std::multimap<double, File *>::iterator it2 = distmultimap.begin();
it2 != distmultimap.end();
++it2)
{
if (DirectOrder)
{
- for (std::multimap<float, File *>::iterator it3 = distmultimap.begin();
+ for (std::multimap<double, File *>::iterator it3 = distmultimap.begin();
it3 != distmultimap.end();
++it3)
{
}
else // user asked for reverse order
{
- std::multimap<float, File *>::const_iterator it4;
+ std::multimap<double, File *>::const_iterator it4;
it4 = distmultimap.end();
do
{