[BACK]Return to README CVS log [TXT][DIR] Up to [Development] / inventor / apps / samples / ivNodeKitStructure

File: [Development] / inventor / apps / samples / ivNodeKitStructure / README (download)

Revision 1.1.1.1 (vendor branch), Tue Aug 15 12:55:59 2000 UTC (17 years, 2 months ago) by naaman
Branch: sgi, MAIN
CVS Tags: start, release-2_1_5-9, release-2_1_5-8, release-2_1_5-10, HEAD
Changes since 1.1: +0 -0 lines

Initial check-in based on 2.1.5 (SGI IRIX) source tree.

This directory contains source code for the 'ivNodeKitStructure' utility, used
to produce an ascii diagram and a table of information about all parts 
(both public and private) in the catalog of a nodekit class.

Note that this program will work on non-standard Inventor classes, provided that
the DSO (dynamic shared object) is accessible. Hence, this is a good utility
for checking the structures of nodekits you develop yourself.

SYNTAX
------
ivNodeKitStructure [-h] className

    -h : Print help message.

"className" is the name of any node class derived from SoBaseKit. 
            This includes all dragger classes as well.


DIAGRAMS
--------
The 'diagram' is really just a list of all possible parts in the kit, printed in
the same order as they would be traversed in a scene graph.
When a part name is indented, this means that it is the child of the previous
part.
When a part name is not indented, this means it is the right sibling of the
previous part.
Parts preceded by an arrow '-->' are new in this class. All other parts 
are inherited from the base class.

TABLES
------
The 'table' lists the parts of the nodekit in the same order as the diagram,
but with no indentations.  It contains the following information:

1st column -- PVT means that this is a private part. 
              If the first column if empty, the part is public.
2nd column -- The part name.
3rd column -- The partType. This is the type of node you may install using 
	      setPart(), etc.
4th column -- If the part is a list part, the types of nodes that the list
	      will accept as children.
	      If the part is not a list part, then "---" is printed.
5th column -- If the  partType is an abstract node type, the default type will
	      be printed here, as in:
	      "(default type = SoCube)"