SoNodeKitDetail(3IV)NAMESoNodeKitDetail (SoNkDtl) - stores detail information about a nodekit
INHERITS FROM
SoDetail > SoNodeKitDetailSYNOPSIS
#include <Inventor_c/details/SoNodeKitDetail.h>
typedef SoNodeKitDetail SoNkDtl
Functions from class SoNodeKitDetail:
SoNodeKitDetail * SoNkDtlCreate()
void SoNkDtlDelete(SoNkDtl *this)
SoBaseKit * SoNkDtlGetNodeKit(const SoNkDtl *this)
SoNode * SoNkDtlGetPart(const SoNkDtl *this)
const SbName * SoNkDtlGetPartName(const SoNkDtl *this)
Functions from class SoDetail:
SoDetail * SoNkDtlVirtual(const SoNkDtl *this)
SoType SoNkDtlGetClassTypeId()
SoType SoNkDtlGetTypeId(const SoNkDtl *this)
SbBool SoNkDtlIsOfType(const SoNkDtl *this, SoType type)
DESCRIPTION
This class contains detail information about a nodekit. This consists of
a pointer to the nodekit, a pointer to the child part within the nodekit,
and the name of the child part.
During a pick action, each nodekit along the picked path creates its own
SoNodeKitDetail. Together, the full set of details gives you complete
picture of the pickpath.
Since nodekits have hidden children (See the reference page for
SoBaseKit), a regular SoPath ends at the topmost nodekit in the path. If
you cast the pickpath from an SoPath pointer to an SoNodeKitPath pointer,
you can then retrieve all nodekits along the path and examine their
corresponding details.
FUNCTIONSSoNodeKitDetail * SoNkDtlCreate()
void SoNkDtlDelete(SoNkDtl *this)
Constructor and destructor.
SoBaseKit * SoNkDtlGetNodeKit(const SoNkDtl *this)
Returns a pointer to the nodekit that created this detail.
SoNode * SoNkDtlGetPart(const SoNkDtl *this)
Returns a pointer to the part selected within the nodekit that
Page 1SoNodeKitDetail(3IV)
created this detail.
const SbName * SoNkDtlGetPartName(const SoNkDtl *this)
Returns the name of the part selected within the nodekit that
created this detail. (See SoRayPickAction in the ACTIONS section of
the SoBaseKit reference page for more information).
SEE ALSO
SoBaseKit, SoNodeKitPath, SoDetail, SoPickedPoint
Page 2