wxContourViewPanel Class Reference

#include <wxContourViewPanel.h>

Collaboration diagram for wxContourViewPanel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 wxContourViewPanel (vtkImageData *theShowingImage, wxWindow *parent, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxSUNKEN_BORDER, int vertStart=1, int vertEnd=1, int horzStart=1, int horzEnd=1)
 ~wxContourViewPanel ()
void setWxEventHandler (wxEvtHandler *theEventHandler)
void createHorizontalBar (int horzStart, int horzEnd)
void createVerticalBar (int vertStart, int vertEnd)
void createViewPanel ()
void onBarrange_Horizontal (wxCommandEvent &event)
void onActualChange_Bar_Horizontal (wxCommandEvent &event)
void onStartChange_Bar_Horizontal (wxCommandEvent &event)
void onEndChange_Bar_Horizontal (wxCommandEvent &event)
void onSelectionEnd_Horizontal (wxCommandEvent &event)
void onMovedBar_Horizontal (wxCommandEvent &event)
void onBarrange_Vertical (wxCommandEvent &event)
void onActualChange_Bar_Vertical (wxCommandEvent &event)
void onStartChange_Bar_Vertical (wxCommandEvent &event)
void onEndChange_Bar_Vertical (wxCommandEvent &event)
void onSelectionEnd_Vertical (wxCommandEvent &event)
void onMovedBar_Vertical (wxCommandEvent &event)
void setVerticalRepresentedValues (int minRepresented, int maxRepresented)
void setHorizontalRepresentedValues (int minRepresented, int maxRepresented)
int getStartVertical ()
int getEndVertical ()
int getActualVertical ()
void setStartVertical (int nwValue)
void setEndVertical (int nwValue)
void setActualVertical (int nwValue)
int getStartHorizontal ()
int getEndHorizontal ()
int getActualHorizontal ()
void setStartHorizontal (int nwValue)
void setEndHorizontal (int nwValue)
void setActualHorizontal (int nwValue)
void setHorizontalConcept (std::string theHorizontalConcept, int minRepresent, int maxRepresent, int minShowed, int maxShowed, int actualShow)
void setVerticalConcept (std::string theVerticalConcept, int minRepresent, int maxRepresent, int minShowed, int maxShowed, int actualShow)
void setHorizontalConceptName (std::string theHorizontalConcept)
std::string getHorizontalConceptName ()
void setVerticalConceptName (std::string theVerticalConcept)
std::string getVerticalConceptName ()
void getSpacing (double *spacing)
wxVtkBaseView * getWxVtkBaseView ()
double getCurrentDeep ()
void SetVisibleAxis (bool ok)
int GetX ()
int GetY ()
int GetZ ()
void Refresh ()
wxVtkBaseView_SceneManagergetSceneManager ()
void initializeScenceManager ()
bool isEditableCControler (std::string theKeyName)
void removeFromScene (std::string theKeyName)
void onChangeInstant (wxCommandEvent &event)
void onCreateMultipleROI (wxCommandEvent &event)
void onCreateROI (wxCommandEvent &event)
void onStopCreateROI (wxCommandEvent &event)
void onChangedDeep (wxCommandEvent &event)
void onActionButtonPressed (wxCommandEvent &event)
void removeSceneContours ()
void addNameWrapperToScene ()
std::vector< std::string > getSelectedObjects ()
void RefreshInterface ()
vtkImageData * getImageData ()
void configureViewControlTo (std::string theName, manualBaseModel *manModelContour, double *spc, int typeofcontour)
int GetImageDataSizeZ ()
void GetImageDataRange (double *range)
void SetWidthContour (double width)
int getColorWindow ()
int getWindowLevel ()
void onBrigthnessColorWindowLevel (int colorwindow, int windowlevel)
void onInterpolation (bool interpolate)
void GetPointsOfActualContour (std::vector< double > *vecX, std::vector< double > *vecY, std::vector< double > *vecZ)
void changeImage (vtkImageData *img)
void changeDeep ()
void setImageSlice (int z)

Private Member Functions

wxVtkMPR2DView * GetwxVtkMPR2DView ()

Private Attributes

wxVtkBaseView_SceneManager_sceneManager
wxFlexGridSizer * outSizer
wxMaracas_N_ViewersWidget * theViewPanel
mBarRange * _verticalBar
mBarRange * _horizontalBar
vtkImageData * showingVID
std::string _verticalConceptName
std::string _horizontalConceptName
double last_spacing [3]
bool _useVerticalBar
bool _useHorizontalBar
wxEvtHandler * _eventHandler


Detailed Description

file wx

ViewPanel.h

Definition at line 53 of file wxContourViewPanel.h.


Constructor & Destructor Documentation

wxContourViewPanel::wxContourViewPanel ( vtkImageData *  theShowingImage,
wxWindow *  parent,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_FRAME_STYLE | wxSUNKEN_BORDER,
int  vertStart = 1,
int  vertEnd = 1,
int  horzStart = 1,
int  horzEnd = 1 
)

Definition at line 90 of file wxContourViewPanel.cxx.

References onActualChange_Bar_Horizontal(), onActualChange_Bar_Vertical(), onBarrange_Horizontal(), onBarrange_Vertical(), onEndChange_Bar_Horizontal(), onEndChange_Bar_Vertical(), onMovedBar_Horizontal(), onMovedBar_Vertical(), onSelectionEnd_Horizontal(), onSelectionEnd_Vertical(), onStartChange_Bar_Horizontal(), and onStartChange_Bar_Vertical().

