ClassesClassesClassesClasses | | | | Operators

set_systemset_systemSetSystemset_systemSetSystemSetSystem (Operator)

Name

set_systemset_systemSetSystemset_systemSetSystemSetSystem — Set HALCON system parameters.

Signature

set_system( : : SystemParameter, Value : )

Herror set_system(const char* SystemParameter, const char* Value)

Herror T_set_system(const Htuple SystemParameter, const Htuple Value)

Herror set_system(const HTuple& SystemParameter, const HTuple& Value)

void SetSystem(const HTuple& SystemParameter, const HTuple& Value)

static void HSystem::SetSystem(const HTuple& SystemParameter, const HTuple& Value)

static void HSystem::SetSystem(const HString& SystemParameter, const HString& Value)

static void HSystem::SetSystem(const char* SystemParameter, const char* Value)

void HOperatorSetX.SetSystem(
[in] VARIANT SystemParameter, [in] VARIANT Value)

void HSystemX.SetSystem(
[in] VARIANT SystemParameter, [in] VARIANT Value)

static void HOperatorSet.SetSystem(HTuple systemParameter, HTuple value)

static void HSystem.SetSystem(HTuple systemParameter, HTuple value)

static void HSystem.SetSystem(string systemParameter, string value)

Description

The operator set_systemset_systemSetSystemset_systemSetSystemSetSystem allows to change different system parameters.

Parallelization information: Note that some of these parameters are set exclusively only, meaning they block other threads until no other operators are accessing the HALCON library.

Available system parameters:

Attention

Note that despite the information under 'Parallelization' concerning the multithreading type, not all parameters are reentrant. Operators that are followed by '*)' are set exclusively only.

Parallelization

Parameters

