Short Contents

3.9 Using ptcview

ptcview displays a point cloud file in a window(13). The generl command line syntax is:

ptcview [-info] [-h] [file.ptc]

When started with an empty command line, ptcview will start with an empty window. A point cloud can then be loaded through the `File' menu item. When provided with a file, this utility will proceed with the load prior to display.

Here is the list of supported functionalities:

  1. All channels contained in the point cloud can be displayed through the `View -> Channels' menu item.
  2. Point normals can be displayed through the `View -> Normals' menu item.
  3. The current view port can be copied into the clipboard as a 2D image through the `Edit -> Copy' menu item.

When given the `-info' option, ptcview will only print useful information about the given point cloud file. An example output looks like this:

Number of points: 462694
Number of channels: 1
Channel number 1 - Name: _radiosity - Type: color
Bounding box: ( -5.71307 -6.24433 -3.51055 ), ( 1.55966 1.02841 3.76218 )
World to eye matrix: 
           1            0            0            0 
           0            1            0            0 
           0            0            1            5 
           0            0            0            1 
World to ndc matrix: 
     3.73205            0            0            0 
           0      3.73205            0            0 
           0            0            1            5 
           0            0            1            5 
Format: 400 400 1 

3Delight 10.0. Copyright 2000-2011 The 3Delight Team. All Rights Reserved.