QCustom3DVolume#
Synopsis#
Properties#
Functions#
def
alphaMultiplier
()def
colorTable
()def
createTextureData
(images)def
drawSliceFrames
()def
drawSlices
()def
preserveOpacity
()def
renderSlice
(axis, index)def
setAlphaMultiplier
(mult)def
setColorTable
(colors)def
setDrawSliceFrames
(enable)def
setDrawSlices
(enable)def
setPreserveOpacity
(enable)def
setSliceFrameColor
(color)def
setSliceFrameGaps
(values)def
setSliceFrameThicknesses
(values)def
setSliceFrameWidths
(values)def
setSliceIndexX
(value)def
setSliceIndexY
(value)def
setSliceIndexZ
(value)def
setSliceIndices
(x, y, z)def
setSubTextureData
(axis, index, image)def
setSubTextureData
(axis, index, data)def
setTextureData
(arg__1)def
setTextureDepth
(value)def
setTextureDimensions
(width, height, depth)def
setTextureFormat
(format)def
setTextureHeight
(value)def
setTextureWidth
(value)def
setUseHighDefShader
(enable)def
sliceFrameColor
()def
sliceFrameGaps
()def
sliceFrameThicknesses
()def
sliceFrameWidths
()def
sliceIndexX
()def
sliceIndexY
()def
sliceIndexZ
()def
textureData
()def
textureDataWidth
()def
textureDepth
()def
textureFormat
()def
textureHeight
()def
textureWidth
()def
useHighDefShader
()
Signals#
def
alphaMultiplierChanged
(mult)def
colorTableChanged
()def
drawSliceFramesChanged
(enabled)def
drawSlicesChanged
(enabled)def
preserveOpacityChanged
(enabled)def
sliceFrameColorChanged
(color)def
sliceFrameGapsChanged
(values)def
sliceFrameThicknessesChanged
(values)def
sliceFrameWidthsChanged
(values)def
sliceIndexXChanged
(value)def
sliceIndexYChanged
(value)def
sliceIndexZChanged
(value)def
textureDataChanged
(data)def
textureDepthChanged
(value)def
textureFormatChanged
(format)def
textureHeightChanged
(value)def
textureWidthChanged
(value)def
useHighDefShaderChanged
(enabled)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
- class PySide6.QtGraphs.QCustom3DVolume([parent=None])#
PySide6.QtGraphs.QCustom3DVolume(position, scaling, rotation, textureWidth, textureHeight, textureDepth, textureData, textureFormat, colorTable[, parent=None])
- Parameters:
textureData –
QList
textureFormat –
Format
colorTable – .list of unsigned int
position –
PySide6.QtGui.QVector3D
scaling –
PySide6.QtGui.QVector3D
textureDepth – int
rotation –
PySide6.QtGui.QQuaternion
textureWidth – int
textureHeight – int
parent –
PySide6.QtCore.QObject
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtGraphs.QCustom3DVolume.alphaMultiplier: float#
- Access functions:
setAlphaMultiplier
(mult)Signal
alphaMultiplierChanged
(mult)
- property PᅟySide6.QtGraphs.QCustom3DVolume.colorTable: list of unsigned int#
- Access functions:
colorTable
()setColorTable
(colors)Signal
colorTableChanged
()
- property PᅟySide6.QtGraphs.QCustom3DVolume.drawSliceFrames: bool#
- Access functions:
setDrawSliceFrames
(enable)Signal
drawSliceFramesChanged
(enabled)
- property PᅟySide6.QtGraphs.QCustom3DVolume.drawSlices: bool#
- Access functions:
drawSlices
()setDrawSlices
(enable)Signal
drawSlicesChanged
(enabled)
- property PᅟySide6.QtGraphs.QCustom3DVolume.preserveOpacity: bool#
- Access functions:
setPreserveOpacity
(enable)Signal
preserveOpacityChanged
(enabled)
- property PᅟySide6.QtGraphs.QCustom3DVolume.sliceFrameColor: PySide6.QtGui.QColor#
- Access functions:
setSliceFrameColor
(color)Signal
sliceFrameColorChanged
(color)
- property PᅟySide6.QtGraphs.QCustom3DVolume.sliceFrameGaps: PySide6.QtGui.QVector3D#
- Access functions:
setSliceFrameGaps
(values)Signal
sliceFrameGapsChanged
(values)
- property PᅟySide6.QtGraphs.QCustom3DVolume.sliceFrameThicknesses: PySide6.QtGui.QVector3D#
- Access functions:
setSliceFrameThicknesses
(values)Signal
sliceFrameThicknessesChanged
(values)
- property PᅟySide6.QtGraphs.QCustom3DVolume.sliceFrameWidths: PySide6.QtGui.QVector3D#
- Access functions:
setSliceFrameWidths
(values)Signal
sliceFrameWidthsChanged
(values)
- property PᅟySide6.QtGraphs.QCustom3DVolume.sliceIndexX: int#
- Access functions:
sliceIndexX
()setSliceIndexX
(value)Signal
sliceIndexXChanged
(value)
- property PᅟySide6.QtGraphs.QCustom3DVolume.sliceIndexY: int#
- Access functions:
sliceIndexY
()setSliceIndexY
(value)Signal
sliceIndexYChanged
(value)
- property PᅟySide6.QtGraphs.QCustom3DVolume.sliceIndexZ: int#
- Access functions:
sliceIndexZ
()setSliceIndexZ
(value)Signal
sliceIndexZChanged
(value)
- property PᅟySide6.QtGraphs.QCustom3DVolume.textureData: QList#
- Access functions:
textureData
()setTextureData
(arg__1)Signal
textureDataChanged
(data)
- property PᅟySide6.QtGraphs.QCustom3DVolume.textureDepth: int#
- Access functions:
textureDepth
()setTextureDepth
(value)Signal
textureDepthChanged
(value)
- property PᅟySide6.QtGraphs.QCustom3DVolume.textureHeight: int#
- Access functions:
setTextureHeight
(value)Signal
textureHeightChanged
(value)
- property PᅟySide6.QtGraphs.QCustom3DVolume.textureWidth: int#
- Access functions:
textureWidth
()setTextureWidth
(value)Signal
textureWidthChanged
(value)
- property PᅟySide6.QtGraphs.QCustom3DVolume.useHighDefShader: bool#
- Access functions:
setUseHighDefShader
(enable)Signal
useHighDefShaderChanged
(enabled)
- PySide6.QtGraphs.QCustom3DVolume.alphaMultiplier()#
- Return type:
float
Getter of property alphaMultiplier
.
- PySide6.QtGraphs.QCustom3DVolume.alphaMultiplierChanged(mult)#
- Parameters:
mult – float
Notification signal of property alphaMultiplier
.
- PySide6.QtGraphs.QCustom3DVolume.colorTable()#
- Return type:
.list of unsigned int
Getter of property colorTable
.
- PySide6.QtGraphs.QCustom3DVolume.colorTableChanged()#
Notification signal of property colorTable
.
- PySide6.QtGraphs.QCustom3DVolume.createTextureData(images)#
- Parameters:
images – .list of QImage
- Return type:
QList
- PySide6.QtGraphs.QCustom3DVolume.drawSliceFrames()#
- Return type:
bool
Getter of property drawSliceFrames
.
- PySide6.QtGraphs.QCustom3DVolume.drawSliceFramesChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property drawSliceFrames
.
- PySide6.QtGraphs.QCustom3DVolume.drawSlices()#
- Return type:
bool
Getter of property drawSlices
.
- PySide6.QtGraphs.QCustom3DVolume.drawSlicesChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property drawSlices
.
- PySide6.QtGraphs.QCustom3DVolume.preserveOpacity()#
- Return type:
bool
Getter of property preserveOpacity
.
- PySide6.QtGraphs.QCustom3DVolume.preserveOpacityChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property preserveOpacity
.
- PySide6.QtGraphs.QCustom3DVolume.renderSlice(axis, index)#
- Parameters:
axis –
Axis
index – int
- Return type:
- PySide6.QtGraphs.QCustom3DVolume.setAlphaMultiplier(mult)#
- Parameters:
mult – float
Setter of property alphaMultiplier
.
- PySide6.QtGraphs.QCustom3DVolume.setColorTable(colors)#
- Parameters:
colors – .list of unsigned int
Setter of property colorTable
.
- PySide6.QtGraphs.QCustom3DVolume.setDrawSliceFrames(enable)#
- Parameters:
enable – bool
Setter of property drawSliceFrames
.
- PySide6.QtGraphs.QCustom3DVolume.setDrawSlices(enable)#
- Parameters:
enable – bool
Setter of property drawSlices
.
- PySide6.QtGraphs.QCustom3DVolume.setPreserveOpacity(enable)#
- Parameters:
enable – bool
Setter of property preserveOpacity
.
- PySide6.QtGraphs.QCustom3DVolume.setSliceFrameColor(color)#
- Parameters:
color –
PySide6.QtGui.QColor
Setter of property sliceFrameColor
.
- PySide6.QtGraphs.QCustom3DVolume.setSliceFrameGaps(values)#
- Parameters:
values –
PySide6.QtGui.QVector3D
Setter of property sliceFrameGaps
.
- PySide6.QtGraphs.QCustom3DVolume.setSliceFrameThicknesses(values)#
- Parameters:
values –
PySide6.QtGui.QVector3D
Setter of property sliceFrameThicknesses
.
- PySide6.QtGraphs.QCustom3DVolume.setSliceFrameWidths(values)#
- Parameters:
values –
PySide6.QtGui.QVector3D
Setter of property sliceFrameWidths
.
- PySide6.QtGraphs.QCustom3DVolume.setSliceIndexX(value)#
- Parameters:
value – int
Setter of property sliceIndexX
.
- PySide6.QtGraphs.QCustom3DVolume.setSliceIndexY(value)#
- Parameters:
value – int
Setter of property sliceIndexY
.
- PySide6.QtGraphs.QCustom3DVolume.setSliceIndexZ(value)#
- Parameters:
value – int
Setter of property sliceIndexZ
.
- PySide6.QtGraphs.QCustom3DVolume.setSliceIndices(x, y, z)#
- Parameters:
x – int
y – int
z – int
- PySide6.QtGraphs.QCustom3DVolume.setSubTextureData(axis, index, image)#
- Parameters:
axis –
Axis
index – int
image –
PySide6.QtGui.QImage
- PySide6.QtGraphs.QCustom3DVolume.setSubTextureData(axis, index, data)
- Parameters:
axis –
Axis
index – int
data – str
- PySide6.QtGraphs.QCustom3DVolume.setTextureData(arg__1)#
- Parameters:
arg__1 – .list of uchar
- PySide6.QtGraphs.QCustom3DVolume.setTextureDepth(value)#
- Parameters:
value – int
Setter of property textureDepth
.
- PySide6.QtGraphs.QCustom3DVolume.setTextureDimensions(width, height, depth)#
- Parameters:
width – int
height – int
depth – int
- PySide6.QtGraphs.QCustom3DVolume.setTextureHeight(value)#
- Parameters:
value – int
Setter of property textureHeight
.
- PySide6.QtGraphs.QCustom3DVolume.setTextureWidth(value)#
- Parameters:
value – int
Setter of property textureWidth
.
- PySide6.QtGraphs.QCustom3DVolume.setUseHighDefShader(enable)#
- Parameters:
enable – bool
Setter of property useHighDefShader
.
- PySide6.QtGraphs.QCustom3DVolume.sliceFrameColor()#
- Return type:
Getter of property sliceFrameColor
.
- PySide6.QtGraphs.QCustom3DVolume.sliceFrameColorChanged(color)#
- Parameters:
color –
PySide6.QtGui.QColor
Notification signal of property sliceFrameColor
.
- PySide6.QtGraphs.QCustom3DVolume.sliceFrameGaps()#
- Return type:
Getter of property sliceFrameGaps
.
- PySide6.QtGraphs.QCustom3DVolume.sliceFrameGapsChanged(values)#
- Parameters:
values –
PySide6.QtGui.QVector3D
Notification signal of property sliceFrameGaps
.
- PySide6.QtGraphs.QCustom3DVolume.sliceFrameThicknesses()#
- Return type:
Getter of property sliceFrameThicknesses
.
- PySide6.QtGraphs.QCustom3DVolume.sliceFrameThicknessesChanged(values)#
- Parameters:
values –
PySide6.QtGui.QVector3D
Notification signal of property sliceFrameThicknesses
.
- PySide6.QtGraphs.QCustom3DVolume.sliceFrameWidths()#
- Return type:
Getter of property sliceFrameWidths
.
- PySide6.QtGraphs.QCustom3DVolume.sliceFrameWidthsChanged(values)#
- Parameters:
values –
PySide6.QtGui.QVector3D
Notification signal of property sliceFrameWidths
.
- PySide6.QtGraphs.QCustom3DVolume.sliceIndexX()#
- Return type:
int
Getter of property sliceIndexX
.
- PySide6.QtGraphs.QCustom3DVolume.sliceIndexXChanged(value)#
- Parameters:
value – int
Notification signal of property sliceIndexX
.
- PySide6.QtGraphs.QCustom3DVolume.sliceIndexY()#
- Return type:
int
Getter of property sliceIndexY
.
- PySide6.QtGraphs.QCustom3DVolume.sliceIndexYChanged(value)#
- Parameters:
value – int
Notification signal of property sliceIndexY
.
- PySide6.QtGraphs.QCustom3DVolume.sliceIndexZ()#
- Return type:
int
Getter of property sliceIndexZ
.
- PySide6.QtGraphs.QCustom3DVolume.sliceIndexZChanged(value)#
- Parameters:
value – int
Notification signal of property sliceIndexZ
.
- PySide6.QtGraphs.QCustom3DVolume.textureData()#
- Return type:
QList
Getter of property textureData
.
- PySide6.QtGraphs.QCustom3DVolume.textureDataChanged(data)#
- Parameters:
data –
QList
Notification signal of property textureData
.
- PySide6.QtGraphs.QCustom3DVolume.textureDataWidth()#
- Return type:
int
- PySide6.QtGraphs.QCustom3DVolume.textureDepth()#
- Return type:
int
Getter of property textureDepth
.
- PySide6.QtGraphs.QCustom3DVolume.textureDepthChanged(value)#
- Parameters:
value – int
Notification signal of property textureDepth
.
- PySide6.QtGraphs.QCustom3DVolume.textureHeight()#
- Return type:
int
Getter of property textureHeight
.
- PySide6.QtGraphs.QCustom3DVolume.textureHeightChanged(value)#
- Parameters:
value – int
Notification signal of property textureHeight
.
- PySide6.QtGraphs.QCustom3DVolume.textureWidth()#
- Return type:
int
Getter of property textureWidth
.
- PySide6.QtGraphs.QCustom3DVolume.textureWidthChanged(value)#
- Parameters:
value – int
Notification signal of property textureWidth
.
- PySide6.QtGraphs.QCustom3DVolume.useHighDefShader()#
- Return type:
bool
Getter of property useHighDefShader
.
- PySide6.QtGraphs.QCustom3DVolume.useHighDefShaderChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property useHighDefShader
.