VIEW Gadget: VOLUME Views
- Last UpdatedNov 07, 2024
- 3 minute read
Members
|
Name |
Type |
Purpose |
|---|---|---|
|
Background |
REAL |
Get or set Background Color Number. |
|
Background |
STRING |
Set Background Color Name. |
|
Contents |
REAL ARRAY[2] |
Get or set User Contents ID. |
|
Defcall |
STRING |
Get or set default interaction callback. |
|
Height |
REAL |
Get View Height. |
|
Highlight |
REAL |
Get or set Highlight Color Number. |
|
Highlight |
STRING |
Set Highlight Color Name. |
|
Prompt |
GADGET |
Get or Set User Prompt paragraph gadget. |
|
Subtype |
STRING |
Get Subtype of graphic view. |
|
Width |
REAL |
Get View Width. |
|
StatusLine |
BOOLEAN |
Get or set Status Line ON (TRUE) or OFF (FALSE). |
|
Borders |
BOOLEAN |
Get or set Borders ON (TRUE) or OFF (FALSE). |
|
Direction |
REAL ARRAY[3] |
Direction vector [dE,dN,dU]. |
|
EyeMode |
BOOLEAN |
TRUE for Eyemode, FALSE for Modelmode. |
|
Limits |
REAL ARRAY[6] |
Limits box [E1,E2,N1,N2,U1,U2]. |
|
Mousemode |
STRING |
'ZOOM', 'PAN', 'ROTATE', WALK'. |
|
Projection |
STRING |
‘PERSPECTIVE’ or ‘PARALLEL’. |
|
Radius |
REAL |
View Radius distance >0. |
|
Range |
REAL |
Range distance >0. |
|
Refresh |
NO RESULT |
Refreshes the display of the gadget. |
|
RestoreView |
REAL |
Restores view saved as given view number. |
|
SaveView |
REAL |
Saves view as given view number, in the range 1 to 4. |
|
Shaded |
BOOLEAN |
TRUE for shaded, FALSE for wireline. |
|
Step |
REAL |
Step size >0. |
|
Through |
REAL ARRAY[3] |
Through point [E,N,U]. |
|
WalkThrough |
BOOLEAN |
TRUE for Walkthrough (equivalent to Eyemode). |
|
LabelStyle |
STRING |
Set by specifying ‘ENU’ or ‘XYZ’. Default is ‘ENU’. |
|
Bearing |
REAL |
View bearing -180 <= bearing <=180 |
|
Elevation |
REAL |
View elevation -180 <= elevation <=180 |
Methods
|
Name |
Result |
Purpose |
|---|---|---|
|
Background() |
STRING |
Returns the BACKGROUND color as a name string. |
|
Highlight() |
STRING |
Returns the HIGHLIGHT color as a name string. |
|
SetSize(REAL width, REAL height) |
NO RESULT |
Set view size. |
|
RestoreView(REAL storeNumber) |
NO RESULT |
Restores view saved as given view number. |
|
SaveView(REAL storeNumber) |
NO RESULT |
Saves view as given view number. |
Command
The VIEW ... VOLUME command puts you into View Setup mode. You remain in View Setup mode until you use the EXIT command.
(VOLume)--+-- STAUTUSLINE --+-- ON --.
| ‘-- OFF -‘--------------.
+-- BORDERS --+-- ON --. |
| ‘-- OFF -‘------------------|
+-- SHADING --+-- ON --. |
| ‘-- OFF -‘------------------|
+-- <cursor> -----------------------------|
+-- LOok --+-- <dir> ---------------------.
| |-- THRough---. |
| |-- FROM -----| |
| ‘-- TOWards --+-- <pos> ----. |
| |-- <gid> ----| |
| ‘-- ID @ NL ‑-‘--|
+-- ISOmetric --+-- value --. |
| ‘-----------‘-------------|
+-- PLAN ---------------------------------|
+-- ELEVation -- (one of N/S/E/W/X/Y) ----|
+-- CLIPping -----+-- ON --. |
| ‘-- OFF ‑‘--------------|
+-- CAPping ------+-- ON --. |
| ‘-- OFF ‑‘--------------|
+-- PERSPective --+-- ON --. |
| ‘-- OFF ‑‘--------------|
+-- WALKthrough --+-- ON --. |
| ‘-- OFF ‑‘--------------|
+--RADius --- value ----------------------|
+--STEP ----- value ----------------------|
‘--RANGE ---- value ----------------------‘--->
Here:
-
<cursor> is the syntax for selecting the cursor type, as in 2-19.
-
<border> allows control of zooming and panning as in 2-20.
Note:
The StatusLine must be ON for Borders to be displayed.Default:
StatusLine ON; Borders ON; Shading OFF.
View direction: PLAN or LOOK DOWN.
Limits: AUTO (set to current view limits).