VTK  9.3.0
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:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
31 
35  void SetOutput(vtkMolecule*) override;
37 
42 
44 
50 
51 protected:
54 
58 
59  char* FileName;
60 
61 private:
63  void operator=(const vtkGaussianCubeReader2&) = delete;
64 };
65 
66 VTK_ABI_NAMESPACE_END
67 #endif
Read a Gaussian Cube file and output a vtkMolecule object and a vtkImageData.
vtkGetFilePathMacro(FileName)
Get/Set the name of the CML file.
vtkSetFilePathMacro(FileName)
Get/Set the name of the CML file.
~vtkGaussianCubeReader2() override
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkGaussianCubeReader2 * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageData * GetGridOutput()
Get/Set the output (vtkImageData) that the reader will fill.
void SetOutput(vtkMolecule *) override
Get/Set the output (vtkMolecule) that the reader will fill.
vtkMolecule * GetOutput()
Get/Set the output (vtkMolecule) that the reader will fill.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that operate on vtkMolecules.
class describing a molecule
Definition: vtkMolecule.h:84