Public Member Functions |
| | LWItem (LWItemID id=LWITEM_NULL, LWItemType t=LWI_OBJECT) |
| | Used only for storing the name when loading and saving in Modeler.
|
| | LWItem (const LWItem &item) |
| | LWItem (const LWItemType t) |
| unsigned int | AxisLocks (LWItemParam p) |
| void | changeID (const LWItemID *id_array) |
| | Helper function.
|
| LWChanGroupID | ChanGroup (void) |
| void | Controller (LWItemParam p, int type[3]) |
| bool | exists () const |
| | Checks if the light exists.
|
| LWItem & | First (LWItemType t) |
| LWItem & | FirstChild (void) |
| unsigned int | Flags (void) |
| ChannelGroup | getChannelGroup (void) |
| int | getExtension () |
| LWItemID | getFirstChild (void) |
| LWItemID | GetID () const |
| const char * | getName (void) |
| Matrix4x4d | getObjectToWorld (LWTime time) |
| const char * | GetTag (int t) |
| Matrix4x4d | getWorldTransform (LWTime time) |
| LWItem & | Goal (void) |
| double | GoalStrength (LWTime t) |
| bool | isValid () const |
| | Checks if the LWItemInfo global is available or not.
|
| unsigned int | Limits (LWItemParam p, LWDVector min, LWDVector max) |
| virtual LWError | Load (const LoadState &ls) |
| | Load on object, this will store the item ID in the end.
|
| LWTime | LookAhead (void) |
| LWItem & | Next (void) |
| LWItem & | NextChild (LWItem &parent) |
| bool | operator! () |
| | Check if the current item != LWITEM_NULL.
|
| void | Param (LWItemParam p, LWTime t, LWDVector v) |
| void | Param (LWItemParam p, LWTime t, Vector3d &v) |
| void | Param (LWItemParam p, LWTime t, Point3d &v) |
| LWItem | Parent (void) |
| virtual LWError | Save (const SaveState &ls) |
| | Save and object, using the name.
|
| const char * | Server (const char *s, int d) |
| unsigned int | ServerFlags (const char *s, int d) |
| void | SetID (LWItemID _id) |
| void | SetTag (int t, const char *tag) |
| void | Stiffness (LWItemParam p, LWDVector v) |
| LWItem & | Target (void) |
| LWItem & | ToParent (void) |
| void | transformToWorld (Point3d &pt, LWTime time) |
| LWItemType | Type (void) |
| LWError lwpp::LWItem::Load |
( |
const LoadState & |
ls | ) |
|
|
virtual |
Load on object, this will store the item ID in the end.
Loading an item is safe in Modeler as well. In Layout, lwpp will first try to find an item with a matching name. If that fails it will use the id that was stored to reference the item.
In Modeler, lwpp will just store the item name and id and the use that for the next save.
Reimplemented from lwpp::Storeable.