Avogadro::VTK::vtkGLWidget#
-
class vtkGLWidget : public QVTKWidget#
Unnamed Group
Unnamed Group
-
inline QtGui::ScenePluginModel &sceneModel()#
Get the GLWidget’s ScenePluginModel, used to add, delete and modify the scene plugin items.
-
inline const QtGui::ScenePluginModel &sceneModel() const#
Get the GLWidget’s ScenePluginModel, used to add, delete and modify the scene plugin items.
Public Functions
-
vtkGLWidget(QWidget *p = nullptr, Qt::WindowFlags f = Qt::WindowFlags())#
-
~vtkGLWidget()#
-
inline Rendering::GLRenderer &renderer()#
Get a reference to the renderer for the widget.
-
vtkColorTransferFunction *lut() const#
Get the color loop up table for the volume renderer.
-
vtkPiecewiseFunction *opacityFunction() const#
Get the opacity function for the volume renderer.
-
vtkImageData *imageData() const#
Get the vtkImageData that is being rendered.
-
void renderVolume(bool enable)#
Display the volume rendering.
-
void renderIsosurface(bool enable)#
Display an isosurface.
-
void setIsoValue(double value)#
Set the isovalue for the isosurface.
-
void setOpacity(double value)#
Set the isovalue for the isosurface.
Public Slots
-
void updateScene()#
Update the scene plugins for the widget, this will generate geometry in the scene etc.
-
void clearScene()#
Clear the contents of the scene.
-
void resetCamera()#
Reset the view to fit the entire scene.
-
void resetGeometry()#
Reset the geometry when the molecule etc changes.
Signals
-
void imageDataUpdated()#
Emitted if the image data is updated so that histograms etc can update.
-
inline QtGui::ScenePluginModel &sceneModel()#