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

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

Public Types

typedef vtkPolyDataAlgorithm 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 vtkMoleculeReaderBaseSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkMoleculeReaderBase ()
 ~vtkMoleculeReaderBase ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int ReadMolecule (FILE *fp, vtkPolyData *output)
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 vtkPolyDataAlgorithm vtkMoleculeReaderBase::Superclass
 

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.

Definition at line 40 of file vtkMoleculeReaderBase.h.


Constructor & Destructor Documentation

vtkMoleculeReaderBase::vtkMoleculeReaderBase  )  [protected]
 

vtkMoleculeReaderBase::~vtkMoleculeReaderBase  )  [protected]
 


Member Function Documentation

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

Reimplemented from vtkPolyDataAlgorithm.

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

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

Reimplemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.

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

Reimplemented from vtkPolyDataAlgorithm.

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

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 int vtkMoleculeReaderBase::RequestData vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector
[protected, virtual]
 

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented in vtkGaussianCubeReader.

int vtkMoleculeReaderBase::ReadMolecule FILE *  fp,
vtkPolyData output
[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 58 of file vtkMoleculeReaderBase.h.

double vtkMoleculeReaderBase::BScale [protected]
 

Definition at line 59 of file vtkMoleculeReaderBase.h.

double vtkMoleculeReaderBase::HBScale [protected]
 

Definition at line 61 of file vtkMoleculeReaderBase.h.

int vtkMoleculeReaderBase::NumberOfAtoms [protected]
 

Definition at line 63 of file vtkMoleculeReaderBase.h.

vtkPoints* vtkMoleculeReaderBase::Points [protected]
 

Definition at line 70 of file vtkMoleculeReaderBase.h.

vtkUnsignedCharArray* vtkMoleculeReaderBase::RGB [protected]
 

Definition at line 71 of file vtkMoleculeReaderBase.h.

vtkFloatArray* vtkMoleculeReaderBase::Radii [protected]
 

Definition at line 72 of file vtkMoleculeReaderBase.h.

vtkIdTypeArray* vtkMoleculeReaderBase::AtomType [protected]
 

Definition at line 73 of file vtkMoleculeReaderBase.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 22 00:02:04 2008 for VTK by  doxygen 1.4.3-20050530