VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dox
Domains
Chemistry
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
32
class
VTKDOMAINSCHEMISTRY_EXPORT
vtkCMLMoleculeReader
:
public
vtkMoleculeAlgorithm
33
{
34
public
:
35
static
vtkCMLMoleculeReader
*
New
();
36
vtkTypeMacro(
vtkCMLMoleculeReader
,
vtkMoleculeAlgorithm
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
40
41
vtkMolecule
*
GetOutput
();
42
void
SetOutput
(
vtkMolecule
*);
44
46
47
vtkSetStringMacro(FileName);
48
vtkGetStringMacro(FileName);
50
51
protected
:
52
vtkCMLMoleculeReader
();
53
~
vtkCMLMoleculeReader
();
54
55
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
56
vtkInformationVector
*);
57
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
58
59
char
*
FileName
;
60
61
private
:
62
vtkCMLMoleculeReader
(
const
vtkCMLMoleculeReader
&);
// Not implemented.
63
void
operator=(
const
vtkCMLMoleculeReader
&);
// Not implemented.
64
};
65
66
#endif
vtkMoleculeAlgorithm.h
vtkMoleculeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:85
vtkMolecule
class describing a molecule
Definition:
vtkMolecule.h:88
vtkCMLMoleculeReader::FileName
char * FileName
Definition:
vtkCMLMoleculeReader.h:59
vtkDomainsChemistryModule.h
vtkCMLMoleculeReader
Read a CML file and output a vtkMolecule object.
Definition:
vtkCMLMoleculeReader.h:32
vtkMoleculeAlgorithm::New
static vtkMoleculeAlgorithm * New()
vtkMoleculeAlgorithm::SetOutput
virtual void SetOutput(vtkMolecule *d)
vtkMoleculeAlgorithm
Superclass for algorithms that operate on vtkMolecules.
Definition:
vtkMoleculeAlgorithm.h:41
VTKDOMAINSCHEMISTRY_EXPORT
#define VTKDOMAINSCHEMISTRY_EXPORT
Definition:
vtkDomainsChemistryModule.h:15
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkMoleculeAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkMoleculeAlgorithm::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:40
vtkMoleculeAlgorithm::GetOutput
vtkMolecule * GetOutput()
Generated on Thu Mar 12 2015 20:31:34 for VTK by
1.8.8