MeVisLab Scripting Reference
|
#include <mlCSOGroupWrapper.h>
Inherits QObject.
Public Types | |
enum | CSOGroupOverflowHandling { OVERFLOW_DELETE_FIRST = ml::OVERFLOW_DELETE_FIRST , OVERFLOW_DELETE_LAST = ml::OVERFLOW_DELETE_LAST , OVERFLOW_DELETE_ALL = ml::OVERFLOW_DELETE_ALL , OVERFLOW_IGNORE_NEW = ml::OVERFLOW_IGNORE_NEW , NUM_OVERFLOW_MODES = ml::NUM_OVERFLOW_MODES } |
enum | CSORemoveHandling { REMOVE_ALWAYS = ml::REMOVE_ALWAYS , REMOVE_NEVER = ml::REMOVE_NEVER , REMOVE_IF_IN_NO_GROUP = ml::REMOVE_IF_IN_NO_GROUP , NUM_REMOVE_MODES = ml::NUM_REMOVE_MODES } |
enum | CSOVoxelWriteMode { VOXEL_WRITE_ID = ml::VOXEL_WRITE_ID , VOXEL_WRITE_CONST = ml::VOXEL_WRITE_CONST , VOXEL_WRITE_CONST_PLUS_ID = ml::VOXEL_WRITE_CONST_PLUS_ID , VOXEL_WRITE_MODULE = ml::VOXEL_WRITE_MODULE } |
Public Slots | |
bool | containsCSOWithId (int csoId) const |
bool | contains (ml::CSO *cso) const |
int | getNumCSOs () const |
MLCSOWrapper * | getCSOAt (unsigned int index) const |
unsigned int | getCSOIdAt (unsigned int index) const |
unsigned int | getId () const |
MLCSOListWrapper * | getCSOList () const |
void | resetRule () |
void | setNumMaximumCSOs (unsigned int numMaxCSOs) |
unsigned int | getNumMaximumCSOs () |
void | setOverflowHandling (CSOGroupOverflowHandling handling) |
CSOGroupOverflowHandling | getOverflowHandling () |
void | setRemoveFromGroupHandling (CSORemoveHandling handling) |
CSORemoveHandling | getRemoveFromGroupHandling () |
void | setDeleteGroupCSOHandling (CSORemoveHandling handling) |
CSORemoveHandling | getDeleteGroupCSOHandling () |
bool | mayAddCSO () |
void | setUserData (const QString &name, const QVariant &value) |
QVariant | getUserData (const QString &name) const |
QVariant | getUserData (const QString &name, const QVariant &defaultValue) const |
QStringList | getUserDataNames () const |
void | removeUserData (const QString &name) |
void | setLabel (QString label) |
QString | getLabel () const |
void | setDescription (QString desc) |
QString | getDescription () const |
void | setShowState (bool showState) |
bool | getShowState () const |
void | setVoxelizeState (bool voxelizeState) |
bool | getVoxelizeState () const |
void | setEditableState (bool editableState) |
bool | getEditableState () const |
int | getTimePointIndex () const |
void | setTimePointIndex (int tPoint) |
CSOVoxelWriteMode | getVoxelWriteMode () const |
void | setVoxelWriteMode (CSOVoxelWriteMode vwM) |
float | getVoxelWriteValue () const |
void | setVoxelWriteValue (float vwV) |
int | getPathPointStyle () const |
void | setPathPointStyle (int lStyle) |
float | getPathPointWidth () const |
void | setPathPointWidth (float lWidth) |
QVariantList | getPathPointColor () const |
void | setPathPointColor (QVariantList color) |
float | getPathPointAlpha () const |
void | setPathPointAlpha (float alpha) |
int | getSeedPointStyle () const |
void | setSeedPointStyle (int sStyle) |
float | getSeedPointSize () const |
void | setSeedPointSize (float size) |
QVariantList | getSeedPointColor () const |
void | setSeedPointColor (QVariantList color) |
float | getSeedPointAlpha () const |
void | setSeedPointAlpha (float alpha) |
bool | getUsePathPointStyle () const |
void | setUsePathPointStyle (bool state) |
bool | getUsePathPointColor () const |
void | setUsePathPointColor (bool state) |
bool | getUsePathPointAlpha () const |
void | setUsePathPointAlpha (bool state) |
bool | getUsePathPointWidth () const |
void | setUsePathPointWidth (bool state) |
bool | getUseSeedPointStyle () const |
void | setUseSeedPointStyle (bool state) |
bool | getUseSeedPointColor () const |
void | setUseSeedPointColor (bool state) |
bool | getUseSeedPointAlpha () const |
void | setUseSeedPointAlpha (bool state) |
bool | getUseSeedPointSize () const |
void | setUseSeedPointSize (bool state) |
bool | getUseTimePointIndex () const |
void | setUseTimePointIndex (bool useTimePointIndex) |
bool | getUseVoxelWriteMode () const |
void | setUseVoxelWriteMode (bool state) |
bool | getUseVoxelWriteValue () const |
void | setUseVoxelWriteValue (bool state) |
bool | getUseShowState () const |
void | setUseShowState (bool useSState) |
bool | getUseVoxelizeState () const |
void | setUseVoxelizeState (bool useVState) |
bool | getUseEditableState () const |
void | setUseEditableState (bool useEState) |
QVariantList | getBoundingBox () const |
bool | addCSO (int id, bool useUndoRedo=true) |
bool | removeCSO (int id, bool useUndoRedo=true) |
void | removeAllCSO () |
Properties | |
int | numCSOs |
int | id |
QString | label |
QString | description |
bool | showState |
bool | voxelizeState |
bool | editableState |
int | timePointIndex |
CSOVoxelWriteMode | voxelWriteMode |
float | voxelWriteValue |
QVariantList | boundingBox |
int | pathPointStyle |
float | pathPointWidth |
QVariantList | pathPointColor |
float | pathPointAlpha |
int | seedPointStyle |
float | seedPointSize |
QVariantList | seedPointColor |
float | seedPointAlpha |
bool | useTimePointIndex |
bool | useVoxelWriteMode |
bool | useVoxelWriteValue |
bool | useShowState |
bool | useVoxelizeState |
bool | useEditableState |
bool | useSeedPointStyle |
bool | useSeedPointColor |
bool | useSeedPointAlpha |
bool | useSeedPointSize |
bool | usePathPointStyle |
bool | usePathPointColor |
bool | usePathPointAlpha |
bool | usePathPointWidth |
A class that wraps CSOGroup objects for use in Scripting.
Enumeration for the group overflow handling modes.
Enumeration for the removal handling of CSOs from group and if group is deleted.
Voxel write mode used for setVoxelWriteMode.
|
slot |
Adds the CSO with the given id to this group. Returns false if the CSO id is invalid.
|
slot |
Returns whether this group contains the given CSO.
|
slot |
Returns whether this group contains the given CSO.
|
slot |
Returns the unified bounding box of all contained CSOs.
|
slot |
Returns a pointer to the CSO at the given index. Beware: no index check.
|
slot |
Returns the id of an associated CSO at the given index. Beware: no index check.
|
slot |
Returns a pointer to the embracing CSOList of this Group.
|
slot |
Returns the 'deleteGroupCSOHandling' mode.
|
slot |
Returns the group description.
|
slot |
Returns the 'editable' status of this group.
|
slot |
Returns the Id of this group.
|
slot |
Returns the group label.
|
slot |
Returns the number of CSOs in this group.
|
slot |
Returns the maximum number of allowed CSOs.
|
slot |
Returns the overflow handling mode.
|
slot |
Returns the path point alpha value of this group.
|
slot |
Returns the path point color of this group.
|
slot |
Returns the path point style of this group.
|
slot |
Returns the path point width value of this group.
|
slot |
Returns the 'removeFromGroupHandling' mode.
|
slot |
Returns the seed point alpha value of this group.
|
slot |
Returns the seed point color of this group.
|
slot |
Returns the seed point size value of this group.
|
slot |
Returns the seed point style of this group.
|
slot |
Returns the 'show' status of this group.
|
slot |
Returns the time point index of this group.
|
slot |
Returns whether this group overrides the editable state of its CSOs.
|
slot |
Returns whether this group overrides the path point alpha of its CSOs.
|
slot |
Returns whether this group overrides the path point color of its CSOs.
|
slot |
Returns whether this group overrides the path point style of its CSOs.
|
slot |
Returns whether this group overrides the path point width of its CSOs.
|
slot |
Returns the user data under the given name or an invalid value if the entry does not exist.
|
slot |
Returns the user data under the given name or the given default value if the entry does not exist.
|
slot |
Returns the keys/names under which user data are stored for this CSO.
|
slot |
Returns whether this group overrides the seed point alpha of its CSOs.
|
slot |
Returns whether this group overrides the seed point color of its CSOs.
|
slot |
Returns whether this group overrides the seed point size of its CSOs.
|
slot |
Returns whether this group overrides the seed point style of its CSOs.
|
slot |
Returns whether this group overrides the show state of its CSOs.
|
slot |
Returns whether the time point index of this group should be used.
|
slot |
Returns whether this group overrides the voxelize state of its CSOs.
|
slot |
Returns whether the voxel write mode of this group should be used.
|
slot |
Returns whether the voxel write value of this group should be used.
|
slot |
Returns the 'voxelize' status of this group.
|
slot |
Returns the voxel write mode of this group.
|
slot |
Returns the voxel write value of this group.
|
slot |
Checks whether a CSO could be added to this group without any rule being applied (e.g., remove another CSO).
|
slot |
Removes all CSOs from this group.
|
slot |
Removes the CSO with the given id from this group.
Returns false if the CSO id is invalid.
|
slot |
Removes a user data entry.
|
slot |
Sets the rule to its default.
|
slot |
Sets the handling mode for CSOs when this group is deleted, i.e., should they also be removed from the list.
|
slot |
Sets the group description.
|
slot |
Sets the 'editable' status of this group.
|
slot |
Sets the group label.
|
slot |
Sets the maximum number of CSOs allowed.
|
slot |
Sets the overflow handling, i.e., what has to done when one wants to add CSO and the maximum amount is reached.
|
slot |
Sets the path point alpha value of this group.
|
slot |
Sets the path point color of this group.
|
slot |
Sets the path point style of this group.
|
slot |
Sets the path point width value of this group.
|
slot |
Sets the handling mode for CSOs that are removed from the group, i.e., should they also be removed from the list.
|
slot |
Sets the seed point alpha value of this group.
|
slot |
Sets the seed point color of this group.
|
slot |
Sets the seed point size value of this group.
|
slot |
Sets the seed point style of this group.
|
slot |
Sets the 'show' status of this group.
|
slot |
Sets the time point index of this group.
|
slot |
Sets whether this group overrides the editable state of its CSOs.
|
slot |
Sets whether this group overrides the path point alpha of its CSOs.
|
slot |
Sets whether this group overrides the path point color of its CSOs.
|
slot |
Sets whether this group overrides the path point style of its CSOs.
|
slot |
Sets whether this group overrides the path point width of its CSOs.
|
slot |
Sets or adds a user data value under the given name.
|
slot |
Sets whether this group overrides the seed point alpha of its CSOs.
|
slot |
Sets whether this group overrides the seed point color of its CSOs.
|
slot |
Sets whether this group overrides the seed point size of its CSOs.
|
slot |
Sets whether this group overrides the seed point style of its CSOs.
|
slot |
Sets whether this group overrides the show state of its CSOs.
|
slot |
Sets whether the time point index of this group should be used.
|
slot |
Sets if this group overrides the voxelize state of its CSOs.
|
slot |
Sets whether the voxel write mode of this group should be used.
|
slot |
Sets whether the voxel write value of this group should be used.
|
slot |
Sets the 'voxelize' status of this group.
|
slot |
Sets the voxel write mode of this group.
|
slot |
Sets the voxel write value of this group.
|
read |
Set or read the bounding box.
|
readwrite |
Set or read the description.
|
readwrite |
Set or read the editable state.
|
read |
Returns the id.
|
readwrite |
Set or read the label.
|
read |
Returns the number of CSOs in this group.
|
readwrite |
Set or read the path point alpha.
|
readwrite |
Set or read the path point color.
|
readwrite |
Set or read the path point style.
|
readwrite |
Set or read the path point width.
|
readwrite |
Set or read the seed point alpha.
|
readwrite |
Set or read the seed point color.
|
readwrite |
Set or read the seed point size.
|
readwrite |
Set or read the seed point style.
|
readwrite |
Set or read the show state.
|
readwrite |
Set or read the time point index.
|
readwrite |
Set or read whether the editable state is used.
|
readwrite |
Set or read whether the path point alpha is used.
|
readwrite |
Set or read whether the path point color is used.
|
readwrite |
Set or read whether the path point style is used.
|
readwrite |
Set or read whether the path point width is used.
|
readwrite |
Set or read whether the seed point alpha is used.
|
readwrite |
Set or read whether the seed point color is used.
|
readwrite |
Set or read whether the seed point size is used.
|
readwrite |
Set or read whether the seed point style is used.
|
readwrite |
Set or read whether the show state is used.
|
readwrite |
Set or read whether the time point index is used.
|
readwrite |
Set or read whether the voxelize state is used.
|
readwrite |
Set or read whether voxel write mode is used.
|
readwrite |
Set or read whether voxel write value is used.
|
readwrite |
Set or read the voxelize state.
|
readwrite |
Set or read the voxel write mode.
|
readwrite |
Set or read the voxel write value.