class QCustom3DVolume#

Inheritance diagram of PySide6.QtGraphs.QCustom3DVolume

Synopsis#

Properties#

Methods#

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:
property sliceFrameColorᅟ: QColor#
Access functions:
property sliceFrameGapsᅟ: QVector3D#
Access functions:
property sliceFrameThicknessesᅟ: QVector3D#
Access functions:
property sliceFrameWidthsᅟ: QVector3D#
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:
  • positionQVector3D

  • scalingQVector3D

  • rotationQQuaternion

  • textureWidth – int

  • textureHeight – int

  • textureDepth – int

  • textureDataQList

  • textureFormatFormat

  • colorTable – .list of unsigned int

  • parentQObject

__init__([parent=None])
Parameters:

parentQObject

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ᅟ .

renderSlice(axis, index)#
Parameters:
  • axisAxis

  • index – int

Return type:

QImage

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ᅟ .

setSliceFrameColor(color)#
Parameters:

colorQColor

Setter of property sliceFrameColorᅟ .

setSliceFrameGaps(values)#
Parameters:

valuesQVector3D

Setter of property sliceFrameGapsᅟ .

setSliceFrameThicknesses(values)#
Parameters:

valuesQVector3D

Setter of property sliceFrameThicknessesᅟ .

setSliceFrameWidths(values)#
Parameters:

valuesQVector3D

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, image)#
Parameters:
setSubTextureData(axis, index, data)
Parameters:
  • axisAxis

  • 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

setTextureFormat(format)#
Parameters:

formatFormat

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ᅟ .

sliceFrameColor()#
Return type:

QColor

Getter of property sliceFrameColorᅟ .

sliceFrameColorChanged(color)#
Parameters:

colorQColor

Notification signal of property sliceFrameColorᅟ .

sliceFrameGaps()#
Return type:

QVector3D

Getter of property sliceFrameGapsᅟ .

sliceFrameGapsChanged(values)#
Parameters:

valuesQVector3D

Notification signal of property sliceFrameGapsᅟ .

sliceFrameThicknesses()#
Return type:

QVector3D

Getter of property sliceFrameThicknessesᅟ .

sliceFrameThicknessesChanged(values)#
Parameters:

valuesQVector3D

Notification signal of property sliceFrameThicknessesᅟ .

sliceFrameWidths()#
Return type:

QVector3D

Getter of property sliceFrameWidthsᅟ .

sliceFrameWidthsChanged(values)#
Parameters:

valuesQVector3D

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:

dataQList

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ᅟ .

textureFormat()#
Return type:

Format

textureFormatChanged(format)#
Parameters:

formatFormat

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ᅟ .