occt: master 7e1c1e48

Author Committer Branch Timestamp Parent
nds bugmaster master 2020-01-31 10:12:45 master a2803f37
Affected Issues  0030268: Inspectors - improvements in VInspector plugin
Changeset 0030268: Inspectors - improvements in VInspector plugin

- Convert package creation. It is used to prepare some auxiliary presentations/methods to prepare variables for inspector based on occt classes.
- ViewControl package improvement:
  Classes for property view, table, table model are implemented to visualize view of properties.
  This view is filled by selection in tree if the selected object has implemented DumpJson functionality.
- TreeModel package improvements:
  Method InitColumn is implemented in TreeModel_TreeModel to fill default columns in base model. The default columns are:
    Name, Visibility, Rows. Additional columns should be added in successors.
  Container of root items is moved into the base class
- View package imrovements:
  Store preferences: display mode, fit all checked state and type of external context
  View_DisplayPreview is added to process preview for selected in tree view objects
  hide actions Clear, Multi, Single by default (as selection in tree view or Visibility state of item define which presentations should be displayed or erased)
- ShapeView plugin improvements:
  Property View content based on DumpJson (columns in tree view for properties are removed),
  Properties for TopoDS_Shape are displayed
  Explode shape action in tree view to see content of shape by selected shape type. Type of displayed shapes is only preview, it is not used in export action.
  Export shape into BREP. The previous implementation about BREP files in some directory and default view is removed.
- VInspector plugin imrovements:
  Property View content based on DumpJson (columns in tree view for properties are removed),
  Properties for AIS_InteractiveContext and AIS_InteractiveObject are displayed
  obsolete classes to provide properties are removed.
- DFBrowser plugin improvements:
  Property View content based on DumpJson is not used yet. But there is the USE_DUMPJSON macro. It's switch off by default.
  If switch ON, it creates a Property View filled with DumpJson. It's a way of DFBrowser moving on this property view.
  Init uses static variable CDF_Session::CurrentSession()->CurrentApplication to fill plugin if application in plugin is not set but OCAF application exists

