//=====
void PointsXYZtoVTKPoints::Process()
{
-
-//std::cout << "RaC PointsXYZtoVTKPoints::Process START"<< std::endl;
std::vector<int> lstPointsX = bbGetInputLstPointsX();
std::vector<int> lstPointsY = bbGetInputLstPointsY();
std::vector<int> lstPointsZ = bbGetInputLstPointsZ();
-
-
if(_points==NULL)
{
_points=vtkPoints::New();
point[0]=0;
point[1]=0;
point[2]=0;
-
for (int i =0; i < lstPointsX.size(); ++i)
{
point[0]=lstPointsX[i];
_points->InsertPoint(i,point);
}
bbSetOutputPoints(_points);
-
-std::cout << "RaC PointsXYZtoVTKPoints::Process END"<< std::endl;
-
}
//=====
// 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)