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();
75 
76 private:
77  vtkGESignaReader(const vtkGESignaReader&) VTK_DELETE_FUNCTION;
78  void operator=(const vtkGESignaReader&) VTK_DELETE_FUNCTION;
79 };
80 #endif
81 
82 
general representation of visualization data
Definition: vtkDataObject.h:65
read GE Signa ximg files
virtual const char * GetDescriptiveName()
A descriptive name for this format.
virtual void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual const char * GetFileExtensions()
Valid extentsions.
virtual void ExecuteInformation()
virtual int CanReadFile(const char *fname)
Is the given file a GESigna file?
static vtkGESignaReader * New()
a simple class to control print indentation
Definition: vtkIndent.h:40
Store vtkAlgorithm input/output information.
vtkImageReader2 with medical meta data.