ContourView.h

Go to the documentation of this file.
00001 
00002 #ifndef CONTOUR_VIEW_H
00003 #define CONTOUR_VIEW_H
00004 
00005 #include "vtkProperty.h"
00006 #include "vtkActor.h"
00007 #include "vtkPolyDataMapper.h"
00008 #include "vtkPolyData.h"
00009 #include "wxVtkBaseView.h"
00010 #include <vector>
00011 
00012 class ContourView  
00013 {
00014 public:
00015         ContourView();
00016         ~ContourView();
00017 
00018 
00019 
00020         void    DeleteContours();
00021         void    SetWxVtkBaseView(wxVtkBaseView *wxvtkbaseview);
00022         void    Refresh();
00023         void    CreateNewContour(vtkPolyData *contour, int type);
00024 
00025 private:
00026 
00027         enum ContourTypes
00028         {
00029                 BLUE = 0,         
00030                 MAGENTA,              
00031                 GREEN,     
00032                 YELLOW          
00033         };
00034 
00035         wxVtkBaseView                                   *_wxvtkbaseview;
00036         
00037         std::vector<vtkPolyDataMapper*> contour_mapped;
00038         std::vector<vtkActor*>                  contour_actor;
00039         //vtkActor                                              *_contourVtkActor;
00040         //vtkPolyDataMapper                             *_bboxMapper;
00041 
00042         void                    DeleteVtkObjects();
00043 
00044         
00045 };
00046 
00047 #endif // ContourView
00048 
00049 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1