| Author |
how to read routes ? how to get all available eventIns and eventOuts from a node?
|
|
| Lucia 2005-01-03, 12:16 pm |
| Hi,
I'm developing an editor for vrml-file using Bitmanagement and C#. But
I have a lot of problems in editing the routes.
1.Is there any solution to read routes from the vrml file?
2.And I want to build a drop-down list to show the user all available
eventIns and eventOuts for every node. But I didn't find any method
for that purpose.
For Bitmanagement users:
Bitmanagement provides the possibility that I can read routes from
vrml-file just like a normal node. The problem is that the formEvents
and toEvents are encoded in integer. I didn't find out how the
integers and the events are mapped.
Can anyone help me?
thanks advance, regards
Lucia
| |
| Wildpeaks 2005-01-03, 12:16 pm |
| > 2.And I want to build a drop-down list to show the user all available
> eventIns and eventOuts for every node. But I didn't find any method
> for that purpose.
Using getType(), you can know what node type it is, therefore know what
routes it has, however you can't guess for a custom/PROTO, I don't
think there is a getAllEventIns() function afaik. It would be a good
suggestion to make to Bitmanagement.
| |
| Joerg Scheurich aka MUFTI 2005-01-03, 12:16 pm |
| > 1.Is there any solution to read routes from the vrml file?
> Bitmanagement provides the possibility that I can read routes from
> vrml-file just like a normal node. The problem is that the formEvents
> and toEvents are encoded in integer. I didn't find out how the
> integers and the events are mapped.
Maybe alphabetically ? The fields/events in the VRML standard is organised
alphabetically which EventIn, Field, ExposedField, EventOut sorted first.
This would make sense for a integer/event mapping...
so long
MUFTI
--
Die Leistung des Spieles kann verlangsamt werden durch
eine schwer zerlegbare Festplatte.
| |
| Wildpeaks 2005-01-08, 4:17 am |
| > 2.And I want to build a drop-down list to show the user all available
> eventIns and eventOuts for every node. But I didn't find any method
> for that purpose.
Using getType(), you can know what node type it is, therefore know what
routes it has, however you can't guess for a custom/PROTO, I don't
think there is a getAllEventIns() function afaik. It would be a good
suggestion to make to Bitmanagement.
| |
| Joerg Scheurich aka MUFTI 2005-01-08, 4:17 am |
| > 1.Is there any solution to read routes from the vrml file?
> Bitmanagement provides the possibility that I can read routes from
> vrml-file just like a normal node. The problem is that the formEvents
> and toEvents are encoded in integer. I didn't find out how the
> integers and the events are mapped.
Maybe alphabetically ? The fields/events in the VRML standard is organised
alphabetically which EventIn, Field, ExposedField, EventOut sorted first.
This would make sense for a integer/event mapping...
so long
MUFTI
--
Die Leistung des Spieles kann verlangsamt werden durch
eine schwer zerlegbare Festplatte.
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |