Program: gdcm
Module: $RCSfile: vtkGdcmReader.cxx,v $
Language: C++
- Date: $Date: 2005/08/20 22:29:46 $
- Version: $Revision: 1.75 $
+ Date: $Date: 2005/08/22 12:30:36 $
+ Version: $Revision: 1.76 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include <vtkPointData.h>
#include <vtkLookupTable.h>
-vtkCxxRevisionMacro(vtkGdcmReader, "$Revision: 1.75 $")
+vtkCxxRevisionMacro(vtkGdcmReader, "$Revision: 1.76 $")
vtkStandardNewMacro(vtkGdcmReader)
//-----------------------------------------------------------------------------
{
this->LookupTable = NULL;
this->AllowLookupTable = 0;
- this->LightChecking = false;
+ this->AllowLightChecking = 0;
this->LoadMode = 0; // Load everything (possible values : NO_SEQ, NO_SHADOW,
// NO_SHADOWSEQ)
this->CoherentFileList = 0;
* Ask for a 'light' checking -actually : just initializing-
*if you are 150% sure *all* the files are coherent
*/
-void vtkGdcmReader::SetCheckFileCoherenceLight()
-{
- LightChecking = true;
-}
+//void vtkGdcmReader::SetCheckFileCoherenceLight()
+//{
+// LightChecking = true;
+//}
//-----------------------------------------------------------------------------
// Protected
{
if ( this->CoherentFileList != 0 )
this->TotalNumberOfPlanes = this->CheckFileCoherenceAlreadyDone();
- else if ( this->LightChecking )
+ else if ( this->AllowLightChecking )
this->TotalNumberOfPlanes = this->CheckFileCoherenceLight();
else
this->TotalNumberOfPlanes = this->CheckFileCoherence();
Program: gdcm
Module: $RCSfile: vtkGdcmReader.h,v $
Language: C++
- Date: $Date: 2005/07/30 18:31:25 $
- Version: $Revision: 1.24 $
+ Date: $Date: 2005/08/22 12:30:36 $
+ Version: $Revision: 1.25 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
virtual void SetFileName(const char *name);
void SetCoherentFileList( std::vector<gdcm::File* > *cfl) {
CoherentFileList = cfl; }
- void SetCheckFileCoherenceLight();
+ //void SetCheckFileCoherenceLight();
+ vtkSetMacro(AllowLightChecking, int);
+ vtkGetMacro(AllowLightChecking, int);
+ vtkBooleanMacro(AllowLightChecking, int);
+
void SetUserFunction (VOID_FUNCTION_PUINT8_PFILE_POINTER userFunc )
{ UserFunction = userFunc; }
// Description:
vtkLookupTable *LookupTable;
vtkTimeStamp fileTime;
int AllowLookupTable;
- bool LightChecking;
+
+ int AllowLightChecking;
//BTX
// Number of columns of the image/volume to be loaded