mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0030268: Inspectors - improvements in VInspector plugin,
0029451: Information Message Alert to debug an algorithm or object functionality
This commit is contained in:
@@ -40,6 +40,15 @@ Standard_EXPORT ViewerTest_DoubleMapOfInteractiveAndName& GetMapOfAIS();
|
||||
|
||||
static TInspector_Communicator* MyCommunicator;
|
||||
|
||||
// =======================================================================
|
||||
// function : GetCommunicator
|
||||
// purpose : defines plugin library name by the command argument
|
||||
// =======================================================================
|
||||
TInspector_Communicator* ToolsDraw::GetCommunicator()
|
||||
{
|
||||
return MyCommunicator;
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
// function : convertToPluginName
|
||||
// purpose : defines plugin library name by the command argument
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <Draw_Interpretor.hxx>
|
||||
#include <Standard.hxx>
|
||||
|
||||
class TInspector_Communicator;
|
||||
|
||||
//! \class ToolsDraw
|
||||
//! \brief Registers DRAW commands to connect to TInspector tools
|
||||
class ToolsDraw
|
||||
@@ -36,6 +38,8 @@ public:
|
||||
//! \param theCommands
|
||||
Standard_EXPORT static void Commands (Draw_Interpretor& theCommands);
|
||||
|
||||
Standard_EXPORT static TInspector_Communicator* GetCommunicator();
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user