Brian Furtaw (brian++at++sgi.com)
Mon, 13 Jan 1997 08:51:19 -0500
pfMemory::print Prints information to a file about the specified object.
The file argument specifies the file. If file is NULL, the listing is
printed to stderr. pfMemory::print takes a verbosity indicator, verbose.
Valid selections in order of increasing verbosity are:
PFPRINT_VB_OFF no printing
PFPRINT_VB_ON minimal printing (default)
PFPRINT_VB_NOTICE minimal printing (default)
PFPRINT_VB_INFO considerable printing
PFPRINT_VB_DEBUG exhaustive printing
If mem is a type of pfNode, then which specifies whether the print
traversal should only traverse the current node (PFTRAV_SELF) or print
out the entire scene graph rooted by node mem by traversing node and its
descendents in the graph (PFTRAV_SELF | PFTRAV_DESCEND). If mem is a
pfFrameStats, then which specifies a bitmask of frame statistics classes
that should be printed. If mem is a pfGeoSet, then which is ignored and
information about that pfGeoSet is printed according to the verbosity
indicator. The output contains the types, names and bounds of the nodes
and pfGeoSets in the hierarchy. This routine is provided for debugging
purposes only and the content and format may change in future releases.
Example 3: Print entire contents of a pfGeoSet, gset, to stderr.
gset->print(NULL, PFPRINT_VB_DEBUG, NULL);
Example 4: Print entire scene graph under node to a file file with
default verbosity.
file = fopen ("scene.out","w");
scene->print(PFTRAV_SELF | PFTRAV_DESCEND, PFPRINT_VB_ON, file);
fclose(file);
Brian
On Jan 13, 10:33am, Charlie H. Chang wrote:
> Subject: about pathFly.c
>
> Hi there,
>
> In the example of "pathFly.c" there is a car model (pfDCS object)
> and I would like print out its coordinate while it's moving.
> So is there a function providing this information?
>
> Thank you in advance.
>
> ---------------------------------------------------------------
> Charlie H. Chang (ext 209) E-mail: a00chc00++at++nchc.gov.tw
> National Center for High-performance Computing
> Scientific Visualization and Interactive Media Lab
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Charlie H. Chang
-- o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-oBrian Furtaw (brian++at++sgi.com) VisSim Technical Consultant 12200-G Plum Orchard Drive Office: (301)572-3293 Fax: (301)872-3293 Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:19 PDT