VTK  9.1.0
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 "vtkIOChemistryModule.h" // For export macro
30
31class vtkMolecule;
32class vtkImageData;
33
34class VTKIOCHEMISTRY_EXPORT vtkGaussianCubeReader2 : public vtkMoleculeAlgorithm
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
42
46 void SetOutput(vtkMolecule*) override;
48
53
55
61
62protected:
65
69
70 char* FileName;
71
72private:
74 void operator=(const vtkGaussianCubeReader2&) = delete;
75};
76
77#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
Definition: vtkImageData.h:157
a simple class to control print indentation
Definition: vtkIndent.h:113
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:111