2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
4 #include "bbvtkPointsXYZtoVTKPoints.h"
5 #include "bbvtkPackage.h"
9 BBTK_ADD_BLACK_BOX_TO_PACKAGE(vtk,PointsXYZtoVTKPoints)
10 BBTK_BLACK_BOX_IMPLEMENTATION(PointsXYZtoVTKPoints,bbtk::AtomicBlackBox);
12 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
14 void PointsXYZtoVTKPoints::Process()
17 //std::cout << "RaC PointsXYZtoVTKPoints::Process START"<< std::endl;
18 std::vector<int> lstPointsX = bbGetInputLstPointsX();
19 std::vector<int> lstPointsY = bbGetInputLstPointsY();
20 std::vector<int> lstPointsZ = bbGetInputLstPointsZ();
23 _points=vtkPoints::New();
25 _points->Reset();//CLEAR
27 for (int i =0; i < lstPointsX.size(); ++i)
30 point[0]=lstPointsX[i];
31 point[1]=lstPointsY[i];
32 point[2]=lstPointsZ[i];
33 _points->InsertPoint(i,point);
35 bbSetOutputPoints(_points);
37 //std::cout << "RaC PointsXYZtoVTKPoints::Process END"<< std::endl;
41 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
43 void PointsXYZtoVTKPoints::bbUserSetDefaultValues()
50 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
52 void PointsXYZtoVTKPoints::bbUserInitializeProcessing()
59 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
61 void PointsXYZtoVTKPoints::bbUserFinalizeProcessing()