16 #ifndef _vtkProteinRibbonFilter_h
17 #define _vtkProteinRibbonFilter_h
29 #include "vtkDomainsChemistryModule.h"
30 #include "vtkPolyDataAlgorithm.h"
39 :
public vtkPolyDataAlgorithm
43 void PrintSelf(ostream& os,
vtkIndent indent);
49 vtkGetMacro(CoilWidth,
float);
50 vtkSetMacro(CoilWidth,
float);
55 vtkGetMacro(HelixWidth,
float);
56 vtkSetMacro(HelixWidth,
float);
61 vtkGetMacro(SubdivideFactor,
int);
62 vtkSetMacro(SubdivideFactor,
int);
68 vtkGetMacro(DrawSmallMoleculesAsSpheres,
bool);
69 vtkSetMacro(DrawSmallMoleculesAsSpheres,
bool);
74 vtkGetMacro(SphereResolution,
int);
75 vtkSetMacro(SphereResolution,
int);
80 ~vtkProteinRibbonFilter();
84 int RequestData(vtkInformation *,
86 vtkInformationVector *);
89 vtkPoints* p, std::vector<std::pair<vtkVector3f,
bool> >& p1,
90 std::vector<std::pair<vtkVector3f,
bool> >& p2,
94 double *pos, const
vtkColor3ub& color,
float radius,
97 static std::vector<vtkVector3f>* Subdivide(std::vector<std::pair<vtkVector3f,
bool> >& p,
102 void SetColorByStructure(std::vector<
vtkColor3ub>& colors,
111 int SphereResolution;
113 bool DrawSmallMoleculesAsSpheres;
116 vtkProteinRibbonFilter(const vtkProteinRibbonFilter&);
117 void operator=(const vtkProteinRibbonFilter&);
120 #endif // _vtkProteinRibbonFilter_h
a vtkAbstractArray subclass for strings
concrete dataset represents vertices, lines, polygons, and triangle strips
a simple class to control print indentation
dynamic, self-adjusting array of unsigned char
generates protein ribbons
represent and manipulate 3D points