SoNodeKitDetail Class Reference
[Details]

Stores detail information about a nodekit. More...

#include <Inventor/details/SoNodeKitDetail.h>

Inheritance diagram for SoNodeKitDetail:
SoDetail SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoNodeKitDetail ()
virtual ~SoNodeKitDetail ()
SoBaseKitgetNodeKit () const
SoNodegetPart () const
const SbNamegetPartName () const
virtual SoDetailcopy () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Stores detail information about a nodekit.

This class contains detail information about a nodekit. This consists of a reference to the nodekit, a reference 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 a 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 to an SoNodeKitPath, you can then retrieve all nodekits along the path and examine their corresponding details.

SEE ALSO

SoBaseKit, SoNodeKitPath, SoDetail, SoPickedPoint


Constructor & Destructor Documentation

SoNodeKitDetail::SoNodeKitDetail (  ) 

Constructor.

virtual SoNodeKitDetail::~SoNodeKitDetail (  )  [virtual]

Destructor.


Member Function Documentation

virtual SoDetail* SoNodeKitDetail::copy (  )  const [virtual]

Returns an instance that is a copy of this instance. The caller is responsible for deleting the copy when it is no longer needed.

Implements SoDetail.

static SoType SoNodeKitDetail::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoDetail.

SoBaseKit* SoNodeKitDetail::getNodeKit (  )  const [inline]

Returns a reference to the nodekit that created this detail.

SoNode* SoNodeKitDetail::getPart (  )  const [inline]

Returns a reference to the part selected within the nodekit that created this detail.

const SbName& SoNodeKitDetail::getPartName (  )  const [inline]

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).

virtual SoType SoNodeKitDetail::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Implements SoTypedObject.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/