/[escript]/trunk/doc/user/pyvisi.tex
ViewVC logotype

Diff of /trunk/doc/user/pyvisi.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1111 by jongui, Thu Apr 19 04:02:11 2007 UTC revision 1112 by jongui, Thu Apr 19 06:31:49 2007 UTC
# Line 698  s.render(PYVISI_EXAMPLE_IMAGES_PATH + IM Line 698  s.render(PYVISI_EXAMPLE_IMAGES_PATH + IM
698  \subsubsection{\Image class}  \subsubsection{\Image class}
699    
700  \begin{classdesc}{Image}{scene, image_reader, viewport = Viewport.SOUTH_WEST}  \begin{classdesc}{Image}{scene, image_reader, viewport = Viewport.SOUTH_WEST}
701  Class that displays an image which can be scaled (upwards and downwards). The  Class that displays an image which can be scaled (upwards and downwards) and
702  image can also be translated and rotated along the X, Y and Z axes. One of  has interaction capability. The image can also be translated and rotated along
703  the most common use of this feature is pasting an image on a surface map.  the X, Y and Z axes. One of the most common use of this feature is pasting an
704    image on a surface map.
705  \end{classdesc}  \end{classdesc}
706    
707  The following are some of the methods available:\\  The following are some of the methods available:\\
# Line 746  c1.isometricView() Line 747  c1.isometricView()
747  s.render(PYVISI_EXAMPLE_IMAGES_PATH + IMAGE_NAME)  s.render(PYVISI_EXAMPLE_IMAGES_PATH + IMAGE_NAME)
748  \end{python}  \end{python}
749    
750    \subsubsection{\Logo class}
751    
752    \begin{classdesc}{Logo}{scene, image_reader, viewport = Viewport.SOUTH_WEST}
753    Class that displays a static image in particular a logo
754    (i.e. company symbol) and has NO interaction capability.
755    \end{classdesc}
756    
757    The following are some of the methods available:\\
758    Methods from \ImageReslice and \ActorTwoD.
759    
760    
761  %##############################################################################  %##############################################################################
762    
# Line 905  goes) and backward (where the streamline Line 916  goes) and backward (where the streamline
916    
917  \subsubsection{\Transform class}  \subsubsection{\Transform class}
918    
919    The following are some of the methods available:
920    
921  \begin{methoddesc}[Transform]{translate}{x_offset, y_offset, z_offset}  \begin{methoddesc}[Transform]{translate}{x_offset, y_offset, z_offset}
922  Translate the rendered object along the x, y and z-axes.  Translate the rendered object along the x, y and z-axes.
923  \end{methoddesc}  \end{methoddesc}
# Line 935  Set the plane orthogonal to the y-axis. Line 948  Set the plane orthogonal to the y-axis.
948    
949  \subsubsection{\Tube class}  \subsubsection{\Tube class}
950    
951    The following are some of the methods available:
952    
953  \begin{methoddesc}[Tube]{setTubeRadius}{radius}  \begin{methoddesc}[Tube]{setTubeRadius}{radius}
954  Set the radius of the tube.  Set the radius of the tube.
955  \end{methoddesc}  \end{methoddesc}
# Line 949  Set the radius of the tube to vary by sc Line 964  Set the radius of the tube to vary by sc
964    
965  \subsubsection{\Warp class}  \subsubsection{\Warp class}
966    
967    The following are some of the methods available:
968    
969  \begin{methoddesc}[Warp]{setScaleFactor}{scale_factor}  \begin{methoddesc}[Warp]{setScaleFactor}{scale_factor}
970  Set the displacement scale factor.  Set the displacement scale factor.
971  \end{methoddesc}  \end{methoddesc}
972    
973  \subsubsection{\MaskPoints class}  \subsubsection{\MaskPoints class}
974    
975    The following are some of the methods available:
976    
977  \begin{methoddesc}[MaskPoints]{setRatio}{ratio}  \begin{methoddesc}[MaskPoints]{setRatio}{ratio}
978  Mask every nth point.  Mask every nth point.
979  \end{methoddesc}  \end{methoddesc}
# Line 963  Mask every nth point. Line 982  Mask every nth point.
982  Enables the randomization of the points selected for masking.  Enables the randomization of the points selected for masking.
983  \end{methoddesc}  \end{methoddesc}
984    
985    \subsubsection{\ImageReslice class}
986    
987    The following are some of the methods available:
988    
989    \begin{methoddesc}[ImageReslice]{setSize}{size}
990    Set the size of the image, between 0 and 2. Size 1 (one) displays the
991    image in its original size (which is the default).
992    \end{methoddesc}
993    
994    
995  % #############################################################################  % #############################################################################
996    

Legend:
Removed from v.1111  
changed lines
  Added in v.1112

  ViewVC Help
Powered by ViewVC 1.1.26