Program: wxMaracas
Module: $RCSfile: wxMaracas_N_ViewersWidget.h,v $
Language: C++
- Date: $Date: 2008/10/31 16:32:42 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2010/05/03 13:46:48 $
+ Version: $Revision: 1.10 $
Copyright: (c) 2002, 2003
License:
// Class definition
//------------------------------------------------------------------------------------------------------------
-class MARACASVISULIB_EXPORTS wxMaracas_N_ViewersWidget : public wxPanel
+class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel
{
public:
// Constructors & Destructors
//------------------------------------------------------------------------------------------------------------
- wxMaracas_N_ViewersWidget(wxWindow *parent, vtkImageData* imagedata, std::vector<int> *nTypeView);
+ wxMaracas_N_ViewersWidget(wxWindow *parent, vtkImageData* imagedata = NULL, std::vector<int> *nTypeView = NULL);
~wxMaracas_N_ViewersWidget();
wxVtkBaseView *GetwxVtkBaseView(int iWin);
virtual void Refresh(bool eraseBackground = true,const wxRect* rect = NULL );
void SetImage( vtkImageData *image );
+ void ConfigureVTK();
+ void SetType(std::vector<int>* type);
+ void UpdateLayout(vtkImageData* imagedata);
// double GetZ(int iWin);
double GetX();
double GetY();
double GetZ();
+ void setColorTransferFunction(vtkColorTransferFunction* colortable);
+
+ void setWindowLevel(double level);
+ void setColorLevel(double level);
+
//------------------------------------------------------------------------------------------------------------
// Attributes
//------------------------------------------------------------------------------------------------------------
wxMaracas_ViewerWidget *wxwindow3;
wxMaracas_ViewerWidget *wxwindow4;
+ wxWindow *_currentwxw;
+
+
+ std::vector<int> *nTypeView;
+ vtkMPRBaseData* mvtkmprbasedata;
+
+ void invariant();
DECLARE_EVENT_TABLE( );
};