◆ setMolecule()
Set the molecule the widget will render.
◆ molecule() [1/2]
Get the molecule being rendered by the widget.
◆ molecule() [2/2]
Get the molecule being rendered by the widget.
◆ renderer()
Get a reference to the renderer for the widget.
◆ sceneModel() [1/2]
Get the GLWidget's ScenePluginModel, used to add, delete and modify the scene plugin items.
◆ sceneModel() [2/2]
Get the GLWidget's ScenePluginModel, used to add, delete and modify the scene plugin items.
◆ lut()
vtkColorTransferFunction* lut |
( |
| ) |
const |
Get the color loop up table for the volume renderer.
◆ opacityFunction()
vtkPiecewiseFunction* opacityFunction |
( |
| ) |
const |
Get the opacity function for the volume renderer.
◆ imageData()
vtkImageData* imageData |
( |
| ) |
const |
Get the vtkImageData that is being rendered.
◆ setCube()
◆ cube()
Get the cube being rendered, this is the input for the imageData.
◆ renderVolume()
void renderVolume |
( |
bool |
enable | ) |
|
Display the volume rendering.
◆ renderIsosurface()
void renderIsosurface |
( |
bool |
enable | ) |
|
◆ setIsoValue()
void setIsoValue |
( |
double |
value | ) |
|
Set the isovalue for the isosurface.
◆ setOpacity()
void setOpacity |
( |
double |
value | ) |
|
Set the isovalue for the isosurface.
◆ imageDataUpdated
void imageDataUpdated |
( |
| ) |
|
|
signal |
Emitted if the image data is updated so that histograms etc can update.
◆ updateScene
Update the scene plugins for the widget, this will generate geometry in the scene etc.
◆ clearScene
Clear the contents of the scene.
◆ resetCamera
Reset the view to fit the entire scene.
◆ resetGeometry
Reset the geometry when the molecule etc changes.
◆ cubeVolume
Volume render the supplied cube.
The documentation for this class was generated from the following file: