Category Windows and views, Object ProView

Function ProViewMatrixGet


Description
Retrieves the transformation matrix for the specified view. This matrix provides the transformation from the object's coordinate system to logical screen coordinates. This matrix does not contain any transformation for the members of an assembly.
Replacement in Object TOOLKIT: pfcView::Transform
Synopsis
#include <ProView.h>
ProErrorProViewMatrixGet(
ProMdl model
/* (In)
The handle to a part, assembly, or drawing. If this is NULL, the function uses the current object.
*/
ProView view_handle
/* (In)
The view handle. If the view is NULL, the function uses the current view.
*/
ProMatrix matrix
/* (Out)
The view transformation matrix.
*/
)
Returns
PRO_TK_NO_ERRORFunction successfully retrieved the information.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Solid Orientation
  3. User Interface: Basic Graphics: Getting and Setting the View Matrix
  4. Core: Coordinate Systems and Transformations: Transforming Solid to Screen Coordinates
  5. Core: Coordinate Systems and Transformations: Transforming Solid to Screen Coordinates

Sample Code References:

  1. pt_examples ( TestExtrude.c )
  2. pt_examples ( TestGraphics.c )
  3. pt_examples ( TestGraphics.c )
  4. pt_examples ( TestGraphics.c )
  5. pt_examples ( TestGraphics.c )
  6. pt_examples ( TestGraphics.c )
  7. pt_examples ( TestView.c )
  8. pt_examples ( TestView.c )
  9. pt_examples ( TestView.c )
  10. pt_examples ( TestView.c )
  11. pt_examples ( TestSetup.c )
  12. pt_examples ( UtilTree.c )
  13. pt_userguide ( UgFundSolid2Screen.c )
  14. pt_userguide ( UgGraphZoomAtPoint.c )
  15. pt_userguide ( UgSolidNoteCreate.c )