Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

XG.3D-MAKE-THING-OF-POINTS/LINES/TRIANGLES/RECTANGLES

source files: [xc]thl.[ch]

SYNTAX

(XG.3D-MAKE-THING-OF-RECTANGLES
  [:WANT-POINT-NORMALS   t              ]
  [:WANT-POINT-COLORS    t              ]
  [:WANT-FACET-NORMALS   t              ]
  [:WANT-FACET-COLORS    t              ]
  [:WANT-FACET-TEXTURES  t              ]
  [:WANT-POINT-TEXTURES  t              ]
  [:WANT-FACET-NEIGHBORS t              ]
  [:LIGHTS              <lightlist>     ]
  [:DOWNCLICK-HOOK      <hookfn(s)>     ]
  ...
)
(XG.3D-MAKE-THING-OF-TRIANGLES
   ...
)
(XG.3D-MAKE-THING-OF-LINES
   ...
)
(XG.3D-MAKE-THING-OF-POINTS
   ...
)

DESCRIPTION

These calls all have essentially the same syntax. The return value is a 'thing,' a list suitable for drawing via the :DRAW message to cameras:

( :LIGHTS               <lightlist>
  :DOWNCLICK-HOOK       <hookfn(s)>
  ...
  :FACET-RELATION       <facet-relation>
  :POINT-RELATION       <point-relation>
)

The :FACET-RELATION will be missing in the case of XG.3D-MAKE-THING-OF-POINTS. Any options not specified will likewise be absent from the result list. The <facet-relation> and <point-relation> are constructed as though by the XG.3D-MAKE-POINT-GRL and XG.3D-MAKE-GRL-OF-LINES/TRIANGLES/RECTANGLES calls. (Which see.)

Any valid :DRAW keyword other than :POINT-RELATION, :FACET-RELATION and :PIXEL-RELATION may be specified -- see :DRAW <xcmr> for the complete list.


Go to the first, previous, next, last section, table of contents.