LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::ItemInfo Class Reference

#include <item.h>

+ Inheritance diagram for lwpp::ItemInfo:
+ Collaboration diagram for lwpp::ItemInfo:

List of all members.

Public Member Functions

 ItemInfo (void)
unsigned int axisLocks (LWItemID i, LWItemParam p)
LWChanGroupID chanGroup (LWItemID i)
void controller (LWItemID i, LWItemParam p, int type[3])
int CountItems (LWItemType type)
 Count the number of LWItems of a type.
int FindIndex (LWItemID, LWItemType type)
 Find a LWItem that matches an ID and type.
LWItemFindItem (const std::string &itemName, LWItemType type)
 Find a LWItem that matches a name and type.
LWItemID FindItemID (const std::string &itemName, LWItemType type)
 Find a LWItemID that matches a name and type.
int findServer (const char *type, const char *name, LWItemID id=0)
 Find the index of a certain handler.
LWItemID first (LWItemType t, LWItemID i)
LWItemID firstChild (LWItemID parent)
unsigned int flags (LWItemID i)
LWItemGetItemN (LWItemType type, int n)
 Get the n'th LWitem of a type.
const char * getTag (LWItemID i, int t)
LWItemID goal (LWItemID i)
double goalStrength (LWItemID i, LWTime t)
bool isValid () const
unsigned int limits (LWItemID i, LWItemParam p, LWDVector min, LWDVector max)
LWTime lookAhead (LWItemID i)
const char * name (LWItemID i)
LWItemID next (LWItemID i)
LWItemID nextChild (LWItemID parent, LWItemID prevChild)
void param (LWItemID i, LWItemParam p, LWTime t, LWDVector v)
LWItemID parent (LWItemID i)
const char * server (LWItemID i, const char *s, int d)
unsigned int serverFlags (const char *s, int d, LWItemID i=0)
void setTag (LWItemID i, int t, const char *tag)
void stiffness (LWItemID i, LWItemParam p, LWDVector v)
LWItemID target (LWItemID i)
LWItemType type (LWItemID i)

Protected Member Functions

bool _acquireGlobal ()
virtual bool available () const
 Check if the global is available.
virtual LWItemInfo * getGlobal ()
 Get the pointer to the global.
LWItemInfo * operator-> ()
 Get the pointer to the global.

Static Protected Attributes

static LWItemInfo * globPtr
 Pointer to the global functions.

Detailed Description

Straight LWItemInfo function wrapper


Constructor & Destructor Documentation

lwpp::ItemInfo::ItemInfo ( void  )
inline

Member Function Documentation

bool lwpp::GlobalBase< LWItemInfo >::_acquireGlobal ( )
inlineprotectedinherited
virtual bool lwpp::GlobalBase< LWItemInfo >::available ( ) const
inlinevirtualinherited

Check if the global is available.

unsigned int lwpp::ItemInfo::axisLocks ( LWItemID  i,
LWItemParam  p 
)
inline
LWChanGroupID lwpp::ItemInfo::chanGroup ( LWItemID  i)
inline
void lwpp::ItemInfo::controller ( LWItemID  i,
LWItemParam  p,
int  type[3] 
)
inline
int lwpp::ItemInfo::CountItems ( LWItemType  type)

Count the number of LWItems of a type.

Count all LW Items in a scene

int lwpp::ItemInfo::FindIndex ( LWItemID  lwi,
LWItemType  type 
)

Find a LWItem that matches an ID and type.

Search all LW Items for an item with this name, and return the Item ID.

LWItem * lwpp::ItemInfo::FindItem ( const std::string &  itemName,
LWItemType  type 
)

Find a LWItem that matches a name and type.

Search all LW Items for an item with this name, and return a LWItem.

LWItemID lwpp::ItemInfo::FindItemID ( const std::string &  itemName,
LWItemType  type 
)

Find a LWItemID that matches a name and type.

Search all LW Items for an item with this name, and return the Item ID.

int lwpp::ItemInfo::findServer ( const char *  type,
const char *  name,
LWItemID  id = 0 
)

Find the index of a certain handler.

LWItemID lwpp::ItemInfo::first ( LWItemType  t,
LWItemID  i 
)
inline
LWItemID lwpp::ItemInfo::firstChild ( LWItemID  parent)
inline
unsigned int lwpp::ItemInfo::flags ( LWItemID  i)
inline
virtual LWItemInfo * lwpp::GlobalBase< LWItemInfo >::getGlobal ( )
inlinevirtualinherited

Get the pointer to the global.

LWItem * lwpp::ItemInfo::GetItemN ( LWItemType  type,
int  n 
)

Get the n'th LWitem of a type.

const char* lwpp::ItemInfo::getTag ( LWItemID  i,
int  t 
)
inline
LWItemID lwpp::ItemInfo::goal ( LWItemID  i)
inline
double lwpp::ItemInfo::goalStrength ( LWItemID  i,
LWTime  t 
)
inline
bool lwpp::ItemInfo::isValid ( ) const
inline
unsigned int lwpp::ItemInfo::limits ( LWItemID  i,
LWItemParam  p,
LWDVector  min,
LWDVector  max 
)
inline
LWTime lwpp::ItemInfo::lookAhead ( LWItemID  i)
inline
const char* lwpp::ItemInfo::name ( LWItemID  i)
inline
LWItemID lwpp::ItemInfo::next ( LWItemID  i)
inline
LWItemID lwpp::ItemInfo::nextChild ( LWItemID  parent,
LWItemID  prevChild 
)
inline
LWItemInfo * lwpp::GlobalBase< LWItemInfo >::operator-> ( )
inlineinherited

Get the pointer to the global.

void lwpp::ItemInfo::param ( LWItemID  i,
LWItemParam  p,
LWTime  t,
LWDVector  v 
)
inline
LWItemID lwpp::ItemInfo::parent ( LWItemID  i)
inline
const char* lwpp::ItemInfo::server ( LWItemID  i,
const char *  s,
int  d 
)
inline
unsigned int lwpp::ItemInfo::serverFlags ( const char *  s,
int  d,
LWItemID  i = 0 
)
inline
void lwpp::ItemInfo::setTag ( LWItemID  i,
int  t,
const char *  tag 
)
inline
void lwpp::ItemInfo::stiffness ( LWItemID  i,
LWItemParam  p,
LWDVector  v 
)
inline
LWItemID lwpp::ItemInfo::target ( LWItemID  i)
inline
LWItemType lwpp::ItemInfo::type ( LWItemID  i)
inline

Member Data Documentation

LWItemInfo * lwpp::GlobalBase< LWItemInfo >::globPtr
staticprotectedinherited

Pointer to the global functions.


The documentation for this class was generated from the following files: