Rechercher une page de manuel
SoFullPath.3coin2
Langue: en
Version: 377877 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- SYNOPSIS
- Detailed Description
- Member Function Documentation
- void SoFullPath::pop (void) [inline]This method overrides SoPath::pop() to allow clients to get at all the nodes in the path.
- SoNode * SoFullPath::getTail (void) constThis method overrides SoPath::getTail() to allow clients to get the tail node, counting internal path nodes.
- SoNode * SoFullPath::getNodeFromTail (const int index) constThis method overrides SoPath::getNodeFromTail() to allow clients to get the node positioned index nodes from the tail, counting internal path nodes.
- int SoFullPath::getIndexFromTail (const int index) constThis method overrides SoPath::getIndexFromTail() to allow clients to get the child index number for nodes based on their position from the tail, counting hidden nodes.
- int SoFullPath::getLength (void) constThis method returns the length of the path, counting hidden nodes also.
- Author
NAME
SoFullPath -The SoFullPath class allows examination of hidden children in paths.
SoPath allows only access from the head node to the first node with hidden children, but not any further.
SYNOPSIS
#include <Inventor/SoFullPath.h>
Inherits SoPath.
Public Member Functions
void pop (void)
SoNode * getTail (void) const
SoNode * getNodeFromTail (const int index) const
int getIndexFromTail (const int index) const
int getLength (void) const
Friends
class SoTempPath
Detailed Description
The SoFullPath class allows examination of hidden children in paths.
SoPath allows only access from the head node to the first node with hidden children, but not any further.
Since the SoFullPath is derived from SoPath and contains no private data, you can cast SoPath instances to the SoFullPath type. This will allow you to examine hidden children.
(Actually, you are not supposed to allocate instances of this class at all. It is only available as an 'extended interface' into the superclass SoPath.)
Member Function Documentation
void SoFullPath::pop (void) [inline]This method overrides SoPath::pop() to allow clients to get at all the nodes in the path.
Reimplemented from SoPath.
References SoPath::truncate().
Referenced by SoBaseKit::createPathToAnyPart().
SoNode * SoFullPath::getTail (void) constThis method overrides SoPath::getTail() to allow clients to get the tail node, counting internal path nodes.
Reimplemented from SoPath.
Referenced by SoGLRenderAction::abortNow(), SoGetBoundingBoxAction::checkResetAfter(), SoGetBoundingBoxAction::checkResetBefore(), SoBaseKit::createPathToAnyPart(), SoBaseKit::getPartString(), SoTransformManip::replaceNode(), SoSpotLightManip::replaceNode(), SoPointLightManip::replaceNode(), SoDirectionalLightManip::replaceNode(), SoClipPlaneManip::replaceNode(), and SoDragger::shouldGrabBasedOnSurrogate().
SoNode * SoFullPath::getNodeFromTail (const int index) constThis method overrides SoPath::getNodeFromTail() to allow clients to get the node positioned index nodes from the tail, counting internal path nodes.
Reimplemented from SoPath.
Referenced by SoTransformManip::replaceNode(), SoSpotLightManip::replaceNode(), SoPointLightManip::replaceNode(), SoDirectionalLightManip::replaceNode(), and SoClipPlaneManip::replaceNode().
int SoFullPath::getIndexFromTail (const int index) constThis method overrides SoPath::getIndexFromTail() to allow clients to get the child index number for nodes based on their position from the tail, counting hidden nodes.
Reimplemented from SoPath.
int SoFullPath::getLength (void) constThis method returns the length of the path, counting hidden nodes also.
Reimplemented from SoPath.
Referenced by SoGLRenderAction::abortNow(), SoBaseKit::createPathToAnyPart(), SoBaseKit::getPartString(), SoTransformManip::replaceNode(), SoSpotLightManip::replaceNode(), SoPointLightManip::replaceNode(), SoDirectionalLightManip::replaceNode(), SoClipPlaneManip::replaceNode(), SoDragger::shouldGrabBasedOnSurrogate(), SoPathList::uniquify(), and SoSurroundScale::updateMySurroundParams().
Author
Generated automatically by Doxygen for Coin from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre