|
AvogadroLibs 1.103.0
|
Public Slots | |
| void | updateScene () |
| void | clearScene () |
| void | resetCamera () |
| void | resetGeometry () |
| void | cubeVolume (Core::Cube *cube) |
Signals | |
| void | imageDataUpdated () |
Public Member Functions | |
| vtkGLWidget (QWidget *p=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
| void | setMolecule (QtGui::Molecule *molecule) |
| Rendering::GLRenderer & | renderer () |
| vtkColorTransferFunction * | lut () const |
| vtkPiecewiseFunction * | opacityFunction () const |
| vtkImageData * | imageData () const |
| void | setCube (Core::Cube *cube) |
| Core::Cube * | cube () |
| void | renderVolume (bool enable) |
| void | renderIsosurface (bool enable) |
| void | setIsoValue (double value) |
| void | setOpacity (double value) |
| QtGui::Molecule * | molecule () |
| const QtGui::Molecule * | molecule () const |
| QtGui::ScenePluginModel & | sceneModel () |
| const QtGui::ScenePluginModel & | sceneModel () const |
| Public Member Functions inherited from QVTKWidget | |
| QVTKWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
| 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.
| 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 setCube | ( | Core::Cube * | cube | ) |
Set the cube to render.
| Core::Cube * cube | ( | ) |
Get the cube being rendered, this is the input for the imageData.
| 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.
|
signal |
Emitted if the image data is updated so that histograms etc can update.
|
slot |
Update the scene plugins for the widget, this will generate geometry 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.
|
slot |
Volume render the supplied cube.