VTK  9.0.1
vtkGaussianCubeReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGaussianCubeReader.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 =========================================================================*/
27 #ifndef vtkGaussianCubeReader_h
28 #define vtkGaussianCubeReader_h
29 
30 #include "vtkIOGeometryModule.h" // For export macro
31 #include "vtkMoleculeReaderBase.h"
32 
33 class vtkImageData;
34 class vtkTransform;
35 
36 class VTKIOGEOMETRY_EXPORT vtkGaussianCubeReader : public vtkMoleculeReaderBase
37 {
38 public:
39  static vtkGaussianCubeReader* New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
43  vtkGetObjectMacro(Transform, vtkTransform);
44  vtkImageData* GetGridOutput();
45 
46 protected:
48  ~vtkGaussianCubeReader() override;
49 
51 
54 
55  void ReadSpecificMolecule(FILE* fp) override;
56 
57  int FillOutputPortInformation(int, vtkInformation*) override;
58 
59 private:
61  void operator=(const vtkGaussianCubeReader&) = delete;
62 };
63 
64 #endif
vtkMoleculeReaderBase::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkGaussianCubeReader
read ASCII Gaussian Cube Data files
Definition: vtkGaussianCubeReader.h:36
vtkTransform
describes linear transformations via a 4x4 matrix
Definition: vtkTransform.h:54
vtkMoleculeReaderBase
read Molecular Data files
Definition: vtkMoleculeReaderBase.h:41
vtkX3D::Transform
@ Transform
Definition: vtkX3D.h:47
vtkMoleculeReaderBase::ReadSpecificMolecule
virtual void ReadSpecificMolecule(FILE *fp)=0
vtkMoleculeReaderBase::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:41
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkMoleculeReaderBase::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkGaussianCubeReader::Transform
vtkTransform * Transform
Definition: vtkGaussianCubeReader.h:50
vtkMoleculeReaderBase.h
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)