[Artwork] / [QisMLib]

QisMCorrX Extension

A QisMLib extension to compute 2D affine and bi-linear transformations on CAD data

QisMCorrX ExtensionQisMCorrX C++ API (qismcorrx.h)QisMCorrXFlagsShear_edge Mirror QisMCorrXNotifyVersion Control (QisMCorrXNotify)On_corrected_polygonOn_corrected_polygonsQisMCorrOptsVersion Control (QisMCorrOpts)Set_polygon_buffer_cntGet_polygon_buffer_cntSet_num_threadsGet_num_threadsSet_keep_source_polygonsGet_keep_source_polygonsCopyResetQisMCorrXObjVersion Control (QisMCorrXObj)Get_error_msg (QisMCorrXObj)Get_error_condition (QisMCorrXObj)Get_error_context (QisMCorrXObj)Get_corrected_extentsGet_corrected_polysCorrect_polygonsGet_correction_domainsQisMCorrXObjV2Correct_pointsRasterize_corrected_windowQisMCorrXObjV3File_dbFile_db_constQisMCorrXObjV4CorrectCorrect_dbuCorrect_inCorrect_in_dbuCorrect_toCorrect_to_dbuCorrect_in_bstoreQisMAffineXVersion Control (QisMAffineX)ResetTranslateRotateScaleFlip_XFlip_YFlip_XYShearTransformTransform_dbuTransform_inTransform_in_dbuTransform_toTransform_to_dbuTransform_in_bstoreCopyExploder_cbQisMCorrXVersion Control (QisMCorrX)Get_error_msg (QisMCorrX)Get_error_condition (QisMCorrX)Get_error_context (QisMCorrX)Create_objectDestroy_objectCreate_correction_objectDestroy_correction_objectCorrection_scaleCorrection_rotationCorrection_shearCorrection_mirrorQisMCorrXV2Create_affine_xformDestroy_affine_xformQisMCorrX Commandscorrx.create_affineaffine.setaffine.transformaffine.transform_bstorecorrx.destroy_affinecorrx.create_optscorrx.destroy_optscorrx.create_corrx_objcorrx.destroy_corrx_objcorrxobj.correct_viewcorrxobj.correct_polyscorrxobj.delete_storecorrxobj.print_corrected_extentscorrxobj.correct_window_extentscorrxobj.correctcorrxobj.correct_bstorecorrxobj.rasterize_windowcorrx.mirror_viewcorrx.shear_viewcorrx.rotate_viewcorrx.scale_viewcorrx.generate_ptsQisMCorrX Licensing (API)QisMCorrX Licensing (Script)QisMCorrX Version Historyqismcorrx dll/so v1.4 04-2023qismcorrx dll/so v1.3 02-2020qismcorrx dll/so v1.2 12-2019qismcorrx dll/so v1.1 10-2019qismcorrx dll/so v1.0 01-2019


QisMCorrX C++ API (qismcorrx.h)

QisMCorrXFlags

A collection of enumerated constants

Shear_edge

Flags indicating the choice of edge of the home view to be displaced while shearing

Mirror

Flags indicating the choice of axis for mirroring

QisMCorrXNotify

Callback class to be implemented by the client module that wishes to recieve the corrected polygons and any other notifications from QisMCorrXObj

Version Control (QisMCorrXNotify)

The client module MUST implement these methods appropriately. It allows for backwards compatible operation as this class evolves in the future

On_corrected_polygon

Notification that a corrected polygon is available for use. This occurs when QisMCorrOpts::Set_num_threads() == 1 or QisMCorrOpts::Get_polygon_buffer_cnt() is very small (<32).

On_corrected_polygons

Notification that a set of corrected polygons is available for use. This occurs when QisMCorrOpts::Set_num_threads() > 1 and QisMCorrOpts::Get_polygon_buffer_cnt() > 32

QisMCorrOpts

Represents various settings (settings) to flavor the operation of polygon correction

Version Control (QisMCorrOpts)

Cast this class pointer to any other version (base/derived). The version number is embedded in the class name in form of a suffix V. Get the latest version number supported by this implementation

Set_polygon_buffer_cnt

Get_polygon_buffer_cnt

Set/get the number of polygons to buffer to control the memory usage and to apply corrections using multiple threads.

Set_num_threads

Get_num_threads

Set/get the number of threads to be used to apply corrections

Set_keep_source_polygons

Get_keep_source_polygons

If set (layer_offset >= 0), recieve the source polygons (un-corrected) in ADDITION to the corrected polygons. The layer number of the source polygons will be offseted by layer_offset. Datatype number will remain same.

Copy

Copy settings from another object

Reset

Reset settings to defaults

QisMCorrXObj

Represents the object that performs corrections on a set of polygons for a pre-defined set of correction paramters

Version Control (QisMCorrXObj)

Cast this class pointer to any other version (base/derived). The version number is embedded in the class name in form of a suffix V. Get the latest version number supported by this implementation

Get_error_msg (QisMCorrXObj)

Get_error_condition (QisMCorrXObj)

Get_error_context (QisMCorrXObj)

Get information about the error corresponding to a failed operation (as represented by an integer 'code')

Get_corrected_extents

Get the extents of the entire corrected space

Get_corrected_polys

Get corrected polygons from a view (layers, window)

Correct_polygons

Apply corrections to the specified set of 'polygons'. They are assumed to have the same units and grid as the database associated with this object.

