//===== // 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) //===== #ifndef __bbcreaVtkMassProperties_h_INCLUDED__ #define __bbcreaVtkMassProperties_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include namespace bbcreaVtk { class bbcreaVtk_EXPORT MassProperties : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(MassProperties,bbtk::AtomicBlackBox); //===== // 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_OUTPUT(SurfaceArea,double); BBTK_DECLARE_OUTPUT(VolumeX,double); BBTK_DECLARE_OUTPUT(VolumeY,double); BBTK_DECLARE_OUTPUT(VolumeZ,double); BBTK_DECLARE_OUTPUT(MinCellArea,double); BBTK_DECLARE_OUTPUT(MaxCellArea,double); BBTK_DECLARE_OUTPUT(NormalizedShapeIndex,double); BBTK_PROCESS(Process); void Process(); //===== // 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_BEGIN_DESCRIBE_BLACK_BOX(MassProperties,bbtk::AtomicBlackBox); BBTK_NAME("MassProperties"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(MassProperties,In,"Mesh PolyData",vtkPolyData*,""); BBTK_OUTPUT(MassProperties,SurfaceArea,"Surface Area",double,""); BBTK_OUTPUT(MassProperties,VolumeX,"VolumeX",double,""); BBTK_OUTPUT(MassProperties,VolumeY,"VolumeY",double,""); BBTK_OUTPUT(MassProperties,VolumeZ,"VolumeZ",double,""); BBTK_OUTPUT(MassProperties,MinCellArea,"MinCellArea",double,""); BBTK_OUTPUT(MassProperties,MaxCellArea,"MaxCellArea",double,""); BBTK_OUTPUT(MassProperties,NormalizedShapeIndex,"NormalizedShapeIndex",double,""); BBTK_END_DESCRIBE_BLACK_BOX(MassProperties); //===== // 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) //===== } // EO namespace bbcreaVtk #endif // __bbcreaVtkMassProperties_h_INCLUDED__