几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】vectorizeex - Paperspace Coordinates (http://www.dimcax.com/hust/showthread.php?t=19006)

yang686526 2009-05-07 06:24 PM

【转帖】vectorizeex - Paperspace Coordinates
 
vectorizeex - paperspace coordinates
vectorizeex - paperspace coordinates
hi,
i changed the vectorizeex example to get the entities in world coordinates: in exsimpleview::update() i replaced the line
seteyetooutputtransform( eyetoscreenmatrix() );
with
seteyetooutputtransform( geteyetoworldtransform() ); .
this works fine except for files saved in paperspace view. in this case all entities of the modelspace which are seen through a viewport are displayed with their modelspace coordinates (instead of paperspace coords).
is there another matrix for seteyetooutputtransform which can be used to get all entities in paperspace coordinates?
torsten


所有的时间均为北京时间。 现在的时间是 07:44 PM.