![]() |
GemaPCR
The GeMA PCR (Partition-Color-Renumber) Plugin
|
Implements the partition method based on a user given table. More...
#include <gmpUserPartitioning.h>


Public Member Functions | |
| virtual bool | checkOptions (const GmLogCategory &logger) |
| Virtual method responsible for validating the parameters supplied on the class constructor. Can be used to parse the options. Should returns false and emit an error message in case of errors. | |
| virtual void | printParameters (const GmLogCategory &logger) const |
| Virtual method responsible for printing the partition method description. | |
| virtual bool | partition (GmCellMesh *mesh, int numPartitions, QVector< int > &cellPartition, const GmLogCategory &logger) const |
| The cell partition function. It gets as input parameters the cell mesh with a valid cell incidence information plus the number of partitions. On output, it fills cellPartition with the partition number for each mesh cell. The given logger can be used to log error messages if necessary. It should return true on success, false on error. | |
| GmpPartitionMethod (const QVariantMap &options) | |
Public Member Functions inherited from GmpPartitionMethod | |
| GmpPartitionMethod (const QVariantMap &options) | |
Additional Inherited Members | |
Protected Attributes inherited from GmpPartitionMethod | |
| const QVariantMap & | _options |
| The user provided options. | |
Implements the partition method based on a user given table.
|
virtual |
Virtual method responsible for validating the parameters supplied on the class constructor. Can be used to parse the options. Should returns false and emit an error message in case of errors.
Implements GmpPartitionMethod.
|
virtual |
The cell partition function. It gets as input parameters the cell mesh with a valid cell incidence information plus the number of partitions. On output, it fills cellPartition with the partition number for each mesh cell. The given logger can be used to log error messages if necessary. It should return true on success, false on error.
Implements GmpPartitionMethod.
|
virtual |
Virtual method responsible for printing the partition method description.
Implements GmpPartitionMethod.