VTK  9.3.20240425
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
18
19VTK_ABI_NAMESPACE_BEGIN
20class vtkMolecule;
21class vtkImageData;
22
23class VTKIOCHEMISTRY_EXPORT vtkGaussianCubeReader2 : public vtkMoleculeAlgorithm
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
31
35 void SetOutput(vtkMolecule*) override;
37
42
44
50
51protected:
54
58
59 char* FileName;
60
61private:
63 void operator=(const vtkGaussianCubeReader2&) = delete;
64};
65
66VTK_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
vtkMolecule * GetOutput()
Get/Set the output (vtkMolecule) that the reader will fill.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkGaussianCubeReader2 * New()
void SetOutput(vtkMolecule *) override
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.
vtkImageData * GetGridOutput()
Get/Set the output (vtkImageData) that the reader will fill.
topologically and geometrically regular array of data
a simple class to control print indentation
Definition vtkIndent.h:108
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