#include "VISU_StreamLines_i.hh"
#include "VISU_Actor.h"
+#include <vtkDataSetMapper.h>
#include <vtkAppendFilter.h>
using namespace VISU;
bool aResult = VISU_StreamLinesPL::IsPossible(anOutput);
MESSAGE("StreamLines_i::IsPossible - aResult = "<<aResult);
return aResult;
- }catch(std::runtime_error& exc){
- INFOS("Follow exception was accured :\n"<<exc.what());
+ }catch(std::exception& exc){
+ INFOS("Follow exception was occured :\n"<<exc.what());
}catch(...){
- INFOS("Unknown exception was accured!");
+ INFOS("Unknown exception was occured!");
}
return 0;
}
VISU::Prs3d_i* aPrs3di = NULL;
vtkPointSet* aSource = NULL;
if(!thePrs3d->_is_nil())
- if(aPrs3di = dynamic_cast<VISU::Prs3d_i*>(VISU::GetServant(thePrs3d).in())){
+ if((aPrs3di = dynamic_cast<VISU::Prs3d_i*>(VISU::GetServant(thePrs3d).in()))){
for(int i = myAppendFilter->GetNumberOfInputs()-1; i >= 0; i--)
myAppendFilter->RemoveInput(myAppendFilter->GetInput(i));
myAppendFilter->AddInput(aPrs3di->GetPL()->GetMapper()->GetInput());