예제 #1
0
 ParaviewCoprocessor()
         :       m_data_descriptor(vtkSmartPointer<vtkCPDataDescription>::New()),
         m_processor(vtkSmartPointer<vtkCPProcessor>::New()),
         m_timestep(0)
 {
     m_processor->Initialize();
     m_data_descriptor->AddInput(app().name().c_str());
 }
예제 #2
0
파일: precomp.hpp 프로젝트: elsuizo/opencv
 static void AddInputData(vtkSmartPointer<Filter> filter, vtkPolyData *polydata)
 {
 #if VTK_MAJOR_VERSION <= 5
     filter->AddInput(polydata);
 #else
     filter->AddInputData(polydata);
 #endif
 }