Inherits MLPagedImageWrapper.
Public Slots | |
Property write access | |
| void | setDataType (int dataType) |
| void | setDataTypeFromName (const char *name) |
| void | setDataTypeFromNumPyType (int numPyDataType) |
| void | setImageExtent (quint64 x, quint64 y, quint64 z=1, quint64 c=1, quint64 t=1, quint64 u=1) |
| void | setImageExtent (const QList< qint64 > &ext) |
| void | setImageProperties (MLPagedImageWrapper *image) |
| void | setInputSubImageDataType (int index, int dataType) |
| void | setInputSubImageDataTypeFromName (int index, const char *name) |
| void | setInvalid () |
| void | setMaxVoxelValue (double value) |
| void | setMinVoxelValue (double value) |
| void | setPageExtent (const QList< qint64 > &ext) |
| void | setPageExtent (quint64 x, quint64 y, quint64 z=1, quint64 c=1, quint64 t=1, quint64 u=1) |
| void | setStateInfo (const char *stateInfo) |
| void | setValid (bool flag=true) |
| void | setVoxelSize (const QList< double > voxelSize) |
| void | setVoxelSize (double vx, double vy, double vz) |
| void | setVoxelToWorldMatrix (const QVariantList &matrix) |
It is available to Python modules that implement calculateOutputProperties.
| void MLWriteablePagedImageWrapper::setDataType | ( | int | dataType | ) | [slot] |
set datatype from ML datatype id (you may use the MLDataType names MLuint8Type etc.
which are available as enum values on this object).
| void MLWriteablePagedImageWrapper::setDataTypeFromName | ( | const char * | name | ) | [slot] |
set the datatype from the an ML datatype string name
| void MLWriteablePagedImageWrapper::setDataTypeFromNumPyType | ( | int | numPyDataType | ) | [slot] |
set the datatype from NumPy (use ndarray.dtype.num and not ndarray.dtype)
| void MLWriteablePagedImageWrapper::setImageExtent | ( | quint64 | x, | |
| quint64 | y, | |||
| quint64 | z = 1, |
|||
| quint64 | c = 1, |
|||
| quint64 | t = 1, |
|||
| quint64 | u = 1 | |||
| ) | [slot] |
set the image extent
| void MLWriteablePagedImageWrapper::setImageExtent | ( | const QList< qint64 > & | ext | ) | [slot] |
set the image extent
| void MLWriteablePagedImageWrapper::setImageProperties | ( | MLPagedImageWrapper * | image | ) | [slot] |
take over the essential image properties (but not the data/pages) of the given image (this is typically done to copy the image properties from an input image to an output image).
| void MLWriteablePagedImageWrapper::setInputSubImageDataType | ( | int | index, | |
| int | dataType | |||
| ) | [slot] |
set the ML datatype for the input image index (default is datatype of output)
| void MLWriteablePagedImageWrapper::setInputSubImageDataTypeFromName | ( | int | index, | |
| const char * | name | |||
| ) | [slot] |
set the ML datatype for the input image index (default is datatype of output)
| void MLWriteablePagedImageWrapper::setInvalid | ( | ) | [inline, slot] |
invalidate the output image
| void MLWriteablePagedImageWrapper::setMaxVoxelValue | ( | double | value | ) | [inline, slot] |
set the maximum voxel value
| void MLWriteablePagedImageWrapper::setMinVoxelValue | ( | double | value | ) | [inline, slot] |
set the minimum voxel value
| void MLWriteablePagedImageWrapper::setPageExtent | ( | const QList< qint64 > & | ext | ) | [slot] |
set the page extent
| void MLWriteablePagedImageWrapper::setPageExtent | ( | quint64 | x, | |
| quint64 | y, | |||
| quint64 | z = 1, |
|||
| quint64 | c = 1, |
|||
| quint64 | t = 1, |
|||
| quint64 | u = 1 | |||
| ) | [slot] |
set the page extent
| void MLWriteablePagedImageWrapper::setStateInfo | ( | const char * | stateInfo | ) | [inline, slot] |
set the state info of the image (only useful if the image invalid)
| void MLWriteablePagedImageWrapper::setValid | ( | bool | flag = true |
) | [inline, slot] |
make the output image valid (which is the default when calculateOutputProperties is called)
| void MLWriteablePagedImageWrapper::setVoxelSize | ( | const QList< double > | voxelSize | ) | [slot] |
set the voxel size
| void MLWriteablePagedImageWrapper::setVoxelSize | ( | double | vx, | |
| double | vy, | |||
| double | vz | |||
| ) | [slot] |
set the voxel size
| void MLWriteablePagedImageWrapper::setVoxelToWorldMatrix | ( | const QVariantList & | matrix | ) | [slot] |
set the voxel to world matrix (and update the worldToVoxel matrix and voxelsize)
1.5.8