#include <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 vtkMoleculeReaderBase * | SafeDownCast (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 |
vtkPoints * | Points |
vtkUnsignedCharArray * | RGB |
vtkFloatArray * | Radii |
vtkIdTypeArray * | AtomType |
vtkMoleculeReaderBase is a source object that reads Molecule files The FileName must be specified
Definition at line 37 of file vtkMoleculeReaderBase.h.
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.
Definition at line 40 of file vtkMoleculeReaderBase.h.
vtkMoleculeReaderBase::vtkMoleculeReaderBase | ( | ) | [protected] |
vtkMoleculeReaderBase::~vtkMoleculeReaderBase | ( | ) | [protected] |
virtual const char* vtkMoleculeReaderBase::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkGaussianCubeReader, vtkPDBReader, and vtkXYZMolReader.
static int vtkMoleculeReaderBase::IsTypeOf | ( | const char * | name | ) | [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 * | name | ) | [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 * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [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.
char* vtkMoleculeReaderBase::FileName [protected] |
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.