VTK
|
Read a CML file and output a vtkMolecule object. More...
#include <vtkCMLMoleculeReader.h>
Public Types | |
typedef vtkMoleculeAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkCMLMoleculeReader * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkMolecule * | GetOutput () |
void | SetOutput (vtkMolecule *) |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
Static Public Member Functions | |
static vtkCMLMoleculeReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkCMLMoleculeReader * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkCMLMoleculeReader () | |
~vtkCMLMoleculeReader () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | FillOutputPortInformation (int, vtkInformation *) |
Protected Attributes | |
char * | FileName |
Read a CML file and output a vtkMolecule object.
Definition at line 32 of file vtkCMLMoleculeReader.h.
Reimplemented from vtkMoleculeAlgorithm.
Definition at line 36 of file vtkCMLMoleculeReader.h.
vtkCMLMoleculeReader::vtkCMLMoleculeReader | ( | ) | [protected] |
vtkCMLMoleculeReader::~vtkCMLMoleculeReader | ( | ) | [protected] |
static vtkCMLMoleculeReader* vtkCMLMoleculeReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkMoleculeAlgorithm.
static int vtkCMLMoleculeReader::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkMoleculeAlgorithm.
virtual int vtkCMLMoleculeReader::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkMoleculeAlgorithm.
static vtkCMLMoleculeReader* vtkCMLMoleculeReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkMoleculeAlgorithm.
virtual vtkObjectBase* vtkCMLMoleculeReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkMoleculeAlgorithm.
Reimplemented from vtkMoleculeAlgorithm.
void vtkCMLMoleculeReader::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 vtkMoleculeAlgorithm.
Get/Set the output (vtkMolecule) that the reader will fill
Reimplemented from vtkMoleculeAlgorithm.
void vtkCMLMoleculeReader::SetOutput | ( | vtkMolecule * | ) | [virtual] |
Get/Set the output (vtkMolecule) that the reader will fill
Reimplemented from vtkMoleculeAlgorithm.
virtual void vtkCMLMoleculeReader::SetFileName | ( | const char * | ) | [virtual] |
Get/Set the name of the CML file
virtual char* vtkCMLMoleculeReader::GetFileName | ( | ) | [virtual] |
Get/Set the name of the CML file
int vtkCMLMoleculeReader::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkMoleculeAlgorithm.
int vtkCMLMoleculeReader::FillOutputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkMoleculeAlgorithm.
char* vtkCMLMoleculeReader::FileName [protected] |
Definition at line 59 of file vtkCMLMoleculeReader.h.