VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
vtkProteinRibbonFilter Class Reference

generates protein ribbons More...

#include <vtkProteinRibbonFilter.h>

Inherits vtkPolyDataAlgorithm.

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkProteinRibbonFilterNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual float GetCoilWidth ()
 
virtual void SetCoilWidth (float)
 
virtual float GetHelixWidth ()
 
virtual void SetHelixWidth (float)
 
virtual int GetSubdivideFactor ()
 
virtual void SetSubdivideFactor (int)
 
virtual bool GetDrawSmallMoleculesAsSpheres ()
 
virtual void SetDrawSmallMoleculesAsSpheres (bool)
 
virtual int GetSphereResolution ()
 
virtual void SetSphereResolution (int)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkProteinRibbonFilterSafeDownCast (vtkObjectBase *o)
 
static vtkProteinRibbonFilterNew ()
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkProteinRibbonFilter ()
 
 ~vtkProteinRibbonFilter ()
 
int FillInputPortInformation (int, vtkInformation *)
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void 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)
 
void CreateAtomAsSphere (vtkPolyData *poly, vtkUnsignedCharArray *pointsColors, double *pos, const vtkColor3ub &color, float radius, float scale)
 
void SetColorByAtom (std::vector< vtkColor3ub > &colors, vtkStringArray *atomTypes)
 
void SetColorByStructure (std::vector< vtkColor3ub > &colors, vtkStringArray *atomTypes, vtkUnsignedCharArray *ss, const vtkColor3ub &helixColor, const vtkColor3ub &sheetColor)
 

Static Protected Member Functions

static std::vector< vtkVector3f > * Subdivide (std::vector< std::pair< vtkVector3f, bool > > &p, int div)
 

Protected Attributes

std::map< std::string,
vtkColor3ub > 
ElementColors
 
float CoilWidth
 
float HelixWidth
 
int SphereResolution
 
int SubdivideFactor
 
bool DrawSmallMoleculesAsSpheres
 

Detailed Description

generates protein ribbons

vtkProteinRibbonFilter is a polydata algorithm that generates protein ribbons.

Tests:
vtkProteinRibbonFilter (Tests)

Definition at line 38 of file vtkProteinRibbonFilter.h.

Member Typedef Documentation

typedef vtkPolyDataAlgorithm vtkProteinRibbonFilter::Superclass

Definition at line 42 of file vtkProteinRibbonFilter.h.

Constructor & Destructor Documentation

vtkProteinRibbonFilter::vtkProteinRibbonFilter ( )
protected
vtkProteinRibbonFilter::~vtkProteinRibbonFilter ( )
protected

Member Function Documentation

static int vtkProteinRibbonFilter::IsTypeOf ( const char *  type)
static
virtual int vtkProteinRibbonFilter::IsA ( const char *  type)
virtual
static vtkProteinRibbonFilter* vtkProteinRibbonFilter::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkProteinRibbonFilter::NewInstanceInternal ( ) const
protectedvirtual
vtkProteinRibbonFilter* vtkProteinRibbonFilter::NewInstance ( ) const
void vtkProteinRibbonFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
static vtkProteinRibbonFilter* vtkProteinRibbonFilter::New ( )
static
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  ,
vtkInformation *   
)
protected
int vtkProteinRibbonFilter::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected
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 
)
staticprotected
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

Member Data Documentation

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.


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