16 #ifndef vtkProteinRibbonFilter_h
17 #define vtkProteinRibbonFilter_h
30 #include "vtkDomainsChemistryModule.h"
51 vtkGetMacro(CoilWidth,
float);
52 vtkSetMacro(CoilWidth,
float);
59 vtkGetMacro(HelixWidth,
float);
60 vtkSetMacro(HelixWidth,
float);
67 vtkGetMacro(SubdivideFactor,
int);
68 vtkSetMacro(SubdivideFactor,
int);
75 vtkGetMacro(DrawSmallMoleculesAsSpheres,
bool);
76 vtkSetMacro(DrawSmallMoleculesAsSpheres,
bool);
83 vtkGetMacro(SphereResolution,
int);
84 vtkSetMacro(SphereResolution,
int);
97 std::vector<vtkColor3ub>& colors);
102 static std::vector<vtkVector3f>* Subdivide(
std::vector<std::pair<vtkVector3f, bool>>& p,
int div);
104 void SetColorByAtom(std::vector<vtkColor3ub>& colors,
vtkStringArray* atomTypes);
106 void SetColorByStructure(std::vector<vtkColor3ub>& colors,
vtkStringArray* atomTypes,
122 #endif // vtkProteinRibbonFilter_h
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a vtkAbstractArray subclass for strings
concrete dataset represents vertices, lines, polygons, and triangle strips
std::map< std::string, vtkColor3ub > ElementColors
static vtkPolyDataAlgorithm * New()
bool DrawSmallMoleculesAsSpheres
Superclass for algorithms that produce only polydata as output.
Some derived classes for the different colors commonly used.
a simple class to control print indentation
dynamic, self-adjusting array of unsigned char
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
generates protein ribbons
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.