#include "VISU_Result_i.hh"
#include "VISU_Prs3d_i.hh"
#include "VISU_Mesh_i.hh"
-#include "VISU_ScalarMap_i.hh"
+#include "VISU_PrsMerger_i.hh"
#include "VISU_IsoSurfaces_i.hh"
#include "VISU_DeformedShape_i.hh"
#include "VISU_ScalarMapOnDeformedShape_i.hh"
FieldData aNewData;
aNewData.myField = theField;
aNewData.myNbFrames = 0;
- aNewData.myPrsType = VISU::TSCALARMAP;
+ aNewData.myPrsType = VISU::TPRSMERGER;
aNewData.myOffset[0] = aNewData.myOffset[1] = aNewData.myOffset[2] = 0;
VISU::Storable::TRestoringMap aMap = getMapOfValue(aNewData.myField);
aNewData.myNbTimes = VISU::Storable::FindValue(aMap,"myNbTimeStamps").toLong();
int aRangeType = VISU::GetResourceMgr()->integerValue("VISU" , "scalar_range_type", 0);
if( aRangeType != 1 ){
for(long aFrameId = 0; aFrameId < theData.myNbFrames; aFrameId++) {
- if (VISU::ScalarMap_i* aPrs = dynamic_cast<VISU::ScalarMap_i*>(theData.myPrs[aFrameId])){
+ if (VISU::PrsMerger_i* aPrs = dynamic_cast<VISU::PrsMerger_i*>(theData.myPrs[aFrameId])){
aPrs->SetRange(aMin, aMax);
aPrs->SetOffset(theData.myOffset);
}
using namespace VISU;
switch (aData.myPrsType) {
- case VISU::TSCALARMAP: // ScalarMap
- GeneratePresentations<ScalarMap_i>(myStudy,
+ case VISU::TPRSMERGER: // ScalarMap
+ GeneratePresentations<PrsMerger_i>(myStudy,
aData,
aResult,
isRangeDefined(),
{
std::string aPrsCmt;
switch (thePrsType) {
- case VISU::TSCALARMAP:
- aPrsCmt = VISU::ScalarMap_i::myComment;
+ case VISU::TPRSMERGER:
+ aPrsCmt = VISU::PrsMerger_i::myComment;
break;
case VISU::TISOSURFACE:
aPrsCmt = VISU::IsoSurfaces_i::myComment;
string aStr = aName->Value();
QString strName (aStr.c_str());
- if (strName == VISU::ScalarMap_i::myComment.c_str())
- aData.myPrsType = VISU::TSCALARMAP;
+ if (strName == VISU::PrsMerger_i::myComment.c_str())
+ aData.myPrsType = VISU::TPRSMERGER;
else if (strName == VISU::IsoSurfaces_i::myComment.c_str())
aData.myPrsType = VISU::TISOSURFACE;
else if (strName == VISU::CutPlanes_i::myComment.c_str())