view_pt - point cloud visualisation
view_pt [OPTIONS]
view_pt visualises a point cloud in 3D. It takes its input from the standard input.
Various colouring options are available ( -0 , -x , -y , -z , -sf , -g , -b , -rgb ).
A background triangle model can be visualised in parallel ( -t ), possibly with an image projected on the model ( -i , -c )
New data or files can be produced using keystrokes.
point cloud:
scalar file (free range of values):
rgb file (values in range 0..255):
INTEGER is the number of colours to use for visualisation (default: 256).
FILE contains the projection matrix (3x4) of the image [see p_compute(1)].
use a greyscale scalar map (default is colour).
Returns the manual page.
Option used together with -c and -t to project an image on a triangle file. FILE is the image file.
copy the point file to the standard output.
point_size: size of the points in pixel (default: 3).
smooth output of triangle file.
invert the direction used by the scalar map.
FILE contains a scalar value for each point. The points are colored according to the scalar value. By default colours are used. A greyscale output is possible using the -g option. Scalar values are automatically scaled to fit the full output range.
For each point, FILE contains three values specifying its color: R [0-255], G [0-255], B [0-255].
visualise the points on a background triangle file FILE.
triangle file is semi-trasparent.
Draw a set of axes at the origin. x is red, y is green and z is blue and the lines are 1 unit long.
toggle between wireframe and solid rendering (only when there is a triangle cloud in the background).
toggle between a light which follows the camera and a light fixed at the current position of the camera (only when there is a triangle cloud in the background).
toggle between parallel and central projection.
toggle between black and white background.
produce a tiff file (view_pt.tif).
produce a jpeg file (view_pt.jpg).
produce a vrml file (view_pt.wrl).
set the viewing direction to ( 1, 0, 0).
set the viewing direction to (-1, 0, 0).
set the viewing direction to ( 0, 1, 0).
set the viewing direction to ( 0,-1, 0).
set the viewing direction to ( 0, 0, 1).
set the viewing direction to ( 0, 0,-1).
toggle visualisation mode between Red/Cyan (3D) and normal (colour or B&W).
return the coordinate of camera and focus points.
Written by Pierre Smars (first version: 2001).
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
Copyright (C) 2017 Pierre Smars. License GPLv2 <http://www.gnu.org/licenses/gpl-2.0.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
view_li(1), view_tri(1)