MeVisLab Scripting Reference
|
Public Slots | |
Property write access | |
| |
void | setImageExtent (const QList< qint64 > &ext) |
void | setImageExtent (quint64 x, quint64 y, quint64 z=1, quint64 c=1, quint64 t=1, quint64 u=1) |
void | setPageExtent (quint64 x, quint64 y, quint64 z=1, quint64 c=1, quint64 t=1, quint64 u=1) |
void | setPageExtent (const QList< qint64 > &ext) |
void | setVoxelToWorldMatrix (const QVariantList &matrix) |
void | setVoxelToWorldMatrix (const SbMatrixd &matrix) |
void | setVoxelSize (double vx, double vy, double vz) |
void | setVoxelSize (const QList< double > voxelSize) |
void | setMinVoxelValue (double value) |
void | setMaxVoxelValue (double value) |
void | setDataType (int dataType) |
void | setDataTypeFromName (const char *name) |
void | setDataTypeFromNumPyType (int numPyDataType) |
void | setInvalid () |
void | setValid (bool flag=true) |
void | setStateInfo (const char *stateInfo) |
void | setImageProperties (MLPagedImageWrapper *image) |
void | setInputSubImageDataType (int index, int dataType) |
void | setInputSubImageDataTypeFromName (int index, const char *name) |
void | setCDimensionInfos (const QStringList &infos) |
void | setTDimensionInfos (const QList< QDateTime > &infos) |
void | setUDimensionInfos (const QStringList &infos) |
![]() | |
QList< qint64 > | imageExtent () const |
QList< qint64 > | pageExtent () const |
int | dataType () const |
int | numPyDataType () const |
const char * | dataTypeName () const |
QList< double > | voxelSize () const |
double | voxelVolumeInCubicMillimeters () const |
double | voxelVolumeInMilliliters () const |
QVariantList | worldToVoxelMatrix () const |
QVariantList | voxelToWorldMatrix () const |
SbMatrixd | worldToVoxelMatrixInventor () const |
SbMatrixd | voxelToWorldMatrixInventor () const |
QList< double > | mapVoxelToWorld (QList< double > vector) const |
QList< double > | mapVoxelToWorld (double x, double y, double z) const |
QList< double > | mapWorldToVoxel (QList< double > vector) const |
QList< double > | mapWorldToVoxel (double x, double y, double z) const |
double | minVoxelValue () const |
double | maxVoxelValue () const |
QStringList | getCDimensionInfos () const |
QList< QDateTime > | getTDimensionInfos () const |
QStringList | getUDimensionInfos () const |
PySubImage | getTile (const QList< qint64 > &pos, const QList< qint64 > &extent, int dataType=-2, double scale=1.0, double shift=0.) |
double | getInterpolatedValue (const QList< double > xyzPosition, qint64 c=0, qint64 t=0, qint64 u=0, double outsideFillValue=0) |
QPixmap | getSliceAsQPixmap (qint64 z=0, qint64 t=0, qint64 u=0) |
QImage | getSliceAsQImage (qint64 z=0, qint64 t=0, qint64 u=0) |
Additional Inherited Members | |
![]() | |
enum | DataTypes { MLuint8Type = ::MLuint8Type , MLint8Type = ::MLint8Type , MLuint16Type = ::MLuint16Type , MLint16Type = ::MLint16Type , MLuint32Type = ::MLuint32Type , MLint32Type = ::MLint32Type , MLuint64Type = ::MLuint64Type , MLint64Type = ::MLint64Type , MLfloatType = ::MLfloatType , MLdoubleType = ::MLdoubleType , MLcomplexfType = ::MLComplexfType , MLcomplexdType = ::MLComplexdType , MLComplexfType = ::MLComplexfType , MLComplexdType = ::MLComplexdType , MLQuaternionfType = ::MLQuaternionfType , MLQuaterniondType = ::MLQuaterniondType , MLVector2fType = ::MLVector2fType , MLVector2dType = ::MLVector2dType , MLVector3fType = ::MLVector3fType , MLVector3dType = ::MLVector3dType , MLVector4fType = ::MLVector4fType , MLVector4dType = ::MLVector4dType , MLVector5fType = ::MLVector5fType , MLVector5dType = ::MLVector5dType , MLVector6fType = ::MLVector6fType , MLVector6dType = ::MLVector6dType , MLVector7fType = ::MLVector7fType , MLVector7dType = ::MLVector7dType , MLVector8fType = ::MLVector8fType , MLVector8dType = ::MLVector8dType , MLVector9fType = ::MLVector9fType , MLVector9dType = ::MLVector9dType , MLVector10fType = ::MLVector10fType , MLVector10dType = ::MLVector10dType , MLVector16fType = ::MLVector16fType , MLVector16dType = ::MLVector16dType , MLVector32fType = ::MLVector32fType , MLVector32dType = ::MLVector32dType , MLVector64fType = ::MLVector64fType , MLVector64dType = ::MLVector64dType , MLMatrix2fType = ::MLMatrix2fType , MLMatrix2dType = ::MLMatrix2dType , MLMatrix3fType = ::MLMatrix3fType , MLMatrix3dType = ::MLMatrix3dType , MLMatrix4fType = ::MLMatrix4fType , MLMatrix4dType = ::MLMatrix4dType , MLMatrix5fType = ::MLMatrix5fType , MLMatrix5dType = ::MLMatrix5dType , MLMatrix6fType = ::MLMatrix6fType , MLMatrix6dType = ::MLMatrix6dType } |
enum | Options { UseImageExtent = -4711 } |
This class allows read/write access to a ml::PagedImage.
It is available to Python modules that implement calculateOutputProperties.
|
slot |
Sets information about C dimension.
|
slot |
Sets data type from ML data type ID.
You may use the MLDataType names MLuint8Type, etc., that are available as enum values on this object.
|
slot |
Sets the data type from the an ML data type string name.
|
slot |
Sets the data type from NumPy. Use ndarray.dtype.num and not ndarray.dtype.
|
slot |
Sets the image extent.
|
slot |
Sets the image extent.
|
slot |
Takes 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).
|
slot |
Sets the ML data type for the input image index
(default is data type of output).
|
slot |
Sets the ML data type for the input image index
(default is data type of output).
|
inlineslot |
Invalidates the output image.
|
inlineslot |
Sets the maximum voxel value.
|
inlineslot |
Sets the minimum voxel value.
|
slot |
Sets the page extent.
|
slot |
Sets the page extent.
|
inlineslot |
Sets the state info of the image (only useful if the image invalid).
|
slot |
Sets information about T dimension.
|
slot |
Sets information about U dimension.
|
inlineslot |
Makes the output image valid (which is the default when calculateOutputProperties is called).
|
slot |
Sets the voxel size.
|
slot |
Sets the voxel size.
|
slot |
Sets the voxel to world matrix and updates the worldToVoxel matrix and voxelsize.
|
slot |
Sets the voxel to world matrix and updates the worldToVoxel matrix and voxelsize.