Version: |
1.2 |
Description: |
Establishes the viewers eye position and the position of the point being viewed. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCSetView3D(short* iError, Point3D* dpEye, Point3D* dpTarget); |
Delphi |
procedure VCSetView3D(var iError: Smallint; var dpEye: Point3D; var dpTarget Point3D); stdcall; |
ActiveX/COM |
Sub SetView3D(dpEye As IVCPoint3D, dpTarget As IVCPoint3D) |
Parameters: |
dpEye - the location in 3D
space of the viewers position. |
Notes: |
When creating 3D views of a drawing three parameters are required. They are view type, eye location, and viewed position. VCSetProjection3D determines the view type and thus how the lines will be viewed in relation to each other, that is flat, parallel or perspective. VCSetView3D established the distance of the viewer from the viewed location as 3D coordinates and thus the level of perspective exaggeration used or the relative size of the view. VCChangeView3D can allow the users view point to be moved incrementally in certain directions and thus creates a limited "walk-through" functionality. 3D views can be viewed in wireframe or with the Visual CADD™ built in quick shading. VCSet3DDisplay provides the ability to view the drawing as a quick shade and VCSet3DQShadeOptions determines the level of quick shade when the drawing is shaded. |
See Also: |
VCSet3DQShadeOptions, VCSet3DDisplay, VCChangeView3D, VCSetProjection3D |