Program: wxMaracas
Module: $RCSfile: wxMaracas_ViewerWidget.h,v $
Language: C++
- Date: $Date: 2009/06/05 06:07:39 $
- Version: $Revision: 1.6 $
+ Date: $Date: 2011/06/29 09:37:52 $
+ Version: $Revision: 1.11 $
Copyright: (c) 2002, 2003
License:
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+
+ This software is distributed WITHOUT ANY WARRANTY; without even
+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// For compilers that support precompilation, includes <wx/wx.h>.
// -----------------------------------------------------------------------------------------------------------
#include <wx/wxprec.h>
+
#ifdef __BORLANDC__
#pragma hdrstop
#endif
// Class definition
//------------------------------------------------------------------------------------------------------------
-
class wxMaracas_ViewerWidget : public wxPanel
{
public:
-
+
//------------------------------------------------------------------------------------------------------------
// Constructors & Destructors
//------------------------------------------------------------------------------------------------------------
// Attributes
//------------------------------------------------------------------------------------------------------------
+ void setColorTransferFunction(vtkColorTransferFunction* colortable);
+
+ void setWindowLevel(double level);
+
+ void setColorLevel(double level);
private:
int mType;
bool minternalVtkmprbasedata;
- vtkMPRBaseData *mvtkmprbasedata;
+ vtkMPRBaseData *mvtkmprbasedata;
+
wxVtk2DBaseView *mvtk2Dbaseview;
- wxVtkMPR2DView *mvtkmpr2Dview_X;
- wxVtkMPR2DView *mvtkmpr2Dview_Y;
- wxVtkMPR2DView *mvtkmpr2Dview_Z;
+ wxVtkMPR2DView *mvtkmpr2Dview_X;
+ wxVtkMPR2DView *mvtkmpr2Dview_Y;
+ wxVtkMPR2DView *mvtkmpr2Dview_Z;
wxWidgetMesure2D_Plane_in_MPR *mwidgetMesure;
vtkPlane2DView *mvtkplane2Dview;
- wxSphereView *mwxsphereview;
+ wxSphereView *mwxsphereview;
wxVtkClipping3DView *mwxvtkclipping3Dview;
wxVtk3DBaseView *mwxvtk3Dbaseview_Clipping3D;
vtkMPR3DDataViewer *vtkmpr3Ddataviewer;
-
};
#endif // __WX__MARACAS__VIEWERWIDGET__H__