Get_correction_domains

Get the entire set of correction domains (orthogonal rectangles that form the basis of corrections) as polygons

  • client : Callback handler to recieve the domains as polygons. Cannot be (null). Polygons are returned via QisMCorrXNotify::On_corrected_polygon only

QisMCorrXObjV2

Extension version 2 for QisMCorrXObj

Correct_points

Compu>e corrections for a set of points

Rasterize_corrected_window

QisMCorrXObjV3

Extension version 3 for QisMCorrXObj

File_db

File_db_const

Returns the file database associated with this object

QisMCorrXObjV4

Extension version 4 for QisMCorrXObj

Correct

Correct_dbu

Correct_in

Correct_in_dbu

Correct_to

Correct_to_dbu

Correct_in_bstore

Apply corrections to the specified co-ordinates

QisMAffineX

Represents the object that is used to setup and compute affine transformations on points and vertices

Version Control (QisMAffineX)

Cast this class pointer to any other version (base/derived). The version number is embedded in the class name in form of a suffix V. Get the latest version number supported by this implementation

Reset

Reset the transformation matrix to unity

Translate

Add translation along X (tx) and Y (ty)

Rotate

Add rotation (in degrees) around the origin

Scale

Add scaling along X (sx) and Y (sy) (> 0.0)

Flip_X

Add reflection along X (about Y)

Flip_Y

Add reflection along Y (about X)

Flip_XY

Add reflection about X and Y

Shear

Add shearing along X (shx) and Y (shy)

Transform

Transform_dbu

Transform_in

Transform_in_dbu

Transform_to

Transform_to_dbu

Transform_in_bstore

Apply tansformation to the specified co-ordinates

Copy

Make a copy from another object

Exploder_cb

Create a target for the exploder that will apply these transformations to boundaries, paths and texts before passing them over to the next stage

QisMCorrX

Represents the manager/gateway for the QisMCorrX extension for QisMLib

Version Control (QisMCorrX)

Cast this class pointer to any other version (base/derived). The version number is embedded in the class name in form of a suffix V. Get the latest version number supported by this implementation

Get_error_msg (QisMCorrX)

Get_error_condition (QisMCorrX)

Get_error_context (QisMCorrX)

Get information about the error corresponding to a failed operation (as represented by an integer 'code')

Create_object

Destroy_object

Create/destroy a data object for the specified class_name.

Create_correction_object

Destroy_correction_object

Create an instance of the correction object

Correction_scale

Convenience function to compute correction parameters for scaling a view of a file along X and Y

Correction_rotation

Convenience function to compute correction parameters for rotating a view of a file

Correction_shear

Convenience function to compute correction parameters to shear a view of a file along X or Y

Correction_mirror

Convenience function to compute correction parameters to mirror a view of a file about X or Y or both

QisMCorrXV2

Extension version 2 for QisMCorrXV2

Create_affine_xform

Destroy_affine_xform

Create a new affine transformation object

QisMCorrX Commands

QisMScript Commands to compute 2D affine and bi-linear transformations on CAD data

corrx.create_affine

Create a new affine transformation object

affine.set

Add transformations to the affine object

affine.transform

Apply affine transformation to a set of points

affine.transform_bstore

Apply affine transformation to a set of boundaries

corrx.destroy_affine

Destroy an affine object

corrx.create_opts

Create a settings object for use with corrx.create_corrx_obj

corrx.destroy_opts

Destroy a settings object

corrx.create_corrx_obj

Create a new instance of the correction object

corrx.destroy_corrx_obj

Destroy an existing correction object

corrxobj.correct_view

Fetch and correct boundaries from a view of the database

corrxobj.correct_polys

Correct a set of polygons

corrxobj.delete_store

Destroy a container of corrected boundaries

$bin={bin_id} is the name associated by the container to be destroyed that was created using appropriate commands of this module

corrxobj.print_corrected_extents

Print the corrected extents of the entire space associated with this correction object

corrxobj.correct_window_extents

Correct a window (manhattan rectangle)

corrxobj.correct

Correct a list of points

corrxobj.correct_bstore

Correct a container of boundaries

corrxobj.rasterize_window

Correct and rasterize a view of the database

corrx.mirror_view

Compute reflection as a set of correction points

corrx.shear_view

Compute shear as a set of correction points

corrx.rotate_view

Compute rotation as a set of correction points

corrx.scale_view

Compute scaling as a set of correction points

corrx.generate_pts

Generate a set of pseudo-random correction points based on a given set of constraints

QisMCorrX Licensing (API)

Product name : QisMCorrX License code : 11093

BEGINEND
Create_correction_objectDestroy_correction_object

QisMCorrX Licensing (Script)

Product name : QisMCorrX License code : 11093

BEGINEND
corrx.create_corrx_objcorrx.destroy_corrx_obj

QisMCorrX Version History

qismcorrx dll/so v1.4 04-2023

qismcorrx dll/so v1.3 02-2020

qismcorrx dll/so v1.2 12-2019

qismcorrx dll/so v1.1 10-2019

qismcorrx dll/so v1.0 01-2019


ARTWORK CONVERSION SOFTWARE, INC.
417 Ingalls St. Unit C, Santa Cruz, CA 95060 831.426.6163  email: info@artwork.com

Last Updated -- Sun Apr 6 23:34:18 UTC 2025