VTK
vtkGaussianCubeReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGaussianCubeReader.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 =========================================================================*/
29 #ifndef __vtkGaussianCubeReader_h
30 #define __vtkGaussianCubeReader_h
31 
32 #include "vtkIOImageModule.h" // For export macro
33 #include "vtkMoleculeReaderBase.h"
34 
35 class vtkImageData;
36 class vtkTransform;
37 
38 class VTKIOIMAGE_EXPORT vtkGaussianCubeReader : public vtkMoleculeReaderBase
39 {
40 public:
41  static vtkGaussianCubeReader *New();
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
45  vtkGetObjectMacro(Transform,vtkTransform);
46  vtkSetStringMacro(FileName);
47  vtkGetStringMacro(FileName);
48  vtkImageData *GetGridOutput();
49 
50 protected:
53 
54  char *FileName;
56 
59 
60  void ReadSpecificMolecule(FILE* fp);
61 
62  virtual int FillOutputPortInformation(int, vtkInformation*);
63 private:
64  vtkGaussianCubeReader(const vtkGaussianCubeReader&); // Not implemented.
65  void operator=(const vtkGaussianCubeReader&); // Not implemented.
66 };
67 
68 #endif