Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{alias:c3d}
h2. Name

*c3d* — Contour with 3D surfaces

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}

*c3d* *i* | *v* | *s* | *n* | *l* \[*col*] \[*map*] \[*csh*] \[*sav*] \[*bsu*] \[*bou*] \[*nor*] \[*eli* _limit_] 

{panel}

h2. Description

Map 3D grid (cube) with contour surfaces representing the same iso value. 

h2. Arguments

*i* _increment_ 
{indent}
Enter increment value 
{indent}
*v* _c_val1_ \[_c_val2_ _c_val3_ ...] 
{indent}
Enter distinct contour level values 
{indent}
*s* _start_ _increment_ _stop_ 
{indent}
Enter start increment stop values 
{indent}
*n* _number_of_levels_ 
{indent}
Enter number_of_levels
{indent}
*col* \[*red* | *gre* |...] 
{indent}
Use the same colour \[*red* | *gre* |...] on all surfaces. 
{indent}
*map* 
{indent}
Map the iso surfaces wth the *map* command. 
{indent}
*csh* 
{indent}
Color the iso surfaces with shifting colors. 
{indent}
*sav* 
{indent}
Color the iso surfaces with shifting colors. 
{indent}
*csh* 
{indent}
Surface(s) will be saved in ^c3d0, ^c3d1, ^c3d2, .... 
{indent}
*bsu* 
{indent}
Boundary surface around defined data. 
{indent}
*nor* 
{indent}
Smooth display with normal (Gouraud) vectors. 
{indent}
*eli* _limit_ 
{indent}
Eliminate isosurfaces with number of points lower than _limit_. 
{indent}

h2. Examples

h3. Ex.1: Contouring of 3d surfaces in a cube

{noformat:|borderWidth=1|bgColor=#eeeeee}
        # generate cube and display 3D contours
        mak ran 11   ;#  make 11 random points
        gr3 12 12 12 ;#  make cube of dimension 12 x 12 x 12
        dis opa .3   ;#  display cube with opacity .3
        c3d n 4      ;#  contour 4 iso surfaces
{noformat}

The above example produces this image.

!att:_img_ref^cmd_c3d.png|border=1!
_3D contours in a cube_

h2. See also

[acm - Color band mapping], [ima sla|ima], [sma], [map]