VTK  9.1.0
vtkCMLMoleculeReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCMLMoleculeReader.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 =========================================================================*/
41 #ifndef vtkCMLMoleculeReader_h
42 #define vtkCMLMoleculeReader_h
43 
44 #include "vtkIOChemistryModule.h" // For export macro
45 #include "vtkMoleculeAlgorithm.h"
46 
47 class vtkMolecule;
48 
49 class VTKIOCHEMISTRY_EXPORT vtkCMLMoleculeReader : public vtkMoleculeAlgorithm
50 {
51 public:
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
57 
61  void SetOutput(vtkMolecule*) override;
63 
65 
71 
72 protected:
75 
78 
79  char* FileName;
80 
81 private:
83  void operator=(const vtkCMLMoleculeReader&) = delete;
84 };
85 
86 #endif
vtkMoleculeAlgorithm
Superclass for algorithms that operate on vtkMolecules.
Definition: vtkMoleculeAlgorithm.h:43
vtkCMLMoleculeReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCMLMoleculeReader::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkCMLMoleculeReader::~vtkCMLMoleculeReader
~vtkCMLMoleculeReader() override
vtkCMLMoleculeReader::FileName
char * FileName
Definition: vtkCMLMoleculeReader.h:79
vtkCMLMoleculeReader::vtkSetFilePathMacro
vtkSetFilePathMacro(FileName)
Get/Set the name of the CML file.
vtkMoleculeAlgorithm.h
vtkCMLMoleculeReader::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkCMLMoleculeReader::vtkGetFilePathMacro
vtkGetFilePathMacro(FileName)
Get/Set the name of the CML file.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkCMLMoleculeReader::vtkCMLMoleculeReader
vtkCMLMoleculeReader()
vtkCMLMoleculeReader
Read a CML file and output a vtkMolecule object.
Definition: vtkCMLMoleculeReader.h:50
vtkMolecule
class describing a molecule
Definition: vtkMolecule.h:111
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkCMLMoleculeReader::GetOutput
vtkMolecule * GetOutput()
Get/Set the output (vtkMolecule) that the reader will fill.
vtkCMLMoleculeReader::SetOutput
void SetOutput(vtkMolecule *) override
Get/Set the output (vtkMolecule) that the reader will fill.
vtkCMLMoleculeReader::New
static vtkCMLMoleculeReader * New()