VTK
vtkOpenQubeMoleculeSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenQubeMoleculeSource.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 __vtkOpenQubeMoleculeSource_h
26 #define __vtkOpenQubeMoleculeSource_h
27 
28 #include "vtkDataReader.h"
29 
30 class vtkMolecule;
31 
32 namespace OpenQube
33 {
34  class Molecule;
35  class BasisSet;
36 }
37 
39 {
40 public:
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
47  vtkMolecule *GetOutput();
48  void SetOutput(vtkMolecule *);
50 
52 
56  vtkSetStringMacro(FileName);
57  vtkGetStringMacro(FileName);
59 
61 
65  virtual void SetBasisSet(OpenQube::BasisSet *b);
66  vtkGetMacro(BasisSet, OpenQube::BasisSet*);
68 
70 
74  vtkSetMacro(CleanUpBasisSet, bool);
75  vtkGetMacro(CleanUpBasisSet, bool);
76  vtkBooleanMacro(CleanUpBasisSet, bool);
78 
79 protected:
82 
86 
87  char *FileName;
88  OpenQube::BasisSet *BasisSet;
90 
92 
94  void CopyOQMoleculeToVtkMolecule(const OpenQube::Molecule *oqmol,
95  vtkMolecule *mol);
97 
98 private:
99  // Not implemented:
101  void operator=(const vtkOpenQubeMoleculeSource&);
102 };
103 
104 #endif