- OCC_VERSION_HEX variable used for previous OCCT versions support (before 6.9.0 or 7.2.0) is removed
add - tools/Convert/Convert_Tools.cxx Diff File
add - tools/Convert/Convert_Tools.hxx Diff File
add - tools/Convert/Convert_TransientShape.hxx Diff File
add - tools/Convert/FILES Diff File
mod - tools/DFBrowser/DFBrowser_AttributePaneStack.cxx Diff File
mod - tools/DFBrowser/DFBrowser_Communicator.hxx Diff File
mod - tools/DFBrowser/DFBrowser_DumpView.hxx Diff File
mod - tools/DFBrowser/DFBrowser_HighlightDelegate.hxx Diff File
mod - tools/DFBrowser/DFBrowser_Item.cxx Diff File
mod - tools/DFBrowser/DFBrowser_Item.hxx Diff File
mod - tools/DFBrowser/DFBrowser_ItemApplication.hxx Diff File
mod - tools/DFBrowser/DFBrowser_ItemBase.cxx Diff File
mod - tools/DFBrowser/DFBrowser_ItemBase.hxx Diff File
mod - tools/DFBrowser/DFBrowser_ItemDocument.hxx Diff File
mod - tools/DFBrowser/DFBrowser_Module.cxx Diff File
mod - tools/DFBrowser/DFBrowser_Module.hxx Diff File
mod - tools/DFBrowser/DFBrowser_OpenApplication.cxx Diff File
mod - tools/DFBrowser/DFBrowser_OpenApplication.hxx Diff File
mod - tools/DFBrowser/DFBrowser_PropertyPanel.hxx Diff File
mod - tools/DFBrowser/DFBrowser_SearchLine.hxx Diff File
mod - tools/DFBrowser/DFBrowser_SearchLineModel.hxx Diff File
mod - tools/DFBrowser/DFBrowser_SearchView.hxx Diff File
mod - tools/DFBrowser/DFBrowser_Thread.cxx Diff File
mod - tools/DFBrowser/DFBrowser_ThreadItemSearch.hxx Diff File
mod - tools/DFBrowser/DFBrowser_TreeLevelLine.hxx Diff File
mod - tools/DFBrowser/DFBrowser_TreeLevelLineDelegate.hxx Diff File
mod - tools/DFBrowser/DFBrowser_TreeLevelLineModel.cxx Diff File
mod - tools/DFBrowser/DFBrowser_TreeLevelLineModel.hxx Diff File
mod - tools/DFBrowser/DFBrowser_TreeLevelView.hxx Diff File
mod - tools/DFBrowser/DFBrowser_TreeLevelViewModel.cxx Diff File
mod - tools/DFBrowser/DFBrowser_TreeLevelViewModel.hxx Diff File
mod - tools/DFBrowser/DFBrowser_TreeModel.cxx Diff File
mod - tools/DFBrowser/DFBrowser_TreeModel.hxx Diff File
mod - tools/DFBrowser/DFBrowser_Window.cxx Diff File
mod - tools/DFBrowser/DFBrowser_Window.hxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_AttributePane.cxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_AttributePane.hxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_AttributePaneCreator.cxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_AttributePaneCreator.hxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_AttributePaneCreatorAPI.hxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_AttributePaneModel.hxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_HelperExport.hxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNode.cxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNode.hxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNodeItem.hxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNodeModel.cxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNodeModel.hxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TDocStdOwner.cxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TNamingNamedShape.cxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TNamingNaming.cxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TNamingUsedShapes.cxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_Tools.cxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_Tools.hxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TPrsStdAISPresentation.cxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TPrsStdAISViewer.cxx Diff File
mod - tools/DFBrowserPane/FILES Diff File
mod - tools/DFBrowserPaneXDE/DFBrowserPaneXDE_AttributeCommonPane.cxx Diff File
mod - tools/DFBrowserPaneXDE/DFBrowserPaneXDE_AttributeCommonPane.hxx Diff File
mod - tools/DFBrowserPaneXDE/DFBrowserPaneXDE_AttributePaneCreator.cxx Diff File
mod - tools/DFBrowserPaneXDE/DFBrowserPaneXDE_AttributePaneCreator.hxx Diff File
mod - tools/DFBrowserPaneXDE/DFBrowserPaneXDE_XCAFDocDatum.cxx Diff File
mod - tools/DFBrowserPaneXDE/DFBrowserPaneXDE_XCAFDocShapeMapTool.cxx Diff File
mod - tools/DFBrowserPaneXDE/DFBrowserPaneXDE_XDEDRAW.cxx Diff File
mod - tools/ShapeView/FILES Diff File
mod - tools/ShapeView/ShapeView_Communicator.hxx Diff File
rm - tools/ShapeView/ShapeView_ItemBase.hxx Diff File
mod - tools/ShapeView/ShapeView_ItemRoot.cxx Diff File
mod - tools/ShapeView/ShapeView_ItemRoot.hxx Diff File
mod - tools/ShapeView/ShapeView_ItemShape.cxx Diff File
mod - tools/ShapeView/ShapeView_ItemShape.hxx Diff File
mod - tools/ShapeView/ShapeView_OpenFileDialog.hxx Diff File
mod - tools/ShapeView/ShapeView_OpenFileViewModel.hxx Diff File
mod - tools/ShapeView/ShapeView_Tools.cxx Diff File
mod - tools/ShapeView/ShapeView_Tools.hxx Diff File
mod - tools/ShapeView/ShapeView_TreeModel.cxx Diff File
mod - tools/ShapeView/ShapeView_TreeModel.hxx Diff File
mod - tools/ShapeView/ShapeView_VisibilityState.cxx Diff File
mod - tools/ShapeView/ShapeView_VisibilityState.hxx Diff File
mod - tools/ShapeView/ShapeView_Window.cxx Diff File
mod - tools/ShapeView/ShapeView_Window.hxx Diff File
mod - tools/TInspector/FILES Diff File
rm - tools/TInspector/icons/item_algo_folder.png Diff File
mod - tools/TInspector/TInspector.qrc Diff File
mod - tools/TInspector/TInspector_Communicator.hxx Diff File
add - tools/TInspector/TInspector_OpenButton.cxx Diff File
add - tools/TInspector/TInspector_OpenButton.hxx Diff File
mod - tools/TInspector/TInspector_PluginParameters.hxx Diff File
mod - tools/TInspector/TInspector_Preferences.hxx Diff File
mod - tools/TInspector/TInspector_Window.cxx Diff File
mod - tools/TInspector/TInspector_Window.hxx Diff File
mod - tools/TInspectorAPI/FILES Diff File
mod - tools/TInspectorAPI/TInspectorAPI_Communicator.hxx Diff File
mod - tools/TInspectorAPI/TInspectorAPI_PluginParameters.cxx Diff File
mod - tools/TInspectorAPI/TInspectorAPI_PluginParameters.hxx Diff File
rm - tools/TInspectorAPI/TInspectorAPI_Version.hxx Diff File
mod - tools/TInspectorEXE/EXTERNLIB Diff File
mod - tools/TInspectorEXE/FILES Diff File
rm - tools/TInspectorEXE/PACKAGES Diff File
mod - tools/TInspectorEXE/TInspectorEXE.cxx Diff File
rm - tools/TInspectorEXE/TInspectorEXE.qrc Diff File
mod - tools/TKShapeView/EXTERNLIB Diff File
mod - tools/TKTInspectorAPI/EXTERNLIB Diff File
mod - tools/TKTInspectorAPI/PACKAGES Diff File
mod - tools/TKToolsDraw/EXTERNLIB Diff File
mod - tools/TKTreeModel/EXTERNLIB Diff File
mod - tools/TKView/EXTERNLIB Diff File
mod - tools/ToolsDraw/ToolsDraw.cxx Diff File
mod - tools/ToolsDraw/ToolsDraw.hxx Diff File
mod - tools/TreeModel/FILES Diff File
rm - tools/TreeModel/TreeModel.hxx Diff File
mod - tools/TreeModel/TreeModel_ContextMenu.hxx Diff File
mod - tools/TreeModel/TreeModel_HeaderSection.hxx Diff File
mod - tools/TreeModel/TreeModel_ItemBase.cxx Diff File
mod - tools/TreeModel/TreeModel_ItemBase.hxx Diff File
add - tools/TreeModel/TreeModel_ItemProperties.cxx Diff File
add - tools/TreeModel/TreeModel_ItemProperties.hxx Diff File
add - tools/TreeModel/TreeModel_ItemStream.hxx Diff File
mod - tools/TreeModel/TreeModel_ModelBase.cxx Diff File
mod - tools/TreeModel/TreeModel_ModelBase.hxx Diff File
mod - tools/TreeModel/TreeModel_Tools.cxx Diff File
mod - tools/TreeModel/TreeModel_Tools.hxx Diff File
mod - tools/TreeModel/TreeModel_VisibilityState.cxx Diff File
mod - tools/TreeModel/TreeModel_VisibilityState.hxx Diff File
mod - tools/View/FILES Diff File
add - tools/View/icons/trihedron.png Diff File
mod - tools/View/View.qrc Diff File
mod - tools/View/View_Displayer.cxx Diff File
mod - tools/View/View_Displayer.hxx Diff File
add - tools/View/View_DisplayPreview.cxx Diff File
add - tools/View/View_DisplayPreview.hxx Diff File
add - tools/View/View_PreviewParameters.cxx Diff File
add - tools/View/View_PreviewParameters.hxx Diff File
mod - tools/View/View_ToolActionType.hxx Diff File
mod - tools/View/View_ToolBar.cxx Diff File
mod - tools/View/View_ToolBar.hxx Diff File
rm - tools/View/View_Tools.cxx Diff File
rm - tools/View/View_Tools.hxx Diff File
mod - tools/View/View_Viewer.cxx Diff File
mod - tools/View/View_Viewer.hxx Diff File
mod - tools/View/View_Widget.cxx Diff File
mod - tools/View/View_Widget.hxx Diff File
mod - tools/View/View_Window.cxx Diff File
mod - tools/View/View_Window.hxx Diff File
mod - tools/ViewControl/FILES Diff File
mod - tools/ViewControl/ViewControl_MessageDialog.hxx Diff File
add - tools/ViewControl/ViewControl_PropertyView.cxx Diff File
add - tools/ViewControl/ViewControl_PropertyView.hxx Diff File
add - tools/ViewControl/ViewControl_Table.cxx Diff File
add - tools/ViewControl/ViewControl_Table.hxx Diff File
add - tools/ViewControl/ViewControl_TableModel.cxx Diff File
add - tools/ViewControl/ViewControl_TableModel.hxx Diff File
add - tools/ViewControl/ViewControl_TableModelValues.cxx Diff File
add - tools/ViewControl/ViewControl_TableModelValues.hxx Diff File
mod - tools/ViewControl/ViewControl_Tools.cxx Diff File
mod - tools/ViewControl/ViewControl_Tools.hxx Diff File
mod - tools/ViewControl/ViewControl_TreeView.hxx Diff File
mod - tools/VInspector/FILES Diff File
mod - tools/VInspector/VInspectorAPI_CallBack.cxx Diff File
mod - tools/VInspector/VInspectorAPI_CallBack.hxx Diff File
mod - tools/VInspector/VInspector_CallBack.cxx Diff File
mod - tools/VInspector/VInspector_CallBack.hxx Diff File
mod - tools/VInspector/VInspector_Communicator.hxx Diff File
mod - tools/VInspector/VInspector_ItemBase.cxx Diff File
mod - tools/VInspector/VInspector_ItemBase.hxx Diff File
mod - tools/VInspector/VInspector_ItemContext.cxx Diff File
mod - tools/VInspector/VInspector_ItemContext.hxx Diff File
rm - tools/VInspector/VInspector_ItemEntityOwner.cxx Diff File
rm - tools/VInspector/VInspector_ItemEntityOwner.hxx Diff File
rm - tools/VInspector/VInspector_ItemFolderObject.hxx Diff File
mod - tools/VInspector/VInspector_ItemHistoryElement.cxx Diff File
mod - tools/VInspector/VInspector_ItemHistoryElement.hxx Diff File
mod - tools/VInspector/VInspector_ItemHistoryRoot.cxx Diff File
mod - tools/VInspector/VInspector_ItemHistoryRoot.hxx Diff File
mod - tools/VInspector/VInspector_ItemHistoryType.cxx Diff File
mod - tools/VInspector/VInspector_ItemHistoryType.hxx Diff File
mod - tools/VInspector/VInspector_ItemPresentableObject.cxx Diff File
mod - tools/VInspector/VInspector_ItemPresentableObject.hxx Diff File
rm - tools/VInspector/VInspector_ItemSelection.cxx Diff File
rm - tools/VInspector/VInspector_ItemSelection.hxx Diff File
rm - tools/VInspector/VInspector_ItemSelectMgrFilter.cxx Diff File
rm - tools/VInspector/VInspector_ItemSelectMgrFilter.hxx Diff File
rm - tools/VInspector/VInspector_ItemSensitiveEntity.cxx Diff File
rm - tools/VInspector/VInspector_ItemSensitiveEntity.hxx Diff File
mod - tools/VInspector/VInspector_ToolActionType.hxx Diff File
mod - tools/VInspector/VInspector_ToolBar.cxx Diff File
mod - tools/VInspector/VInspector_ToolBar.hxx Diff File
mod - tools/VInspector/VInspector_Tools.cxx Diff File
mod - tools/VInspector/VInspector_Tools.hxx Diff File
mod - tools/VInspector/VInspector_ViewModel.cxx Diff File
mod - tools/VInspector/VInspector_ViewModel.hxx Diff File
mod - tools/VInspector/VInspector_ViewModelHistory.cxx Diff File
mod - tools/VInspector/VInspector_ViewModelHistory.hxx Diff File
mod - tools/VInspector/VInspector_Window.cxx Diff File
mod - tools/VInspector/VInspector_Window.hxx Diff File