RDKit
Open-source cheminformatics and machine learning.
|
#include <DrawShape.h>
Public Member Functions | |
DrawShape (const std::vector< Point2D > &points, double lineWidth=2.0, bool scaleLineWidth=false, DrawColour lineColour=DrawColour(0, 0, 0), bool fill=false, int atom1=-1, int atom2=-1, int bond=-1) | |
DrawShape (const DrawShape &)=delete | |
DrawShape (DrawShape &&)=delete | |
virtual | ~DrawShape ()=default |
DrawShape & | operator= (const DrawShape &)=delete |
DrawShape & | operator= (DrawShape &&)=delete |
void | draw (MolDraw2D &drawer) |
virtual void | myDraw (MolDraw2D &drawer) const =0 |
virtual void | findExtremes (double &xmin, double &xmax, double &ymin, double &ymax) const |
virtual void | scale (const Point2D &scale_factor) |
virtual void | move (const Point2D &trans) |
virtual bool | doesRectClash (const StringRect &rect, double padding) const |
Public Attributes | |
std::vector< Point2D > | points_ |
double | lineWidth_ |
bool | scaleLineWidth_ |
DrawColour | lineColour_ |
bool | fill_ |
int | atom1_ |
int | atom2_ |
int | bond_ |
Definition at line 35 of file DrawShape.h.
RDKit::MolDraw2D_detail::DrawShape::DrawShape | ( | const std::vector< Point2D > & | points, |
double | lineWidth = 2.0 , |
||
bool | scaleLineWidth = false , |
||
DrawColour | lineColour = DrawColour(0, 0, 0) , |
||
bool | fill = false , |
||
int | atom1 = -1 , |
||
int | atom2 = -1 , |
||
int | bond = -1 |
||
) |
|
delete |
|
virtualdefault |
|
virtual |
Reimplemented in RDKit::MolDraw2D_detail::DrawShapeArrow, RDKit::MolDraw2D_detail::DrawShapeEllipse, RDKit::MolDraw2D_detail::DrawShapeSimpleLine, RDKit::MolDraw2D_detail::DrawShapePolyLine, RDKit::MolDraw2D_detail::DrawShapeSolidWedge, RDKit::MolDraw2D_detail::DrawShapeDashedWedge, RDKit::MolDraw2D_detail::DrawShapeWavyLine, and RDKit::MolDraw2D_detail::DrawShapeArc.
Implemented in RDKit::MolDraw2D_detail::DrawShapeArrow, RDKit::MolDraw2D_detail::DrawShapeEllipse, RDKit::MolDraw2D_detail::DrawShapeSimpleLine, RDKit::MolDraw2D_detail::DrawShapePolyLine, RDKit::MolDraw2D_detail::DrawShapeSolidWedge, RDKit::MolDraw2D_detail::DrawShapeDashedWedge, RDKit::MolDraw2D_detail::DrawShapeWavyLine, and RDKit::MolDraw2D_detail::DrawShapeArc.
Reimplemented in RDKit::MolDraw2D_detail::DrawShapeDashedWedge, and RDKit::MolDraw2D_detail::DrawShapeWavyLine.
int RDKit::MolDraw2D_detail::DrawShape::atom1_ |
Definition at line 60 of file DrawShape.h.
int RDKit::MolDraw2D_detail::DrawShape::atom2_ |
Definition at line 60 of file DrawShape.h.
int RDKit::MolDraw2D_detail::DrawShape::bond_ |
Definition at line 60 of file DrawShape.h.
bool RDKit::MolDraw2D_detail::DrawShape::fill_ |
Definition at line 59 of file DrawShape.h.
DrawColour RDKit::MolDraw2D_detail::DrawShape::lineColour_ |
Definition at line 58 of file DrawShape.h.
double RDKit::MolDraw2D_detail::DrawShape::lineWidth_ |
Definition at line 56 of file DrawShape.h.
std::vector<Point2D> RDKit::MolDraw2D_detail::DrawShape::points_ |
Definition at line 55 of file DrawShape.h.
bool RDKit::MolDraw2D_detail::DrawShape::scaleLineWidth_ |
Definition at line 57 of file DrawShape.h.