#include <TopoDS_Wire.hxx>
#include <TopExp_Explorer.hxx>
+#include <SUIT_ResourceMgr.h>
+#include <SUIT_Session.h>
+
HYDROGUI_Shape::HYDROGUI_Shape( const Handle(AIS_InteractiveContext)& theContext,
const Handle(HYDROData_Entity)& theObject,
const int theZLayer )
if ( aShapeType==TopAbs_EDGE || aShapeType==TopAbs_WIRE || IsWireEdgeCompound)
{
- shapes.append( HYDROGUI_Polyline::createPresentations( myTopoShape ) );
+ SUIT_ResourceMgr* aResMgr = 0;
+ SUIT_Session* aSession = SUIT_Session::session();
+ if ( aSession )
+ aResMgr = SUIT_Session::session()->resourceMgr();
+
+ int aType = -1;
+ int aSize = -1;
+ if( aResMgr )
+ {
+ aResMgr->value( "polyline", "arrow_type", aType );
+ aResMgr->value( "polyline", "arrow_size", aSize );
+ }
+
+ shapes.append( HYDROGUI_Polyline::createPresentations( myTopoShape, aType, aSize ) );
}
else
{