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) override;
47 
51  int CanReadFile(const char* fname) override;
52 
56  const char* GetFileExtensions() override
57  {
58  return ".MR .CT";
59  }
60 
64  const char* GetDescriptiveName() override
65  {
66  return "GESigna";
67  }
68 
69 protected:
71  ~vtkGESignaReader() override {}
72 
73  void ExecuteInformation() override;
74  void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation* outInfo) override;
75 
76 private:
77  vtkGESignaReader(const vtkGESignaReader&) = delete;
78  void operator=(const vtkGESignaReader&) = delete;
79 };
80 #endif
81 
82 
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:39
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:64