SystemParameterSystemParameterSystemParameterSystemParameterSystemParametersystemParameter (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Name of the system parameter to be changed.

Default value: 'init_new_image' "init_new_image" "init_new_image" "init_new_image" "init_new_image" "init_new_image"

List of values: '3d_model_dir'"3d_model_dir""3d_model_dir""3d_model_dir""3d_model_dir""3d_model_dir", 'alloctmp_max_blocksize'"alloctmp_max_blocksize""alloctmp_max_blocksize""alloctmp_max_blocksize""alloctmp_max_blocksize""alloctmp_max_blocksize", 'avx2_enable'"avx2_enable""avx2_enable""avx2_enable""avx2_enable""avx2_enable", 'avx_enable'"avx_enable""avx_enable""avx_enable""avx_enable""avx_enable", 'backing_store'"backing_store""backing_store""backing_store""backing_store""backing_store", 'border_shape_models'"border_shape_models""border_shape_models""border_shape_models""border_shape_models""border_shape_models", 'cancel_draw_result'"cancel_draw_result""cancel_draw_result""cancel_draw_result""cancel_draw_result""cancel_draw_result", 'clip_region'"clip_region""clip_region""clip_region""clip_region""clip_region", 'clock_mode'"clock_mode""clock_mode""clock_mode""clock_mode""clock_mode", 'current_runlength_number'"current_runlength_number""current_runlength_number""current_runlength_number""current_runlength_number""current_runlength_number", 'database'"database""database""database""database""database", 'default_font'"default_font""default_font""default_font""default_font""default_font", 'do_low_error'"do_low_error""do_low_error""do_low_error""do_low_error""do_low_error", 'empty_region_result'"empty_region_result""empty_region_result""empty_region_result""empty_region_result""empty_region_result", 'example_dir'"example_dir""example_dir""example_dir""example_dir""example_dir", 'extern_alloc_funct'"extern_alloc_funct""extern_alloc_funct""extern_alloc_funct""extern_alloc_funct""extern_alloc_funct", 'extern_free_funct'"extern_free_funct""extern_free_funct""extern_free_funct""extern_free_funct""extern_free_funct", 'filename_encoding'"filename_encoding""filename_encoding""filename_encoding""filename_encoding""filename_encoding", 'flush_file'"flush_file""flush_file""flush_file""flush_file""flush_file", 'flush_graphic'"flush_graphic""flush_graphic""flush_graphic""flush_graphic""flush_graphic", 'global_mem_cache'"global_mem_cache""global_mem_cache""global_mem_cache""global_mem_cache""global_mem_cache", 'graphic_stack_size'"graphic_stack_size""graphic_stack_size""graphic_stack_size""graphic_stack_size""graphic_stack_size", 'height'"height""height""height""height""height", 'help_dir'"help_dir""help_dir""help_dir""help_dir""help_dir", 'icon_name'"icon_name""icon_name""icon_name""icon_name""icon_name", 'image_cache_capacity'"image_cache_capacity""image_cache_capacity""image_cache_capacity""image_cache_capacity""image_cache_capacity", 'image_dir'"image_dir""image_dir""image_dir""image_dir""image_dir", 'image_dpi'"image_dpi""image_dpi""image_dpi""image_dpi""image_dpi", 'init_new_image'"init_new_image""init_new_image""init_new_image""init_new_image""init_new_image", 'int2_bits'"int2_bits""int2_bits""int2_bits""int2_bits""int2_bits", 'int_zooming'"int_zooming""int_zooming""int_zooming""int_zooming""int_zooming", 'language'"language""language""language""language""language", 'lut_dir'"lut_dir""lut_dir""lut_dir""lut_dir""lut_dir", 'max_connection'"max_connection""max_connection""max_connection""max_connection""max_connection", 'mmx_enable'"mmx_enable""mmx_enable""mmx_enable""mmx_enable""mmx_enable", 'neighborhood'"neighborhood""neighborhood""neighborhood""neighborhood""neighborhood", 'no_object_result'"no_object_result""no_object_result""no_object_result""no_object_result""no_object_result", 'ocr_trainf_version'"ocr_trainf_version""ocr_trainf_version""ocr_trainf_version""ocr_trainf_version""ocr_trainf_version", 'opengl_compatibility_mode_enable'"opengl_compatibility_mode_enable""opengl_compatibility_mode_enable""opengl_compatibility_mode_enable""opengl_compatibility_mode_enable""opengl_compatibility_mode_enable", 'opengl_context_cache_enable'"opengl_context_cache_enable""opengl_context_cache_enable""opengl_context_cache_enable""opengl_context_cache_enable""opengl_context_cache_enable", 'opengl_hidden_surface_removal_enable'"opengl_hidden_surface_removal_enable""opengl_hidden_surface_removal_enable""opengl_hidden_surface_removal_enable""opengl_hidden_surface_removal_enable""opengl_hidden_surface_removal_enable", 'parallelize_operators'"parallelize_operators""parallelize_operators""parallelize_operators""parallelize_operators""parallelize_operators", 'pregenerate_shape_models'"pregenerate_shape_models""pregenerate_shape_models""pregenerate_shape_models""pregenerate_shape_models""pregenerate_shape_models", 'reentrant'"reentrant""reentrant""reentrant""reentrant""reentrant", 'sse2_enable'"sse2_enable""sse2_enable""sse2_enable""sse2_enable""sse2_enable", 'sse3_enable'"sse3_enable""sse3_enable""sse3_enable""sse3_enable""sse3_enable", 'sse41_enable'"sse41_enable""sse41_enable""sse41_enable""sse41_enable""sse41_enable", 'sse42_enable'"sse42_enable""sse42_enable""sse42_enable""sse42_enable""sse42_enable", 'sse_enable'"sse_enable""sse_enable""sse_enable""sse_enable""sse_enable", 'ssse3_enable'"ssse3_enable""ssse3_enable""ssse3_enable""ssse3_enable""ssse3_enable", 'store_empty_region'"store_empty_region""store_empty_region""store_empty_region""store_empty_region""store_empty_region", 'temporary_mem_cache'"temporary_mem_cache""temporary_mem_cache""temporary_mem_cache""temporary_mem_cache""temporary_mem_cache", 'thread_num'"thread_num""thread_num""thread_num""thread_num""thread_num", 'thread_pool'"thread_pool""thread_pool""thread_pool""thread_pool""thread_pool", 'timer_mode'"timer_mode""timer_mode""timer_mode""timer_mode""timer_mode", 'tsp_cancel_draw_result'"tsp_cancel_draw_result""tsp_cancel_draw_result""tsp_cancel_draw_result""tsp_cancel_draw_result""tsp_cancel_draw_result", 'tsp_clip_region'"tsp_clip_region""tsp_clip_region""tsp_clip_region""tsp_clip_region""tsp_clip_region", 'tsp_current_runlength_number'"tsp_current_runlength_number""tsp_current_runlength_number""tsp_current_runlength_number""tsp_current_runlength_number""tsp_current_runlength_number", 'tsp_empty_region_result'"tsp_empty_region_result""tsp_empty_region_result""tsp_empty_region_result""tsp_empty_region_result""tsp_empty_region_result", 'tsp_height'"tsp_height""tsp_height""tsp_height""tsp_height""tsp_height", 'tsp_init_new_image'"tsp_init_new_image""tsp_init_new_image""tsp_init_new_image""tsp_init_new_image""tsp_init_new_image", 'tsp_neighborhood'"tsp_neighborhood""tsp_neighborhood""tsp_neighborhood""tsp_neighborhood""tsp_neighborhood", 'tsp_no_object_result'"tsp_no_object_result""tsp_no_object_result""tsp_no_object_result""tsp_no_object_result""tsp_no_object_result", 'tsp_store_empty_region'"tsp_store_empty_region""tsp_store_empty_region""tsp_store_empty_region""tsp_store_empty_region""tsp_store_empty_region", 'tsp_thread_num'"tsp_thread_num""tsp_thread_num""tsp_thread_num""tsp_thread_num""tsp_thread_num", 'tsp_width'"tsp_width""tsp_width""tsp_width""tsp_width""tsp_width", 'update_lut'"update_lut""update_lut""update_lut""update_lut""update_lut", 'use_window_thread'"use_window_thread""use_window_thread""use_window_thread""use_window_thread""use_window_thread", 'width'"width""width""width""width""width", 'x_package'"x_package""x_package""x_package""x_package""x_package"

ValueValueValueValueValuevalue (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double) (BSTR / Hlong / double) (char* / Hlong / double)

New value of the system parameter.

Default value: 'true' "true" "true" "true" "true" "true"

Suggested values: 'true'"true""true""true""true""true", 'false'"false""false""false""false""false", 0, 4, 8

Result

The operator set_systemset_systemSetSystemset_systemSetSystemSetSystem returns the value 2 (H_MSG_TRUE) if the parameters are correct. Otherwise an exception will be raised.

Possible Predecessors

reset_obj_dbreset_obj_dbResetObjDbreset_obj_dbResetObjDbResetObjDb, get_systemget_systemGetSystemget_systemGetSystemGetSystem, set_checkset_checkSetCheckset_checkSetCheckSetCheck

See also

get_systemget_systemGetSystemget_systemGetSystemGetSystem, set_checkset_checkSetCheckset_checkSetCheckSetCheck, count_secondscount_secondsCountSecondscount_secondsCountSecondsCountSeconds

Module

Foundation


ClassesClassesClassesClasses | | | | Operators