info-inventor-dev
[Top] [All Lists]

Re: QT+COIN

To: Tomás Aguado Gómez <tomas.aguado@xxxxxxxxxxxxxx>
Subject: Re: QT+COIN
From: "Lars J. Aas" <larsa@xxxxxx>
Date: Thu, 28 Oct 2004 13:01:13 +0200
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <4180B321.7080803@mi.madritel.es>
References: <4180B321.7080803@mi.madritel.es>
Sender: info-inventor-dev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
Tomás Aguado Gómez <tomas.aguado@xxxxxxxxxxxxxx> wrote:
:      Are the ""Do you have children?"" and ""Do you have brothers?"" 
: questions implemented for a SoNode or SoBase element??

Only group nodes have children.

int SoGroup::getNumChildren()

:      Is there any procedure/function like "nextSibling" wich  gives me 
: the SoNode or SoBase brother of the node, or ("null") if he's the last 
: brother?

No, but it's trivial to work it from the parent group node.

int SoGroup::getNumChildren()
SoNode * SoGroup::getChild()

  Lars J

<Prev in Thread] Current Thread [Next in Thread>
  • QT+COIN, Tomás Aguado Gómez
    • Re: QT+COIN, Lars J. Aas <=