generates protein ribbons
More...
#include <vtkProteinRibbonFilter.h>
Inherits vtkPolyDataAlgorithm.
|
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 std::vector< vtkVector3f > * | Subdivide (std::vector< std::pair< vtkVector3f, bool > > &p, int div) |
|
generates protein ribbons
vtkProteinRibbonFilter is a polydata algorithm that generates protein ribbons.
- Tests:
- vtkProteinRibbonFilter (Tests)
Definition at line 38 of file vtkProteinRibbonFilter.h.
vtkProteinRibbonFilter::vtkProteinRibbonFilter |
( |
| ) |
|
|
protected |
vtkProteinRibbonFilter::~vtkProteinRibbonFilter |
( |
| ) |
|
|
protected |
static int vtkProteinRibbonFilter::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkProteinRibbonFilter::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkProteinRibbonFilter::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkProteinRibbonFilter::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
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 |
std::map<std::string, vtkColor3ub> vtkProteinRibbonFilter::ElementColors |
|
protected |
float vtkProteinRibbonFilter::CoilWidth |
|
protected |
float vtkProteinRibbonFilter::HelixWidth |
|
protected |
int vtkProteinRibbonFilter::SphereResolution |
|
protected |
int vtkProteinRibbonFilter::SubdivideFactor |
|
protected |
bool vtkProteinRibbonFilter::DrawSmallMoleculesAsSpheres |
|
protected |
The documentation for this class was generated from the following file: