//-------------------------------------------------------------------
vtkMPR3DDataViewer::~vtkMPR3DDataViewer()
{
- _outlineData-> Delete();
- _mapOutline-> Delete();
- _outline-> Delete();
+ if(_outlineData) {_outlineData-> Delete();}
+ if(_mapOutline) {_mapOutline-> Delete();}
+ if(_outline) {_outline-> Delete();}
// if (_bwLut) _bwLut->Delete();
// if (_hueLut) _hueLut->Delete();
Program: wxMaracas
Module: $RCSfile: wxMaracas_ViewerWidget.cxx,v $
Language: C++
- Date: $Date: 2010/10/29 06:32:50 $
- Version: $Revision: 1.32 $
+ Date: $Date: 2010/10/29 07:51:06 $
+ Version: $Revision: 1.33 $
Copyright: (c) 2002, 2003
License:
//------------------------------------------------------------------------------------------------------------
// Other includes
//------------------------------------------------------------------------------------------------------------
-
//------------------------------------------------------------------------------------------------------------
// Constructors & Destructors
//------------------------------------------------------------------------------------------------------------
{
if (mvtkmprbasedata) { delete mvtkmprbasedata;}
}
-
+
if (mvtk2Dbaseview) { delete mvtk2Dbaseview; }
if (mvtkmpr2Dview_X) { delete mvtkmpr2Dview_X;}
if (mvtkmpr2Dview_Y) { delete mvtkmpr2Dview_Y;}
if (mwxvtkmpr3Dview) { delete mwxvtkmpr3Dview;}
if (mwxvtkclipping3Dview) { delete mwxvtkclipping3Dview;}
if (mwxvtk3Dbaseview_Clipping3D){ delete mwxvtk3Dbaseview_Clipping3D; mwxvtk3Dbaseview_Clipping3D=NULL;}
+ if (vtkmpr3Ddataviewer) { delete vtkmpr3Ddataviewer;}
}
//------------------------------------------------------------------------------------------------------------
// Methods
Program: wxMaracas
Module: $RCSfile: wxMaracas_ViewerWidget.h,v $
Language: C++
- Date: $Date: 2010/01/21 13:54:15 $
- Version: $Revision: 1.9 $
+ Date: $Date: 2010/10/29 07:51:06 $
+ Version: $Revision: 1.10 $
Copyright: (c) 2002, 2003
License:
// Class definition
//------------------------------------------------------------------------------------------------------------
-
class wxMaracas_ViewerWidget : public wxPanel
{
public: