Last change
on this file since 35 was
19,
checked in by gostiaux, 15 years ago
|
the private files have been moved down to the root folder
|
File size:
1.0 KB
|
Line | |
---|
1 | %'set_title': defines the 'TITLE' of a projection object |
---|
2 | %----------------------------------------------------------- |
---|
3 | % function TITLE=set_title(Style,ProjMode) |
---|
4 | % OUTPUT: |
---|
5 | % TITLE: char string defining the title |
---|
6 | % |
---|
7 | % INPUT: |
---|
8 | % Style: char string defining the style of the projection opbject |
---|
9 | % ProjMode: char string defining the projection mode |
---|
10 | %------------------------------------------------ |
---|
11 | function TITLE=set_title(Style,ProjMode) |
---|
12 | %------------------------------------------------ |
---|
13 | TITLE=[]; %default |
---|
14 | if isequal(Style,'points') |
---|
15 | TITLE='POINTS'; |
---|
16 | elseif isequal(Style,'line')|isequal(Style,'polyline') |
---|
17 | TITLE='LINE'; |
---|
18 | elseif isequal(Style,'plane') |
---|
19 | TITLE='PLANE'; |
---|
20 | elseif isequal(Style,'volume') |
---|
21 | TITLE='VOLUME'; |
---|
22 | elseif isequal(Style,'polygon')|isequal(Style,'rectangle')|isequal(Style,'ellipse') |
---|
23 | if isequal(ProjMode,'inside')|isequal(ProjMode,'outside') |
---|
24 | TITLE='PATCH'; |
---|
25 | elseif isequal(ProjMode,'mask_inside')|isequal(ProjMode,'mask_outside') |
---|
26 | TITLE='MASK'; |
---|
27 | else |
---|
28 | TITLE='LINE'; |
---|
29 | end |
---|
30 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.