}
void wxContourViewPanel::onChangedDeep (wxCommandEvent& event){
double val = getCurrentDeep();
- setActualVertical( (int)val );
+ //setActualVertical( (int)val );
wxContourMainFrame::getInstance()->onChangeDeep((int)val);
//_instantPanel->setConceptValue( "Axe Depth", (int)val );
// changeInstant();
}
+ void wxContourViewPanel::changeDeep(){
+ double val = getCurrentDeep();
+ setActualVertical( (int)val );
+ }
void wxContourViewPanel::onActionButtonPressed(wxCommandEvent& event){
}
void wxContourViewPanel::GetPointsOfActualContour( std::vector<double> *vecX, std::vector<double> *vecY, std::vector<double> *vecZ ){
_sceneManager->GetPointsOfActualContour(vecX, vecY, vecZ);
+ }
+
+ void wxContourViewPanel::setImageSlice(int z){
+ _sceneManager->getWxVtkViewBase()->GetInteractorStyleBaseView()->GetWxVtk2DBaseView()->SetActualSlice(z);
+ RefreshInterface();
}
\ No newline at end of file