info-inventor
[Top] [All Lists]

How to subclass Node with Hidden Children ???

To: info-inventor@xxxxxxxxxxx
Subject: How to subclass Node with Hidden Children ???
From: Cyril ZEKSER <czekser@xxxxxxxxxxxxxx>
Date: Mon, 19 Mar 2001 17:41:58 +0100
Newsgroups: comp.graphics.api.inventor
Sender: owner-inventor@xxxxxxxxxxx
Hi all,

I want to create a Node, which has all the functionnalities of a SoSeparator, 
but which have all its
children hidden. I've read in the Toolmaker (p50) that "If you want the node to 
have hidden
children, it should not be derived from SoGroup, which has public children 
only".

So What I've understood here (and in the text which follows) is that I must 
derive from SoNode,
maintaining a SoChildList (which is undocumented), implementing a 
getChildren(), but what next ???

I want to know what are the functions, tha actions... and everything that are 
mandatory for my node
to be like a SoSeparator or a SoGroup ???

any clue ???

Regards

Cyril ZEKSER



<Prev in Thread] Current Thread [Next in Thread>
  • How to subclass Node with Hidden Children ???, Cyril ZEKSER <=