AvogadroLibs
1.90.0
|
Public Slots | |
void | updateScene () |
void | clearScene () |
void | resetCamera () |
void | resetGeometry () |
Public Member Functions | |
vtkGLWidget (QWidget *p=NULL, const QGLWidget *shareWidget=0, Qt::WindowFlags f=0) | |
void | setMolecule (QtGui::Molecule *molecule) |
Rendering::GLRenderer & | renderer () |
QtGui::Molecule * | molecule () |
const QtGui::Molecule * | molecule () const |
QtGui::ScenePluginModel & | sceneModel () |
const QtGui::ScenePluginModel & | sceneModel () const |
void setMolecule | ( | QtGui::Molecule * | molecule | ) |
Set the molecule the widget will render.
QtGui::Molecule* molecule | ( | ) |
Get the molecule being rendered by the widget.
const QtGui::Molecule* molecule | ( | ) | const |
Get the molecule being rendered by the widget.
Rendering::GLRenderer& renderer | ( | ) |
Get a reference to the renderer for the widget.
QtGui::ScenePluginModel& sceneModel | ( | ) |
Get the GLWidget's ScenePluginModel, used to add, delete and modify the scene plugin items.
const QtGui::ScenePluginModel& sceneModel | ( | ) | const |
Get the GLWidget's ScenePluginModel, used to add, delete and modify the scene plugin items.
|
slot |
Update the scene plugins for the widget, this will generate geeometry in the scene etc.
|
slot |
Clear the contents of the scene.
|
slot |
Reset the view to fit the entire scene.
|
slot |
Reset the geometry when the molecule etc changes.