Category External objects, Object ProDispdat

Function ProDispdatTrfSet


Description
Sets the transformation matrix to the display data. This matrix is used to transform entities and selection boxes from the local coordinates of the external object to model coordinates. Its origin is used to figure out the proper display of spin- and zoom-invariant entities.
Replacement in Object TOOLKIT: wfcExternalObject::AddData
wfcExternalObject::ModifyData
Synopsis
#include <ProExtobjDisp.h>
ProErrorProDispdatTrfSet(
ProWExtobjdata disp_data
/* (In)
The display data
*/
ProMatrix trf
/* (In)
The transformation matrix
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the data.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_GENERAL_ERRORThe function could not set the data.

Manual References:

  1. Event-driven Programming: External Objects: Display Data for External Objects
  2. Event-driven Programming: External Objects: Display Data for External Objects
  3. Event-driven Programming: External Objects: Display Data for External Objects

Sample Code References:

  1. pt_examples ( TestExtobj.c )
  2. pt_userguide ( UgExtobjCreate.c )