MeVisLab Scripting Reference
|
#include <mlPagedImageWrapper.h>
Inherits MLPagedImageWrapper.
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) |
Public Slots inherited from MLPagedImageWrapper | |
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 | |
Public Types inherited from MLPagedImageWrapper | |
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 |
get information about C dimension
|
slot |
set datatype from ML datatype id (you may use the MLDataType names MLuint8Type etc.
which are available as enum values on this object).
|
slot |
set the datatype from the an ML datatype string name
|
slot |
set the datatype from NumPy (use ndarray.dtype.num and not ndarray.dtype)
|
slot |
set the image extent
|
slot |
set the image extent
|
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).
|
slot |
set the ML datatype for the input image index
(default is datatype of output)
|
slot |
set the ML datatype for the input image index
(default is datatype of output)
|
inlineslot |
invalidate the output image
|
inlineslot |
set the maximum voxel value
|
inlineslot |
set the minimum voxel value
|
slot |
set the page extent
|
slot |
set the page extent
|
inlineslot |
set the state info of the image (only useful if the image invalid)
|
slot |
get information about T dimension
|
slot |
get information about U dimension
|
inlineslot |
make the output image valid (which is the default when calculateOutputProperties is called)
|
slot |
set the voxel size
|
slot |
set the voxel size
|
slot |
set the voxel to world matrix (and update the worldToVoxel matrix and voxelsize)
|
slot |
set the voxel to world matrix (and update the worldToVoxel matrix and voxelsize)