VTK
vtkGaussianCubeReader2.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGaussianCubeReader2.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 =========================================================================*/
25 #ifndef vtkGaussianCubeReader2_h
26 #define vtkGaussianCubeReader2_h
27 
28 #include "vtkDomainsChemistryModule.h" // For export macro
29 #include "vtkMoleculeAlgorithm.h"
30 
31 class vtkMolecule;
32 class vtkImageData;
33 
34 class VTKDOMAINSCHEMISTRY_EXPORT vtkGaussianCubeReader2 : public vtkMoleculeAlgorithm
35 {
36 public:
37  static vtkGaussianCubeReader2 *New();
39  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
40 
42 
46  void SetOutput(vtkMolecule *) VTK_OVERRIDE;
48 
52  vtkImageData *GetGridOutput();
53 
55 
58  vtkSetStringMacro(FileName);
59  vtkGetStringMacro(FileName);
61 
62 protected:
64  ~vtkGaussianCubeReader2() VTK_OVERRIDE;
65 
66  int RequestData(vtkInformation *, vtkInformationVector **,
67  vtkInformationVector *) VTK_OVERRIDE;
68  int RequestInformation(vtkInformation *, vtkInformationVector **,
69  vtkInformationVector *) VTK_OVERRIDE;
70  int FillOutputPortInformation(int, vtkInformation*) VTK_OVERRIDE;
71 
72  char *FileName;
73 private:
74  vtkGaussianCubeReader2(const vtkGaussianCubeReader2&) VTK_DELETE_FUNCTION;
75  void operator=(const vtkGaussianCubeReader2&) VTK_DELETE_FUNCTION;
76 };
77 
78 #endif
Store vtkAlgorithm input/output information.
class describing a molecule
Definition: vtkMolecule.h:87
static vtkMoleculeAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetOutput(vtkMolecule *d)
Get the output data object for a port on this algorithm.
Superclass for algorithms that operate on vtkMolecules.
a simple class to control print indentation
Definition: vtkIndent.h:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Store zero or more vtkInformation instances.
vtkMolecule * GetOutput()
Get the output data object for a port on this algorithm.
Read a Gaussian Cube file and output a vtkMolecule object and a vtkImageData.