📄 node95.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2 Final//FR"><!-- Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) --><!-- by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --><!-- Modified Simulog 03/97 --><HTML><HEAD><TITLE>7.3 Particular displays</TITLE><LINK REL=STYLESHEET TYPE="text/css" HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value="7.3 Particular displays"><meta name="keywords" value="Guide6"><meta name="resource-type" value="document"><meta name="distribution" value="global"></HEAD><BODY BGCOLOR="#FFFFFF"><P> <IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html1588 HREF="node94.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html1594 HREF="node92.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html1596 HREF="node96.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html1598 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A HREF="../Guide6-18/node95.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide6-14/node95.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide6-10/node95.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html1597 HREF="node96.html">7.4 Basic manipulations</A><B>Up: </B> <A NAME=tex2html1595 HREF="node92.html">7 Internal programs</A><B> Prev: </B> <A NAME=tex2html1589 HREF="node94.html">7.2 Position and clipping</A><B><A HREF="node2.html" >Contents</A></B><HR SIZE=3 WIDTH="75%"><H1><A NAME=SECTION05730000000000000000>7.3 Particular displays</A></H1><P><P><P><UL><LI><P><PRE> SUBROUTINE CONTXT(IV, ITYP, PM, DIMX, DIMY, FLAG) REAL PM(2), DIMX, DIMY LOGICAL FLAG INTEGER IV, ITYP</PRE><P>defines the<A NAME=3377> </A> display context of the different views, where: <BR><P> IV: defines the vertical axis w.r.t. the observer (1=OX, 2=OY, 3=OZ);<P> ITYP=0: coordinates in centimeters, ITYP=1: coordinates in percentages of the screen;<P> PM: coordinates of the center of the screen;<P> DIMX, DIMY: screen dimensions;<P> IFLAG = .TRUE.: generate the window. <BR><P></UL><P>The subroutines which follow are used to obtain different views of an object in the 3D space.They are, however, not used very often: we can obtain these different views via other methods bypositioning the observer carefully and/or by the indicators (CLIP, NOPERS, ...).<P><UL><LI><P><PRE> SUBROUTINE AXONO(OBJET, PTREGA, ECHEL) REAL PTREGA(3), ECHEL EXTERNAL OBJET</PRE><P>presents an axonometric view<A NAME=3380> </A> of subroutine OBJET describing an object, where:<P> PTREGA(1:3): coordinates of the point viewed;<P> ECHEL: the scaling factor to change from the object's dimensions to the window's dimensions, in centimeters.<P><LI><P><PRE> SUBROUTINE CAVAL(OBJET, PTREGA, ECHEL) REAL PTREGA(3), ECHEL EXTERNAL OBJET</PRE><P>presents a <A NAME=3381> </A> cavalier view of subroutine OBJET describing an object, where:<P> PTREGA(1:3): coordinates of the point viewed;<P> ECHEL: the scaling factor to change from the object's dimensions to the window's dimensions, in centimeters.<P><LI><P><PRE> SUBROUTINE DESSU(OBJET, PTREGA, ECHEL) REAL PTREGA(3), ECHEL EXTERNAL OBJET</PRE><P>presents a bottom view<A NAME=3382> </A> of subroutine OBJET describing an object, where:<P> PTREGA(1:3): coordinates of the point viewed;<P> ECHEL: the scaling factor to change from the object's dimensions to the window's dimensions, in centimeters.<P><LI><P><PRE> SUBROUTINE DROITE(OBJET, PTREGA, ECHEL) REAL PTREGA(3), ECHEL EXTERNAL OBJET</PRE><P>presents a right view<A NAME=3383> </A> of subroutine OBJET describing an object, where:<P> PTREGA(1:3): coordinates of the point viewed;<P> ECHEL: the scaling factor to change from the object's dimensions to the window's dimensions, in centimeters.<P><LI><P><PRE> SUBROUTINE FACE(OBJET, PTREGA, ECHEL) REAL PTREGA(3), ECHEL EXTERNAL OBJET</PRE><P>presents a front view<A NAME=3384> </A> of subroutine OBJET describing an object, where:<P> PTREGA(1:3): coordinates of the point viewed;<P> ECHEL: the scaling factor to change from the object's dimensions to the window's dimensions, in centimeters.<P><LI><P><PRE> SUBROUTINE PERSP(OBJET, OBS, PTREGA, ALPHA, FLAG, DMIN, DMAX) REAL OBS(3), PTREGA(3), ALPHA, DMIN, DMAX LOGICAL FLAG EXTERNAL OBJET</PRE><P>displays object OBJET in <A NAME=3385> </A> perspective, with context CONTXT, where: <BR><P> PTREGA(1:3): coordinates of the point viewed;<P> OBS(1:3): coordinates of the observer;<P> ALPHA: vision half-angle in X;<P> DMIN,DMAX: see MASQU3;<P> FLAG: if .TRUE. use DMIN and DMAX;<P> ECHEL: the scaling factor to change from the object's dimensions to the window's dimensions, in centimeters.<P></UL><P><P><P><HR SIZE=3 WIDTH="75%"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html1588 HREF="node94.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html1594 HREF="node92.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html1596 HREF="node96.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html1598 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A HREF="../Guide6-18/node95.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide6-14/node95.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide6-10/node95.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html1597 HREF="node96.html">7.4 Basic manipulations</A><B>Up: </B> <A NAME=tex2html1595 HREF="node92.html">7 Internal programs</A><B> Prev: </B> <A NAME=tex2html1589 HREF="node94.html">7.2 Position and clipping</A><B><A HREF="node2.html" >Contents</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -