VectorEntity
1.1.0
Medical Data Segmentation Toolkit
|
Container of entities derived from MCEntity. More...
#include <mcentities.h>
Public Types | |
typedef MCList< ENTITY_TYPE > | MT_LIST |
List of entities (= container). | |
typedef MCQueue< double, ENTITY_TYPE > | MT_QUEUE |
Queue for sorting entities in the container. | |
Public Member Functions | |
virtual void | ClearAll () |
Clears all entities currently stored in the container. | |
MT_QUEUE * | GetQueue () |
Returns pointer to the sorting queue. | |
MCEntitieS () | |
Defautl constructor. | |
void | Sort (ENTITY_TYPE *_entita) |
Adds a given entity to the sorting queue. | |
void | SortAll () |
Sorts all entities in the container against the value attribute. | |
void | UnSort (ENTITY_TYPE *_entita) |
Removes a given entity form the sorting queue. | |
virtual | ~MCEntitieS () |
Destructor. | |
Protected Attributes | |
MT_QUEUE | fronta |
Queue for sorting entities. |
Container of entities derived from MCEntity.
typedef MCList<ENTITY_TYPE> vctl::MCEntitieS< ENTITY_TYPE >::MT_LIST |
List of entities (= container).
typedef MCQueue<double, ENTITY_TYPE> vctl::MCEntitieS< ENTITY_TYPE >::MT_QUEUE |
Queue for sorting entities in the container.
vctl::MCEntitieS< ENTITY_TYPE >::MCEntitieS | ( | ) | [inline] |
Defautl constructor.
virtual vctl::MCEntitieS< ENTITY_TYPE >::~MCEntitieS | ( | ) | [inline, virtual] |
Destructor.
virtual void vctl::MCEntitieS< ENTITY_TYPE >::ClearAll | ( | ) | [inline, virtual] |
Clears all entities currently stored in the container.
Reimplemented in vctl::MCTriS, vctl::MCVerticeS, and vctl::MCEdgeS.
MT_QUEUE* vctl::MCEntitieS< ENTITY_TYPE >::GetQueue | ( | ) | [inline] |
Returns pointer to the sorting queue.
void vctl::MCEntitieS< ENTITY_TYPE >::Sort | ( | ENTITY_TYPE * | _entita | ) | [inline] |
Adds a given entity to the sorting queue.
void vctl::MCEntitieS< ENTITY_TYPE >::SortAll | ( | ) | [inline] |
Sorts all entities in the container against the value attribute.
void vctl::MCEntitieS< ENTITY_TYPE >::UnSort | ( | ENTITY_TYPE * | _entita | ) | [inline] |
Removes a given entity form the sorting queue.
MT_QUEUE vctl::MCEntitieS< ENTITY_TYPE >::fronta [protected] |
Queue for sorting entities.