Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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

Date
2003/12/23 14:08:27
Revision
1.4

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

Definition at line 65 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

static int IsTypeOf (const char *type)
static vtkMoleculeReaderBase * SafeDownCast (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
vtkPoints * Points
vtkUnsignedCharArray * RGB
vtkFloatArray * Radii
vtkIdTypeArray * AtomType


Member Typedef Documentation

typedef vtkPolyDataSource vtkMoleculeReaderBase::Superclass
 

Reimplemented from vtkPolyDataSource.

Reimplemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.

Definition at line 68 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.

static 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.

static 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 86 of file vtkMoleculeReaderBase.h.

double vtkMoleculeReaderBase::BScale [protected]
 

Definition at line 87 of file vtkMoleculeReaderBase.h.

double vtkMoleculeReaderBase::HBScale [protected]
 

Definition at line 89 of file vtkMoleculeReaderBase.h.

int vtkMoleculeReaderBase::NumberOfAtoms [protected]
 

Definition at line 91 of file vtkMoleculeReaderBase.h.

vtkPoints* vtkMoleculeReaderBase::Points [protected]
 

Definition at line 98 of file vtkMoleculeReaderBase.h.

vtkUnsignedCharArray* vtkMoleculeReaderBase::RGB [protected]
 

Definition at line 99 of file vtkMoleculeReaderBase.h.

vtkFloatArray* vtkMoleculeReaderBase::Radii [protected]
 

Definition at line 100 of file vtkMoleculeReaderBase.h.

vtkIdTypeArray* vtkMoleculeReaderBase::AtomType [protected]
 

Definition at line 101 of file vtkMoleculeReaderBase.h.


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