img->GetExtent(ext);
int dimY=ext[3]-ext[2]+1;
- bbGetInputwxContourMainFrame()->setConceptValue( "Axe Depth", y );
- bbGetInputwxContourMainFrame()->SetXY(x,dimY-z-1);
+ if (bbGetInputDirection()==0)
+ {
+ bbGetInputwxContourMainFrame()->setConceptValue( "Axe Depth", z );
+ bbGetInputwxContourMainFrame()->SetXY(x,y);
+ } // if Direction1
+
+ if (bbGetInputDirection()==1)
+ {
+ bbGetInputwxContourMainFrame()->setConceptValue( "Axe Depth", y );
+ bbGetInputwxContourMainFrame()->SetXY(x,dimY-z-1);
+ } // if Direction1
+
+ if (bbGetInputDirection()==2)
+ {
+ bbGetInputwxContourMainFrame()->setConceptValue( "Axe Depth", x );
+ bbGetInputwxContourMainFrame()->SetXY(dimY-z-1,y);
+ } // if Direction1
+
bbGetInputwxContourMainFrame()->showAxis(true);
bbGetInputwxContourMainFrame()->changeInstant();
// SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
// Here we initialize the input 'In' to 0
+ bbSetInputDirection(0);
bbSetInputwxContourMainFrame(NULL);
}