X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FVISU_I%2FVISU_CutPlanes_i.cc;h=38f9a0e92a34ab6b69068ef08d964f5f0a4e9e12;hb=3f4152dedc1ae968267cfb8a079f261ec0088ed0;hp=d5c0ea04ac4fd0c0057b12bae0c172e453b178d3;hpb=892670dfa63e3a10989e348fee2df55929bf12a5;p=modules%2Fvisu.git diff --git a/src/VISU_I/VISU_CutPlanes_i.cc b/src/VISU_I/VISU_CutPlanes_i.cc index d5c0ea04..38f9a0e9 100644 --- a/src/VISU_I/VISU_CutPlanes_i.cc +++ b/src/VISU_I/VISU_CutPlanes_i.cc @@ -29,6 +29,8 @@ #include "VISU_CutPlanes_i.hh" #include "VISU_Actor.h" +#include "SUIT_ResourceMgr.h" + using namespace VISU; using namespace std; @@ -189,6 +191,9 @@ VISU::CutPlanes_i { if(VISU_Actor* anActor = ScalarMap_i::CreateActor(theIO)){ anActor->SetVTKMapping(true); + SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr(); + int aDispMode = aResourceMgr->integerValue("VISU" , "cut_planes_represent", 1); + anActor->SetRepresentation(aDispMode); return anActor; } return NULL;