VTK  9.3.1
vtkGaussianCubeReader2.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkGaussianCubeReader2_h
14 #define vtkGaussianCubeReader2_h
15 
16 #include "vtkIOChemistryModule.h" // For export macro
17 #include "vtkMoleculeAlgorithm.h"
18 
19 VTK_ABI_NAMESPACE_BEGIN
20 class vtkMolecule;
21 class vtkImageData;
22 
23 class VTKIOCHEMISTRY_EXPORT vtkGaussianCubeReader2 : public vtkMoleculeAlgorithm
24 {
25 public:
26  static vtkGaussianCubeReader2* New();
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
31 
35  void SetOutput(vtkMolecule*) override;
37 
41  vtkImageData* GetGridOutput();
42 
44 
47  vtkSetFilePathMacro(FileName);
48  vtkGetFilePathMacro(FileName);
50 
51 protected:
53  ~vtkGaussianCubeReader2() override;
54 
57  int FillOutputPortInformation(int, vtkInformation*) override;
58 
59  char* FileName;
60 
61 private:
63  void operator=(const vtkGaussianCubeReader2&) = delete;
64 };
65 
66 VTK_ABI_NAMESPACE_END
67 #endif
Store vtkAlgorithm input/output information.
class describing a molecule
Definition: vtkMolecule.h:83
static vtkMoleculeAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void SetOutput(vtkMolecule *d)
Get the output data object for a port on this algorithm.
Superclass for algorithms that operate on vtkMolecules.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
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.