VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSimpleBondPerceiver Class Reference

Create a simple guess of a molecule's topology. More...

#include <vtkSimpleBondPerceiver.h>

Inheritance diagram for vtkSimpleBondPerceiver:
Inheritance graph
[legend]
Collaboration diagram for vtkSimpleBondPerceiver:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkMoleculeAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkSimpleBondPerceiverNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetTolerance (float)
virtual float GetTolerance ()

Static Public Member Functions

static vtkSimpleBondPerceiverNew ()
static int IsTypeOf (const char *type)
static vtkSimpleBondPerceiverSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkSimpleBondPerceiver ()
 ~vtkSimpleBondPerceiver ()
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

float Tolerance

Detailed Description

Create a simple guess of a molecule's topology.

vtkSimpleBondPerceiver performs a simple check of all interatomic distances and adds a single bond between atoms that are reasonably close. If the interatomic distance is less than the sum of the two atom's covalent radii plus a tolerance, a single bond is added.

Warning:
This algorithm does not consider valences, hybridization, aromaticity, or anything other than atomic separations. It will not produce anything other than single bonds.
Tests:
vtkSimpleBondPerceiver (Tests)

Definition at line 45 of file vtkSimpleBondPerceiver.h.


Member Typedef Documentation

Reimplemented from vtkMoleculeAlgorithm.

Definition at line 50 of file vtkSimpleBondPerceiver.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkMoleculeAlgorithm.

static int vtkSimpleBondPerceiver::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 vtkSimpleBondPerceiver::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.

Reimplemented from vtkMoleculeAlgorithm.

virtual vtkObjectBase* vtkSimpleBondPerceiver::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkMoleculeAlgorithm.

Reimplemented from vtkMoleculeAlgorithm.

void vtkSimpleBondPerceiver::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.

virtual void vtkSimpleBondPerceiver::SetTolerance ( float  ) [virtual]

Set/Get the tolerance used in the comparisons. (Default: 0.45)

Set/Get the tolerance used in the comparisons. (Default: 0.45)

virtual int vtkSimpleBondPerceiver::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.


Member Data Documentation

Definition at line 71 of file vtkSimpleBondPerceiver.h.


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