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 =========================================================================*/
32 #ifndef vtkGESignaReader_h
33 #define vtkGESignaReader_h
34 
35 #include "vtkIOImageModule.h" // For export macro
36 #include "vtkMedicalImageReader2.h"
37 
38 class VTKIOIMAGE_EXPORT vtkGESignaReader : public vtkMedicalImageReader2
39 {
40 public:
41  static vtkGESignaReader *New();
43  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
44 
48  int CanReadFile(const char* fname) VTK_OVERRIDE;
49 
53  const char* GetFileExtensions() VTK_OVERRIDE
54  {
55  return ".MR .CT";
56  }
57 
61  const char* GetDescriptiveName() VTK_OVERRIDE
62  {
63  return "GESigna";
64  }
65 
66 protected:
68  ~vtkGESignaReader() VTK_OVERRIDE {}
69 
70  void ExecuteInformation() VTK_OVERRIDE;
71  void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation* outInfo) VTK_OVERRIDE;
72 
73 private:
74  vtkGESignaReader(const vtkGESignaReader&) VTK_DELETE_FUNCTION;
75  void operator=(const vtkGESignaReader&) VTK_DELETE_FUNCTION;
76 };
77 #endif
78 
79 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store vtkAlgorithm input/output information.
read GE Signa ximg files
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
static vtkMedicalImageReader2 * New()
~vtkGESignaReader() override
virtual int CanReadFile(const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
const char * GetFileExtensions() override
Valid extentsions.
a simple class to control print indentation
Definition: vtkIndent.h:33
virtual void ExecuteInformation()
const char * GetDescriptiveName() override
A descriptive name for this format.
vtkImageReader2 with medical meta data.
general representation of visualization data
Definition: vtkDataObject.h:58