blob: 3ba012394095219d09d83ef0e161db801a5ba0e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
-- File: VrmlConverter_LineAspect.cdl
-- Created: Wed Apr 23 15:14:48 1997
-- Author: Alexander BRIVIN
-- <brivin@minox.nizhny.matra-dtv.fr>
---Copyright: Matra Datavision 1997
class LineAspect from VrmlConverter inherits TShared from MMgt
---Purpose: qualifies the aspect properties for
-- the VRML conversation of a Curve and a DeflectionCurve .
uses
Material from Vrml
is
Create
returns mutable LineAspect from VrmlConverter;
---Purpose: create a default LineAspect.
-- Default value: HasMaterial = False - a line hasn't own material (color)
Create (aMaterial: Material from Vrml;
OnOff: Boolean from Standard)
returns mutable LineAspect from VrmlConverter;
SetMaterial(me: mutable; aMaterial: Material from Vrml)
is static;
Material(me) returns mutable Material from Vrml
is static;
SetHasMaterial(me: mutable; OnOff: Boolean from Standard)
---Purpose: defines the necessary of writing own Material from Vrml into output OStream.
-- By default False - the material is not writing into OStream,
-- True - the material is writing.
is static;
HasMaterial(me) returns Boolean from Standard
---Purpose: returns True if the materials is writing into OStream.
is static;
-- Copy (me) returns mutable like me;
fields
myMaterial : Material from Vrml;
myHasMaterial : Boolean from Standard;
end LineAspect;
|