Arguments when creating fluxed pfGeoSets?

New Message Reply Date view Thread view Subject view Author view

Simon Mills (simon++at++wgs.estec.esa.nl)
Mon, 26 Oct 1998 18:28:31 +0100


Hi,

I'm trying to use fluxed pfGeoSets for some dynamic geometry. I want the
number of primitives to vary which is why AFAIK complete pfGeoSets can
be pfFlux'ed as opposed to just the attribute arrays.

My question is when I create a pfFlux'ed geoset with

pfFlux *fluxed_geo = pfNewFluxInitFunc(initFunc,
PFFLUX_DEFAULT_NUM_BUFFERS, arena);

how can I get any arguments to my initFunc?

The manual says the callback is of type:
typedef int (*pfFluxInitFuncType)(pfFluxMemory *_fmem);

Compare this to function pfFluxCallDataFunc() to manipulate the data
which *does* allow user data to be passed to the callback function. I
would expect something like this.

All the examples just create geosets with fixed numbers of vertices etc.
so they can't help.

Any suggestions?

Regards, Simon
________________________________________________________________________

Simon C. Mills
Modelling & Simulation Section (TOS-EMM) Tel: +31 (0)71 565 3725
European Space Agency (ESA/ESTEC) Fax: +31 (0)71 565 5419
Postbus 299, 2200AG Noordwijk e-mail: simon++at++wgs.estec.esa.nl
The Netherlands http://www.estec.esa.nl/wmwww/EMM
________________________________________________________________________


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Oct 26 1998 - 09:28:39 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.