Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkMoleculeReaderBase Class Reference

#include <vtkMoleculeReaderBase.h>

Inheritance diagram for vtkMoleculeReaderBase:

Inheritance graph
[legend]
Collaboration diagram for vtkMoleculeReaderBase:

Collaboration graph
[legend]
List of all members.

Detailed Description

read Molecular Data files

vtkMoleculeReaderBase is a source object that reads Molecule files The FileName must be specified

Thanks:
Dr. Jean M. Favre who developed and contributed this class
Created by:
  • Cedilnik, Andy
CVS contributions (if > 5%):
  • Cedilnik, Andy (82%)
  • King, Brad (7%)
  • Martin, Ken (6%)
CVS logs (CVSweb):
  • .h (/IO/vtkMoleculeReaderBase.h)
  • .cxx (/IO/vtkMoleculeReaderBase.cxx)

Definition at line 49 of file vtkMoleculeReaderBase.h.

Public Types

typedef vtkPolyDataSource Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetFileName (const char *)
virtual char * GetFileName ()
virtual void SetBScale (double)
virtual double GetBScale ()
virtual void SetHBScale (double)
virtual double GetHBScale ()
virtual int GetNumberOfAtoms ()

Static Public Member Functions

int IsTypeOf (const char *type)
vtkMoleculeReaderBaseSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkMoleculeReaderBase ()
 ~vtkMoleculeReaderBase ()
virtual void Execute ()
int ReadMolecule (FILE *fp)
int MakeAtomType (const char *atype)
int MakeBonds (vtkPoints *, vtkIdTypeArray *, vtkCellArray *)
virtual void ReadSpecificMolecule (FILE *fp)=0

Protected Attributes

char * FileName
double BScale
double HBScale
int NumberOfAtoms
vtkPointsPoints
vtkUnsignedCharArrayRGB
vtkFloatArrayRadii
vtkIdTypeArrayAtomType


Member Typedef Documentation

typedef vtkPolyDataSource vtkMoleculeReaderBase::Superclass
 

Reimplemented from vtkPolyDataSource.

Reimplemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.

Definition at line 52 of file vtkMoleculeReaderBase.h.


Constructor & Destructor Documentation

vtkMoleculeReaderBase::vtkMoleculeReaderBase  )  [protected]
 

vtkMoleculeReaderBase::~vtkMoleculeReaderBase  )  [protected]
 


Member Function Documentation

virtual const char* vtkMoleculeReaderBase::GetClassName  )  [virtual]
 

Reimplemented from vtkPolyDataSource.

Reimplemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.

int vtkMoleculeReaderBase::IsTypeOf const char *  type  )  [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

Reimplemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.

virtual int vtkMoleculeReaderBase::IsA const char *  type  )  [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

Reimplemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.

vtkMoleculeReaderBase* vtkMoleculeReaderBase::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkPolyDataSource.

Reimplemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.

void vtkMoleculeReaderBase::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkPolyDataSource.

Reimplemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.

virtual void vtkMoleculeReaderBase::SetFileName const char *   )  [virtual]
 

Reimplemented in vtkGaussianCubeReader.

virtual char* vtkMoleculeReaderBase::GetFileName  )  [virtual]
 

Reimplemented in vtkGaussianCubeReader.

virtual void vtkMoleculeReaderBase::SetBScale double   )  [virtual]
 

virtual double vtkMoleculeReaderBase::GetBScale  )  [virtual]
 

virtual void vtkMoleculeReaderBase::SetHBScale double   )  [virtual]
 

virtual double vtkMoleculeReaderBase::GetHBScale  )  [virtual]
 

virtual int vtkMoleculeReaderBase::GetNumberOfAtoms  )  [virtual]
 

virtual void vtkMoleculeReaderBase::Execute  )  [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.

Reimplemented in vtkGaussianCubeReader.

int vtkMoleculeReaderBase::ReadMolecule FILE *  fp  )  [protected]
 

int vtkMoleculeReaderBase::MakeAtomType const char *  atype  )  [protected]
 

int vtkMoleculeReaderBase::MakeBonds vtkPoints ,
vtkIdTypeArray ,
vtkCellArray
[protected]
 

virtual void vtkMoleculeReaderBase::ReadSpecificMolecule FILE *  fp  )  [protected, pure virtual]
 

Implemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.


Member Data Documentation

char* vtkMoleculeReaderBase::FileName [protected]
 

Reimplemented in vtkGaussianCubeReader.

Definition at line 70 of file vtkMoleculeReaderBase.h.

double vtkMoleculeReaderBase::BScale [protected]
 

Definition at line 71 of file vtkMoleculeReaderBase.h.

double vtkMoleculeReaderBase::HBScale [protected]
 

Definition at line 73 of file vtkMoleculeReaderBase.h.

int vtkMoleculeReaderBase::NumberOfAtoms [protected]
 

Definition at line 75 of file vtkMoleculeReaderBase.h.

vtkPoints* vtkMoleculeReaderBase::Points [protected]
 

Definition at line 82 of file vtkMoleculeReaderBase.h.

vtkUnsignedCharArray* vtkMoleculeReaderBase::RGB [protected]
 

Definition at line 83 of file vtkMoleculeReaderBase.h.

vtkFloatArray* vtkMoleculeReaderBase::Radii [protected]
 

Definition at line 84 of file vtkMoleculeReaderBase.h.

vtkIdTypeArray* vtkMoleculeReaderBase::AtomType [protected]
 

Definition at line 85 of file vtkMoleculeReaderBase.h.


The documentation for this class was generated from the following file: