From: apo Date: Mon, 29 Aug 2005 08:10:29 +0000 (+0000) Subject: Minor changes X-Git-Tag: BR-D5-38-2003_D2005-12-09~86 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ff03c38313b8c8f9457dd7772dcfaaf687a40985;p=modules%2Fvisu.git Minor changes --- diff --git a/src/PIPELINE/VISUPipeLine.cxx b/src/PIPELINE/VISUPipeLine.cxx index 46ff4c61..dd40816d 100644 --- a/src/PIPELINE/VISUPipeLine.cxx +++ b/src/PIPELINE/VISUPipeLine.cxx @@ -101,13 +101,20 @@ int main(int argc, char** argv){ VISU::TFieldMap::const_iterator aFieldMapIter = aFieldMap.begin(); for(; aFieldMapIter != aFieldMap.end(); aFieldMapIter++){ const VISU::PField aField = aFieldMapIter->second; - if(aField->myNbComp == 1) continue; + /* + if(aField->myNbComp == 1) + continue; + */ const string& aFieldName = aFieldMapIter->first; const VISU::TValField& aValField = aField->myValField; VISU::TValField::const_iterator aValFieldIter = aValField.begin(); if(aValFieldIter == aValField.end()) return 0; int aTimeStamp = aValFieldIter->first; - vtkUnstructuredGrid* aDataSet = aConvertor->GetTimeStampOnMesh(aMeshName,anEntity,aFieldName,aTimeStamp); + vtkUnstructuredGrid* aDataSet; + if(anEntity != VISU::NODE_ENTITY) + aDataSet = aConvertor->GetTimeStampOnGaussPts(aMeshName,anEntity,aFieldName,aTimeStamp); + else + aDataSet = aConvertor->GetTimeStampOnMesh(aMeshName,anEntity,aFieldName,aTimeStamp); TPresent* aPresent = TPresent::New(); aPresent->SetInput(aDataSet);