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) override;
40 
42 
46  void SetOutput(vtkMolecule *) override;
48 
52  vtkImageData *GetGridOutput();
53 
55 
58  vtkSetStringMacro(FileName);
59  vtkGetStringMacro(FileName);
61 
62 protected:
64  ~vtkGaussianCubeReader2() override;
65 
67  vtkInformationVector *) override;
69  vtkInformationVector *) override;
70  int FillOutputPortInformation(int, vtkInformation*) override;
71 
72  char *FileName;
73 private:
75  void operator=(const vtkGaussianCubeReader2&) = delete;
76 };
77 
78 #endif
vtkMoleculeAlgorithm
Superclass for algorithms that operate on vtkMolecules.
Definition: vtkMoleculeAlgorithm.h:42
vtkGaussianCubeReader2
Read a Gaussian Cube file and output a vtkMolecule object and a vtkImageData.
Definition: vtkGaussianCubeReader2.h:34
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkMoleculeAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkMoleculeAlgorithm.h
vtkMoleculeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkMolecule
class describing a molecule
Definition: vtkMolecule.h:94
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkMoleculeAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkMoleculeAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkMoleculeAlgorithm::SetOutput
virtual void SetOutput(vtkMolecule *d)
vtkGaussianCubeReader2::FileName
char * FileName
Definition: vtkGaussianCubeReader2.h:72
vtkMoleculeAlgorithm::GetOutput
vtkMolecule * GetOutput()
Get the output data object for a port on this algorithm.
vtkMoleculeAlgorithm::New
static vtkMoleculeAlgorithm * New()