table of contents
other sections
SoNodekitCatalog(3IV)() | SoNodekitCatalog(3IV)() |
NAME¶
SoNodekitCatalog — nodekit catalog classINHERITS FROM¶
SoNodekitCatalogSYNOPSIS¶
#include <Inventor/nodekits/SoNodekitCatalog.h>Methods from class SoNodekitCatalog:
static void initClass()
int getNumEntries() const
int getPartNumber(const SbName &theName) const
const SbName & getName(int thePartNumber) const
SoType getType(int thePartNumber) const
SoType getType(const SbName &theName) const
SoType getDefaultType(int thePartNumber) const
SoType getDefaultType(const SbName &theName) const
SbBool isNullByDefault(int thePartNumber) const
SbBool isNullByDefault(const SbName &theName) const
SbBool isLeaf(int thePartNumber) const
SbBool isLeaf(const SbName &theName) const
const SbName & getParentName(int thePartNumber) const
const SbName & getParentName(const SbName &theName) const
int getParentPartNumber(int thePartNumber) const
int getParentPartNumber(const SbName &theName) const
const SbName & getRightSiblingName(int thePartNumber) const
const SbName & getRightSiblingName(const SbName &theName) const
int getRightSiblingPartNumber(int thePartNumber) const
int getRightSiblingPartNumber(const SbName &theName) const
SbBool isList(int thePartNumber) const
SbBool isList(const SbName &theName) const
SoType getListContainerType(int thePartNumber) const
SoType getListContainerType(const SbName &theName) const
const SoTypeList & getListItemTypes(int thePartNumber) const
const SoTypeList & getListItemTypes(const SbName &theName) const
SbBool isPublic(int thePartNumber) const
SbBool isPublic(const SbName &theName) const
DESCRIPTION¶
This class describes the parts and structure of a nodekit. Each class of nodekit has one SoNodekitCatalog (a static variable for the class). Internally, the catalog contains one entry for each "part" in the nodekit's structure. Users can query the catalog for information about each entry in the catalog. This information can be obtained either by part name (an SbName unique for the part within the catalog) or by part number (an index into an array of parts).METHODS¶
static void initClass()
Initializes this object.
int getNumEntries() const
Returns number of entries in the catalog.
int getPartNumber(const SbName &theName) const
Given the name of a part, returns its part number in the catalog.
const SbName & getName(int thePartNumber) const
Given the part number of a part, returns its name in the catalog.
SoType getType(int thePartNumber) const
SoType getType(const SbName &theName) const
SoType getDefaultType(int thePartNumber) const
SoType getDefaultType(const SbName &theName) const
SbBool isNullByDefault(int thePartNumber) const
SbBool isNullByDefault(const SbName &theName) const
SbBool isLeaf(int thePartNumber) const
SbBool isLeaf(const SbName &theName) const
const SbName & getParentName(int thePartNumber) const
const SbName & getParentName(const SbName &theName) const
int getParentPartNumber(int thePartNumber) const
int getParentPartNumber(const SbName &theName) const
const SbName & getRightSiblingName(int thePartNumber) const
const SbName & getRightSiblingName(const SbName &theName) const
int getRightSiblingPartNumber(int thePartNumber) const
int getRightSiblingPartNumber(const SbName &theName) const
SbBool isList(int thePartNumber) const
SbBool isList(const SbName &theName) const
SoType getListContainerType(int thePartNumber) const
SoType getListContainerType(const SbName &theName) const
const SoTypeList & getListItemTypes(int thePartNumber) const
const SoTypeList & getListItemTypes(const SbName &theName) const
SbBool isPublic(int thePartNumber) const
SbBool isPublic(const SbName &theName) const
A full set of methods for finding out all parameters in the catalog, given either the part name or the part number.