4 #ifndef vtkProteinRibbonFilter_h
5 #define vtkProteinRibbonFilter_h
18 #include "vtkDomainsChemistryModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
40 vtkGetMacro(CoilWidth,
float);
41 vtkSetMacro(CoilWidth,
float);
48 vtkGetMacro(HelixWidth,
float);
49 vtkSetMacro(HelixWidth,
float);
56 vtkGetMacro(SubdivideFactor,
int);
57 vtkSetMacro(SubdivideFactor,
int);
64 vtkGetMacro(DrawSmallMoleculesAsSpheres,
bool);
65 vtkSetMacro(DrawSmallMoleculesAsSpheres,
bool);
72 vtkGetMacro(SphereResolution,
int);
73 vtkSetMacro(SphereResolution,
int);
86 std::vector<vtkColor3ub>& colors);
91 static std::vector<vtkVector3f>* Subdivide(
std::vector<std::pair<vtkVector3f, bool>>& p,
int div);
93 void SetColorByAtom(std::vector<vtkColor3ub>& colors,
vtkStringArray* atomTypes);
95 void SetColorByStructure(std::vector<vtkColor3ub>& colors,
vtkStringArray* atomTypes,
111 VTK_ABI_NAMESPACE_END
112 #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.