00091         :wxPanel(parent, -1, pos, size, style)
00092         {
00093                 theShowingImage->GetSpacing(last_spacing);
00094                 showingVID = theShowingImage;
00095                 int gapH = 20;
00096                 int gapV = 10;
00097                 _verticalConceptName = "";
00098                 _horizontalConceptName = "";
00099                 createHorizontalBar(1,80);
00100                 createVerticalBar(1,200);
00101                 createViewPanel();
00102                 _eventHandler = NULL;
00103 
00104                 wxFlexGridSizer * panelSizer = new wxFlexGridSizer(1, 4, gapV, gapH);
00105                 panelSizer -> AddGrowableCol(2);
00106                 panelSizer -> AddGrowableRow(2);
00107                 panelSizer->Add(_verticalBar, 1, wxGROW);
00108                 panelSizer->AddSpacer(gapV);
00109                 panelSizer->Add(theViewPanel, 1, wxGROW);
00110                 panelSizer->AddSpacer(gapV);
00111 
00112                 outSizer = new wxFlexGridSizer(3, 1, gapH, gapV);
00113                 outSizer -> AddGrowableCol(1);
00114                 outSizer -> AddGrowableRow(1);
00115                 outSizer->Add( _horizontalBar, 1, wxGROW);
00116                 outSizer->Add( panelSizer, 1, wxGROW);
00117                 outSizer->AddSpacer(gapH);
00118 
00119                 _horizontalBar->setDeviceBlitStart( _verticalBar->GetWidth() + 2*gapH, gapV);
00120                 _horizontalBar->setDeviceEndMargin( 2*gapH+10 );
00121 
00122                 //Connecting the events to the horizontal bar
00123                 Connect(_horizontalBar->GetId(),wxEVT_TSBAR,(wxObjectEventFunction) (wxCommandEventFunction) &wxContourViewPanel::onBarrange_Horizontal );
00124                 Connect(_horizontalBar->GetId(),wxEVT_TSBAR_ACTUAL,(wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onActualChange_Bar_Horizontal );
00125                 Connect(_horizontalBar->GetId(),wxEVT_TSBAR_START,(wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onStartChange_Bar_Horizontal );
00126                 Connect(_horizontalBar->GetId(),wxEVT_TSBAR_END,(wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onEndChange_Bar_Horizontal );
00127                 Connect(_horizontalBar->GetId(),wxEVT_SELECTION_END,(wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onSelectionEnd_Horizontal );
00128                 Connect(_horizontalBar->GetId(),wxEVT_TSBAR_MOVED,(wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onMovedBar_Horizontal );
00129 
00130                 //Connecting the events to the vertical bar
00131                 Connect(_verticalBar->GetId(),wxEVT_TSBAR,(wxObjectEventFunction) (wxCommandEventFunction) &wxContourViewPanel::onBarrange_Vertical );
00132                 Connect(_verticalBar->GetId(),wxEVT_TSBAR_ACTUAL,(wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onActualChange_Bar_Vertical );
00133                 Connect(_verticalBar->GetId(),wxEVT_TSBAR_START,(wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onStartChange_Bar_Vertical );
00134                 Connect(_verticalBar->GetId(),wxEVT_TSBAR_END,(wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onEndChange_Bar_Vertical );
00135                 Connect(_verticalBar->GetId(),wxEVT_SELECTION_END,(wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onSelectionEnd_Vertical );
00136                 Connect(_verticalBar->GetId(),wxEVT_TSBAR_MOVED,(wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onMovedBar_Vertical );
00137 
00138 
00139                 this->SetSizer( outSizer );
00140                 this->SetAutoLayout( true );
00141                 this->Layout();
00142 
00143                 //SetSize(1900,1900);
00144                 //theViewPanel->SetSize(800,600);
00145                 //theViewPanel->GetWindow(1)->SetSize(800,600);
00146 
00147                 //outSizer->Fit( this );
00148 
00149                 initializeScenceManager();
00150         }

Here is the call graph for this function:

wxContourViewPanel::~wxContourViewPanel (  ) 

Definition at line 153 of file wxContourViewPanel.cxx.

References _sceneManager.

00154         {
00155                 delete _sceneManager;
00156         }


Member Function Documentation

void wxContourViewPanel::addNameWrapperToScene (  ) 

Definition at line 736 of file wxContourViewPanel.cxx.

References _sceneManager, wxVtkBaseView_SceneManager::addToScene(), wxContourMainFrame::getInstance(), wxContourMainFrame::getNamesWrappingSize(), and wxContourMainFrame::getNameWrapping().

Referenced by wxContourMainFrame::updateInstantOutlines().

00736                                                       {
00737                 int size = wxContourMainFrame::getInstance()->getNamesWrappingSize();
00738                 for(int i = 0; i < size;i++){
00739                         std::string name = wxContourMainFrame::getInstance()->getNameWrapping(i);
00740                         _sceneManager->addToScene(name, true, true, true, false, false );
00741                 }
00742         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::changeDeep (  ) 

Definition at line 689 of file wxContourViewPanel.cxx.

References getCurrentDeep(), and setActualVertical().

00689                                            {
00690                 double val = getCurrentDeep();
00691                 setActualVertical( (int)val );
00692         }

Here is the call graph for this function:

void wxContourViewPanel::changeImage ( vtkImageData *  img  ) 

Definition at line 228 of file wxContourViewPanel.cxx.

References theViewPanel.

Referenced by wxContourMainFrame::updateInstantImageData().

00228                                                              {
00229 
00230                 theViewPanel->SetImage(img);
00231 
00232         }

Here is the caller graph for this function:

void wxContourViewPanel::configureViewControlTo ( std::string  theName,
manualBaseModel *  manModelContour,
double *  spc,
int  typeofcontour 
)

Definition at line 756 of file wxContourViewPanel.cxx.

References _sceneManager, and wxVtkBaseView_SceneManager::configureViewControlTo().

Referenced by wxContourMainFrame::onSpreadGo(), wxContourMainFrame::SegmentationOneSlice(), and wxContourMainFrame::SegmentationOneSliceITK().

00757         {
00758                 _sceneManager->configureViewControlTo(theName, manModelContour, spc, typeofcontour);
00759         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::createHorizontalBar ( int  horzStart,
int  horzEnd 
)

Definition at line 189 of file wxContourViewPanel.cxx.

References _horizontalBar.

00190         {
00191                 _horizontalBar = new mBarRange(this, 1500,80);
00192                 _horizontalBar -> setVisibleLabels (true);
00193                 _horizontalBar -> setRepresentedValues (horzStart, horzEnd);
00194                 _horizontalBar -> setActiveStateTo(true);
00195                 _horizontalBar -> SetActual( horzStart );
00196                 _horizontalBar -> setDeviceBlitStart (10,10);
00197                 _horizontalBar -> setDeviceEndMargin (10);
00198         }

void wxContourViewPanel::createVerticalBar ( int  vertStart,
int  vertEnd 
)

Definition at line 200 of file wxContourViewPanel.cxx.

References _verticalBar.

00201         {
00202                 _verticalBar = new mBarRange(this, 1500,40);
00203                 _verticalBar -> SetOrientation(false);
00204                 _verticalBar -> setVisibleLabels (false);
00205                 _verticalBar -> setRepresentedValues (vertStart, vertEnd);
00206                 _verticalBar -> setActiveStateTo(true);
00207                 _verticalBar -> SetActual( vertStart );
00208                 _verticalBar -> setDeviceBlitStart (10,10);
00209                 _verticalBar -> setDeviceEndMargin (10);
00210         }

void wxContourViewPanel::createViewPanel (  ) 

Definition at line 213 of file wxContourViewPanel.cxx.

References SetVisibleAxis(), showingVID, and theViewPanel.

00214         {
00215                 std::vector<int> * numViews = new std::vector<int> ();
00216                 numViews->push_back(0);
00217                 theViewPanel = new wxMaracas_N_ViewersWidget( this, showingVID, numViews );
00218                 SetVisibleAxis(false);
00219 
00220                 theViewPanel->SetBackgroundColour(wxColour(0,0,0));
00221 
00222                 theViewPanel->SetSize(800,600);
00223                 theViewPanel->GetWindow(1)->SetSize(800,600);
00224 
00225         }

Here is the call graph for this function:

int wxContourViewPanel::getActualHorizontal (  ) 

Gets the ActualHorizontal value

Returns:
The ActualHorizontal

Definition at line 511 of file wxContourViewPanel.cxx.

References _horizontalBar.

Referenced by onActualChange_Bar_Horizontal().

00512         {
00513                 return _horizontalBar->GetActual();
00514         }

Here is the caller graph for this function:

int wxContourViewPanel::getActualVertical (  ) 

Gets the ActualVertical value

Returns:
The ActualVertical

Definition at line 461 of file wxContourViewPanel.cxx.

References _verticalBar.

Referenced by onActualChange_Bar_Vertical().

00462         {
00463                 return _verticalBar->GetActual();//GetEnd();
00464         }

Here is the caller graph for this function:

int wxContourViewPanel::getColorWindow (  ) 

Definition at line 776 of file wxContourViewPanel.cxx.

References getWxVtkBaseView().

Referenced by wxContourMainFrame::getColorWindow().

00777         {
00778                 wxVtk2DBaseView *wxvtk2dbaseview = (wxVtk2DBaseView*)getWxVtkBaseView();
00779                 vtkImageViewer2 *imageviewer = wxvtk2dbaseview->_imageViewer2XYZ->GetVtkImageViewer2();
00780                 int colorwindow = (int)imageviewer->GetWindowLevel()->GetLevel();
00781                 return colorwindow;
00782         }

Here is the call graph for this function:

Here is the caller graph for this function:

double wxContourViewPanel::getCurrentDeep (  ) 

Definition at line 630 of file wxContourViewPanel.cxx.

References theViewPanel.

Referenced by changeDeep(), onChangedDeep(), and wxContourMainFrame::setVectImages().

00631         {
00632 //EED 08/04/2008
00633 //              return theViewPanel->GetZ(1);
00634                 return theViewPanel->GetZ();
00635                 //return GetZ();
00636         }

Here is the caller graph for this function:

int wxContourViewPanel::getEndHorizontal (  ) 

Gets the EndHorizontal value

Returns:
The EndHorizontal

Definition at line 503 of file wxContourViewPanel.cxx.

References _horizontalBar.

00504         {
00505                 return _horizontalBar->GetEnd();
00506         }

int wxContourViewPanel::getEndVertical (  ) 

Gets the EndVertical value

Returns:
The EndVertical

Definition at line 453 of file wxContourViewPanel.cxx.

References _verticalBar.

00454         {
00455                 return _verticalBar->GetEnd();
00456         }

std::string wxContourViewPanel::getHorizontalConceptName (  ) 

Gets the horizontal concept name

Returns:
_horizontalConcept The name of the concept for setting at the horizontal bar
Gets the horizontal concept name
Returns:
_horizontalConceptName The name of the concept for setting at the horizontal bar

Definition at line 591 of file wxContourViewPanel.cxx.

References _horizontalConceptName.

Referenced by onChangeInstant(), and wxContourMainFrame::onChangeInstantInstantPanel().

00592         {
00593                 return _horizontalConceptName;
00594         }

Here is the caller graph for this function:

vtkImageData * wxContourViewPanel::getImageData (  ) 

void wxContourViewPanel::GetImageDataRange ( double *  range  ) 

Definition at line 766 of file wxContourViewPanel.cxx.

References _sceneManager, and wxVtkBaseView_SceneManager::GetImageDataRange().

Referenced by wxContourMainFrame::GetImageDataRange().

00767         {
00768                 _sceneManager->GetImageDataRange(range);
00769         }

Here is the call graph for this function:

Here is the caller graph for this function:

int wxContourViewPanel::GetImageDataSizeZ (  ) 

Definition at line 761 of file wxContourViewPanel.cxx.

References _sceneManager, and wxVtkBaseView_SceneManager::GetImageDataSizeZ().

Referenced by wxContourMainFrame::GetImageDataSizeZ().

00762         {
00763                 return _sceneManager->GetImageDataSizeZ();
00764         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::GetPointsOfActualContour ( std::vector< double > *  vecX,
std::vector< double > *  vecY,
std::vector< double > *  vecZ 
)

Definition at line 812 of file wxContourViewPanel.cxx.

References _sceneManager, and wxVtkBaseView_SceneManager::GetPointsOfActualContour().

Referenced by wxContourMainFrame::onSnakePressed(), and wxContourMainFrame::onSpreadAdd().

00813         {
00814                 _sceneManager->GetPointsOfActualContour(vecX, vecY, vecZ);
00815         }

Here is the call graph for this function:

Here is the caller graph for this function:

wxVtkBaseView_SceneManager * wxContourViewPanel::getSceneManager (  ) 

std::vector< std::string > wxContourViewPanel::getSelectedObjects (  ) 

void wxContourViewPanel::getSpacing ( double *  spacing  ) 

int wxContourViewPanel::getStartHorizontal (  ) 

Gets the StartHorizontal value

Returns:
The StartHorizontal

Definition at line 495 of file wxContourViewPanel.cxx.

References _horizontalBar.

00496         {
00497                 return _horizontalBar->GetStart();
00498         }

int wxContourViewPanel::getStartVertical (  ) 

Gets the StartVertical value

Returns:
The StartVertical

Definition at line 445 of file wxContourViewPanel.cxx.

References _verticalBar.

00446         {
00447                 return _verticalBar->GetActual();
00448         }

std::string wxContourViewPanel::getVerticalConceptName (  ) 

Gets the vertical concept name

Returns:
_verticalConcept The name of the concept for setting at the vertical bar
Gets the vertical concept name
Returns:
_verticalConceptName The name of the concept for setting at the vertical bar

Definition at line 609 of file wxContourViewPanel.cxx.

References _verticalConceptName.

Referenced by onChangeInstant(), and wxContourMainFrame::onChangeInstantInstantPanel().

00610         {
00611                 return _verticalConceptName;
00612         }

Here is the caller graph for this function:

int wxContourViewPanel::getWindowLevel (  ) 

Definition at line 784 of file wxContourViewPanel.cxx.

References getWxVtkBaseView().

Referenced by wxContourMainFrame::getWindowLevel().

00785         {
00786                 wxVtk2DBaseView *wxvtk2dbaseview = (wxVtk2DBaseView*)getWxVtkBaseView();
00787                 vtkImageViewer2 *imageviewer = wxvtk2dbaseview->_imageViewer2XYZ->GetVtkImageViewer2();
00788                 int windowlevel = (int)imageviewer->GetWindowLevel()->GetWindow();
00789                 return windowlevel;
00790         }

Here is the call graph for this function:

Here is the caller graph for this function:

wxVtkBaseView * wxContourViewPanel::getWxVtkBaseView (  ) 

wxVtkMPR2DView * wxContourViewPanel::GetwxVtkMPR2DView (  )  [private]

Definition at line 233 of file wxContourViewPanel.cxx.

References theViewPanel.

Referenced by GetX(), GetY(), GetZ(), Refresh(), and SetVisibleAxis().

00234         {
00235                 return (wxVtkMPR2DView *) (theViewPanel->GetwxVtkBaseView(1));
00236         }

Here is the caller graph for this function:

int wxContourViewPanel::GetX (  ) 

Definition at line 245 of file wxContourViewPanel.cxx.

References GetwxVtkMPR2DView().

Referenced by wxContourMainFrame::onSegmentationAllSlice(), wxContourMainFrame::onSegmentationOneSlice(), and wxContourMainFrame::onSegmentationOneSliceITK().

00246         {
00247                 return  GetwxVtkMPR2DView()->GetVtkmprbasedata()->GetX();
00248         }

Here is the call graph for this function:

Here is the caller graph for this function:

int wxContourViewPanel::GetY (  ) 

Definition at line 250 of file wxContourViewPanel.cxx.

References GetwxVtkMPR2DView().

Referenced by wxContourMainFrame::onSegmentationAllSlice(), wxContourMainFrame::onSegmentationOneSlice(), and wxContourMainFrame::onSegmentationOneSliceITK().

00251         {
00252                 return  GetwxVtkMPR2DView()->GetVtkmprbasedata()->GetY();
00253         }

Here is the call graph for this function:

Here is the caller graph for this function:

int wxContourViewPanel::GetZ (  ) 

Definition at line 255 of file wxContourViewPanel.cxx.

References GetwxVtkMPR2DView().

Referenced by wxContourMainFrame::onSegmentationOneSlice(), and wxContourMainFrame::onSegmentationOneSliceITK().

00256         {
00257                 return  GetwxVtkMPR2DView()->GetVtkmprbasedata()->GetZ();
00258         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::initializeScenceManager (  ) 

Definition at line 158 of file wxContourViewPanel.cxx.

References _sceneManager, getSpacing(), getWxVtkBaseView(), onActionButtonPressed(), onChangedDeep(), onChangeInstant(), onCreateMultipleROI(), onCreateROI(), and onStopCreateROI().

00158                                                         {
00159 
00160                 //_theViewPanel = theViewPanel;
00161                 //_theViewPanel->setWxEventHandler( this );
00162 
00163                 double spc[3];
00164                 this->getSpacing(spc);
00165                 _sceneManager           = new wxVtkBaseView_SceneManager ( this->getWxVtkBaseView(), this, spc  );
00166 
00167                 Connect( this->GetId(), wxINSTANT_CHANGE, (wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onChangeInstant );
00168         Connect( wxID_ANY, wxEVT_START_CREATE_MULT_ROI, (wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onCreateMultipleROI );
00169                 Connect( wxID_ANY, wxEVT_START_CREATE_ROI, (wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onCreateROI );
00170                 Connect( wxID_ANY, wxEVT_STOP_CREATE_ROI, (wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onStopCreateROI );
00171                 Connect( wxID_ANY, wxEVT_CHANGED_DEEP, (wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onChangedDeep );
00172                 Connect( wxID_ANY,  wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &wxContourViewPanel :: onActionButtonPressed );
00173 
00174         }

Here is the call graph for this function:

bool wxContourViewPanel::isEditableCControler ( std::string  theKeyName  ) 

Definition at line 639 of file wxContourViewPanel.cxx.

References _sceneManager, and wxVtkBaseView_SceneManager::isEditableCControler().

Referenced by wxContourMainFrame::deleteContour().

00639                                                                          {
00640                 return _sceneManager->isEditableCControler(theKeyName);
00641         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::onActionButtonPressed ( wxCommandEvent &  event  ) 

Definition at line 693 of file wxContourViewPanel.cxx.

References _sceneManager, wxContourMainFrame::getInstance(), wxVtkBaseView_SceneManager::getLastKeyCode(), wxVtkBaseView_SceneManager::getSelectedObjects(), wxVtkBaseView_SceneManager::isCtrlPressed(), wxContourMainFrame::onCopy(), wxContourMainFrame::onDeleteContour(), wxContourMainFrame::onLoad(), wxContourMainFrame::onPaste(), wxContourMainFrame::onRedo(), wxContourMainFrame::onUndo(), and wxContourMainFrame::saveFileWithContoursAutomatique().

Referenced by initializeScenceManager().

00693                                                                            {
00694 
00695 
00696                 std::vector<std::string> currentSelection = _sceneManager->getSelectedObjects();
00697 //              int elementsSelected = currentSelection.size();
00698                 bool ctrlKey = _sceneManager->isCtrlPressed();
00699                 char toolCommand = _sceneManager->getLastKeyCode();
00700 
00701 
00702                 if ( toolCommand == 3 && ctrlKey ) //'C' || 'c'
00703                 {
00704                         wxContourMainFrame::getInstance()->onCopy();
00705                 }
00706                 else if(  toolCommand == 22 && ctrlKey ) //'V' || 'v'
00707                 {
00708                         wxContourMainFrame::getInstance()->onPaste();
00709                 }
00710                 else if(  toolCommand == 8 || (toolCommand==127) ) // backspace Delete
00711                 {
00712                         wxContourMainFrame::getInstance()->onDeleteContour();
00713                 }
00714                 else if(  toolCommand == 14 && ctrlKey ) //'N' || 'n'
00715                 {
00716                         //toolCommand = &(CREATE_CONTOUR_KEY);
00717                 }
00718                 else if(  toolCommand == 15 && ctrlKey ) //'O' || 'o'
00719                 {
00720                         wxContourMainFrame::getInstance()->onLoad();
00721                 }
00722                 else if(  toolCommand == 19 && ctrlKey ) //'S' || 's'
00723                 {
00724                         wxContourMainFrame::getInstance()->saveFileWithContoursAutomatique();
00725                 }else if( toolCommand == 26 ){
00726                         wxContourMainFrame::getInstance()->onUndo();
00727                 }else if( toolCommand == 25 ){
00728                         wxContourMainFrame::getInstance()->onRedo();
00729                 }
00730         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::onActualChange_Bar_Horizontal ( wxCommandEvent &  event  ) 

Handles the event wxEVT_TSBAR_ACTUAL from the horizontal bar

Handles the event wxEVT_TSBAR_ACTUAL from the horizontal bar

Definition at line 281 of file wxContourViewPanel.cxx.

References _horizontalConceptName, getActualHorizontal(), wxContourMainFrame::getInstance(), and wxContourMainFrame::onChangeInstant().

Referenced by wxContourViewPanel().

00282         {
00283 
00284                 int actual = getActualHorizontal();
00285 
00286                 wxContourMainFrame::getInstance()->onChangeInstant(_horizontalConceptName, actual);
00287 
00288                 //JCP 26 - 11 - 08
00289                 //int nxActual_h = getActualHorizontal();
00290 
00291 
00292                 //if (_eventHandler!=NULL)
00293                 //{
00294                         //-------------------------------------------------
00295                         //  Sending the event of wxINSTANT_CHANGE
00296                         //-------------------------------------------------
00297                 //      wxCommandEvent newevent(wxINSTANT_CHANGE,GetId());
00298 
00299                 //      ConceptDataWrap * cWrap = new ConceptDataWrap( _horizontalConceptName );
00300                 //      cWrap->setActualValue( nxActual_h );
00301 
00302                 //      newevent.SetClientData( (void *)cWrap );
00303                 //      _eventHandler->ProcessEvent(newevent);
00304 
00305                 //}
00306                 //JCP 26 - 11 - 08
00307         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::onActualChange_Bar_Vertical ( wxCommandEvent &  event  ) 

Handles the event wxEVT_TSBAR_ACTUAL from the vertical bar

Handles the event wxEVT_TSBAR_ACTUAL from the vertical bar

Definition at line 353 of file wxContourViewPanel.cxx.

References _verticalConceptName, getActualVertical(), wxContourMainFrame::getInstance(), and wxContourMainFrame::onChangeInstant().

Referenced by wxContourViewPanel().

00354         {
00355                 int actual = getActualVertical();
00356                 wxContourMainFrame::getInstance()->onChangeInstant(_verticalConceptName, actual);
00357                 //JCP 26 - 11 - 08
00358                 /*
00359                 int nxActual_v = getActualVertical();
00360 
00361                 if (_eventHandler!=NULL)
00362                 {
00363                         //-------------------------------------------------
00364                         //  Sending the event of wxINSTANT_CHANGE
00365                         //-------------------------------------------------
00366                         wxCommandEvent newevent(wxINSTANT_CHANGE,GetId());
00367 
00368                         ConceptDataWrap * cWrap = new ConceptDataWrap( _verticalConceptName );
00369                         cWrap->setActualValue( nxActual_v );
00370 
00371                         newevent.SetClientData( (void *)cWrap );
00372                         _eventHandler->ProcessEvent(newevent);
00373                 }*/
00374                 //JCP 26 - 11 - 08
00375         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::onBarrange_Horizontal ( wxCommandEvent &  event  ) 

Handles the event wxEVT_TSBAR from the horizontal bar

Handles the event wxEVT_TSBAR from the horizontal bar

Definition at line 274 of file wxContourViewPanel.cxx.

Referenced by wxContourViewPanel().

00275         {
00276 
00277         }

Here is the caller graph for this function:

void wxContourViewPanel::onBarrange_Vertical ( wxCommandEvent &  event  ) 

Handles the event wxEVT_TSBAR from the vertical bar

Handles the event wxEVT_TSBAR from the vertical bar

Definition at line 346 of file wxContourViewPanel.cxx.

Referenced by wxContourViewPanel().

00347         {
00348 
00349         }

Here is the caller graph for this function:

void wxContourViewPanel::onBrigthnessColorWindowLevel ( int  colorwindow,
int  windowlevel 
)

Definition at line 792 of file wxContourViewPanel.cxx.

References getWxVtkBaseView().

Referenced by wxContourMainFrame::onBrigthnessColorWindowLevel().

00793         {
00794                 wxVtk2DBaseView *wxvtk2dbaseview = (wxVtk2DBaseView*)getWxVtkBaseView();
00795                 vtkImageViewer2 *imageviewer = wxvtk2dbaseview->_imageViewer2XYZ->GetVtkImageViewer2();
00796                 imageviewer->SetColorWindow(colorwindow);
00797                 imageviewer->SetColorLevel(windowlevel);
00798         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::onChangedDeep ( wxCommandEvent &  event  ) 

Definition at line 681 of file wxContourViewPanel.cxx.

References getCurrentDeep(), wxContourMainFrame::getInstance(), and wxContourMainFrame::onChangeDeep().

Referenced by initializeScenceManager().

00681                                                                     {
00682                 double val = getCurrentDeep();
00683                 //setActualVertical( (int)val );
00684                 wxContourMainFrame::getInstance()->onChangeDeep((int)val);
00685                 //_instantPanel->setConceptValue( "Axe Depth", (int)val );
00686 
00687 //              changeInstant();
00688         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::onChangeInstant ( wxCommandEvent &  event  ) 

Definition at line 650 of file wxContourViewPanel.cxx.

References wxContourMainFrame::changeInstant(), ConceptDataWrap::getActualValue(), getHorizontalConceptName(), wxContourMainFrame::getIfConceptCheckedAt(), wxContourMainFrame::getInstance(), wxContourMainFrame::getLastConceptData(), ConceptDataWrap::getMaxShowedValue(), ConceptDataWrap::getMinShowedValue(), ConceptDataWrap::getName(), getVerticalConceptName(), setActualVertical(), wxContourMainFrame::setConceptValue(), and setHorizontalConcept().

Referenced by initializeScenceManager().

00650                                                                      {
00651                 ConceptDataWrap * dataConcept = NULL;
00652                 if ( GetId() == event.GetId() )
00653                 {
00654                         dataConcept = (ConceptDataWrap *)event.GetClientData();
00655                         int value = dataConcept->getActualValue();
00656                         //_instantPanel->setConceptValue( dataConcept->getName(), value );
00657                         wxContourMainFrame::getInstance()->setConceptValue( dataConcept->getName(), value );
00658                 }
00659                 else
00660                 {
00661                         dataConcept = wxContourMainFrame::getInstance()->getLastConceptData();
00662                         if( dataConcept->getName().compare( getVerticalConceptName() ) == 0)
00663                         {
00664                                 setActualVertical( dataConcept->getActualValue());
00665                                 //_theViewPanel->setVerticalConcept( dataConcept->getName(), dataConcept->getMinShowedValue()/*dataConcept->getMinValue()*/, /*dataConcept->getMaxValue()*/ dataConcept->getMaxShowedValue(), dataConcept->getMinShowedValue(), dataConcept->getMaxShowedValue(), dataConcept->getActualValue());
00666                         }
00667                         else if( dataConcept->getName().compare( getHorizontalConceptName() ) == 0|| wxContourMainFrame::getInstance()->getIfConceptCheckedAt( dataConcept->getName(), 0 ) )
00668                         {
00669                                 setHorizontalConcept( dataConcept->getName(), dataConcept->getMinShowedValue()/*dataConcept->getMinValue()*/, /*dataConcept->getMaxValue()*/ dataConcept->getMaxShowedValue(), dataConcept->getMinShowedValue(), dataConcept->getMaxShowedValue(), dataConcept->getActualValue());
00670                         }
00671                 }
00672                 wxContourMainFrame::getInstance()->changeInstant();
00673         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::onCreateMultipleROI ( wxCommandEvent &  event  ) 

Definition at line 675 of file wxContourViewPanel.cxx.

Referenced by initializeScenceManager().

00675                                                                           {
00676         }

Here is the caller graph for this function:

void wxContourViewPanel::onCreateROI ( wxCommandEvent &  event  ) 

Definition at line 677 of file wxContourViewPanel.cxx.

Referenced by initializeScenceManager().

00677                                                                   {
00678         }

Here is the caller graph for this function:

void wxContourViewPanel::onEndChange_Bar_Horizontal ( wxCommandEvent &  event  ) 

Handles the event wxEVT_TSBAR_END from the horizontal bar

Handles the event wxEVT_TSBAR_END from the horizontal bar

Definition at line 318 of file wxContourViewPanel.cxx.

Referenced by wxContourViewPanel().

00319         {
00320 //              int nxEnd_h = getEndHorizontal();
00321         }

Here is the caller graph for this function:

void wxContourViewPanel::onEndChange_Bar_Vertical ( wxCommandEvent &  event  ) 

Handles the event wxEVT_TSBAR_END from the vertical bar

Handles the event wxEVT_TSBAR_END from the vertical bar

Definition at line 386 of file wxContourViewPanel.cxx.

Referenced by wxContourViewPanel().

00387         {
00388 //              int nxEnd_v = getEndVertical();
00389         }

Here is the caller graph for this function:

void wxContourViewPanel::onInterpolation ( bool  interpolate  ) 

Definition at line 800 of file wxContourViewPanel.cxx.

References getWxVtkBaseView().

Referenced by wxContourMainFrame::onInterpolation().

00801         {
00802                 wxVtk2DBaseView *wxvtk2dbaseview = (wxVtk2DBaseView*)getWxVtkBaseView();
00803                 vtkImageViewer2 *imageviewer = wxvtk2dbaseview->_imageViewer2XYZ->GetVtkImageViewer2();
00804 
00805                 if (interpolate){
00806                         imageviewer->GetImageActor()->InterpolateOn();
00807                 } else {
00808                         imageviewer->GetImageActor()->InterpolateOff();
00809                 }
00810         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::onMovedBar_Horizontal ( wxCommandEvent &  event  ) 

Handles the event wxEVT_TSBAR_MOVED from the horizontal bar

Handles the event wxEVT_TSBAR_MOVED from the horizontal bar

Definition at line 332 of file wxContourViewPanel.cxx.

Referenced by wxContourViewPanel().

00333         {
00334 //              int nxStart_h = getStartHorizontal();
00335 //              int nxEnd_h = getEndHorizontal();
00336         }

Here is the caller graph for this function:

void wxContourViewPanel::onMovedBar_Vertical ( wxCommandEvent &  event  ) 

Handles the event wxEVT_TSBAR_MOVED from the vertical bar

Handles the event wxEVT_TSBAR_MOVED from the vertical bar

Definition at line 400 of file wxContourViewPanel.cxx.

Referenced by wxContourViewPanel().

00401         {
00402 //              int nxStart_v = getStartVertical();
00403 //              int nxEnd_v = getEndVertical();
00404         }

Here is the caller graph for this function:

void wxContourViewPanel::onSelectionEnd_Horizontal ( wxCommandEvent &  event  ) 

Handles the event wxEVT_SELECTION_END from the horizontal bar

Handles the event wxEVT_SELECTION_END from the horizontal bar

Definition at line 325 of file wxContourViewPanel.cxx.

Referenced by wxContourViewPanel().

00326         {
00327 
00328         }

Here is the caller graph for this function:

void wxContourViewPanel::onSelectionEnd_Vertical ( wxCommandEvent &  event  ) 

Handles the event wxEVT_SELECTION_END from the vertical bar

Handles the event wxEVT_SELECTION_END from the vertical bar

Definition at line 393 of file wxContourViewPanel.cxx.

Referenced by wxContourViewPanel().

00394         {
00395 
00396         }

Here is the caller graph for this function:

void wxContourViewPanel::onStartChange_Bar_Horizontal ( wxCommandEvent &  event  ) 

Handles the event wxEVT_TSBAR_START from the horizontal bar

Handles the event wxEVT_TSBAR_START from the horizontal bar

Definition at line 311 of file wxContourViewPanel.cxx.

Referenced by wxContourViewPanel().

00312         {
00313 //              int nxStart_h = getStartHorizontal();
00314         }

Here is the caller graph for this function:

void wxContourViewPanel::onStartChange_Bar_Vertical ( wxCommandEvent &  event  ) 

Handles the event wxEVT_TSBAR_START from the vertical bar

Handles the event wxEVT_TSBAR_START from the vertical bar

Definition at line 379 of file wxContourViewPanel.cxx.

Referenced by wxContourViewPanel().

00380         {
00381 //              int nxStart_v = getStartVertical();
00382         }

Here is the caller graph for this function:

void wxContourViewPanel::onStopCreateROI ( wxCommandEvent &  event  ) 

Definition at line 679 of file wxContourViewPanel.cxx.

Referenced by initializeScenceManager().

00679                                                                       {
00680         }

Here is the caller graph for this function:

void wxContourViewPanel::Refresh (  ) 

Definition at line 261 of file wxContourViewPanel.cxx.

References GetwxVtkMPR2DView().

Referenced by wxContourMainFrame::showAxis().

00262         {
00263                 GetwxVtkMPR2DView()->GetRenWin()->Render();
00264         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::RefreshInterface (  ) 

Definition at line 748 of file wxContourViewPanel.cxx.

References getWxVtkBaseView().

Referenced by wxContourMainFrame::RefreshInterface(), and setImageSlice().

00748                                                  {
00749                 getWxVtkBaseView()->Refresh();
00750         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::removeFromScene ( std::string  theKeyName  ) 

Definition at line 643 of file wxContourViewPanel.cxx.

References _sceneManager, and wxVtkBaseView_SceneManager::deleteCViewerCControler().

Referenced by wxContourMainFrame::deleteContour().

00643                                                                     {
00644 
00645                 _sceneManager->deleteCViewerCControler(theKeyName);
00646 
00647 
00648         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::removeSceneContours (  ) 

Definition at line 732 of file wxContourViewPanel.cxx.

References _sceneManager, and wxVtkBaseView_SceneManager::removeSceneContours().

Referenced by wxContourMainFrame::onWidthOfContour(), and wxContourMainFrame::updateInstantOutlines().

00732                                                     {
00733                 _sceneManager->removeSceneContours();
00734         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::setActualHorizontal ( int  nwValue  ) 

Sets the ActualHorizontal value

Parameters:
nwValue The new value for the ActualHorizontal

Definition at line 536 of file wxContourViewPanel.cxx.

References _horizontalBar.

Referenced by setHorizontalConcept().

00537         {
00538                 _horizontalBar->SetActual( nwValue );
00539         }

Here is the caller graph for this function:

void wxContourViewPanel::setActualVertical ( int  nwValue  ) 

Sets the ActualVertical value

Parameters:
nwValue The new value for the ActualVertical

Definition at line 486 of file wxContourViewPanel.cxx.

References _verticalBar.

Referenced by changeDeep(), onChangeInstant(), wxContourMainFrame::onChangeInstantInstantPanel(), and setVerticalConcept().

00487         {
00488                  _verticalBar->SetActual( nwValue );
00489         }

Here is the caller graph for this function:

void wxContourViewPanel::setEndHorizontal ( int  nwValue  ) 

Sets the EndHorizontal value

Parameters:
nwValue The new value for the EndHorizontal

Definition at line 528 of file wxContourViewPanel.cxx.

References _horizontalBar.

Referenced by setHorizontalConcept().

00529         {
00530                 _horizontalBar->SetEnd( nwValue );
00531         }

Here is the caller graph for this function:

void wxContourViewPanel::setEndVertical ( int  nwValue  ) 

Sets the EndVertical value

Parameters:
nwValue The new value for the EndVertical

Definition at line 478 of file wxContourViewPanel.cxx.

References _verticalBar.

Referenced by setVerticalConcept().

00479         {
00480                  _verticalBar->SetEnd( nwValue );
00481         }

Here is the caller graph for this function:

void wxContourViewPanel::setHorizontalConcept ( std::string  theHorizontalConcept,
int  minRepresent,
int  maxRepresent,
int  minShowed,
int  maxShowed,
int  actualShow 
)

Sets the horizontal concept values and name

Parameters:
theHorizontalConcept The name of the concept for setting at the horizontal bar
minRepresent The minRepresent value of the concept for setting at the horizontal bar
maxRepresent The maxRepresent value of the concept for setting at the horizontal bar
minShowed The minShowed value of the concept for setting at the horizontal bar
maxShowed The maxShowed value of the concept for setting at the horizontal bar
actualShow The actualShow value of the concept for setting at the horizontal bar

Definition at line 550 of file wxContourViewPanel.cxx.

References setActualHorizontal(), setEndHorizontal(), setHorizontalConceptName(), setHorizontalRepresentedValues(), and setStartHorizontal().

Referenced by onChangeInstant(), and wxContourMainFrame::onChangeInstantInstantPanel().

00551         {
00552                 setHorizontalConceptName( theHorizontalConcept );
00553                 setHorizontalRepresentedValues( minRepresent, maxRepresent );
00554                 setActualHorizontal( actualShow );
00555                 setStartHorizontal( minShowed );
00556                 setEndHorizontal( maxShowed );
00557         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::setHorizontalConceptName ( std::string  theHorizontalConcept  ) 

Sets the horizontal concept name

Parameters:
theHorizontalConcept The name of the concept for setting at the horizontal bar

Definition at line 582 of file wxContourViewPanel.cxx.

References _horizontalConceptName.

Referenced by setHorizontalConcept().

00583         {
00584                 _horizontalConceptName = theHorizontalConcept;
00585         }

Here is the caller graph for this function:

void wxContourViewPanel::setHorizontalRepresentedValues ( int  minRepresented,
int  maxRepresented 
)

Sets the represented values of the horizontal bar

Parameters:
minRepresented In the minimum represented value of the bar
maxRepresented In the maximum represented value of the bar

Definition at line 433 of file wxContourViewPanel.cxx.

References _horizontalBar, and _useHorizontalBar.

Referenced by setHorizontalConcept().

00434         {
00435                 if( _horizontalBar != NULL && _useHorizontalBar )
00436                 {
00437                         _horizontalBar -> setRepresentedValues( minRepresented, maxRepresented );
00438                 }
00439         }

Here is the caller graph for this function:

void wxContourViewPanel::setImageSlice ( int  z  ) 

Definition at line 817 of file wxContourViewPanel.cxx.

References _sceneManager, wxVtkBaseView_SceneManager::getWxVtkViewBase(), and RefreshInterface().

Referenced by wxContourMainFrame::updateInstantImageData().

00817                                                    {
00818                 vtkInteractorStyleBaseView* stylebaseview = (vtkInteractorStyleBaseView*) _sceneManager->getWxVtkViewBase()->GetInteractorStyleBaseView();
00819                 wxVtk2DBaseView* baseview = (wxVtk2DBaseView*)stylebaseview->GetWxVtk2DBaseView();
00820                 baseview->SetActualSlice(z);
00821                 RefreshInterface();
00822         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::setStartHorizontal ( int  nwValue  ) 

Sets the StartHorizontal value

Parameters:
nwValue The new value for the StartHorizontal

Definition at line 520 of file wxContourViewPanel.cxx.

References _horizontalBar.

Referenced by setHorizontalConcept().

00521         {
00522                 _horizontalBar->SetStart( nwValue );
00523         }

Here is the caller graph for this function:

void wxContourViewPanel::setStartVertical ( int  nwValue  ) 

Sets the StartVertical value

Parameters:
nwValue The new value for the StartVertical

Definition at line 470 of file wxContourViewPanel.cxx.

References _verticalBar.

Referenced by setVerticalConcept().

00471         {
00472                  _verticalBar->SetEnd( nwValue );
00473         }

Here is the caller graph for this function:

void wxContourViewPanel::setVerticalConcept ( std::string  theVerticalConcept,
int  minRepresent,
int  maxRepresent,
int  minShowed,
int  maxShowed,
int  actualShow 
)

Sets the vertical concept values and name

Parameters:
theVerticalConcept The name of the concept for setting at the vertical bar
minRepresent The minRepresent value of the concept for setting at the vertical bar
maxRepresent The maxRepresent value of the concept for setting at the vertical bar
minShowed The minShowed value of the concept for setting at the vertical bar
maxShowed The maxShowed value of the concept for setting at the vertical bar
actualShow The actualShow value of the concept for setting at the vertical bar

Definition at line 568 of file wxContourViewPanel.cxx.

References setActualVertical(), setEndVertical(), setStartVertical(), setVerticalConceptName(), and setVerticalRepresentedValues().

Referenced by wxContourMainFrame::setVectImages().

00569         {
00570                 setVerticalConceptName( theVerticalConcept );
00571                 setVerticalRepresentedValues( minRepresent, maxRepresent );
00572                 setActualVertical( actualShow );
00573                 setStartVertical( minShowed );
00574                 setEndVertical( maxShowed );
00575         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::setVerticalConceptName ( std::string  theVerticalConcept  ) 

Sets the vertical concept name

Parameters:
theVerticalConcept The name of the concept for setting at the vertical bar

Definition at line 600 of file wxContourViewPanel.cxx.

References _verticalConceptName.

Referenced by setVerticalConcept().

00601         {
00602                 _verticalConceptName = theVerticalConcept;
00603         }

Here is the caller graph for this function:

void wxContourViewPanel::setVerticalRepresentedValues ( int  minRepresented,
int  maxRepresented 
)

Sets the represented values of the vertical bar

Parameters:
minRepresented In the minimum represented value of the bar
maxRepresented In the maximum represented value of the bar

Definition at line 420 of file wxContourViewPanel.cxx.

References _useVerticalBar, and _verticalBar.

Referenced by setVerticalConcept().

00421         {
00422                 if( _verticalBar != NULL && _useVerticalBar )
00423                 {
00424                         _verticalBar -> setRepresentedValues( minRepresented, maxRepresented );
00425                 }
00426         }

Here is the caller graph for this function:

void wxContourViewPanel::SetVisibleAxis ( bool  ok  ) 

Definition at line 239 of file wxContourViewPanel.cxx.

References GetwxVtkMPR2DView().

Referenced by createViewPanel(), and wxContourMainFrame::showAxis().

00240         {
00241                 GetwxVtkMPR2DView()->SetVisibleAxis(ok);
00242         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::SetWidthContour ( double  width  ) 

Definition at line 771 of file wxContourViewPanel.cxx.

References _sceneManager, and wxVtkBaseView_SceneManager::SetWidthContour().

Referenced by wxContourMainFrame::onWidthOfContour().

00772         {
00773                 _sceneManager->SetWidthContour( width );
00774         }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxContourViewPanel::setWxEventHandler ( wxEvtHandler *  theEventHandler  ) 

Definition at line 184 of file wxContourViewPanel.cxx.

References _eventHandler.

00185         {
00186                 _eventHandler = theEventHandler;
00187         }


Member Data Documentation

wxEvtHandler* wxContourViewPanel::_eventHandler [private]

Definition at line 370 of file wxContourViewPanel.h.

Referenced by setWxEventHandler().

mBarRange* wxContourViewPanel::_horizontalBar [private]

Definition at line 368 of file wxContourViewPanel.h.

Referenced by setHorizontalRepresentedValues().

Definition at line 366 of file wxContourViewPanel.h.

Referenced by setVerticalRepresentedValues().

mBarRange* wxContourViewPanel::_verticalBar [private]

double wxContourViewPanel::last_spacing[3] [private]

Definition at line 364 of file wxContourViewPanel.h.

Referenced by getSpacing().

wxFlexGridSizer* wxContourViewPanel::outSizer [private]

Definition at line 342 of file wxContourViewPanel.h.

vtkImageData* wxContourViewPanel::showingVID [private]

Definition at line 358 of file wxContourViewPanel.h.

Referenced by createViewPanel().

wxMaracas_N_ViewersWidget* wxContourViewPanel::theViewPanel [private]


The documentation for this class was generated from the following files:

Generated on Wed Jun 27 23:28:35 2012 for creaContours_lib by  doxygen 1.5.7.1