#include <CSOVoxelSetList.h>

Public Member Functions | |
| CSOVoxelSetList () | |
| Standard constructor. | |
| virtual | ~CSOVoxelSetList () |
| Standard destructor. | |
| void | destroy () |
| Deletes internal structures. | |
| void | setupInternalStructureAsCSOList (CSOList *csoList, PagedImage *image=NULL) |
| Establishes the internal structure as the given CSOList. | |
| void | setupInternalStructureAsImage (PagedImage *image) |
| Establishes the internal structure fitting to the given image. | |
| int | numCSOVoxelSet () const |
| Returns the number of CSOVoxelSets. | |
| CSOVoxelSet * | csoVoxelSetAt (size_t index) const |
| Returns the pointer to a CSOVoxelSet at a given index. | |
| CSOVoxelSet * | csoVoxelSetWithId (int id) |
| Returns the pointer to a CSOVoxelSet with a given id. NULL if it does not exist. | |
| CSOVoxelSet * | addCSOVoxelSet () |
| Adds and returns a new CSOVoxelSet. | |
| int | numCSOVoxelSetGroup () const |
| Returns the number of CSOVoxelSetGroups. | |
| CSOVoxelSetGroup * | csoVoxelSetGroupAt (size_t index) const |
| Returns the pointer to a CSOVoxelSetGroup at a given index. | |
| CSOVoxelSetGroup * | csoVoxelSetGroupWithId (int id) |
| Returns the pointer to a CSOVoxelSetGroup with a given id. NULL if it does not exist. | |
| CSOVoxelSetGroup * | addCSOVoxelSetGroup () |
| Adds and returns a new CSOVoxelSetGroup. | |
| int | getMaxTimepointIndex () |
| Computes and returns the maximum timepoint index. | |
| bool | isInsideImage (const Vector3 &position) |
| Returns if a given position is inside the association image. | |
| const SubImageBox & | getImageBox () const |
| Returns the image box (which is empty if no valid PagedImage was available). | |
| void | setSubImageBox (const SubImageBox &subImageBox) |
| Sets the SubImageBox. | |
| virtual void | addStateToTree (TreeNode *parent) const |
| Implement export functionality (as used by the SaveBase module):. | |
| ML_SET_ADDSTATE_VERSION (2) | |
| virtual void | readStateFromTree (TreeNode *parent) |
| Implement import functionality (as used by the LoadBase module):. | |
Definition at line 28 of file CSOVoxelSetList.h.
| ml::CSOVoxelSetList::CSOVoxelSetList | ( | ) |
Standard constructor.
| virtual ml::CSOVoxelSetList::~CSOVoxelSetList | ( | ) | [virtual] |
Standard destructor.
| CSOVoxelSet* ml::CSOVoxelSetList::addCSOVoxelSet | ( | ) |
Adds and returns a new CSOVoxelSet.
| CSOVoxelSetGroup* ml::CSOVoxelSetList::addCSOVoxelSetGroup | ( | ) |
Adds and returns a new CSOVoxelSetGroup.
| virtual void ml::CSOVoxelSetList::addStateToTree | ( | TreeNode * | parent | ) | const [virtual] |
| CSOVoxelSet* ml::CSOVoxelSetList::csoVoxelSetAt | ( | size_t | index | ) | const [inline] |
Returns the pointer to a CSOVoxelSet at a given index.
Definition at line 54 of file CSOVoxelSetList.h.
| CSOVoxelSetGroup* ml::CSOVoxelSetList::csoVoxelSetGroupAt | ( | size_t | index | ) | const [inline] |
Returns the pointer to a CSOVoxelSetGroup at a given index.
Definition at line 63 of file CSOVoxelSetList.h.
| CSOVoxelSetGroup* ml::CSOVoxelSetList::csoVoxelSetGroupWithId | ( | int | id | ) |
Returns the pointer to a CSOVoxelSetGroup with a given id. NULL if it does not exist.
| CSOVoxelSet* ml::CSOVoxelSetList::csoVoxelSetWithId | ( | int | id | ) |
Returns the pointer to a CSOVoxelSet with a given id. NULL if it does not exist.
| void ml::CSOVoxelSetList::destroy | ( | ) |
Deletes internal structures.
| const SubImageBox& ml::CSOVoxelSetList::getImageBox | ( | ) | const [inline] |
Returns the image box (which is empty if no valid PagedImage was available).
Definition at line 75 of file CSOVoxelSetList.h.
| int ml::CSOVoxelSetList::getMaxTimepointIndex | ( | ) |
Computes and returns the maximum timepoint index.
| bool ml::CSOVoxelSetList::isInsideImage | ( | const Vector3 & | position | ) |
Returns if a given position is inside the association image.
If there is no associated image, the method always returns true.
| ml::CSOVoxelSetList::ML_SET_ADDSTATE_VERSION | ( | 2 | ) |
| int ml::CSOVoxelSetList::numCSOVoxelSet | ( | ) | const [inline] |
| int ml::CSOVoxelSetList::numCSOVoxelSetGroup | ( | ) | const [inline] |
| virtual void ml::CSOVoxelSetList::readStateFromTree | ( | TreeNode * | parent | ) | [virtual] |
| void ml::CSOVoxelSetList::setSubImageBox | ( | const SubImageBox & | subImageBox | ) | [inline] |
| void ml::CSOVoxelSetList::setupInternalStructureAsCSOList | ( | CSOList * | csoList, | |
| PagedImage * | image = NULL | |||
| ) |
Establishes the internal structure as the given CSOList.
If a PagedImage is given, only the voxel positions that are actually inside that image are stored.
| void ml::CSOVoxelSetList::setupInternalStructureAsImage | ( | PagedImage * | image | ) |
Establishes the internal structure fitting to the given image.
There will be one CSOVoxelSet per z-slice (and c/t/u).
1.5.8