mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0031326: Foundation Classes - Init from Json for base OCCT classes
InitFromJson method implementation for some simple classes. OCCT_INIT_* defines introduction to do automatic parsing of the stream into values. Inspector is extended to visualize objects created on the dump stream if it might be created.
This commit is contained in:
@@ -53,12 +53,7 @@ public:
|
||||
|
||||
//! Updates visibility of the presentations for the display type
|
||||
Standard_EXPORT void UpdatePreview (const View_DisplayActionType theType,
|
||||
const NCollection_List<Handle(Standard_Transient)>& thePresentations,
|
||||
int theDisplayMode);
|
||||
|
||||
//! Sets display mode for all displayed presentations
|
||||
Standard_EXPORT void SetDisplayMode (const int theDisplayMode,
|
||||
const bool theToUpdateViewer = true);
|
||||
const NCollection_List<Handle(Standard_Transient)>& thePresentations);
|
||||
|
||||
//! Returns true if preview presentation is shown
|
||||
Standard_Boolean HasPreview() const { return !myPreviewPresentation.IsNull(); }
|
||||
|
Reference in New Issue
Block a user