changed: gcc8 base update
[opensg.git] / Source / System / Window / Camera / OSGProjectionCameraDecorator.fcd
blob576fb2df6f4f720a8b81cf09285d81f231889cbe
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="ProjectionCameraDecorator"
5 parent="StereoCameraDecorator"
6 library="Window"
7 pointerfieldtypes="both"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 decoratable="false"
12 docGroupBase="GrpWindowCamera"
14 The decorator for tracked projection screens, see \ref
15 PageSystemWindowCameraDecoratorsStereoProjection for a description.
17 The parameters are defined by the _sfUser and _mfSurface fields.
19 \dev
21 The derived parameters used to actually calculate the matrix are stored in the
22 _sfLeft, _sfBottom, _sfNormal, sfWidth and _sfHeight fields.
24 \enddev
25 <Field
26 name="user"
27 type="NodePtr"
28 cardinality="single"
29 visibility="external"
30 access="public"
32 The coordinate system relative to the camera.
33 </Field>
34 <Field
35 name="surface"
36 type="Pnt3f"
37 cardinality="multi"
38 visibility="external"
39 access="public"
41 4 points describing the rectangular projection surface, in the camera
42 coordinate system. Counterclockwise, starting at lower left corner of the
43 screen.
44 </Field>
45 <Field
46 name="left"
47 type="Plane"
48 cardinality="single"
49 visibility="internal"
50 access="protected"
52 The left edge direction vector.
53 </Field>
54 <Field
55 name="bottom"
56 type="Plane"
57 cardinality="single"
58 visibility="internal"
59 access="protected"
61 The bottom edge direction vector.
62 </Field>
63 <Field
64 name="normal"
65 type="Plane"
66 cardinality="single"
67 visibility="internal"
68 access="protected"
70 The normal of the projection surface.
71 </Field>
72 <Field
73 name="width"
74 type="Real32"
75 cardinality="single"
76 visibility="internal"
77 access="public"
79 The width of the projection screen.
80 </Field>
81 <Field
82 name="height"
83 type="Real32"
84 cardinality="single"
85 visibility="internal"
86 access="public"
88 The height of the projection screen.
89 </Field>
90 </FieldContainer>