Debian Codegraph @

doc/man/man3/ivm/nodes/SoAnnotation.ivm

raw
1 NAME SoAnnotation SoAnnot "" { Annotation group node }
2
3 INCLUDE nodes/SoAnnotation.h
4
5 DESC {
6 This group node delays rendering its children until all other nodes
7 have been traversed, turning off depth buffer comparisons first. The
8 result is that the shapes under the annotation node are rendered on
9 top of the rest of the scene. This node is derived from
10 \cSoSeparator\., so it saves and restores traversal state for all
11 actions.
12 \p
13 Note that if more than one annotation node is present in a graph, the
14 order in which they are traversed determines the stacking order \(em
15 later nodes are rendered on top of earlier ones. Also note that since
16 depth buffer comparisons are disabled, complex 3D objects may not be
17 rendered correctly when used under annotation nodes.
18 \p
19 Also note that the annotation node does nothing special when picking
20 along a ray. That is, it does not modify the sorting order of
21 intersected objects based on which ones are under annotation nodes. If
22 your application uses annotation nodes and you want to ensure that
23 objects under them are picked "in front of" other objects, you can
24 tell the pick action that you want to pick all objects along the ray
25 and then scan through the paths in the resulting picked point
26 instances to see if any of them passes through an annotation
27 node. Your program can then decide what to do in such a case.
28 }
29
30 METHOD "" SoAnnotation() {
31 Creates an annotation node with default settings.
32 }
33
34 METHOD "" static SoType getClassTypeId() {
35 Returns type identifier for this class.
36 }
37
38 ACTION SoGLRenderAction {
39 Delays rendering its children until all other nodes have been
40 traversed, turning off depth buffer comparisons first.
41 }
42
43 ACTION SoCallbackAction, SoGetBoundingBoxAction,
44 SoGetMatrixAction, SoRayPickAction, SoSearchAction {
45 Same as \cSoSeparator\.
46 }
47