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:\\ |
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 |
|
|
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} |
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} |
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} |
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 |
|
|