if (wxContourMainFrame::getInstance()!=NULL)
{
- if (bbGetInputIn()!=NULL)
- {
+// if (bbGetInputIn()!=NULL)
+// {
wxContourMainFrame *wxcontourmainframe=wxContourMainFrame::getInstance();
wxcontourmainframe->SetColorLayerImage( bbGetInputIn() );
- } // InputIn
+// } // InputIn
} // if Instance
}
printf("BBTK warnning!! wxContourMainFrame_tool box. In Type=1 the Param1 es not complite \n");
}// size
} // if Image
- } // Type==1
- }
+ } // Type==2
+
+ if (bbGetInputType()==3)
+ {
+ wxContourMainFrame::getInstance()->ResetCamera();
+ } // Type 3
+ } // if wxContourMainFrame::getInstance()!=NULL
}
//=====
}
}
+void wxContourMainFrame::ResetCamera()
+{
+ GetWxVtkBaseView()->GetRenderer()->ResetCamera();
+}
//------------------------------------------------------------------------------------------------------------
void SetXY(int x,int y);
+
+ //------------------------------------------------------------------------------------------------------------
+ void ResetCamera();
+
private:
//------------------------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------------------------
wxFrame *_frameShowResultImages;
-
+
};
#endif