void Seg3D::LayerAction::add_group_id |
( |
std::string & |
group_id | ) |
|
ADD_GROUP_ID Add group id as an input parameter NOTE: This will switch on provenance tracking
void Seg3D::LayerAction::add_layer_id |
( |
std::string & |
layer_id | ) |
|
ADD_LAYER_ID Add layer id as an input parameter NOTE: This will switch on provenance tracking
void Seg3D::LayerAction::add_layer_id_list |
( |
std::vector< std::string > & |
layer_id_list | ) |
|
ADD_LAYER_ID_LIST Add layer id lsit as an input parameter NOTE: This will switch on provenance tracking
std::string Seg3D::LayerAction::export_params_to_provenance_string |
( |
bool |
single_input = false | ) |
const |
EXPORT_PARAMS_TO_PROVENANCE_STRING: Export the action parameters to a string and mark the provenance inputs with special placeholders.
void Seg3D::LayerAction::generate_output_provenance_ids |
( |
size_t |
num_provenance_ids | ) |
|
GENERATE_OUTPUT_PROVENANCE_IDS: Generate all needed provenance ids
ProvenanceIDList Seg3D::LayerAction::get_input_provenance_ids |
( |
| ) |
|
NOTE: Dependency lists need to inserted into a ProvenanceRecord and hence this function can only be called from within run_layer_action or validate_layer_action GET_INPUT_PROVENANCE_IDS: Get the dependencies that this action is depending on
ProvenanceID Seg3D::LayerAction::get_output_provenance_id |
( |
size_t |
index = 0 | ) |
|
GET_OUTPUT_PROVENANCE_ID: Get the provenance id of output layer indexed by index. If no provenance id was assigned a new one is created
ProvenanceIDList Seg3D::LayerAction::get_output_provenance_ids |
( |
size_t |
num_provenance_ids = 0 | ) |
|
GET_OUTPUT_PROVENANCE_IDS: Get or create all the assigned provenance ids
void Seg3D::LayerAction::set_output_provenance_ids |
( |
const ProvenanceIDList & |
provenance_ids | ) |
|
SET_OUTPUT_PROVENANCE_IDS: Set the output provenance ids
bool Seg3D::LayerAction::translate |
( |
Core::ActionContextHandle & |
context | ) |
|
|
virtual |
TRANSLATE: Some actions need to be translated before they can be validated. Translate takes care of most provenance related issue, by for example translating the provenance information into real action information. This function is called before validate NOTE: This function is not const and may alter the values of the parameters and correct faulty input.
Reimplemented from Core::Action.
The documentation for this class was generated from the following files: