Draw,
TCollection,
TColStd,
+ TColgp,
TopAbs,
TopTools,
TopoDS,
V3d,
AIS,
NIS,
- MMgt
+ MMgt,
+ Quantity
is
---Category: Create the viewer....
ViewerInit ( thePxLeft, thePxTop : Integer from Standard = 0;
- thePxWidth, thePxHeight : Integer from Standard = 0);
- ---Purpose:
- -- implemented in ViewerTest_ViewerCommands.cxx
+ thePxWidth, thePxHeight : Integer from Standard = 0;
+ theViewName : CString from Standard = "";
+ theDisplayName : CString from Standard = "")
+ returns AsciiString from TCollection;
+ ---Purpose: Creates view with default or custom name
+ -- and add this name in map to manage muliple views
+ -- implemented in ViewerTest_ViewerCommands.cxx
+
+ ---Category: Manage the name of views
+ RemoveViewName (theName: AsciiString from TCollection);
+
+ InitViewName (theName: AsciiString from TCollection;
+ theView: View from V3d);
+
+ GetCurrentViewName returns AsciiString from TCollection;
+
+ ---Category: Delete the viewer....
+ RemoveView (theViewName:AsciiString from TCollection;
+ isContextRemoved:Boolean from Standard= Standard_True);
+ ---Purpose: Removes view and clear all maps
+ -- with information about its resources if neccessary
---Category: Selection in the viewer....
-
WClass returns TShared from MMgt is private;
---C++: return const &
---Purpose: Returns a window class that implements standard behavior of
GetCollectorFromContext returns Viewer from V3d;
GetAISContext returns InteractiveContext from AIS;
-
+ ---C++: return const &
GetNISContext returns InteractiveContext from NIS;
---C++: return &
SetNISContext (aContext: InteractiveContext from NIS);
CurrentView returns View from V3d;
-
+ ---C++: return const &
+
CurrentView (aViou:View from V3d);
Clear ;
StandardModeActivation(Mode : Integer from Standard);
+ GetColorFromName(name: CString from Standard)
+ returns NameOfColor from Quantity;
+
+ RedrawAllViews;
+ ---Purpose: redraws all defined views.
+ SplitParameter (theString : AsciiString from TCollection;
+ theName : out AsciiString from TCollection;
+ theValue : out AsciiString from TCollection)
+ returns Boolean from Standard;
+ ---Purpose: Splits "parameter=value" string into separate
+ -- parameter and value strings.
+ -- @return TRUE if the string matches pattern "<string>=<empty or string>"
end;