VTK
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 =========================================================================*/
24 #ifndef vtkCMLMoleculeReader_h
25 #define vtkCMLMoleculeReader_h
26 
27 #include "vtkDomainsChemistryModule.h" // For export macro
28 #include "vtkMoleculeAlgorithm.h"
29 
30 class vtkMolecule;
31 
33 {
34 public:
35  static vtkCMLMoleculeReader *New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
42  void SetOutput(vtkMolecule *);
44 
46 
47  vtkSetStringMacro(FileName);
48  vtkGetStringMacro(FileName);
50 
51 protected:
54 
58 
59  char *FileName;
60 
61 private:
62  vtkCMLMoleculeReader(const vtkCMLMoleculeReader&); // Not implemented.
63  void operator=(const vtkCMLMoleculeReader&); // Not implemented.
64 };
65 
66 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Store vtkAlgorithm input/output information.
class describing a molecule
Definition: vtkMolecule.h:88
Read a CML file and output a vtkMolecule object.
static vtkMoleculeAlgorithm * New()
virtual void SetOutput(vtkMolecule *d)
Superclass for algorithms that operate on vtkMolecules.
#define VTKDOMAINSCHEMISTRY_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Store zero or more vtkInformation instances.
vtkMolecule * GetOutput()