Program: wxMaracas
Module: $RCSfile: wxMaracas_N_ViewersWidget.h,v $
Language: C++
- Date: $Date: 2010/05/03 13:46:48 $
- Version: $Revision: 1.10 $
+ Date: $Date: 2010/08/04 18:45:27 $
+ Version: $Revision: 1.11 $
Copyright: (c) 2002, 2003
License:
// Constructors & Destructors
//------------------------------------------------------------------------------------------------------------
+ /**
+ * @pre A wxWindow* object must be provided as a parent for the viewer
+ * @post The layout of the viewer is initialize, if there is no image or type set,
+ only the panel of the viwer is created with no vtk objects
+ * @param wxWindow* parent of the window
+ * @param vtkImageData* imagedata of the viewer
+ * @param std::vector<int>* vector of the type for the viewer
+ * @deprecated This method will be eliminated in future versions,
+ * @deprecated the viewers will start with a default image if it is not specified,
+ * @deprecated this is in order to create the layout of the viewer,
+ * @deprecated the vtkInteractors* and the object vtkRenderer* use second constructor
+ */
wxMaracas_N_ViewersWidget(wxWindow *parent, vtkImageData* imagedata = NULL, std::vector<int> *nTypeView = NULL);
- ~wxMaracas_N_ViewersWidget();
+ /**
+ * @pre A wxWindow* object must be provided as a parent for the viewer and the type of layout for the viewer
+ * @post The layout of the viewer is initialized, if no image is provided at first, a default image is
+ * used
+ * @param wxWindow* parent of the window
+ * @param std::vector<int>* vector of the type for the viewer
+ * @param vtkImageData* imagedata of the viewer
+ */
+ wxMaracas_N_ViewersWidget(wxWindow *parent, std::vector<int> *nTypeView, vtkImageData* imagedata = NULL);
+ /**
+ * @pre none
+ * @post the viewer window is deleted, all of the interactors and the renderer are deleted
+ */
+ ~wxMaracas_N_ViewersWidget();
//------------------------------------------------------------------------------------------------------------