Navigation

Operators and Keywords

Function List:

C++ API

        s = vrml_points(x,options)
 
 x : 3xP  : 3D points

 Makes a vrml2 "point [ ... ]" node from a 3xP matrix x.
 
 OPTIONS (name and size/type, if applicable):
 ---------------------------------------
 "balls"      : Displays spheres rather than points. Overrides the
                "hide" options and no Coordinate node is defined;makes
                "name" ineffective.

 "boxes" or
 "cubes"      : Displays cubes rather than points. Overrides the "hide"
                options and no Coordinate node is defined;makes "name"
                ineffective. 

 "rad", 1 or P: Radius of balls/size of cubes.              default = 0.1

 "nums"       : Displays numbers rather than points. Overrides the
                "hide" options and no Coordinate node is defined;
                makes "name" ineffective.

       WARNING : This option seems to make freewrl 0.34 hang, so that it
                 is necessary to kill it (do vrml_browse ("-kill")). Other
                 browsers can can view the code produced by this option.

  "col", 3x1  : Points will have RGB col.          default = [0.3,0.4,0.9]
      or 3xP  : The color of each point.
  "tran", 1x1 : Transparency                                   default = 0
  "emit", e   : Use or not emissiveColor                       default = 1

 "name", str  : The Coordinate node will be called name
                (default="allpoints").
 "hide"       : The points will be defined, but not showed.

Package: vrml