AvogadroLibs  1.90.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Slots | Public Member Functions | List of all members
vtkGLWidget Class Reference
Inheritance diagram for vtkGLWidget:

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::GLRendererrenderer ()
 
QtGui::Moleculemolecule ()
 
const QtGui::Moleculemolecule () const
 
QtGui::ScenePluginModelsceneModel ()
 
const QtGui::ScenePluginModelsceneModel () const
 

Member Function Documentation

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.

void updateScene ( )
slot

Update the scene plugins for the widget, this will generate geeometry in the scene etc.

void clearScene ( )
slot

Clear the contents of the scene.

void resetCamera ( )
slot

Reset the view to fit the entire scene.

void resetGeometry ( )
slot

Reset the geometry when the molecule etc changes.


The documentation for this class was generated from the following file: