From: Ken Lindsay (kl++at++magnus.arc.nasa.gov)
Date: 04/12/2001 17:30:09
hi,
I am trying to add a motion model and thus far had concluded that
extending pfiTDFXformer is a reasonable way to try it. If that is
not the best way, let me know.
I have made a derived class pfiSkateXformer : public pfiTDFXformer
with utility member class pfiInputXformSkate : public pfiInputXformDrive
patterned after the way it was done in libpfui.
I am crashing on selecting the new model in the pfList xModelList. I
included a new index in pfiSkateXformer and added it to xModelList with
xModelList->set(PFITDF_SKATE, xSkate);
I tried tracing the crash into pfiXformer.C pfiTDFXformer::selectModel()
function (which seems like the right place) but my debugger gives me
this:
Source (of /build/perfbuild/perftot0/perf/lib/libpfui/pfiXformer.C) not
available
which I guess it's picking up from the system libpfui.
so, please give me the most expeditious advice to implement this new
Xformer model and debug the pfiTDFXformer::selectModel() problem (if
that is indeed where the problem lies). Should I build my own version
of the lib so it knows the right source? Can I change where it's
looking in the debugger? Should I just use a Drive Xformer and feed it
pfuMouse info that mimics what I am really trying to do?
thanks
ken
-==-
ken "fire a few neurons" lindsay kl++at++mars.arc.nasa.gov
NASA Ames Research Center QSS Group, Inc.
Bldg 269, Room 281 (650) 604 0461 (lab)
Mail Stop 269-1 (650) 604 3594 (fax)
Moffett Field, CA 94035-1000 (650) 604 3181 (vox)
When inlaws are outlawed, only outlaws will have inlaws
This archive was generated by hypermail 2b29 : Thu Apr 12 2001 - 17:29:41 PDT