Update of /cvsroot/echempp/GUI/Visualization
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv21165
Modified Files:
vtkGraph.cpp vtkGraph.hpp
Log Message:
upgrade to VTK5.0
Index: vtkGraph.hpp
===================================================================
RCS file: /cvsroot/echempp/GUI/Visualization/vtkGraph.hpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** vtkGraph.hpp 7 Mar 2007 20:41:15 -0000 1.13
--- vtkGraph.hpp 10 Dec 2007 17:06:09 -0000 1.14
***************
*** 158,166 ****
VtkGraph<D>::draw()
{
! // std::cout << "VtkGraph<D>::draw()" << std::endl;
! _renderer->RemoveAllProps();
this->drawAxisSystem();
this->drawBackground();
! // std::cout << "VtkGraph<D>::draw() -- END" << std::endl;
}
--- 158,166 ----
VtkGraph<D>::draw()
{
! //std::cout << "VtkGraph<D>::draw()" << std::endl;
! _renderer->RemoveAllViewProps();
this->drawAxisSystem();
this->drawBackground();
! //std::cout << "VtkGraph<D>::draw() -- END" << std::endl;
}
***************
*** 187,191 ****
VtkGraph<D>::drawAxisSystem (void)
{
! // std::cout << "VtkGraph<D>::drawAxisSystem()" << std::endl;
if( _axisSystem == NULL )
{
--- 187,191 ----
VtkGraph<D>::drawAxisSystem (void)
{
! std::cout << "VtkGraph<D>::drawAxisSystem()" << std::endl;
if( _axisSystem == NULL )
{
***************
*** 196,202 ****
for(unsigned int i = 0; i < actors.size(); ++i)
{
! _renderer->AddProp( actors[i] );
}
! // std::cout << "VtkGraph<D>::drawAxisSystem()" << std::endl;
}
--- 196,202 ----
for(unsigned int i = 0; i < actors.size(); ++i)
{
! _renderer->AddViewProp( actors[i] );
}
! std::cout << "VtkGraph<D>::drawAxisSystem()" << std::endl;
}
Index: vtkGraph.cpp
===================================================================
RCS file: /cvsroot/echempp/GUI/Visualization/vtkGraph.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** vtkGraph.cpp 7 Mar 2007 20:41:15 -0000 1.5
--- vtkGraph.cpp 10 Dec 2007 17:06:08 -0000 1.6
***************
*** 55,59 ****
for(unsigned int i = 0; i < actors.size(); ++i)
{
! ren->AddProp( actors[i] );
}
--- 55,59 ----
for(unsigned int i = 0; i < actors.size(); ++i)
{
! ren->AddViewProp( actors[i] );
}
***************
*** 74,78 ****
for(unsigned int i = 0; i < actors.size(); ++i)
{
! ren->AddProp( actors[i] );
}
--- 74,78 ----
for(unsigned int i = 0; i < actors.size(); ++i)
{
! ren->AddViewProp( actors[i] );
}
|