|
LightWrap++
AC++wrapperfortheLightWave3DSDK
|
Provide callback functions for LW Items in XPanels... More...
#include <item.h>
Inheritance diagram for lwpp::StyledItemCallback:
Collaboration diagram for lwpp::StyledItemCallback:Classes | |
| class | itemEntry |
Public Member Functions | |
| StyledItemCallback (LWItemType t=LWI_OBJECT, LWItemID id=LWITEM_NULL, bool _showNone=true) | |
| Constructor, default to an object and no object selected. | |
| unsigned int | AxisLocks (LWItemParam p) |
| void | changeID (const LWItemID *id_array) |
| Helper function. | |
| LWChanGroupID | ChanGroup (void) |
| void | Controller (LWItemParam p, int type[3]) |
| int * | DataGet () |
| XPanels compatible DataGet. | |
| void | DataSet (void *value) |
| XPanels compatible DataSet. | |
| 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 |
| int | GetIndex () |
| return the index of object ID | |
| LWItemID | GetIndexID (int idx) |
| return id of item number idx | |
| const char * | getName (void) |
| Matrix4x4d | getObjectToWorld (LWTime time) |
| const char * | GetSelectedName () |
| 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) |
Static Public Member Functions | |
| static int | PopCount (void *inst) |
| PopCount callback for LightWave. | |
| static const char * | PopName (void *inst, int n) |
| PopUpName name callback for LightWave. | |
Protected Member Functions | |
| virtual size_t | popCount (void) |
| Return number of items. | |
| virtual const char * | popName (int idx) |
| return name of item number idx | |
Protected Attributes | |
| int | index |
| std::string | m_itemName |
| LWItemID | mId |
| ID of the stored object reference. | |
| ItemInfo | mItemInfo |
| LWItemType | mType |
| const char * | noneName |
| bool | showNone |
Provide callback functions for LW Items in XPanels...
This class takes care of an item, including loading and saving item references
|
inline |
Constructor, default to an object and no object selected.
|
inlineinherited |
|
inlineinherited |
Helper function.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
XPanels compatible DataGet.
|
inlineinherited |
XPanels compatible DataSet.
|
inlineinherited |
Checks if the light exists.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
return the index of object ID
|
inlineinherited |
return id of item number idx
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Checks if the LWItemInfo global is available or not.
|
inlineinherited |
|
virtualinherited |
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.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Check if the current item != LWITEM_NULL.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
PopCount callback for LightWave.
|
inlineprotectedvirtual |
Return number of items.
Reimplemented from lwpp::LWItemCallback.
|
inlinestaticinherited |
PopUpName name callback for LightWave.
|
inlineprotectedvirtual |
return name of item number idx
Reimplemented from lwpp::LWItemCallback.
|
virtualinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
ID of the stored object reference.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |