> 2.  There is a function setUserData() that is called within PrimaryRecord
which
> puts the lat and lon within a reference pointer.  If this is truely a
reference
> to whatever I could create an new Reference subclass that would hold the
smc data.
> I believe that all Record classes have this userData.  The problem is that
I
> cant find this data being written out or a way to write that data out.
Also I
> am sure if it isnt written out then i would be unable to query this
information
> at run time.

When you say "I cant find this data being written out", what are you
referring to? Do you mean written to a .osg/.ive file, or a .flt file? I'm
pretty sure the lat/long in the header node's UserData does get written out
to the .flt header record during export, though I could be mistaken.

If you mean it isn't written to .osg/.ive... You can derive any class from
Referenced and attach it as UserData to any Object, but the data can only be
exported to .osg/.ive if it is a class that the .osg/.ive plugins know
about, of course.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to