- class QCustom3DVolume#
-
Synopsis#
Properties#
Methods#
def
__init__()
def
colorTable()
def
drawSlices()
def
renderSlice()
def
setColorTable()
def
setDrawSlices()
def
setSliceIndexX()
def
setSliceIndexY()
def
setSliceIndexZ()
def
setTextureData()
def
sliceFrameGaps()
def
sliceIndexX()
def
sliceIndexY()
def
sliceIndexZ()
def
textureData()
def
textureDepth()
def
textureFormat()
def
textureHeight()
def
textureWidth()
Signals#
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#
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property alphaMultiplierᅟ: float#
- Access functions:
- property colorTableᅟ: list of unsigned int#
- Access functions:
- property drawSliceFramesᅟ: bool#
- Access functions:
- property drawSlicesᅟ: bool#
- Access functions:
- property preserveOpacityᅟ: bool#
- Access functions:
- Access functions:
- Access functions:
- Access functions:
- Access functions:
- property sliceIndexXᅟ: int#
- Access functions:
- property sliceIndexYᅟ: int#
- Access functions:
- property sliceIndexZᅟ: int#
- Access functions:
- property textureDataᅟ: QList#
- Access functions:
- property textureDepthᅟ: int#
- Access functions:
- property textureHeightᅟ: int#
- Access functions:
- property textureWidthᅟ: int#
- Access functions:
- property useHighDefShaderᅟ: bool#
- Access functions:
- __init__(position, scaling, rotation, textureWidth, textureHeight, textureDepth, textureData, textureFormat, colorTable[, parent=None])#
- Parameters:
position –
QVector3D
scaling –
QVector3D
rotation –
QQuaternion
textureWidth – int
textureHeight – int
textureDepth – int
textureData –
QList
textureFormat –
Format
colorTable – .list of unsigned int
parent –
QObject
- __init__([parent=None])
- Parameters:
parent –
QObject
- alphaMultiplier()#
- Return type:
float
Getter of property
alphaMultiplierᅟ
.- alphaMultiplierChanged(mult)#
- Parameters:
mult – float
Notification signal of property
alphaMultiplierᅟ
.- colorTable()#
- Return type:
.list of unsigned int
Getter of property
colorTableᅟ
.- colorTableChanged()#
Notification signal of property
colorTableᅟ
.- createTextureData(images)#
- Parameters:
images – .list of QImage
- Return type:
QList
- drawSliceFrames()#
- Return type:
bool
Getter of property
drawSliceFramesᅟ
.- drawSliceFramesChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
drawSliceFramesᅟ
.- drawSlices()#
- Return type:
bool
Getter of property
drawSlicesᅟ
.- drawSlicesChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
drawSlicesᅟ
.- preserveOpacity()#
- Return type:
bool
Getter of property
preserveOpacityᅟ
.- preserveOpacityChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
preserveOpacityᅟ
.- setAlphaMultiplier(mult)#
- Parameters:
mult – float
Setter of property
alphaMultiplierᅟ
.- setColorTable(colors)#
- Parameters:
colors – .list of unsigned int
Setter of property
colorTableᅟ
.- setDrawSliceFrames(enable)#
- Parameters:
enable – bool
Setter of property
drawSliceFramesᅟ
.- setDrawSlices(enable)#
- Parameters:
enable – bool
Setter of property
drawSlicesᅟ
.- setPreserveOpacity(enable)#
- Parameters:
enable – bool
Setter of property
preserveOpacityᅟ
.Setter of property
sliceFrameColorᅟ
.Setter of property
sliceFrameGapsᅟ
.Setter of property
sliceFrameThicknessesᅟ
.Setter of property
sliceFrameWidthsᅟ
.- setSliceIndexX(value)#
- Parameters:
value – int
Setter of property
sliceIndexXᅟ
.- setSliceIndexY(value)#
- Parameters:
value – int
Setter of property
sliceIndexYᅟ
.- setSliceIndexZ(value)#
- Parameters:
value – int
Setter of property
sliceIndexZᅟ
.- setSliceIndices(x, y, z)#
- Parameters:
x – int
y – int
z – int
- setSubTextureData(axis, index, data)
- Parameters:
axis –
Axis
index – int
data – str
- setTextureData(arg__1)#
- Parameters:
arg__1 – .list of uchar
- setTextureDepth(value)#
- Parameters:
value – int
Setter of property
textureDepthᅟ
.- setTextureDimensions(width, height, depth)#
- Parameters:
width – int
height – int
depth – int
- setTextureHeight(value)#
- Parameters:
value – int
Setter of property
textureHeightᅟ
.- setTextureWidth(value)#
- Parameters:
value – int
Setter of property
textureWidthᅟ
.- setUseHighDefShader(enable)#
- Parameters:
enable – bool
Setter of property
useHighDefShaderᅟ
.Getter of property
sliceFrameColorᅟ
.Notification signal of property
sliceFrameColorᅟ
.Getter of property
sliceFrameGapsᅟ
.Notification signal of property
sliceFrameGapsᅟ
.Getter of property
sliceFrameThicknessesᅟ
.Notification signal of property
sliceFrameThicknessesᅟ
.Getter of property
sliceFrameWidthsᅟ
.Notification signal of property
sliceFrameWidthsᅟ
.- sliceIndexX()#
- Return type:
int
Getter of property
sliceIndexXᅟ
.- sliceIndexXChanged(value)#
- Parameters:
value – int
Notification signal of property
sliceIndexXᅟ
.- sliceIndexY()#
- Return type:
int
Getter of property
sliceIndexYᅟ
.- sliceIndexYChanged(value)#
- Parameters:
value – int
Notification signal of property
sliceIndexYᅟ
.- sliceIndexZ()#
- Return type:
int
Getter of property
sliceIndexZᅟ
.- sliceIndexZChanged(value)#
- Parameters:
value – int
Notification signal of property
sliceIndexZᅟ
.- textureData()#
- Return type:
QList
Getter of property
textureDataᅟ
.- textureDataChanged(data)#
- Parameters:
data –
QList
Notification signal of property
textureDataᅟ
.- textureDataWidth()#
- Return type:
int
- textureDepth()#
- Return type:
int
Getter of property
textureDepthᅟ
.- textureDepthChanged(value)#
- Parameters:
value – int
Notification signal of property
textureDepthᅟ
.- textureHeight()#
- Return type:
int
Getter of property
textureHeightᅟ
.- textureHeightChanged(value)#
- Parameters:
value – int
Notification signal of property
textureHeightᅟ
.- textureWidth()#
- Return type:
int
Getter of property
textureWidthᅟ
.- textureWidthChanged(value)#
- Parameters:
value – int
Notification signal of property
textureWidthᅟ
.- useHighDefShader()#
- Return type:
bool
Getter of property
useHighDefShaderᅟ
.- useHighDefShaderChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
useHighDefShaderᅟ
.