7fd59977 |
1 | //-------------------------------------------------------------------- |
2 | // |
3 | // File Name : IGESBasic_Hierarchy.cxx |
4 | // Date : |
5 | // Author : CKY / Contract Toubro-Larsen |
6 | // Copyright : MATRA-DATAVISION 1993 |
7 | // |
8 | //-------------------------------------------------------------------- |
9 | |
10 | #include <IGESBasic_Hierarchy.ixx> |
11 | |
12 | IGESBasic_Hierarchy::IGESBasic_Hierarchy () { } |
13 | |
14 | |
15 | void IGESBasic_Hierarchy::Init |
16 | (const Standard_Integer nbPropVal, |
17 | const Standard_Integer aLineFont, const Standard_Integer aView, |
18 | const Standard_Integer anEntityLevel, const Standard_Integer aBlankStatus, |
19 | const Standard_Integer aLineWt, const Standard_Integer aColorNum) |
20 | { |
21 | theLineFont = aLineFont; |
22 | theView = aView; |
23 | theEntityLevel = anEntityLevel; |
24 | theBlankStatus = aBlankStatus; |
25 | theLineWeight = aLineWt; |
26 | theColorNum = aColorNum; |
27 | theNbPropertyValues = nbPropVal; |
28 | InitTypeAndForm(406,10); |
29 | } |
30 | |
31 | |
32 | Standard_Integer IGESBasic_Hierarchy::NbPropertyValues () const |
33 | { |
34 | return theNbPropertyValues; |
35 | } |
36 | |
37 | Standard_Integer IGESBasic_Hierarchy::NewLineFont () const |
38 | { |
39 | return theLineFont; |
40 | } |
41 | |
42 | Standard_Integer IGESBasic_Hierarchy::NewView () const |
43 | { |
44 | return theView; |
45 | } |
46 | |
47 | Standard_Integer IGESBasic_Hierarchy::NewEntityLevel () const |
48 | { |
49 | return theEntityLevel; |
50 | } |
51 | |
52 | Standard_Integer IGESBasic_Hierarchy::NewBlankStatus () const |
53 | { |
54 | return theBlankStatus; |
55 | } |
56 | |
57 | Standard_Integer IGESBasic_Hierarchy::NewLineWeight () const |
58 | { |
59 | return theLineWeight; |
60 | } |
61 | |
62 | Standard_Integer IGESBasic_Hierarchy::NewColorNum () const |
63 | { |
64 | return theColorNum; |
65 | } |