VTK  9.2.6
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(VTK_FILEPATH const char* fname) override;
52 
56  const char* GetFileExtensions() override { return ".MR .CT"; }
57 
61  const char* GetDescriptiveName() override { return "GESigna"; }
62 
63 protected:
64  vtkGESignaReader() = default;
65  ~vtkGESignaReader() override = default;
66 
67  void ExecuteInformation() override;
69 
70 private:
71  vtkGESignaReader(const vtkGESignaReader&) = delete;
72  void operator=(const vtkGESignaReader&) = delete;
73 };
74 #endif
general representation of visualization data
read GE Signa ximg files
void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation *outInfo) override
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.
vtkGESignaReader()=default
~vtkGESignaReader() override=default
const char * GetFileExtensions() override
Valid extentsions.
const char * GetDescriptiveName() override
A descriptive name for this format.
int CanReadFile(VTK_FILEPATH const char *fname) override
Is the given file a GESigna file?
void ExecuteInformation() override
static vtkGESignaReader * New()
a simple class to control print indentation
Definition: vtkIndent.h:119
Store vtkAlgorithm input/output information.
vtkImageReader2 with medical meta data.
#define VTK_FILEPATH