]> Creatis software - creaContours.git/blobdiff - bbtk/src/bbcreaContoursSetViewerPosition.h
#3334 creaContours Feature New Normal - Control Refresh events from bbtk
[creaContours.git] / bbtk / src / bbcreaContoursSetViewerPosition.h
index af6e6eb18ce49b56261fe26bb7ebd79592f89783..c22c97e020c5fa9dfea1c6b9dad0f820c4d5cde2 100644 (file)
@@ -23,9 +23,13 @@ class bbcreaContours_EXPORT SetViewerPosition
   BBTK_DECLARE_INPUT(wxContourMainFrame,wxContourMainFrame*);
   BBTK_DECLARE_INPUT(Position,std::vector<int>);
   BBTK_DECLARE_INPUT(Direction,int);
+  BBTK_DECLARE_INPUT(Jump,int);
+  BBTK_DECLARE_INPUT(Shift,int);
 //  BBTK_DECLARE_OUTPUT(Out,double);
   BBTK_PROCESS(Process);
   void Process();
+
+  int backX, backY, backZ;
 //===== 
 // 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)
 //===== 
@@ -40,6 +44,8 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(SetViewerPosition,bbtk::AtomicBlackBox);
   BBTK_INPUT(SetViewerPosition,wxContourMainFrame,"wxContourMainFrame",wxContourMainFrame*,"");
   BBTK_INPUT(SetViewerPosition,Position,"vector px py pz",std::vector<int>,"");
   BBTK_INPUT(SetViewerPosition,Direction,"(default 0) 0:XYZ 1:XZY 2:YZX",int,"");
+  BBTK_INPUT(SetViewerPosition,Jump,"Slice jump+shift",int,"");
+  BBTK_INPUT(SetViewerPosition,Shift,"Slice jump+shift",int,"");
 
   //BBTK_OUTPUT(SetViewerPosition,Out,"First output",double,"");