 |
VTK
9.0.1
|
Go to the documentation of this file.
16 #ifndef vtkProteinRibbonFilter_h
17 #define vtkProteinRibbonFilter_h
27 #include "vtkDomainsChemistryModule.h"
48 vtkGetMacro(CoilWidth,
float);
49 vtkSetMacro(CoilWidth,
float);
56 vtkGetMacro(HelixWidth,
float);
57 vtkSetMacro(HelixWidth,
float);
64 vtkGetMacro(SubdivideFactor,
int);
65 vtkSetMacro(SubdivideFactor,
int);
72 vtkGetMacro(DrawSmallMoleculesAsSpheres,
bool);
73 vtkSetMacro(DrawSmallMoleculesAsSpheres,
bool);
80 vtkGetMacro(SphereResolution,
int);
81 vtkSetMacro(SphereResolution,
int);
94 std::vector<vtkColor3ub>& colors);
100 std::vector<std::pair<vtkVector3f, bool> >& p,
int div);
120 #endif // vtkProteinRibbonFilter_h
represent and manipulate 3D points
void SetColorByStructure(std::vector< vtkColor3ub > &colors, vtkStringArray *atomTypes, vtkUnsignedCharArray *ss, const vtkColor3ub &helixColor, const vtkColor3ub &sheetColor)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
dynamic, self-adjusting array of unsigned char
~vtkProteinRibbonFilter() override
static std::vector< vtkVector3f > * Subdivide(std::vector< std::pair< vtkVector3f, bool > > &p, int div)
void CreateAtomAsSphere(vtkPolyData *poly, vtkUnsignedCharArray *pointsColors, double *pos, const vtkColor3ub &color, float radius, float scale)
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
generates protein ribbons
void SetColorByAtom(std::vector< vtkColor3ub > &colors, vtkStringArray *atomTypes)
static vtkProteinRibbonFilter * New()
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)
Some derived classes for the different colors commonly used.
bool DrawSmallMoleculesAsSpheres
concrete dataset represents vertices, lines, polygons, and triangle strips
a vtkAbstractArray subclass for strings
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
std::map< std::string, vtkColor3ub > ElementColors
Superclass for algorithms that produce only polydata as output.