VTK
vtkGESignaReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGESignaReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
35 #ifndef vtkGESignaReader_h
36 #define vtkGESignaReader_h
37 
38 #include "vtkIOImageModule.h" // For export macro
39 #include "vtkMedicalImageReader2.h"
40 
41 class VTKIOIMAGE_EXPORT vtkGESignaReader : public vtkMedicalImageReader2
42 {
43 public:
44  static vtkGESignaReader *New();
46  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
47 
51  virtual int CanReadFile(const char* fname);
52 
56  virtual const char* GetFileExtensions()
57  {
58  return ".MR .CT";
59  }
60 
64  virtual const char* GetDescriptiveName()
65  {
66  return "GESigna";
67  }
68 
69 protected:
72 
73  virtual void ExecuteInformation();
74  virtual void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation* outInfo);
75 
76 private:
77  vtkGESignaReader(const vtkGESignaReader&) VTK_DELETE_FUNCTION;
78  void operator=(const vtkGESignaReader&) VTK_DELETE_FUNCTION;
79 };
80 #endif
81 
82 
virtual const char * GetFileExtensions()
Valid extentsions.
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
read GE Signa ximg files
static vtkMedicalImageReader2 * New()
virtual int CanReadFile(const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual void ExecuteInformation()
virtual const char * GetDescriptiveName()
A descriptive name for this format.
vtkImageReader2 with medical meta data.
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
general representation of visualization data
Definition: vtkDataObject.h:64