VTK
|
generates protein ribbons More...
#include <vtkProteinRibbonFilter.h>
generates protein ribbons
vtkProteinRibbonFilter is a polydata algorithm that generates protein ribbons.
Definition at line 38 of file vtkProteinRibbonFilter.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 42 of file vtkProteinRibbonFilter.h.
vtkProteinRibbonFilter::vtkProteinRibbonFilter | ( | ) | [protected] |
vtkProteinRibbonFilter::~vtkProteinRibbonFilter | ( | ) | [protected] |
static int vtkProteinRibbonFilter::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 vtkPolyDataAlgorithm.
virtual int vtkProteinRibbonFilter::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 vtkPolyDataAlgorithm.
static vtkProteinRibbonFilter* vtkProteinRibbonFilter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkProteinRibbonFilter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented from vtkPolyDataAlgorithm.
void vtkProteinRibbonFilter::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.
static vtkProteinRibbonFilter* vtkProteinRibbonFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
virtual float vtkProteinRibbonFilter::GetCoilWidth | ( | ) | [virtual] |
Width of the ribbon coil. Default is 0.3.
virtual void vtkProteinRibbonFilter::SetCoilWidth | ( | float | ) | [virtual] |
Width of the ribbon coil. Default is 0.3.
virtual float vtkProteinRibbonFilter::GetHelixWidth | ( | ) | [virtual] |
Width of the helix part of the ribbon. Default is 1.3.
virtual void vtkProteinRibbonFilter::SetHelixWidth | ( | float | ) | [virtual] |
Width of the helix part of the ribbon. Default is 1.3.
virtual int vtkProteinRibbonFilter::GetSubdivideFactor | ( | ) | [virtual] |
Smoothing factor of the ribbon. Default is 20.
virtual void vtkProteinRibbonFilter::SetSubdivideFactor | ( | int | ) | [virtual] |
Smoothing factor of the ribbon. Default is 20.
virtual bool vtkProteinRibbonFilter::GetDrawSmallMoleculesAsSpheres | ( | ) | [virtual] |
If enabled, small molecules (HETATMs) are drawn as spheres. Default is true.
virtual void vtkProteinRibbonFilter::SetDrawSmallMoleculesAsSpheres | ( | bool | ) | [virtual] |
If enabled, small molecules (HETATMs) are drawn as spheres. Default is true.
virtual int vtkProteinRibbonFilter::GetSphereResolution | ( | ) | [virtual] |
Resolution of the spheres for small molecules. Default is 20.
virtual void vtkProteinRibbonFilter::SetSphereResolution | ( | int | ) | [virtual] |
Resolution of the spheres for small molecules. Default is 20.
int vtkProteinRibbonFilter::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkPolyDataAlgorithm.
int vtkProteinRibbonFilter::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.
void vtkProteinRibbonFilter::CreateThinStrip | ( | vtkPolyData * | poly, |
vtkUnsignedCharArray * | pointsColors, | ||
vtkPoints * | p, | ||
std::vector< std::pair< vtkVector3f, bool > > & | p1, | ||
std::vector< std::pair< vtkVector3f, bool > > & | p2, | ||
std::vector< vtkColor3ub > & | colors | ||
) | [protected] |
void vtkProteinRibbonFilter::CreateAtomAsSphere | ( | vtkPolyData * | poly, |
vtkUnsignedCharArray * | pointsColors, | ||
double * | pos, | ||
const vtkColor3ub & | color, | ||
float | radius, | ||
float | scale | ||
) | [protected] |
static std::vector<vtkVector3f>* vtkProteinRibbonFilter::Subdivide | ( | std::vector< std::pair< vtkVector3f, bool > > & | p, |
int | div | ||
) | [static, protected] |
void vtkProteinRibbonFilter::SetColorByAtom | ( | std::vector< vtkColor3ub > & | colors, |
vtkStringArray * | atomTypes | ||
) | [protected] |
void vtkProteinRibbonFilter::SetColorByStructure | ( | std::vector< vtkColor3ub > & | colors, |
vtkStringArray * | atomTypes, | ||
vtkUnsignedCharArray * | ss, | ||
const vtkColor3ub & | helixColor, | ||
const vtkColor3ub & | sheetColor | ||
) | [protected] |
std::map<std::string, vtkColor3ub> vtkProteinRibbonFilter::ElementColors [protected] |
Definition at line 107 of file vtkProteinRibbonFilter.h.
float vtkProteinRibbonFilter::CoilWidth [protected] |
Definition at line 109 of file vtkProteinRibbonFilter.h.
float vtkProteinRibbonFilter::HelixWidth [protected] |
Definition at line 110 of file vtkProteinRibbonFilter.h.
int vtkProteinRibbonFilter::SphereResolution [protected] |
Definition at line 111 of file vtkProteinRibbonFilter.h.
int vtkProteinRibbonFilter::SubdivideFactor [protected] |
Definition at line 112 of file vtkProteinRibbonFilter.h.
bool vtkProteinRibbonFilter::DrawSmallMoleculesAsSpheres [protected] |
Definition at line 113 of file vtkProteinRibbonFilter.h.