Program: wxMaracas
Module: $RCSfile: wxMPRWidget.h,v $
Language: C++
- Date: $Date: 2009/03/24 10:49:21 $
- Version: $Revision: 1.7 $
+ Date: $Date: 2009/05/04 07:35:42 $
+ Version: $Revision: 1.8 $
Copyright: (c) 2002, 2003
License:
void OnVisiblePlane(wxCommandEvent& event);
void OnEditColorTable(wxCommandEvent& event);
virtual void Refresh();
+ void UpdateControlPanel();
private:
wxVtkMPR3DView *_wxvtkmpr3Dview;
{
public:
wxVtkMPR3DView( wxVtk3DBaseView *wxvtk3Dbaseview );
- virtual ~wxVtkMPR3DView();
+ virtual ~wxVtkMPR3DView();
void VisibleImageActor(int idPosition, bool visible);
void VisiblePointWidget( bool visible );
void VisiblePlaneWidget( bool visible );
void SetVtkMPR3DDataViewer( vtkMPR3DDataViewer *vtkmpr3Ddataviewer );
wxPanel* CreateControlPanel(wxWindow *parent);
- vtkMPR3DDataViewer* GetVtkMPR3DDataViewer();
+ vtkMPR3DDataViewer* GetVtkMPR3DDataViewer()throw (char*);
wxVtk3DBaseView* GetWxvtk3Dbaseview();
void InitOrientationPointWidget();
void TestLoic1();
void TestLoic2();
+ void RemoveActor(vtkActor* actor);
+ void ResetCamera(int *ext=NULL, double* origin=NULL,double* spc=NULL);
private:
wxVtk3DBaseView *_wxvtk3Dbaseview;
// Point Widget (3D)
vtkPointWidget *_pointWidget;
vtkmyPWCallback_3DPointWidget *_myCallback;
+ vtkProbeFilter *_probe;
+ vtkPolyDataMapper *_contourMapper;
+
+
protected:
};
void SetVisibleBoxVolume(bool visible);
void SetRepSurfaceWireFrame(int idTissue , bool typeRepresentation );
- wxVtk3DBaseView* GetWxvtk3Dbaseview();
+ wxVtk3DBaseView* GetWxvtk3Dbaseview()throw(char*);
private:
wxVtk3DBaseView *_wxvtk3Dbaseview;
vtkImageData *_histogrammeVector;
vtkXYPlotActor *_xyplot;
wxVtkBaseView *_wxvtkbaseView;
+ vtkRenderer *_renplotter;
void CreateModel();
void CreateInterface();
//returns the 2d view of the specific direction (0|1|2)
wxVtkMPR2DView *GetWxvtkMPR2Dview(int direction);
- void setMarImage(marImageData *marimageData, double voxelsize);
+ void setImageData(vtkImageData * img, double voxelsize);
private:
double _voxelSize;