displayIn3D {AFM}R Documentation

Display a 3D image of an AFMImage and store it on disk.

Description

Display a 3D image of an AFMImage and store it on disk if fullfilename variable is set. It uses the rgl package.

Usage

displayIn3D(AFMImage, width, fullfilename, changeViewpoint, noLight)

Arguments

AFMImage

the AFM image to be displayed in three dimensions.

width

(optional) width of the image. Default is 512 pixels. Note: width can't be superior to screen resolution.

fullfilename

(optional) the directory and filename to save the png of the 3D image. If this variable is missing, the function will not save on disk the 3D image.

changeViewpoint

(optional) if TRUE, the viewpoint is changed. Default is TRUE.

noLight

if TRUE, the ligth is set off

Author(s)

M.Beauvais


[Package AFM version 2.0 Index]