-// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
// VISU OBJECT : interactive object for VISU entities implementation
// File : VISU_PrsObject_i.cxx
// Author : Alexey PETROV
#include "SUIT_ResourceMgr.h"
#include "SALOME_Event.h"
-#include <strstream>
+#include <sstream>
#include <vtkMapper.h>
#include <vtkDataSet.h>
if(!theResult->IsMinMaxDone())
theResult->GetInput()->BuildMinMax();
if(theField->myIsELNO)
- return theField->GetMinMax(theCompID);
+ return theField->GetMinMax(theCompID, VISU::TNames());
else
- return theField->GetAverageMinMax(theCompID);
+ return theField->GetAverageMinMax(theCompID, VISU::TNames());
}
//---------------------------------------------------------------
//---------------------------------------------------------------
void
VISU::ColoredPrs3d_i
-::Destroy()
+::UnRegister()
{
- TSuperClass::Destroy();
+ TSuperClass::UnRegister();
}
//---------------------------------------------------------------
aValForTime = anIter->second;
if (aValForTime) {
- std::strstream aStream;
+ std::stringstream aStream;
const VISU::TTime& aTime = aValForTime->myTime;
aStream<<theTitle<<" ";
if(IsUnitsVisible()) {
//----------------------------------------------------------------------------
+void
+VISU::ColoredPrs3d_i
+::UpdateMapperLookupTable()
+{
+ ProcessVoidEvent(new TVoidMemFunEvent<VISU_ColoredPL>
+ (GetSpecificPL(), &VISU_ColoredPL::UpdateMapperLookupTable));
+}
+
+//----------------------------------------------------------------------------^