#include <iADTCategory.h>
Public Member Functions |
|
virtual const MCHAR * | GetName () const =0 |
Access to name. The name is not case
sensitive. |
|
virtual void | SetName (const MCHAR *pName)=0 |
Sets the name. |
|
virtual IADTStyle * | FindStyle (const MCHAR *pStyleName) const =0 |
virtual unsigned long | NumStyles () const =0 |
Returns the number of styles. |
|
virtual unsigned long | GetStyles (Tab< IADTStyle * > &styles) const =0 |
Gets a Tab of IADTStyles for
iteration. |
|
virtual unsigned long | NumInstances () const =0 |
Returns the number of all nodes in the scene
that represent instances of all the styles that belong to this
category. |
|
virtual unsigned long | GetInstances (Tab< INode * > &instances) const =0 |
Fills out the provided array with all the
nodes in the scene that represent instances of all the styles that
belong to this category. |
|
virtual void | MakeUniqueStyleName (MSTR &name) const =0 |
makes a name unique |
virtual const MCHAR* GetName | ( | ) | const [pure virtual] |
Access to name. The name is not case sensitive.
virtual void SetName | ( | const MCHAR * | pName | ) | [pure virtual] |
Sets the name.
virtual IADTStyle* FindStyle | ( | const MCHAR * | pStyleName | ) | const [pure virtual] |
virtual unsigned long NumStyles | ( | ) | const [pure virtual] |
Returns the number of styles.
Gets a Tab of IADTStyles for iteration.
virtual unsigned long NumInstances | ( | ) | const [pure virtual] |
Returns the number of all nodes in the scene that represent instances of all the styles that belong to this category.
Fills out the provided array with all the nodes in the scene that represent instances of all the styles that belong to this category.
virtual void MakeUniqueStyleName | ( | MSTR & | name | ) | const [pure virtual] |
makes a name unique
Creates a name that is unique among the style names and it's based on the given name. The unique name is seeded by passing in a seed-name through the name parameter
name | represents a seed for the the unique name. As output parameter, it holds the unique name that was generated |