fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / NodeCores / Groups / Misc / OSGVisitSubTree.fcd
blob5af6154cf52c8218bcbff5b6452a7b7904267790
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="VisitSubTree"
5 parent="Group"
6 library="Group"
7 pointerfieldtypes="none"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 decoratable="false"
12 useLocalIncludes="false"
13 isNodeCore="true"
14 docGroupBase="GrpGroupMisc"
16 VisitSubTree provides a way to point the renderer to another section of the
17 scene graph for rendering. This is useful for multi-pass algorithms using
18 OSG::Stage because it provides a way to render the same graph multiple times
19 without duplicating the nodes.
20 <Field
21 name="subTreeRoot"
22 type="Node"
23 category="weakpointer"
24 cardinality="single"
25 visibility="external"
26 defaultValue="NULL"
27 access="protected"
28 ptrFieldAccess = "custom"
30 Reference to the sub-graph to draw in place of this node.
31 Whatever node is pointed to will be drawn here as if it was duplicated
32 at this location.
33 </Field>
34 <Field
35 name="subTreeTravMask"
36 type="UInt32"
37 cardinality="single"
38 visibility="external"
39 defaultValue="TypeTraits&lt;UInt32&gt;::getMax()"
40 access="public"
42 This travmask will be used to update the action mask on traversal (and)
43 </Field>
44 <Field
45 name="travMaskMode"
46 type="UInt32"
47 cardinality="single"
48 visibility="external"
49 defaultValue="VisitSubTree::AndTravMask"
50 access="public"
52 This defines how the travmask will be used to update the action mask on
53 traversal
54 </Field>
55 </FieldContainer>