#include "iostream"
#include "vtkPolyData.h"
+#include "vtkLinearTransform.h"
namespace bbcreaVtk
{
//=====
// 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)
//=====
- BBTK_DECLARE_INPUT( In , vtkPolyData* );
+ BBTK_DECLARE_INPUT( In , vtkPolyData* );
+ BBTK_DECLARE_INPUT( Points , bool );
+ BBTK_DECLARE_INPUT( IdsPoints , bool );
+ BBTK_DECLARE_INPUT( Transform , vtkLinearTransform* );
+
BBTK_DECLARE_OUTPUT( NumberOfCells , double );
BBTK_DECLARE_OUTPUT( NumberOfLines , double );
BBTK_DECLARE_OUTPUT( NumberOfPoints , double );
BBTK_DECLARE_OUTPUT( NumberOfPolys , double );
BBTK_DECLARE_OUTPUT( NumberOfStrips , double );
BBTK_DECLARE_OUTPUT( NumberOfVerts , double );
+ BBTK_DECLARE_OUTPUT( LstIdsPoints , std::vector<double> );
+ BBTK_DECLARE_OUTPUT( LstPointsX , std::vector<double> );
+ BBTK_DECLARE_OUTPUT( LstPointsY , std::vector<double> );
+ BBTK_DECLARE_OUTPUT( LstPointsZ , std::vector<double> );
+
BBTK_PROCESS(Process);
void Process();
//=====
BBTK_CATEGORY("empty");
BBTK_INPUT(PolyDataInfo,In,"vtkPolyData", vtkPolyData* ,"");
+ BBTK_INPUT(PolyDataInfo,IdsPoints,"(default false) Extract ids of the mesh or not.", bool ,"");
+ BBTK_INPUT(PolyDataInfo,Points,"(default false) Extract points of the mesh or not.", bool ,"");
+ BBTK_INPUT(PolyDataInfo,Transform,"vtkTransform", vtkLinearTransform* ,"");
BBTK_OUTPUT(PolyDataInfo,NumberOfCells,"Number of Cells",double,"");
BBTK_OUTPUT(PolyDataInfo,NumberOfLines,"Number of Lines",double,"");
BBTK_OUTPUT(PolyDataInfo,NumberOfPolys,"Number of Ploys",double,"");
BBTK_OUTPUT(PolyDataInfo,NumberOfStrips,"Number of Strips",double,"");
BBTK_OUTPUT(PolyDataInfo,NumberOfVerts,"Number of Verts",double,"");
+ BBTK_OUTPUT(PolyDataInfo,LstIdsPoints,"List of Ids of points (if input Ids=true)",std::vector<double>,"");
+ BBTK_OUTPUT(PolyDataInfo,LstPointsX,"List of X of points (if input Points=true)",std::vector<double>,"");
+ BBTK_OUTPUT(PolyDataInfo,LstPointsY,"List of Y of points (if input Points=true)",std::vector<double>,"");
+ BBTK_OUTPUT(PolyDataInfo,LstPointsZ,"List of Z of points (if input Points=true)",std::vector<double>,"");
+
BBTK_END_DESCRIBE_BLACK_BOX(PolyDataInfo);
//=====