]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkVoiMPR.h
#spc.push_back(1);
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkVoiMPR.h
index b5f4c8adef6dda6337664417ec1cb4d4bee3da84..be95b922e8cd20d918bf4e40b7730dc18827baa8 100644 (file)
@@ -28,6 +28,7 @@ class bbcreaVtk_EXPORT VoiMPR
 // 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,std::vector<int>);
+  BBTK_DECLARE_INPUT(Spacing,std::vector<double>);
   BBTK_DECLARE_INPUT(ActualPoint,std::vector<int>);
   BBTK_DECLARE_INPUT(XYrender,vtkRenderer*);
   BBTK_DECLARE_INPUT(YZrender,vtkRenderer*);
@@ -51,7 +52,6 @@ class bbcreaVtk_EXPORT VoiMPR
        vtkActor                        *polygonActorXZ;
     bool                               actorAddedXZ;
 
-
        vtkPoints                       *pointsYZ;
        vtkCellArray            *linesYZ;
        vtkPolyData             *polygonYZ;
@@ -71,6 +71,7 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(VoiMPR,bbtk::AtomicBlackBox);
   BBTK_CATEGORY("empty");
 
   BBTK_INPUT(VoiMPR,In,"input box (minX maxX minY maxY minZ maxZ)",std::vector<int>,"");
+  BBTK_INPUT(VoiMPR,Spacing,"default [1 1 1]. Spacing [sx sy sz]",std::vector<double>,"");
   BBTK_INPUT(VoiMPR,ActualPoint,"Actual point [x y z]",std::vector<int>,"");
   BBTK_INPUT(VoiMPR,XYrender,"vtkRenderer XY",vtkRenderer*,"");
   BBTK_INPUT(VoiMPR,YZrender,"vtkRenderer YZ",vtkRenderer*,"");