VCChangeView3D


Version:

1.2

Description:

Moves the view eye position while maintaining the target position.

Declaration:

 

C/C++

extern "C" void WINAPI VCChangeView3D(short* iError, short iCode, double dFact);

Delphi

procedure VCChangeView3D(var iError: Smallint; iCode: Smallint; dFact: Double);

ActiveX/COM

Sub ChangeView3D(ByVal iCode As Integer, ByVal dFact As Double)

Parameters:

iCode - determines the direction to move the viewers location.
0 - CHANGE_VIEW3D_LEFT
1 - CHANGE_VIEW3D_RIGHT
2 - CHANGE_VIEW3D_UP
3 - CHANGE_VIEW3D_DOWN
dFact
- the distance to move in the specified direction.

Notes:

When creating 3D views of a drawing, three parameters are required: 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 establishes the absolute 3D coordinate of the viewers eye 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:

VCAddLine3D, VCAddPoint3D, VCAddPolygon3D, VCGetCurrentEntityNormal3D, VCSet3DQShadeOptions, VCSet3DDisplay, VCSetView3D, VCSetProjection3D