BALL
1.4.1
|
#include <BALL/VIEW/WIDGETS/SDWidget.h>
Classes | |
struct | Default |
Default values for options. More... | |
struct | Option |
Option names. More... | |
Public Member Functions | |
SDWidget (QWidget *parent=0, bool show_hydrogens=false) | |
SDWidget (const System &system, QWidget *parent=0) | |
virtual | ~SDWidget () |
void | plot (const System &system, bool create_sd=true) |
System & | getSystem () |
const System & | getSystem () const |
void | setSystem (const System &system) |
void | clear () |
QSize | sizeHint () const |
Protected Slots | |
void | exportImage_ () |
Protected Member Functions | |
void | setup_ () |
void | paintEvent (QPaintEvent *event) |
void | renderSD_ (QPaintDevice *paint_device) |
void | drawFrame_ () |
QPointF | getEndpoint_ (QRectF &character_boundary, QPointF from, QPointF to, bool character_is_from) |
Protected Attributes | |
System | system_ |
bool | resize_to_parent_ |
Vector3 | upper_ |
Vector3 | lower_ |
Public Attributes | |
Options | options |
options | |
void | setDefaultOptions () |
Definition at line 22 of file SDWidget.h.
BALL::VIEW::SDWidget::SDWidget | ( | QWidget * | parent = 0 , |
bool | show_hydrogens = false |
||
) |
BALL::VIEW::SDWidget::SDWidget | ( | const System & | system, |
QWidget * | parent = 0 |
||
) |
virtual BALL::VIEW::SDWidget::~SDWidget | ( | ) | [virtual] |
void BALL::VIEW::SDWidget::clear | ( | ) |
void BALL::VIEW::SDWidget::drawFrame_ | ( | ) | [protected] |
void BALL::VIEW::SDWidget::exportImage_ | ( | ) | [protected, slot] |
QPointF BALL::VIEW::SDWidget::getEndpoint_ | ( | QRectF & | character_boundary, |
QPointF | from, | ||
QPointF | to, | ||
bool | character_is_from | ||
) | [protected] |
System& BALL::VIEW::SDWidget::getSystem | ( | ) | [inline] |
Definition at line 72 of file SDWidget.h.
const System& BALL::VIEW::SDWidget::getSystem | ( | ) | const [inline] |
Definition at line 75 of file SDWidget.h.
void BALL::VIEW::SDWidget::paintEvent | ( | QPaintEvent * | event | ) | [protected] |
void BALL::VIEW::SDWidget::plot | ( | const System & | system, |
bool | create_sd = true |
||
) |
void BALL::VIEW::SDWidget::renderSD_ | ( | QPaintDevice * | paint_device | ) | [protected] |
Resets the options to default values.
void BALL::VIEW::SDWidget::setSystem | ( | const System & | system | ) | [inline] |
Definition at line 78 of file SDWidget.h.
void BALL::VIEW::SDWidget::setup_ | ( | ) | [protected] |
QSize BALL::VIEW::SDWidget::sizeHint | ( | ) | const |
Vector3 BALL::VIEW::SDWidget::lower_ [protected] |
Definition at line 101 of file SDWidget.h.
options
Definition at line 61 of file SDWidget.h.
bool BALL::VIEW::SDWidget::resize_to_parent_ [protected] |
Definition at line 98 of file SDWidget.h.
System BALL::VIEW::SDWidget::system_ [protected] |
Definition at line 96 of file SDWidget.h.
Vector3 BALL::VIEW::SDWidget::upper_ [protected] |
Definition at line 100 of file SDWidget.h.